{"$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":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"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":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02: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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02: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":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C3","name":"Audit Trail","shortDescription":{"text":"Audit Trail"},"helpUri":"https://codehealth.canine.dev/dimensions/C3"},{"id":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"DM6","name":"Domain \u2194 infrastructure boundary","shortDescription":{"text":"Domain \u2194 infrastructure boundary"},"helpUri":"https://codehealth.canine.dev/dimensions/DM6"},{"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":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"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":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"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":"ConnectorSpecificConfig::foreign_try_from (cyclomatic 225): ConnectorSpecificConfig::foreign_try_from has cyclomatic complexity 225 (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":"crates/router/src/core/unified_connector_service/connector_config.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"3544d5c00b663062a78c54c0bbc66cc99e09e765677cc1d901ef681f342eadbf"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentMethodDataType::from (cyclomatic 135): PaymentMethodDataType::from has cyclomatic complexity 135 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: UnitedKingdomStatesAbbreviation::foreign_try_from (cyclomatic 249) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":6944}}}],"partialFingerprints":{"codehealthFindingId/v1":"636011be4eb67cdcc8c352d08f31bed630a234450694cbe26c7307abcc22d415"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::unified_connector_service::build_unified_connector_service_payment_method (cyclomatic 105): router::core::unified_connector_service::build_unified_connector_service_payment_method has cyclomatic complexity 105 (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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d768d7fa720480c4c3e95dc818872996260290b7c06e4bdb441c89e963538d7"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payment_methods::cards::build_merchant_enabled_pms_context (cyclomatic 57): router::core::payment_methods::cards::build_merchant_enabled_pms_context has cyclomatic complexity 57 (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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4669}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c65c66a8222351009bbc218575d85dc4864a0db807c6de2cbe98e22de9ca49"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::operations::payment_response::payment_response_update_tracker (cyclomatic 57): router::core::payments::operations::payment_response::payment_response_update_tracker has cyclomatic complexity 57 (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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":2596}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc8a01181e87991ee6d9990518822beff96a7bd61ff7f78a433b8506c4a184d"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectorApiIntegrationPayload::get_transformed_response_payload (cyclomatic 55): ConnectorApiIntegrationPayload::get_transformed_response_payload has cyclomatic complexity 55 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/connector_configs/src/response_modifier.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c887ffa1be819f41b012858f8eb13e88a36c42a861e14e60daf19d4311c6f867"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperswitch_connectors::connectors::adyen::transformers::get_adyen_webhook_event (cyclomatic 53): hyperswitch_connectors::connectors::adyen::transformers::get_adyen_webhook_event has cyclomatic complexity 53 (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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":5672}}}],"partialFingerprints":{"codehealthFindingId/v1":"367a556f2ffc5b389b0fb4efa08fbee057873fd28aec4562a6abe56ac360dea8"}},{"ruleId":"D1","level":"warning","message":{"text":"euclid::frontend::ast::lowering::lower_comparison_inner (cyclomatic 52): euclid::frontend::ast::lowering::lower_comparison_inner has cyclomatic complexity 52 (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":"crates/euclid/src/frontend/ast/lowering.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7148e20680e7ff69c2165fd67d851ab4422dc5dbbc6429c2fb7ed39d1c0ba791"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::tokenization::save_payment_method (cyclomatic 52): router::core::payments::tokenization::save_payment_method has cyclomatic complexity 52 (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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d482527c3ad1b2bd9305dd76a3f15f7fd4cf85f699748f43f04504aabd784a86"}},{"ruleId":"D1","level":"warning","message":{"text":"MultisafepayPaymentsRequest::try_from (cyclomatic 48): MultisafepayPaymentsRequest::try_from has cyclomatic complexity 48 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c429fc55e2dab84a73b413fbb7414dfd4799b1f26eabc48d09f96b0c92ba32"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::helpers::get_additional_payment_data (cyclomatic 47): router::core::payments::helpers::get_additional_payment_data has cyclomatic complexity 47 (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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5920}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee72e43bab21655429b6425e2289e1477c67df78fd88e753b80780887688e83"}},{"ruleId":"D1","level":"warning","message":{"text":"smithy::generate_enum_impl (cyclomatic 40): smithy::generate_enum_impl has cyclomatic complexity 40 (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":"crates/smithy/src/lib.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8e8c3f723ab8efb369ab3149104572fa82da545b15b057d6c446d87e04a7e5"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentIntentRequest::try_from (cyclomatic 37): PaymentIntentRequest::try_from has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: StripeBankNames::try_from (cyclomatic 60) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa959f57ef2eb08e0cceda31b3dab9580b326e933a5b15bf8fb13ff9ce8a887"}},{"ruleId":"D1","level":"warning","message":{"text":"payment_link.initializeEventListeners (cyclomatic 35): payment_link.initializeEventListeners has cyclomatic complexity 35 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 12 belong to one function literal 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab435375ddfffc4a5c5039a99692f2d7ea71263a58194ed0a04f28362ba55de8"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperswitch_connectors::connectors::cybersource::transformers::get_commerce_indicator_for_external_authentication (cyclomatic 34): hyperswitch_connectors::connectors::cybersource::transformers::get_commerce_indicator_for_external_authentication has cyclomatic complexity 34 (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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d31006b13117ecc1d09640a5ea5d9acec900edba8b5ae6fe03dbb42017f8ffe"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperswitch_connectors::connectors::santander::transformers::decide_access_token_key_suffix (cyclomatic 33): hyperswitch_connectors::connectors::santander::transformers::decide_access_token_key_suffix has cyclomatic complexity 33 (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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":3264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af20ec1bed296b98101a2ba6105ee7dc9b4979baf605e9ded93df5a810a7e35"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payment_methods::migration::update_payment_method_record (cyclomatic 33): router::core::payment_methods::migration::update_payment_method_record 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":"crates/router/src/core/payment_methods/migration.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8e1013676817511de3e902ca2a4b3fe04b96535f4c6a9c0c510a013204b7dc"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::payments_operation_core (cyclomatic 33): router::core::payments::payments_operation_core 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":"crates/router/src/core/payments.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6a2dc849d21e11257f3cac91d486d023ed2ff63d294155bb598621bd5da2ff"}},{"ruleId":"D1","level":"warning","message":{"text":"smithy::parse_serde_attributes (cyclomatic 33): smithy::parse_serde_attributes 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":"crates/smithy/src/lib.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"749efae35e8689bb8117066cb151e4a12ba4d7406fa417add14ec461d2e94cd4"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentsRequest::try_from (cyclomatic 32): PaymentsRequest::try_from has cyclomatic complexity 32 (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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5d50c4b96305d0ad0f987e780935c7a5cc7f8a42807ecde24d908298a9888e"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::user::dashboard_metadata::insert_metadata (cyclomatic 32): router::core::user::dashboard_metadata::insert_metadata has cyclomatic complexity 32 (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":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f2b3adf1ff0e0159606b094e600827fee27f72e2224e7ff6fe504bd36b9ddc"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthEventMetricRow::from_row (cyclomatic 30): AuthEventMetricRow::from_row 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a27566b0f75afb8b4bd4d2931b4c3774ec10ec5fc881be85145b663d33d4d0"}},{"ruleId":"D1","level":"warning","message":{"text":"analytics::payment_intents::core::get_metrics (cyclomatic 30): analytics::payment_intents::core::get_metrics has cyclomatic complexity 30 (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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85d8262a3e298a9fe18030e7c488ddd08be59bbc3890127cd5630027ebff296"}},{"ruleId":"D1","level":"warning","message":{"text":"analytics::payments::core::get_metrics (cyclomatic 30): analytics::payments::core::get_metrics 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":"crates/analytics/src/payments/core.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f637c7edaa1e87bff9d90fb158d5971f1f2bd750a8b542666d454f6dd1d9b568"}},{"ruleId":"D1","level":"warning","message":{"text":"smithy_core::types::resolve_type_and_generate_shapes (cyclomatic 30): smithy_core::types::resolve_type_and_generate_shapes 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":"crates/smithy-core/src/types.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"405068895f6b89cbe73ce994e01bb949acfff25b60a898b546840e1859309f04"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthEventFilterRow::from_row (cyclomatic 29): AuthEventFilterRow::from_row has cyclomatic complexity 29 (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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"404d111609a24789a80c4d7f84e3e79525544f00259c06b29367e1c9c2ad4ee2"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentMethodType::from (cyclomatic 29): PaymentMethodType::from has cyclomatic complexity 29 (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":"crates/api_models/src/payouts.rs"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f548c11d3fdda330ef2dc99835449bb9423c4feae7836e8ead6da1a2269a4fa"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::helpers::validate_platform_request_for_marketplace (cyclomatic 29): router::core::payments::helpers::validate_platform_request_for_marketplace has cyclomatic complexity 29 (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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9592}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad66d9ec815b7bc1993ad41eeaa44d81cd5000d4788cb4ac065d5156f8c86b8"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::routing::make_dsl_input (cyclomatic 29): router::core::payments::routing::make_dsl_input has cyclomatic complexity 29 (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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87d4912a8ee4f212fc6835416187e94384b70a0afdc895cab72e7dae26aa59d"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::should_call_connector (cyclomatic 28): router::core::payments::should_call_connector has cyclomatic complexity 28 (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":"crates/router/src/core/payments.rs"},"region":{"startLine":11519}}}],"partialFingerprints":{"codehealthFindingId/v1":"5665177ec7620b0ae3a50d202f6e934b7435bb30db1b13ff6d36b595fa0a2671"}},{"ruleId":"D1","level":"warning","message":{"text":"SmithyGenerator::generate_shape_definition (cyclomatic 28): SmithyGenerator::generate_shape_definition has cyclomatic complexity 28 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy-core/src/generator.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f05f18a74ef0c08daa85a2fd816adb07eaab7760f5b32c1ecef33b0cdfbd99b"}},{"ruleId":"D1","level":"warning","message":{"text":"RouterStore::get_filtered_payment_intents_attempt_for_platform (cyclomatic 28): RouterStore::get_filtered_payment_intents_attempt_for_platform has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3894a9c02eeb25bcc4b69e1a64e5f6b50f38f3828da0f12f813e1099d035f1"}},{"ruleId":"D1","level":"warning","message":{"text":"status.renderStatusDetails (cyclomatic 28): status.renderStatusDetails has cyclomatic complexity 28 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 4 belong to one function literal 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":"crates/router/src/core/payment_link/payment_link_status/status.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e296c20df5614bfd96ea5311065a6acd8c05399432f0765f13a78c7d6b87fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"Context::from_input (cyclomatic 27): Context::from_input has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/euclid/src/backend/vir_interpreter/types.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"802903cbf73b7fd4b4c92edbdc108bfe2bcbbaaa6b70a87bb6eadb581991b596"}},{"ruleId":"D1","level":"warning","message":{"text":"HipayPaymentsRequest::try_from (cyclomatic 27): HipayPaymentsRequest::try_from has cyclomatic complexity 27 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: hyperswitch_connectors::connectors::hipay::transformers::get_sync_status (cyclomatic 33) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9b5362888677010f044145400e7415e871fd4a3b2a99f453088a262343858f"}},{"ruleId":"D1","level":"warning","message":{"text":"RouterStore::get_filtered_payment_intents_attempt (cyclomatic 27): RouterStore::get_filtered_payment_intents_attempt has cyclomatic complexity 27 (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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f95ebbe554126c63d6b641aed6c33d329d2898d8c82c5ea6f59d0a5678164f7"}},{"ruleId":"D1","level":"warning","message":{"text":"PaypalPaymentsRequest::try_from (cyclomatic 26): PaypalPaymentsRequest::try_from 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. This is NOT this file\u0027s highest cyclomatic complexity: hyperswitch_connectors::connectors::paypal::transformers::get_paypal_error_message (cyclomatic 151) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"f810cfdf54c6e58e3a78a347e8e6353fb428ef1e8a8abe049182d011dda5c116"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::transformers::payments_to_payments_response (cyclomatic 26): router::core::payments::transformers::payments_to_payments_response has cyclomatic complexity 26 (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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":4059}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b20856064e60a5b490d599686020542b18c585e0827f84a2e7591da71b722b"}},{"ruleId":"D1","level":"warning","message":{"text":"smithy::parse_serde_enum_attributes (cyclomatic 26): smithy::parse_serde_enum_attributes has cyclomatic complexity 26 (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":"crates/smithy/src/lib.rs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e824feb96c04688d6d1327805e0635b6217bf172f1fc608625ac1aad9d990b46"}},{"ruleId":"D1","level":"warning","message":{"text":"external_services::http_client::send_request (cyclomatic 25): external_services::http_client::send_request has cyclomatic complexity 25 (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":"crates/external_services/src/http_client.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a3f552507f58d76894682661b7d5ab098ffc5591f8572bc6833c38518eb9cf"}},{"ruleId":"D1","level":"warning","message":{"text":"smithy::parse_smithy_field_attributes (cyclomatic 25): smithy::parse_smithy_field_attributes has cyclomatic complexity 25 (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":"crates/smithy/src/lib.rs"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e4cd5248d6e420ea2b35e94657184f0f428feef5bf4b81b2dd9a1f0b1f149b"}},{"ruleId":"D1","level":"warning","message":{"text":"RouterStore::get_filtered_payment_intents_attempt (cyclomatic 25): RouterStore::get_filtered_payment_intents_attempt has cyclomatic complexity 25 (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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"8782f3c96068b64a75fc70c81abb04167dd16b46319d80c6a004c7c30d4664b0"}},{"ruleId":"D1","level":"warning","message":{"text":"analytics::payments::core::get_filters (cyclomatic 24): analytics::payments::core::get_filters has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c2d4c309d1c01727b84478a7bd9fa53bef68c890f74573f5757831d2ac090a"}},{"ruleId":"D1","level":"warning","message":{"text":"analytics::refunds::core::get_metrics (cyclomatic 24): analytics::refunds::core::get_metrics has cyclomatic complexity 24 (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":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdbabeed0f70d95be032fd63010f58e4ca56ff8833558160aa511da6fc043cb"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::webhooks::incoming_v2::incoming_webhooks_core (cyclomatic 24): router::core::webhooks::incoming_v2::incoming_webhooks_core has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming_v2.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf98971ba72c20bc71229b938cc45f584ac8549a059223e9c268a1f9006995b"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentDistributionRow::from_row (cyclomatic 23): PaymentDistributionRow::from_row has cyclomatic complexity 23 (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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b7ce492ac541ee2fab39badb405c3f3db0ef57fa50e020fd5b51b08b79e354"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthEventFilters::set_filter_clause (cyclomatic 23): AuthEventFilters::set_filter_clause has cyclomatic complexity 23 (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":"crates/analytics/src/auth_events/types.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3091b69b70d40856850eca2cab59dccf609f24238a4ea8866903ada4e4f3a4d0"}},{"ruleId":"D1","level":"warning","message":{"text":"AdyenPaymentMethod::try_from (cyclomatic 23): AdyenPaymentMethod::try_from has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: AdyenTestBankNames::try_from (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"5feffe86e1bf577fd1801ac8b5590efb735390613c808417453dfd92d8bc11a5"}},{"ruleId":"D1","level":"warning","message":{"text":"BraintreePaymentsRequest::try_from (cyclomatic 23): BraintreePaymentsRequest::try_from 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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"4004305dff227edc9a600f356122ba4144ed92c135967ff44ce188505100c2f3"}},{"ruleId":"D1","level":"warning","message":{"text":"FraudCheckPost::update_tracker (cyclomatic 23): FraudCheckPost::update_tracker has cyclomatic complexity 23 (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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4f8aa0a65618bb979851855ca6961b4a2064812e032d5e9ad02a0446732c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentConfirm::get_trackers (cyclomatic 23): PaymentConfirm::get_trackers has cyclomatic complexity 23 (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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbf77b1c4da4aa08a111d0f3d41c55640528a495f920594bdfb9860d96a2349"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::routing::utils::convert_backend_input_to_routing_eval (cyclomatic 23): router::core::payments::routing::utils::convert_backend_input_to_routing_eval has cyclomatic complexity 23 (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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab21ce20adeb5848242b63546845ebcc158775eb6633f4c2260aa2930aaa5bd"}},{"ruleId":"D1","level":"warning","message":{"text":"router::services::api::server_wrap (cyclomatic 23): router::services::api::server_wrap has cyclomatic complexity 23 (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":"crates/router/src/services/api.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3944ca5de6322109c6a4178f82194692a4b77b87e0bf2ee9b3dc19093ec17f"}},{"ruleId":"D1","level":"warning","message":{"text":"script.renderStatusDetails (cyclomatic 23): script.renderStatusDetails has cyclomatic complexity 23 (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":"crates/router/src/core/generic_link/payout_link/status/script.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dd0afc2e5bb95ad03ca7674c6e074b5261388e7ae01e3cd9a40fc1f3ddfd11"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentMetricRow::from_row (cyclomatic 22): PaymentMetricRow::from_row has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: AnalyticsCollection::to_sql (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sqlx.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"788bd112f07d3efeca970113881d43b1d8456f17b59e7161f2be683a35324381"}},{"ruleId":"D1","level":"warning","message":{"text":"CybersourcePaymentsRequest::try_from (cyclomatic 22): CybersourcePaymentsRequest::try_from has cyclomatic complexity 22 (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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ad499ee4f7cd9ff422f1799add84ac11463c51e98c6d44f037f7c2eca98440"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payouts::make_payout_data (cyclomatic 22): router::core::payouts::make_payout_data has cyclomatic complexity 22 (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":"crates/router/src/core/payouts.rs"},"region":{"startLine":3865}}}],"partialFingerprints":{"codehealthFindingId/v1":"254e098da86926240b078ca885d883cfe12675b0d87711fe21d467db885cd359"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthipayPaymentsResponse::get_transaction_status (cyclomatic 21): AuthipayPaymentsResponse::get_transaction_status has cyclomatic complexity 21 (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":"crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6233ecaefb7fdd7ae269d5bff738f66f369a31d7549c21be482b6fff4c2bafee"}},{"ruleId":"D1","level":"warning","message":{"text":"NuveiPaymentsRequest::try_from (cyclomatic 21): NuveiPaymentsRequest::try_from has cyclomatic complexity 21 (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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0022ff072e4672c57baacb458ec71fd040f81a57b4eb2f3df81885020bd03747"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperswitch_connectors::connectors::getnet::transformers::get_incoming_webhook_event (cyclomatic 21): hyperswitch_connectors::connectors::getnet::transformers::get_incoming_webhook_event has cyclomatic complexity 21 (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":"crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76487b64194019884a88d6fb904fb2a263907427e829ec0d536e703624d4749"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentResponse::save_pm_and_mandate (cyclomatic 21): PaymentResponse::save_pm_and_mandate 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73bb37abbd16cce0aa821b714b3ae0be056f7a99dc6bc936de58ded86f17053"}},{"ruleId":"D1","level":"warning","message":{"text":"router::compatibility::wrap::compatibility_api_wrap (cyclomatic 21): router::compatibility::wrap::compatibility_api_wrap has cyclomatic complexity 21 (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":"crates/router/src/compatibility/wrap.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"56852719a33aa26f8d3d61215eb5bdaf467c1eb63e584b92ffa2ed6cd212ddd2"}},{"ruleId":"D1","level":"warning","message":{"text":"RouterStore::get_payment_intents_attempt_count_for_platform (cyclomatic 21): RouterStore::get_payment_intents_attempt_count_for_platform 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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a026daf3d241413274b9cc46c2911f2c002bfd3e3750b9d846cec7259442dfdc"}},{"ruleId":"D1","level":"warning","message":{"text":"payment_link_initiator.initializeSDK (cyclomatic 21): payment_link_initiator.initializeSDK has cyclomatic complexity 21 (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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ee257a518b7941d8009e69f0b01007a056d4af2c7f3bf187a1651ce955f2cb"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentFilterRow::from_row (cyclomatic 20): PaymentFilterRow::from_row 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. This is NOT this file\u0027s highest cyclomatic complexity: AnalyticsCollection::to_sql (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sqlx.rs"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4910252d619d82a19b7a955b4f1cddb615b155befd2467da5a6792991e18c7"}},{"ruleId":"D1","level":"warning","message":{"text":"analytics::payment_intents::core::get_filters (cyclomatic 20): analytics::payment_intents::core::get_filters 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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f754fca448f653602c1cc53babccb45015bb752435d414286718de8ffd110da"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentFilters::set_filter_clause (cyclomatic 20): PaymentFilters::set_filter_clause 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":"crates/analytics/src/payments/types.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36ce4f08d6ff69e2011675181fc70fc76be20d55153444440bfb979d6f0fe4a"}},{"ruleId":"D1","level":"warning","message":{"text":"NovalnetPaymentsRequest::try_from (cyclomatic 20): NovalnetPaymentsRequest::try_from 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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"958b45bd142cbe8a7c120c972d2d8beead34ef80bb6e233509096b8dbc753e3c"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperswitch_connectors::connectors::nuvei::transformers::get_payment_status (cyclomatic 20): hyperswitch_connectors::connectors::nuvei::transformers::get_payment_status 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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e29cd716c302a53c2215d1e69312c418114a707133076747edbf044fed01d14"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperswitch_connectors::connectors::stripe::transformers::create_stripe_payment_method (cyclomatic 20): hyperswitch_connectors::connectors::stripe::transformers::create_stripe_payment_method 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. This is NOT this file\u0027s highest cyclomatic complexity: StripeBankNames::try_from (cyclomatic 60) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baba0b613fdbfe987cea929dc0a7b5c5f1fcd85f77e1e86dd387768a4c4613f"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperswitch_interfaces::api_client::execute_connector_processing_step (cyclomatic 20): hyperswitch_interfaces::api_client::execute_connector_processing_step 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":"crates/hyperswitch_interfaces/src/api_client.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6990e18fbede1a61772f1643bbafb49c7351bf2e6fca39f84ca1fb76c09765"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payment_methods::cards::list_payment_methods (cyclomatic 20): router::core::payment_methods::cards::list_payment_methods has cyclomatic complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5393}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd72df91a23a1620eaf8f0a99a7244c5a5f6e7809c9cf96f664efe2781484320"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::helpers::get_token_pm_type_mandate_details (cyclomatic 20): router::core::payments::helpers::get_token_pm_type_mandate_details 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f05ab8f5a535f1d178ba546cd4c9a1b1a04c8c3843f1a20c64cda5db583e10a"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::routing::retrieve_linked_routing_config (cyclomatic 20): router::core::routing::retrieve_linked_routing_config 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":"crates/router/src/core/routing.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1513fc7d8f280ba0d3bb6381de594b36e6a4fe19b793411675a01291d90a49"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::routing::routing_migration_status (cyclomatic 20): router::core::routing::routing_migration_status 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":"crates/router/src/core/routing.rs"},"region":{"startLine":3418}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99f297e7b87d3299a3c5f0ff12c17ef1eeee522c5af99ab4be89e1e56a44a09"}},{"ruleId":"D1","level":"warning","message":{"text":"AdyenWebhookResponse::from (cyclomatic 19): AdyenWebhookResponse::from 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. This is NOT this file\u0027s highest cyclomatic complexity: AdyenTestBankNames::try_from (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":5895}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb710c6492468dcdb623e10423c6325747787d69137d4965344d903f348960e8"}},{"ruleId":"D1","level":"warning","message":{"text":"FinixWebhookBody::get_webhook_event_type (cyclomatic 19): FinixWebhookBody::get_webhook_event_type has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/finix/transformers.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d5367da88ef635ce40518cd033584f3ced84b837c18baccf6dbc1489174f13"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::routing::link_routing_config (cyclomatic 19): router::core::routing::link_routing_config 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":"crates/router/src/core/routing.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"308c46be9f3a3da34aca73d3efe71301509aec31317e2b59b057e099af6f1764"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::webhooks::webhook_events::list_initial_delivery_attempts (cyclomatic 19): router::core::webhooks::webhook_events::list_initial_delivery_attempts has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/webhook_events.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf25374e21fed6de61717725452036dcbb573c178d2427c52f883918ff7e93ce"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentIntentMetricRow::from_row (cyclomatic 18): PaymentIntentMetricRow::from_row has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: AnalyticsCollection::to_sql (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sqlx.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"42678d78f9a60f646a2dff5112e3a77934eb90c322645a5c6d62d2423c07f650"}},{"ruleId":"D1","level":"warning","message":{"text":"AirwallexPaymentsRequest::try_from (cyclomatic 18): AirwallexPaymentsRequest::try_from has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: hyperswitch_connectors::connectors::airwallex::transformers::map_error_code_to_message (cyclomatic 137) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0dcaa2d9c770f18975819fd756c0db3b41335748b4d0fc5b9937a6f3eca305"}},{"ruleId":"D1","level":"warning","message":{"text":"Santander::get_webhook_event_type (cyclomatic 18): Santander::get_webhook_event_type has cyclomatic complexity 18 (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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff09c6ea5f0fbd5530286d0ce3245d8d7470b820ce6ac82a5a9413725f2d833"}},{"ruleId":"D1","level":"warning","message":{"text":"RouterData::get_payment_attempt_update (cyclomatic 18): RouterData::get_payment_attempt_update has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (RouterData::get_payment_attempt_update) 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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1ab6274278b6be39aa88283edc748dcf722750593b965c283e2b65c5f107d7"}},{"ruleId":"D1","level":"warning","message":{"text":"RouterData::get_payment_attempt_update (cyclomatic 18): RouterData::get_payment_attempt_update has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This shape REPEATS in the file: one other method here (RouterData::get_payment_attempt_update) 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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd903a1ec061ecaa0630bf81a449c17f61cbc01216883e3889d32a86db754970"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentCreate::get_trackers (cyclomatic 18): PaymentCreate::get_trackers has cyclomatic complexity 18 (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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f5e79d253428141e1418a6ef344a5be0969e3953b402e24c9d1ae2f3c6b7a8"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::helpers::make_pm_data (cyclomatic 18): router::core::payments::helpers::make_pm_data 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. This is NOT this file\u0027s highest cyclomatic complexity: router::core::payments::helpers::get_key_params_for_surcharge_details (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3995}}}],"partialFingerprints":{"codehealthFindingId/v1":"70271dc1e9fd13fa5398f90d46335874344ca2df11a95219b4d27c4259dcdd4f"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payouts::helpers::save_payout_data_to_locker (cyclomatic 18): router::core::payouts::helpers::save_payout_data_to_locker 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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e930ed07568a6793cbc3c8b89f73633677e2c4973ff2c5dfc661b63327a4cd"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::webhooks::incoming::process_webhook_business_logic (cyclomatic 18): router::core::webhooks::incoming::process_webhook_business_logic has cyclomatic complexity 18 (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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"953ca6487e909b63eaac279656b0380ca5b3ca073f1f15a3628c9ad307745708"}},{"ruleId":"D1","level":"warning","message":{"text":"k6-summary.summarizeMetrics (cyclomatic 18): k6-summary.summarizeMetrics has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 259, getData, a function literal at line 303, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"loadtest/k6/helper/k6-summary.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf5f2692944a80ddd804502ffb63bf563eb46d44de73c8d75fae0056a27e45e"}},{"ruleId":"D1","level":"warning","message":{"text":"external_services::grpc_client::unified_connector_service::build_grpc_headers_internal (cyclomatic 17): external_services::grpc_client::unified_connector_service::build_grpc_headers_internal 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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90b2fadfbeef61d485f0b1b200282ec14e64a740cc6e0938ac3f59a7e125be6"}},{"ruleId":"D1","level":"warning","message":{"text":"FiuuPaymentRequest::try_from (cyclomatic 17): FiuuPaymentRequest::try_from has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: FPXTxnChannel::try_from (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae250e01a62c27a040c9e8aed34ad2ef870899e514619aeb9785ca1b77c44289"}},{"ruleId":"D1","level":"warning","message":{"text":"RouterData::try_from (cyclomatic 17): RouterData::try_from 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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedfd06a4ecdc3f7fd543151b1547b824021d802efbf9b3625155bd8825a1e1a"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payment_methods::cards::filter_payment_methods (cyclomatic 17): router::core::payment_methods::cards::filter_payment_methods 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6065}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac79e606cbf4fe13659214c523d054046ce498a18cfe20b1f8a9f8ba1408391"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::routing::migrate_rules_for_profile (cyclomatic 17): router::core::routing::migrate_rules_for_profile has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing.rs"},"region":{"startLine":3157}}}],"partialFingerprints":{"codehealthFindingId/v1":"94627a844511a30a2c69fc9a8ed5734440b8dad5d2586512232870d0b5e8472b"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::superposition_sdk_config::get_profile_superposition_sdk_config (cyclomatic 17): router::core::superposition_sdk_config::get_profile_superposition_sdk_config 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":"crates/router/src/core/superposition_sdk_config.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef72bdc8486563efd90b36962e3b23844f0929194828ff01ba080c0420705f7"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::user_role::delete_user_role (cyclomatic 17): router::core::user_role::delete_user_role 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":"crates/router/src/core/user_role.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fc61b33e7510bcb1e6ac3095b79fd71b16d73c9c91797b17ca7a1d34f87ccf"}},{"ruleId":"D1","level":"warning","message":{"text":"router::utils::user::sample_data::generate_sample_data (cyclomatic 17): router::utils::user::sample_data::generate_sample_data has cyclomatic complexity 17 (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":"crates/router/src/utils/user/sample_data.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"805da1b7922fad4bee8e5d2b3464a4e30b36869182d1d178d2c65b387c8385b6"}},{"ruleId":"D1","level":"warning","message":{"text":"router_derive::macros::xss_validation::get_field_type (cyclomatic 17): router_derive::macros::xss_validation::get_field_type has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/xss_validation.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d0417c8e4b75c0c7761a1ce2af2f044155da4a3f8d36b3346322860ccbc23d"}},{"ruleId":"D1","level":"warning","message":{"text":"smithy::generate_struct_impl (cyclomatic 17): smithy::generate_struct_impl 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":"crates/smithy/src/lib.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e1eadf8e52b3669961e7249fa33af904e9c681766b4d27a8c03964b410b041"}},{"ruleId":"D1","level":"warning","message":{"text":"payment_link.appendMerchantDetails (cyclomatic 17): payment_link.appendMerchantDetails has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to one function literal 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fefa5ce39b9157833cb678112ebeb41dff3203b9a28a9b6ad55686a5ad7343"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentIntentFilterRow::from_row (cyclomatic 16): PaymentIntentFilterRow::from_row 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. This is NOT this file\u0027s highest cyclomatic complexity: AnalyticsCollection::to_sql (cyclomatic 23) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sqlx.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d979bc6c4f9f625de5d31c9a33a666b16ce17577e7c9c107806ca25003b1295"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentIntentFilters::set_filter_clause (cyclomatic 16): PaymentIntentFilters::set_filter_clause 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":"crates/analytics/src/payment_intents/types.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"074837cd84e0c02097aec76735ba2f2416790ae6b0662f3d2cc978378efaead1"}},{"ruleId":"D1","level":"warning","message":{"text":"MolliePaymentsRequest::try_from (cyclomatic 16): MolliePaymentsRequest::try_from 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":"crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"987d7d0ab385a0ca3779ebdef3cc680e993db702f0e0eecaf4191d048222953c"}},{"ruleId":"D1","level":"warning","message":{"text":"SantanderSetupMandateRequest::try_from (cyclomatic 16): SantanderSetupMandateRequest::try_from 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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":2823}}}],"partialFingerprints":{"codehealthFindingId/v1":"5889b46eeeb40bbad74f7da4b6fd83c8eb488fa222eb08dda1d4dfd057dd8149"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperswitch_connectors::connectors::nexixpay::transformers::get_validated_address_details_generic (cyclomatic 16): hyperswitch_connectors::connectors::nexixpay::transformers::get_validated_address_details_generic 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":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf04a2a519c08f9fda6d716ef9b99cbf87abfba5a4545a0c19240c7ba07dfabc"}},{"ruleId":"D1","level":"warning","message":{"text":"hyperswitch_connectors::connectors::novalnet::transformers::get_incoming_webhook_event (cyclomatic 16): hyperswitch_connectors::connectors::novalnet::transformers::get_incoming_webhook_event 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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a9ddc518b045b42334fbe73354eda56260e678193eb0436af7b6ba72816422"}},{"ruleId":"D1","level":"warning","message":{"text":"PSync::execute (cyclomatic 16): PSync::execute 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":"crates/router/src/core/payments/gateway/psync_gateway.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26bb62d28b32d63f0fcaa8ac764b3a4fe712e18cd85d9b881e971fda1009555"}},{"ruleId":"D1","level":"warning","message":{"text":"payment_link::wasm::validate_payment_link_config_impl (cyclomatic 16): payment_link::wasm::validate_payment_link_config_impl 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":"crates/payment_link/src/wasm.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"039da6a331912718dad46de34545728a9a6b560233fd2c9fef4b4a4a76af942b"}},{"ruleId":"D1","level":"warning","message":{"text":"Refund::filter_by_constraints (cyclomatic 16): Refund::filter_by_constraints 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. This shape REPEATS in the file: one other method here (Refund::get_refunds_count) 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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f609b4e9e38fc9953f992a8f71064f5e9b669f5a711373e1db6b43127581bc27"}},{"ruleId":"D1","level":"warning","message":{"text":"Refund::get_refunds_count (cyclomatic 16): Refund::get_refunds_count 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. This shape REPEATS in the file: one other method here (Refund::filter_by_constraints) 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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3f3286c0c6cc41507b22091f2717fa625a5abb28a70103109f89ea04047974"}},{"ruleId":"D1","level":"warning","message":{"text":"PaymentConfirm::call_unified_authentication_service_if_eligible (cyclomatic 16): PaymentConfirm::call_unified_authentication_service_if_eligible 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a0650039f9d93515359412a6f005327bb6a0dd793930a1fee54381ba9c525"}},{"ruleId":"D1","level":"warning","message":{"text":"MerchantAccountData::foreign_from (cyclomatic 16): MerchantAccountData::foreign_from 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":"crates/router/src/types.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d0ab4f5bcf0d0b6de729196748b11c199e808d023249f013cec83e22e333e9"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::merchant_connector_webhook_management::register_connector_webhook (cyclomatic 16): router::core::merchant_connector_webhook_management::register_connector_webhook 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":"crates/router/src/core/merchant_connector_webhook_management.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d8d6e250a2a8179298758dd304dcf7db01a6674b57b6f42c21bbff256aa650"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::call_connector_service (cyclomatic 16): router::core::payments::call_connector_service 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. This is NOT this file\u0027s highest cyclomatic complexity: PaymentRedirectCompleteAuthorize::generate_response (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":6421}}}],"partialFingerprints":{"codehealthFindingId/v1":"745d43eb862e6bd1b6c05312cd18790e20ba73b5ab157e98185612551feb13ab"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payments::helpers::retrieve_payment_method_with_temporary_token (cyclomatic 16): router::core::payments::helpers::retrieve_payment_method_with_temporary_token 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. This is NOT this file\u0027s highest cyclomatic complexity: router::core::payments::helpers::get_key_params_for_surcharge_details (cyclomatic 19) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff7c706e18b4525c9f566a9e682fdcaf321b70d13ef4b4b636402e54b1d6b01"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::payouts::validator::validate_create_request (cyclomatic 16): router::core::payouts::validator::validate_create_request 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":"crates/router/src/core/payouts/validator.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbd0d116877b0174257396fda448ef7e5cd057b7015b7382d9eb5dd9a1a7c66"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::superposition_sdk_config::translate_to_sdk_payment_methods (cyclomatic 16): router::core::superposition_sdk_config::translate_to_sdk_payment_methods has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/superposition_sdk_config.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c14147be1b64697b86fa42260de45f238f94231efcaf67cf02f52b1f12d269"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::unified_authentication_service::authentication_eligibility_core (cyclomatic 16): router::core::unified_authentication_service::authentication_eligibility_core 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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1af772b9781fdcf71c96b86e60a7b4f370d2e6c993b43a003572092caaf5d29"}},{"ruleId":"D1","level":"warning","message":{"text":"router::core::user_role::update_user_role (cyclomatic 16): router::core::user_role::update_user_role 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":"crates/router/src/core/user_role.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1bfd7cff7dc4d598c53bc64ce64c2e09d3dcda61c653fe673a6dbd77bd5fec"}},{"ruleId":"D1","level":"warning","message":{"text":"router::utils::user_role::get_lineage_for_user_id_and_entity_for_accepting_invite (cyclomatic 16): router::utils::user_role::get_lineage_for_user_id_and_entity_for_accepting_invite 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":"crates/router/src/utils/user_role.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cdcd6f952667ed9e82868f7a0a312af90dc58965eb358ad4f4cd9f1f6c8d5c"}},{"ruleId":"D1","level":"warning","message":{"text":"payment_link.handleCartView (cyclomatic 16): payment_link.handleCartView has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 4 function literals 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"8755ee5384a6ee4f965bb45d2171d012c19989b2339439cf1eabb917e680d89e"}},{"ruleId":"D1","level":"warning","message":{"text":"k6-summary.strWidth (cyclomatic 16): k6-summary.strWidth 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":"loadtest/k6/helper/k6-summary.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f3369428704615f3272dfb632ece5ff0ce98635f0e5e358f18e123884d1447"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::tokenization::save_payment_method (cognitive 188): router::core::payments::tokenization::save_payment_method has cognitive complexity 188 (threshold 15). Drivers by points: if/else 47 (127 pts), match/switch 17 (60 pts), boolean chains 1 (nesting depth added 123). 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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0374d7bc667231342ded0f53caa2ca206aa1f17946519c8627e3df338a5eab34"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectorApiIntegrationPayload::get_transformed_response_payload (cognitive 181): ConnectorApiIntegrationPayload::get_transformed_response_payload has cognitive complexity 181 (threshold 15). Drivers by points: loops 18 (93 pts), if/else 19 (79 pts), match/switch 2 (9 pts) (nesting depth added 142). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/connector_configs/src/response_modifier.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba10708271b13401c30a990c4ed872ed362e29e5a707e97b054e544f5dd143a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::cards::build_merchant_enabled_pms_context (cognitive 172): router::core::payment_methods::cards::build_merchant_enabled_pms_context has cognitive complexity 172 (threshold 15). Drivers by points: if/else 53 (123 pts), loops 13 (37 pts), match/switch 6 (10 pts), boolean chains 2 (nesting depth added 98). 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4669}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58a7879d09de46686827350ebb0200b33f7529d4be4fd44be00e0094017b1e7"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectorSpecificConfig::foreign_try_from (cognitive 122): ConnectorSpecificConfig::foreign_try_from has cognitive complexity 122 (threshold 15). Drivers by points: match/switch 106 (122 pts) (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service/connector_config.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"16672a310f3546c3321c5c7ea458dacd36561dce3b04cac4abb34306cc6a625b"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::operations::payment_response::payment_response_update_tracker (cognitive 112): router::core::payments::operations::payment_response::payment_response_update_tracker has cognitive complexity 112 (threshold 15). Drivers by points: match/switch 22 (63 pts), if/else 24 (45 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 63). 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":2596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f9cf93e9517f59ca41ebb5b166f2674b755d8d6d9b745a7f79b085445037e5"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::payments_operation_core (cognitive 95): router::core::payments::payments_operation_core has cognitive complexity 95 (threshold 15). Drivers by points: if/else 27 (74 pts), match/switch 5 (17 pts), boolean chains 4 (nesting depth added 59). 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":"crates/router/src/core/payments.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5c0ba45221db446d0541e9eb051b04c21e77666c5bfeecc3f00138a65f9522"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::migration::update_payment_method_record (cognitive 90): router::core::payment_methods::migration::update_payment_method_record has cognitive complexity 90 (threshold 15). Drivers by points: if/else 30 (71 pts), match/switch 6 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 50). 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":"crates/router/src/core/payment_methods/migration.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2486a0652645bf571ee63d2e34360499b9f440434528f1192bd3094ed1717828"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::superposition_sdk_config::get_profile_superposition_sdk_config (cognitive 88): router::core::superposition_sdk_config::get_profile_superposition_sdk_config has cognitive complexity 88 (threshold 15). Drivers by points: if/else 12 (72 pts), loops 4 (16 pts) (nesting depth added 72). 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":"crates/router/src/core/superposition_sdk_config.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"968c7439af1815598aa10767d971f7709421ae8a0f96cf6d76b8712b3db1ab11"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::parse_serde_attributes (cognitive 78): smithy::parse_serde_attributes has cognitive complexity 78 (threshold 15). Drivers by points: if/else 31 (77 pts), loops 1 (nesting depth added 46). 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":"crates/smithy/src/lib.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e8181c5dd2107a8317edfc5892fdd80e577dd0fcbe629638bf3a4629cac905"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::parse_smithy_field_attributes (cognitive 72): smithy::parse_smithy_field_attributes has cognitive complexity 72 (threshold 15). Drivers by points: if/else 20 (58 pts), match/switch 2 (12 pts), boolean chains 1, loops 1 (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":"crates/smithy/src/lib.rs"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0cdc10c08e07154911ab47637e177dd42ee81f22b6f1546731ed96c7b34b00"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::transformers::payments_to_payments_response (cognitive 67): router::core::payments::transformers::payments_to_payments_response has cognitive complexity 67 (threshold 15). Drivers by points: if/else 15 (40 pts), match/switch 8 (21 pts), boolean chains 6 (nesting depth added 38). 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":4059}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4bdd2e0d5202a4d250a537627ac942a98d81cde5fe82088d684b2896315da1"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::parse_serde_enum_attributes (cognitive 63): smithy::parse_serde_enum_attributes has cognitive complexity 63 (threshold 15). Drivers by points: if/else 24 (62 pts), loops 1 (nesting depth added 38). 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":"crates/smithy/src/lib.rs"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7b858ccf0b53ffcbd55100f9749a9b963c269f52c52eb23854e2f237f55f67"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::helpers::validate_platform_request_for_marketplace (cognitive 62): router::core::payments::helpers::validate_platform_request_for_marketplace has cognitive complexity 62 (threshold 15). Drivers by points: if/else 15 (45 pts), match/switch 7 (14 pts), boolean chains 3 (nesting depth added 37). 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9592}}}],"partialFingerprints":{"codehealthFindingId/v1":"81757736eb3f7213a245e15a25e3dc60604a2989ad70a2608d99a47b9456b16c"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::cards::filter_payment_methods (cognitive 57): router::core::payment_methods::cards::filter_payment_methods has cognitive complexity 57 (threshold 15). Drivers by points: if/else 15 (50 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 37). 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6065}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b146668ef5a86b20a478d5fa75b6a66fe5e44f1fa25e15d901b31ce7a15547"}},{"ruleId":"D2","level":"warning","message":{"text":"BraintreePaymentsRequest::try_from (cognitive 54): BraintreePaymentsRequest::try_from has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (39 pts), match/switch 6 (14 pts), boolean chains 1 (nesting depth added 31). 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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe6f2953f11b48a4fd26af2bbc2d90a34ac77abc100488ecb7e1353bb0f900f"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentIntentRequest::try_from (cognitive 53): PaymentIntentRequest::try_from has cognitive complexity 53 (threshold 15). Drivers by points: match/switch 18 (33 pts), if/else 17 (18 pts), boolean chains 2 (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2953466bb1b0b2a476a78fa72647db671a6786fad43bce1828171b42de5e556"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperswitch_interfaces::api_client::execute_connector_processing_step (cognitive 51): hyperswitch_interfaces::api_client::execute_connector_processing_step has cognitive complexity 51 (threshold 15). Drivers by points: match/switch 9 (29 pts), if/else 7 (22 pts) (nesting depth added 35). 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":"crates/hyperswitch_interfaces/src/api_client.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39d71ffad139e1b9aa483ea39422be478a9fc8391962405f5f1458959cb12b8"}},{"ruleId":"D2","level":"warning","message":{"text":"initializeEventListeners (cognitive 50): initializeEventListeners has cognitive complexity 50 (threshold 15). Drivers by points: if/else 24 (35 pts), boolean chains 7, error handling 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 15). Of this number, 30 points are the body\u0027s own statements and 20 belong to 2 function literals 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8e01d2a692ce4ca0123dc430b88b06c1647dac1657c5b6c6f1bc8882c7d02a"}},{"ruleId":"D2","level":"warning","message":{"text":"status.renderStatusDetails (cognitive 49): status.renderStatusDetails has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 2 (10 pts), ternaries 2 (8 pts), boolean chains 4, match/switch 1 (nesting depth added 29). Of this number, 26 points are the body\u0027s own statements and 23 belong to one function literal inside it that branches. 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":"crates/router/src/core/payment_link/payment_link_status/status.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"063529bc604149886dc24fed5d164f902b24353b984ed4651b732f427abe4fac"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::generate_enum_impl (cognitive 47): smithy::generate_enum_impl has cognitive complexity 47 (threshold 15). Drivers by points: if/else 22 (38 pts), match/switch 3 (5 pts), boolean chains 4 (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":"crates/smithy/src/lib.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0430d8f2dc59fe5b1b37369f97f19de18962d29cf8ca4ec59c070f784d1a2086"}},{"ruleId":"D2","level":"warning","message":{"text":"SmithyGenerator::generate_shape_definition (cognitive 47): SmithyGenerator::generate_shape_definition has cognitive complexity 47 (threshold 15). Drivers by points: loops 14 (31 pts), if/else 6 (15 pts), match/switch 1 (nesting depth added 26). 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":"crates/smithy-core/src/generator.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2746985f8653aabbae904ea589676b69667820b3b3613557a18be79287de8ee"}},{"ruleId":"D2","level":"warning","message":{"text":"analytics::payment_intents::core::get_metrics (cognitive 45): analytics::payment_intents::core::get_metrics has cognitive complexity 45 (threshold 15). Drivers by points: if/else 26 (32 pts), match/switch 4 (8 pts), loops 3 (5 pts) (nesting depth added 12). 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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51381b734142bd782eb1b0a13baf986024995b7da6d36182446bb156a6cb732"}},{"ruleId":"D2","level":"warning","message":{"text":"analytics::payments::core::get_metrics (cognitive 45): analytics::payments::core::get_metrics has cognitive complexity 45 (threshold 15). Drivers by points: if/else 20 (27 pts), match/switch 3 (10 pts), loops 4 (8 pts) (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":"crates/analytics/src/payments/core.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e9057885681d69e4b9346f3e078d2ee448e79005d1e77d678395313538a317"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::routing::link_routing_config (cognitive 44): router::core::routing::link_routing_config has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (30 pts), match/switch 5 (12 pts), boolean chains 2 (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":"crates/router/src/core/routing.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdb583187dbb31a061b359e25dfad1553803384ecf5b980bca3766e9e5c4984"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentConfirm::call_unified_authentication_service_if_eligible (cognitive 41): PaymentConfirm::call_unified_authentication_service_if_eligible has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (24 pts), match/switch 5 (15 pts), boolean chains 2 (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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cabf5a519e5c7991c7645e4ff72b3810decabee131b0ddfd858220833f4eef5"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::helpers::get_token_pm_type_mandate_details (cognitive 40): router::core::payments::helpers::get_token_pm_type_mandate_details has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (22 pts), match/switch 7 (18 pts) (nesting depth added 24). 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"7707afc858eb764649ea0de92c2f75194e045bc42de49617d2de78b99bff112a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payouts::helpers::save_payout_data_to_locker (cognitive 40): router::core::payouts::helpers::save_payout_data_to_locker has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (29 pts), match/switch 6 (11 pts) (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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea00e6281d0ca510d4a1d54dd7ba75a57598b9f578173e90f61a93be78b6e5ec"}},{"ruleId":"D2","level":"warning","message":{"text":"CybersourcePaymentsRequest::try_from (cognitive 39): CybersourcePaymentsRequest::try_from has cognitive complexity 39 (threshold 15). Drivers by points: match/switch 9 (33 pts), if/else 2 (6 pts) (nesting depth added 28). 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"52106b366826fe6f3f3e0a8e4fd054b8b2ac9b7a7036502edf407df19fa6bc86"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentResponse::save_pm_and_mandate (cognitive 39): PaymentResponse::save_pm_and_mandate has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (28 pts), match/switch 2 (6 pts), boolean chains 5 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6ee39e928671f1d5cbaa8b1689cb8a48a83c51e42acaca565182bce9b6e743"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::operations::payment_response::update_modular_pm_and_mandate_impl (cognitive 39): router::core::payments::operations::payment_response::update_modular_pm_and_mandate_impl has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 4 (16 pts), boolean chains 2 (nesting depth added 24). 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9951286f6ce8ad72998b09291c62103b637b3a78006ad0decb9b2ebc1166117"}},{"ruleId":"D2","level":"warning","message":{"text":"router_derive::macros::xss_validation::get_field_type (cognitive 39): router_derive::macros::xss_validation::get_field_type has cognitive complexity 39 (threshold 15). Drivers by points: match/switch 10 (33 pts), if/else 5 (6 pts) (nesting depth added 24). 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":"crates/router_derive/src/macros/xss_validation.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f87f3d322cb57bf1f73042d09ca1fc7a362b13e204ee04d2ae1d3a443693ee"}},{"ruleId":"D2","level":"warning","message":{"text":"scheduler::consumer::start_consumer (cognitive 39): scheduler::consumer::start_consumer has cognitive complexity 39 (threshold 15). Drivers by points: match/switch 4 (18 pts), loops 4 (12 pts), if/else 2 (9 pts) (nesting depth added 29). 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":"crates/scheduler/src/consumer.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"12708f313119572066af77746b84b79fd6b33ea02eae1cd3131322003f207579"}},{"ruleId":"D2","level":"warning","message":{"text":"analytics::refunds::core::get_metrics (cognitive 37): analytics::refunds::core::get_metrics has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (18 pts), match/switch 4 (11 pts), loops 4 (8 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":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6594157dd345981b646b8efeec780ec7864e13c16f2849b3ab83cc559f682fb"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::card_testing_guard::utils::increment_blocked_count_in_cache (cognitive 37): router::core::card_testing_guard::utils::increment_blocked_count_in_cache has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (37 pts) (nesting depth added 24). 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":"crates/router/src/core/card_testing_guard/utils.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dd95baa56cce1819592eec57f640b35e53c852848847f11280d18b9ddfeb53"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::webhooks::incoming::external_authentication_incoming_webhook_flow (cognitive 36): router::core::webhooks::incoming::external_authentication_incoming_webhook_flow has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (23 pts), match/switch 3 (11 pts), boolean chains 2 (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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"040ab06a79e583966b0e7e30f134d2445fb09f45ee13020279657b302eae8e16"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::merchant_connector_webhook_management::register_connector_webhook (cognitive 35): router::core::merchant_connector_webhook_management::register_connector_webhook has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (25 pts), loops 3 (6 pts), match/switch 3, boolean chains 1 (nesting depth added 19). 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":"crates/router/src/core/merchant_connector_webhook_management.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3570dea26679d8517fd6189a0ac4583edf428513b2b41cecfd5e7930e609ee68"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::helpers::get_additional_payment_data (cognitive 35): router::core::payments::helpers::get_additional_payment_data has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (24 pts), match/switch 4 (7 pts), boolean chains 4 (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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5920}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3e1d92fa69e2616e93e28156df019e3bb56623ccf9ccc91591b47233621edf"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::card_testing_guard::utils::validate_card_testing_guard_checks (cognitive 34): router::core::card_testing_guard::utils::validate_card_testing_guard_checks has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 6 (19 pts), if/else 10 (14 pts), boolean chains 1 (nesting depth added 17). 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":"crates/router/src/core/card_testing_guard/utils.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f911008d8c9bc472d9cb09c61396c57d4c3c03df528cbcb5281b14e59d0c2a"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentsRequest::try_from (cognitive 33): PaymentsRequest::try_from has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 9 (20 pts), if/else 12, boolean chains 1 (nesting depth added 11). 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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dab1eda84bdb859a6b3a576aecbaa2f00e49ca6667a65c6838117989c2738b1"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentResponse::update_tracker (cognitive 33): PaymentResponse::update_tracker has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (29 pts), match/switch 2 (4 pts) (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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":5358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6985089e533da1c4afd2970695995017c30f736c4813b1416adb0d1a3fbd7350"}},{"ruleId":"D2","level":"warning","message":{"text":"IsSchemaFieldApplicableForValidation::from (cognitive 33): IsSchemaFieldApplicableForValidation::from has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (31 pts), boolean chains 2 (nesting depth added 23). 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":"crates/router_derive/src/macros/schema/helpers.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bf4fcf760409734cb8a07eb8bbebabc61efa5c23e8efacd7f0ec2ad689f546"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterStore::get_filtered_payment_intents_attempt (cognitive 33): RouterStore::get_filtered_payment_intents_attempt has cognitive complexity 33 (threshold 15). Drivers by points: match/switch 12 (23 pts), if/else 6 (10 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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b50975f5ceaabba3723ccbd0c686ad273eb6653ccdeb337a9ad03470bb5571"}},{"ruleId":"D2","level":"warning","message":{"text":"payment_link.handleCartView (cognitive 33): payment_link.handleCartView has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (31 pts), boolean chains 2 (nesting depth added 17). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1147, 1129, 1137, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c34e93dba1fd2e8693a9edec7f714ec6d1f6fbdc7802b90ac8c69012b6d4d9c"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentsDistributionAccumulator::add_metrics_bucket (cognitive 32): PaymentsDistributionAccumulator::add_metrics_bucket has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (31 pts), boolean chains 1 (nesting depth added 18). 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":"crates/analytics/src/payments/accumulator.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b76386501e9ddbef7abc2f4c6fac0bf87bcd89c4d5d726ff0c663ffdb9b0a0"}},{"ruleId":"D2","level":"warning","message":{"text":"api_models::payments::payment_method_data_serde::deserialize (cognitive 32): api_models::payments::payment_method_data_serde::deserialize has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (24 pts), match/switch 3 (8 pts) (nesting depth added 21). 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":"crates/api_models/src/payments.rs"},"region":{"startLine":3436}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5e01bb6353cb4a6140561cc22c7dbcc9d426bf8075676aaa3a655bd8a8a09c"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardRequestPayload::create_connector_request (cognitive 32): DashboardRequestPayload::create_connector_request has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 2 (8 pts), match/switch 1 (3 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":"crates/connector_configs/src/transformer.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e5f5e2e0fe4bc864a808e74dc2c7a310c029a7f7716fbf6d1b9449e3f49992"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::flows::session_flow::create_applepay_session_token (cognitive 32): router::core::payments::flows::session_flow::create_applepay_session_token has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (21 pts), match/switch 4 (10 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":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e17133d98c06d047e2546d744d2a94099615b1c66c992e4c62eaac081ba772"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::routing::retrieve_linked_routing_config (cognitive 32): router::core::routing::retrieve_linked_routing_config has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 3 (4 pts), loops 2 (3 pts), boolean chains 2 (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":"crates/router/src/core/routing.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbfdc91b00440cf08c2a814e3da32c04733ae09c5ddd0c6e21cfa783bf4ad73"}},{"ruleId":"D2","level":"warning","message":{"text":"router::services::api::server_wrap_util (cognitive 32): router::services::api::server_wrap_util has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (31 pts), match/switch 1 (nesting depth added 18). 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":"crates/router/src/services/api.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc81645f997eb50f9eb696c3eafbbcf62c4781e18efbe9890ff0e5ffa259925"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperswitch_connectors::connectors::adyen::transformers::get_adyen_webhook_event (cognitive 31): hyperswitch_connectors::connectors::adyen::transformers::get_adyen_webhook_event has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (18 pts), match/switch 7 (13 pts) (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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":5672}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb43056f9310eabeb4c09052a42950dbd1dae973893d16831d769d24f26e534e"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterStore::get_filtered_payment_intents_attempt (cognitive 31): RouterStore::get_filtered_payment_intents_attempt has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 12 (23 pts), if/else 5 (8 pts) (nesting depth added 14). 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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbde28c7552c4bc3832977c8f5be889e016e4855157126cf777bd638548cff97"}},{"ruleId":"D2","level":"warning","message":{"text":"Context::from_input (cognitive 30): Context::from_input has cognitive complexity 30 (threshold 15). Drivers by points: if/else 25 (28 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/euclid/src/backend/vir_interpreter/types.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80c1d1e61bcbdd6f56210fcde269e8722446c2b16b05ab756bbb08c8c5895ef"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::cards::list_payment_methods (cognitive 30): router::core::payment_methods::cards::list_payment_methods has cognitive complexity 30 (threshold 15). Drivers by points: loops 9 (15 pts), if/else 12 (13 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5393}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f95443e8010b375e209df3e907c4f42bf4946ab429d2bb4179cd466f4bdbfd"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::operations::payment_response::create_or_update_payment_method_from_payment_response (cognitive 30): router::core::payments::operations::payment_response::create_or_update_payment_method_from_payment_response has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (27 pts), match/switch 1 (2 pts), boolean chains 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":4000}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08e3ce6c932cbce5f27f1735515adcd7c21dabe6522c14b44e5ef6e832d1121"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payout_link::filter_payout_methods (cognitive 30): router::core::payout_link::filter_payout_methods has cognitive complexity 30 (threshold 15). Drivers by points: match/switch 3 (12 pts), if/else 3 (10 pts), loops 4 (8 pts) (nesting depth added 20). 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":"crates/router/src/core/payout_link.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"638995d6fcb530e5c9e5c9a8d9aa4fc870e1b803a938973a9fb1b276c596cccb"}},{"ruleId":"D2","level":"warning","message":{"text":"router::routes::payments::authorize_verify_select (cognitive 30): router::routes::payments::authorize_verify_select has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (21 pts), match/switch 2 (8 pts), boolean chains 1 (nesting depth added 18). 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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2930}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88fac88f808002bdf0020ea765d92218df551c637180966b34fce93a88e16c2"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthEventMetricRow::from_row (cognitive 29): AuthEventMetricRow::from_row has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 29. 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f60bc579db1a75f4ba0d2d20cde02dcd9b50abdc4d562a71bffd5a7f202fef"}},{"ruleId":"D2","level":"warning","message":{"text":"PaypalPaymentsRequest::try_from (cognitive 29): PaypalPaymentsRequest::try_from has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 10 (20 pts), if/else 6 (9 pts) (nesting depth added 13). 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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"5681cb5d724e76341ed483e285d3ac387895fdeab70f905c02ab5bf56ab52a27"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperswitch_connectors::connectors::nexixpay::transformers::get_validated_address_details_generic (cognitive 29): hyperswitch_connectors::connectors::nexixpay::transformers::get_validated_address_details_generic has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (27 pts), match/switch 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"872dcd954adc06b7ea0e0977c49adf69ea961d4fff9aa035cd00ec54d6700ae1"}},{"ruleId":"D2","level":"warning","message":{"text":"PSync::execute (cognitive 29): PSync::execute has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (22 pts), match/switch 4 (7 pts) (nesting depth added 15). 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":"crates/router/src/core/payments/gateway/psync_gateway.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"887cb8b6df1fcf3c216398ba730963f81bcb6017189529abed76c9c4988563cd"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::retry::do_gsm_actions (cognitive 29): router::core::payments::retry::do_gsm_actions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 2 (6 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d957c732d720be90d97130b6e358ff8ecfabb4adbfeabc421f971f2983dbe835"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::unified_connector_service::build_unified_connector_service_payment_method (cognitive 29): router::core::unified_connector_service::build_unified_connector_service_payment_method has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 14 (28 pts), if/else 1 (nesting depth added 14). 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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"129a691a3adaa4f519c002e020d3674885d75bf8d6e55ef19c55859e90a9c4e1"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::webhooks::webhook_events::list_initial_delivery_attempts (cognitive 29): router::core::webhooks::webhook_events::list_initial_delivery_attempts has cognitive complexity 29 (threshold 15). Drivers by points: match/switch 8 (15 pts), if/else 6 (11 pts), boolean chains 3 (nesting depth added 12). 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":"crates/router/src/core/webhooks/webhook_events.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c582d2bbd811ab980440e26051a02e8ee0e354ff608f857eff8aab749bf75df8"}},{"ruleId":"D2","level":"warning","message":{"text":"payment_link.appendMerchantDetails (cognitive 29): payment_link.appendMerchantDetails has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, loops 1 (2 pts), error handling 1 (nesting depth added 12). Of this number, 22 points are the body\u0027s own statements and 7 belong to one function literal 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"975cbdfbad8cd7ce0b70b290aa9976ca09baaa3bd881486c9315f2040b4718ef"}},{"ruleId":"D2","level":"warning","message":{"text":"k6-summary.summarizeMetrics (cognitive 29): k6-summary.summarizeMetrics has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (21 pts), loops 5 (8 pts) (nesting depth added 11). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 259, getData, a function literal at line 303, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"loadtest/k6/helper/k6-summary.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"862a4ea1d815445307360659f095fa2747253ca808922de5af09ec56ccc5c8f4"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthEventFilterRow::from_row (cognitive 28): AuthEventFilterRow::from_row has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 28. 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d298e06d00e49fe1df14358c9b30d4057c531ac17cdc9575ba5f796ae32af0"}},{"ruleId":"D2","level":"warning","message":{"text":"SantanderPixQRPaymentRequest::try_from (cognitive 28): SantanderPixQRPaymentRequest::try_from has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 3 (5 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 15). 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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da23a1fffbce7b0970c7a80fcff86e007f136ee4fc438d151bab69559bf7383"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentConfirm::get_trackers (cognitive 28): PaymentConfirm::get_trackers has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15, match/switch 9 (10 pts), boolean chains 3 (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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55f52583083ce4c606fa6cea21999f14d9d195b478090abe85a8492dd8b33a6"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentConfirm::create_payment_method (cognitive 28): PaymentConfirm::create_payment_method has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 5 (18 pts), if/else 4 (8 pts), boolean chains 2 (nesting depth added 17). 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cd91e0fd4a64298978c5cddbd330c09d271bda2160ed7f7cb9071f088ea169"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::fraud_check::should_call_frm (cognitive 28): router::core::fraud_check::should_call_frm has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 5 (14 pts), if/else 4 (13 pts), boolean chains 1 (nesting depth added 18). 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":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3249ad340d1170294f82457a5f746cd10eee6fe56ce458c2d8b3532fbd8056"}},{"ruleId":"D2","level":"warning","message":{"text":"router::utils::user_role::get_lineage_for_user_id_and_entity_for_accepting_invite (cognitive 28): router::utils::user_role::get_lineage_for_user_id_and_entity_for_accepting_invite has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (27 pts), match/switch 1 (nesting depth added 15). 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":"crates/router/src/utils/user_role.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b475d992230c696871125734ccb60da6ceb5e35861eeffe260f1e52bef147250"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterData::try_from (cognitive 27): RouterData::try_from has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (21 pts), match/switch 4 (6 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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c85147ef2ae310e2dd2d467b8b692b2c3114e6f13fc05e5606191810ef19c1"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionRoutingStage::route (cognitive 27): SessionRoutingStage::route has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (20 pts), loops 3 (5 pts), match/switch 1 (2 pts) (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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c05a4d659eee4c0f3482a3822e541d7585d5390097157c678db89849b2c255"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::cards::get_banks (cognitive 27): router::core::payment_methods::cards::get_banks has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4358}}}],"partialFingerprints":{"codehealthFindingId/v1":"223455df534cade6f1d566b4aaa5f72e3e1135756c15b6af3757936ea9f590a2"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::utils::compile_pm_graph (cognitive 27): router::core::payment_methods::utils::compile_pm_graph has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 1 (2 pts) (nesting depth added 18). 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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a615a35da1ca604913cda9c2666ea1df55e0e28ac126a693fa1ca66b03db59b"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::routing::migrate_rules_for_profile (cognitive 27): router::core::routing::migrate_rules_for_profile has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 6 (14 pts), if/else 5 (12 pts), loops 1 (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":"crates/router/src/core/routing.rs"},"region":{"startLine":3157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f57b28f3a0aee467e78edc6673bec90e198a2c0651b0fc3836cb61c27c5453a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::services::api::server_wrap (cognitive 27): router::services::api::server_wrap has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 9 (16 pts), if/else 6 (11 pts) (nesting depth added 12). 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":"crates/router/src/services/api.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3742e53320baeea15b2ed9008edc2dcf3eaaca76904aeb7c52272261d038d52"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterStore::get_filtered_payment_intents_attempt_for_platform (cognitive 27): RouterStore::get_filtered_payment_intents_attempt_for_platform has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16 (22 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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcbd90e8cdc9eb1bb3c496c10cf1b3795e0b928faf88d8148810ad0efc6bd23"}},{"ruleId":"D2","level":"warning","message":{"text":"FraudCheckPost::update_tracker (cognitive 26): FraudCheckPost::update_tracker has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 12 (25 pts), if/else 1 (nesting depth added 13). 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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e55b8081be7af9d0c3f38c212e9d8b8c4cdab293b004252d7ff5e91ff51245"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::routing::utils::convert_backend_input_to_routing_eval (cognitive 26): router::core::payments::routing::utils::convert_backend_input_to_routing_eval has cognitive complexity 26 (threshold 15). Drivers by points: if/else 20 (21 pts), match/switch 1 (3 pts), loops 1 (2 pts) (nesting depth added 4). 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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5344fb71e78deb096caa6f51c3b8cd08faebbf14023d03c1f5430fea67666a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::superposition_sdk_config::translate_to_sdk_payment_methods (cognitive 26): router::core::superposition_sdk_config::translate_to_sdk_payment_methods has cognitive complexity 26 (threshold 15). Drivers by points: loops 13 (22 pts), if/else 2 (4 pts) (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/superposition_sdk_config.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c79559b66917a60c9e9d8281f27818edd03e21d7729b13f3ab7dd25c80440a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::workflows::revenue_recovery::get_retry_timing (cognitive 26): router::workflows::revenue_recovery::get_retry_timing has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 6 (12 pts), boolean chains 1 (nesting depth added 14). 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":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7454ed162e7273924cdd4a59da7487cf582c8331a33dc3dbff3e509385b86f8"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::helpers::make_pm_data (cognitive 25): router::core::payments::helpers::make_pm_data has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 4 (5 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3995}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0785fda6dfbd47f87b60e0c5f39b3687cd227a6d1d8baf10a5eec983026ff26"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::utils::get_split_refunds (cognitive 25): router::core::utils::get_split_refunds has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 5 (10 pts), boolean chains 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":"crates/router/src/core/utils.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dbbee1c29a4ad53b4359b4d3c99ce1c61856edf8f455c5efdcf2ad0850e59b"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::extract_namespace_and_mixin (cognitive 25): smithy::extract_namespace_and_mixin has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (24 pts), 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":"crates/smithy/src/lib.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ed02227c3650e01857560271049df642fdae2fc50081fb37256fbc5609d402"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterStore::get_payment_intents_attempt_count_for_platform (cognitive 25): RouterStore::get_payment_intents_attempt_count_for_platform has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (22 pts), match/switch 2 (3 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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d2bff86c24afd8ae6aae52d39a6133c68dd21a4821c3050bbcbf024600b222"}},{"ruleId":"D2","level":"warning","message":{"text":"NovalnetPaymentsRequest::try_from (cognitive 24): NovalnetPaymentsRequest::try_from has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 9 (19 pts), if/else 3 (5 pts) (nesting depth added 12). 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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aef97e9d52492a8b70484c2324795a0e9ec39e3e1560961f09b3958d9f1073"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::call_connector_service (cognitive 24): router::core::payments::call_connector_service has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18 (20 pts), match/switch 3 (4 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":6421}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2bad0da5e7e18727b7e72d291782036cb17478ec63272a67b4722dde680c27"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::refunds::trigger_refund_to_gateway (cognitive 24): router::core::refunds::trigger_refund_to_gateway has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 5 (8 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b0f45d5ebdedac226dbf3b405b4ffd20a833a8936dcba4c3ee143124834c3"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::user_role::delete_user_role (cognitive 24): router::core::user_role::delete_user_role has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (22 pts), match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user_role.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"258ad3d0293d25d9e929f8fde7d58f85d683cbec63d66350fe18e6162e68e494"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentsDistributionAccumulator::add_metrics_bucket (cognitive 23): PaymentsDistributionAccumulator::add_metrics_bucket has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 3 (nesting depth added 12). 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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f0ef484de7f6fb7cd060ea26a5fd37462d5998011b8448ed8bb6d8402b7f3e"}},{"ruleId":"D2","level":"warning","message":{"text":"drainer::handler::drainer (cognitive 23): drainer::handler::drainer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 4 (8 pts), boolean chains 1, loops 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":"crates/drainer/src/handler.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a070b304ed8d5543d36f03479446bc4a3e38b69c5113b70acafc3f7c76a570"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentMethodDataType::from (cognitive 23): PaymentMethodDataType::from has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 12 (23 pts) (nesting depth added 11). 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":6944}}}],"partialFingerprints":{"codehealthFindingId/v1":"13dcabcdbf0d32746a859aeccec4c22fa09ac9195dae41cb706c85b7eeeb519f"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::helpers::retrieve_payment_method_with_temporary_token (cognitive 23): router::core::payments::helpers::retrieve_payment_method_with_temporary_token has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 2 (4 pts), boolean chains 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c104a1b5ec20dcedd36b29cae2da7d4e53ccdd07dd7fa088a3570a216b26aa48"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::refunds_v2::schedule_refund_execution (cognitive 23): router::core::refunds_v2::schedule_refund_execution has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 6 (18 pts), if/else 2 (5 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":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"378ebb0dcd6241529543a147269445cb3b781f2f255ef729102b572399f19b89"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::unified_connector_service::resolve_ucs_execution_decision (cognitive 23): router::core::unified_connector_service::resolve_ucs_execution_decision has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 4 (7 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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefcf24f526f91b4398c35b9e2ae1525fd85e621bf53aa087b71a78ef4edef54"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::webhooks::incoming_v2::incoming_webhooks_core (cognitive 23): router::core::webhooks::incoming_v2::incoming_webhooks_core has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 5 (10 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":"crates/router/src/core/webhooks/incoming_v2.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f494eb32ed7d260d7b2b4c10addad4f5a16af7a35dfb9de3700c3237d86f83e"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentDistributionRow::from_row (cognitive 22): PaymentDistributionRow::from_row has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 22. 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"c293a2cce0b6ae642772e603c6ef447486299269b11ec794f9927de05df94453"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthEventFilters::set_filter_clause (cognitive 22): AuthEventFilters::set_filter_clause has cognitive complexity 22 (threshold 15). Drivers by points: if/else 22. 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":"crates/analytics/src/auth_events/types.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d205a58999d1d5b1ace9e042a27de210c47ebe33c461c2074b730b87c7336c5f"}},{"ruleId":"D2","level":"warning","message":{"text":"Peachpayments::get_webhook_event_type (cognitive 22): Peachpayments::get_webhook_event_type has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (18 pts), match/switch 2 (4 pts) (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":"crates/hyperswitch_connectors/src/connectors/peachpayments.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6b7e0beb2d14c0ff2839630f0bc564870eb83378fb895b4c134b3cc889959b"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterData::try_from (cognitive 22): RouterData::try_from has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 4 (7 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af8222a531397ab294a157b12c3430de05880b3f8f6e5a42cdf736ad60836a5"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentConfirm::fetch_payment_method (cognitive 22): PaymentConfirm::fetch_payment_method has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 6 (16 pts), if/else 4 (5 pts), boolean chains 1 (nesting depth added 11). 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14ee8226e0d6b9d3c4f3770ad6f5150a228a9ef59e5bc527ec4fc376c1fcb0b"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentCreate::get_trackers (cognitive 22): PaymentCreate::get_trackers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, match/switch 7 (9 pts), boolean chains 1 (nesting depth added 2). 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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3703ea072a32b5237d53591260b45150d44ae0fdc925b9d2eb4aedd40b145979"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::cards::update_customer_payment_method (cognitive 22): router::core::payment_methods::cards::update_customer_payment_method has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 6). 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2804}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0b664d3f569605ce3e6509cbdb25917437fd382f8e4b4069ab9d1d47eb4a8c"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::cards::list_customer_payment_method (cognitive 22): router::core::payment_methods::cards::list_customer_payment_method has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, loops 2 (4 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6529}}}],"partialFingerprints":{"codehealthFindingId/v1":"c957dc966cdba36fb873a6bdcab4c96b99864a792bf63b8e2d32e469d7683f30"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::unified_connector_service::ucs_logging_wrapper (cognitive 22): router::core::unified_connector_service::ucs_logging_wrapper has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 2 (4 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. This shape REPEATS in the file: one other method here (router::core::unified_connector_service::ucs_logging_wrapper_granular) 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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4371}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e08688c49402cc6c287308a62288128dcedb7d28a3867eede3251714402d14f"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::unified_connector_service::ucs_logging_wrapper_granular (cognitive 22): router::core::unified_connector_service::ucs_logging_wrapper_granular has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (18 pts), match/switch 2 (4 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. This shape REPEATS in the file: one other method here (router::core::unified_connector_service::ucs_logging_wrapper) 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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4611}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ae08fb5465836e7676fe5764b4920855442e915f3237981f218d90ca76b312"}},{"ruleId":"D2","level":"warning","message":{"text":"router::utils::user::sample_data::generate_sample_data (cognitive 22): router::utils::user::sample_data::generate_sample_data has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), match/switch 5 (6 pts), boolean chains 4, loops 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":"crates/router/src/utils/user/sample_data.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"39747fe11161171a18aa1f897983968a7976d20c46e1d67585b2f2701b09f830"}},{"ruleId":"D2","level":"warning","message":{"text":"FormattingLayer::common_serialize (cognitive 22): FormattingLayer::common_serialize has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (5 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":"crates/router_env/src/logger/formatter.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"511283120789f281a43647725b0d0c95261f8d298476c2e79b52090e0c79b27f"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentMetricRow::from_row (cognitive 21): PaymentMetricRow::from_row has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 21. 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7964f21808ff04883c2a4bbfd3e06b27684afaf1b2213a45c02b73528e950129"}},{"ruleId":"D2","level":"warning","message":{"text":"AdyenWebhookResponse::from (cognitive 21): AdyenWebhookResponse::from has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (20 pts), 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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":5895}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8100bc96c1bcd4dd2d00be70a35f2cad43949b76c87bf2bc76e7d3dab40ffae"}},{"ruleId":"D2","level":"warning","message":{"text":"Authorize::execute (cognitive 21): Authorize::execute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 4 (8 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":"crates/router/src/core/payments/gateway/authorize_gateway.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd73d86476c80ae4cda64def7d7a2457365e0b3d05d6cb36e11fa34100b816f8"}},{"ruleId":"D2","level":"warning","message":{"text":"PmCards::add_payment_method (cognitive 21): PmCards::add_payment_method has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 6 (10 pts), boolean chains 1 (nesting depth added 10). 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b73b438c7356649531268d615a0d3a7098aac76811b0ed1836870708d5494bf"}},{"ruleId":"D2","level":"warning","message":{"text":"router::compatibility::wrap::compatibility_api_wrap (cognitive 21): router::compatibility::wrap::compatibility_api_wrap has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 11 (21 pts) (nesting depth added 10). 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":"crates/router/src/compatibility/wrap.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"008cb88e11b34bc23412493e363e3bb1ff3c950276e7e709d1ea560610932e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::blocklist::utils::check_profile_blocking_config (cognitive 21): router::core::blocklist::utils::check_profile_blocking_config has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (16 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 12). 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":"crates/router/src/core/blocklist/utils.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a8691286199105b5fc77c97e4536d3b9ab822fb9290249fd15269eaede160f"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::debit_routing::extract_debit_networks (cognitive 21): router::core::debit_routing::extract_debit_networks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (15 pts), loops 2 (6 pts) (nesting depth added 15). 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":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b35d7baa3bb0b20b5b10dd363725e3e95ba2de50b0d13cd25159bc2aa2703da"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::get_card_brands_based_on_active_merchant_connector_account (cognitive 21): router::core::payments::get_card_brands_based_on_active_merchant_connector_account has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (9 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":9289}}}],"partialFingerprints":{"codehealthFindingId/v1":"524b7b69451de74b7c2b2ddfc05612edf36a3ac40d5c4a6d0f6a9cc117281fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::check_apple_pay_metadata (cognitive 21): router::core::payments::check_apple_pay_metadata has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 4 (10 pts) (nesting depth added 13). 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":"crates/router/src/core/payments.rs"},"region":{"startLine":10104}}}],"partialFingerprints":{"codehealthFindingId/v1":"56992c6092d7d289944fa3c21365c0fa376c74372f80a562bb887f1cd4aadae7"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::helpers::create_customer_if_not_exist (cognitive 21): router::core::payments::helpers::create_customer_if_not_exist has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 4 (6 pts), boolean chains 2 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bcb63f6df94ce7155a1ee0374a4c78f3a4aeca90d9b1cd49a757d83fd2825a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::user_role::update_user_role (cognitive 21): router::core::user_role::update_user_role has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15 (19 pts), match/switch 2 (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":"crates/router/src/core/user_role.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64f96b00932f39d7e3183ed9e0a44508909bdb0bf0fec823a7552b472f5bfc8"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::webhooks::incoming::update_connector_mandate_details (cognitive 21): router::core::webhooks::incoming::update_connector_mandate_details has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2 (nesting depth added 11). 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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":3657}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8b62edfab3f294ea83a5a4bce9bbd5b3ebcad8a07deba98e7bcb829b5aad6f"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomerId::redact_customer_details_and_generate_response (cognitive 20): CustomerId::redact_customer_details_and_generate_response has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), match/switch 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":"crates/router/src/core/customers.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8415cb5126094cbcea1e934f97044f71e954de641b574c477352571026e27dc"}},{"ruleId":"D2","level":"warning","message":{"text":"BankOfAmericaPaymentsRequest::try_from (cognitive 20): BankOfAmericaPaymentsRequest::try_from has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 6 (20 pts) (nesting depth added 14). 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f23e4685aade2d90129fb81235db5a9ed8aba9327aeb36f84b66fc612987671"}},{"ruleId":"D2","level":"warning","message":{"text":"FinixWebhookBody::get_webhook_event_type (cognitive 20): FinixWebhookBody::get_webhook_event_type has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 7 (17 pts), if/else 2 (3 pts) (nesting depth added 11). 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":"crates/hyperswitch_connectors/src/connectors/finix/transformers.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48cfa6fd13dee96d75147a7ebefff511a568e60848379e2f5da06ba22c96265"}},{"ruleId":"D2","level":"warning","message":{"text":"FiservPaymentsRequest::try_from (cognitive 20): FiservPaymentsRequest::try_from has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 6 (19 pts), if/else 1 (nesting depth added 13). 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":"crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"1130917564696cb814385e95df94eb96f935d1cc480875b70e6d02f65743a51d"}},{"ruleId":"D2","level":"warning","message":{"text":"FiuuPaymentRequest::try_from (cognitive 20): FiuuPaymentRequest::try_from has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 9 (20 pts) (nesting depth added 11). 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":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc0566e96dcf23fec2545b4413439fb4ea232c0e34d5685c2b968ad908b0e60"}},{"ruleId":"D2","level":"warning","message":{"text":"Santander::get_webhook_event_type (cognitive 20): Santander::get_webhook_event_type has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (12 pts), match/switch 4 (8 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"069b0f6bc5b4244fc17ca889784a0bf59051aadc9995beb4f08a69d469a35add"}},{"ruleId":"D2","level":"warning","message":{"text":"WellsfargoPaymentsRequest::try_from (cognitive 20): WellsfargoPaymentsRequest::try_from has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 6 (20 pts) (nesting depth added 14). 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":"crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a753b7b2d8045306f7c9ffd0d782c1777c40425f12ec5445eafcc7ce381ed"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectorTypeAndConnectorName::get_routable_connector (cognitive 20): ConnectorTypeAndConnectorName::get_routable_connector has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 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":"crates/router/src/core/admin.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fc8c30ee50e877f2dda48da78c9a151a8a550323162f9b3331b064e425e23a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::merchant_connector_webhook_management::transformers::construct_connector_webhook_registration_details (cognitive 20): router::core::merchant_connector_webhook_management::transformers::construct_connector_webhook_registration_details has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 2 (6 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). 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":"crates/router/src/core/merchant_connector_webhook_management/transformers.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbd5c38ef3cf52a83d3163bea522c936534f33f7ff590d6f160198d5c8cb09a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payouts::make_payout_data (cognitive 20): router::core::payouts::make_payout_data has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 11 (15 pts), if/else 4, boolean chains 1 (nesting depth added 4). 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":"crates/router/src/core/payouts.rs"},"region":{"startLine":3865}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed99b897685d9cdef4604c7a8954d73fa45e4333a4a0a6fe7e2290c0c77552d"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::webhooks::incoming::payments_incoming_webhook_flow (cognitive 20): router::core::webhooks::incoming::payments_incoming_webhook_flow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), match/switch 5 (8 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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d0ca81eadc35512d1766d3eea65b05b6513b78eec9396c36112c4dd7c363aa"}},{"ruleId":"D2","level":"warning","message":{"text":"payment_link_initiator.initializeSDK (cognitive 20): payment_link_initiator.initializeSDK has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10, boolean chains 9, ternaries 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d6d8017a55b4a179b22122646eb38967e30b0e909f7ba81ac825952c9963a4"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentFilterRow::from_row (cognitive 19): PaymentFilterRow::from_row has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 19. 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"25413cadb996c1ddc5c27092da5fa499d6fbd608da1d5294814c5965f352f9c2"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentFilters::set_filter_clause (cognitive 19): PaymentFilters::set_filter_clause has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. 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":"crates/analytics/src/payments/types.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8716ef97006811175b7736e5b456d3f93eebf7f495edc5b8268fce5cd3d0db5a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingInformation::try_from (cognitive 19): ProcessingInformation::try_from has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 5 (6 pts), boolean chains 2 (nesting depth added 6). 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"e734c142b59a392a4cd784abc8937111b484caf8b7eb71f6e6ae4d170c6e1eed"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::operations::payment_status::get_tracker_for_sync (cognitive 19): router::core::payments::operations::payment_status::get_tracker_for_sync has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), match/switch 5 (8 pts), boolean chains 2 (nesting depth added 4). 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":"crates/router/src/core/payments/operations/payment_status.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0351b903ec5d197059572d6a48668c3a9a0f7ae5512bd876dcf58eabde121a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::routing::try_pre_routing_connectors (cognitive 19): router::core::payments::routing::try_pre_routing_connectors has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 1 (nesting depth added 12). 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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dd135d03c8623939dd0a475672010a17061ba595a2fa6aa2f388340190826c"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::routing::perform_session_flow_routing (cognitive 19): router::core::payments::routing::perform_session_flow_routing has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (5 pts), 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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3070}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17d814174b70cffaceb94c25cfef40086ebb3e784d9df47bd0e6de9f8b247bd"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::routing::helpers::push_metrics_with_update_window_for_contract_based_routing (cognitive 19): router::core::routing::helpers::push_metrics_with_update_window_for_contract_based_routing has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 1 (4 pts), loops 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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"91577851614caab13082f7b5bf05fc830ac1077fcaff8791c9ffd09f4c143419"}},{"ruleId":"D2","level":"warning","message":{"text":"RecordedIncomingFuture::poll (cognitive 19): RecordedIncomingFuture::poll has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (17 pts), match/switch 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":"crates/router_env/src/request_id.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1607dc9be95e96ff2df6366692670761f9fd86e786b59ae2b7dd1cd82582c3"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::generate_struct_impl (cognitive 19): smithy::generate_struct_impl has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy/src/lib.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a9d17d612c21cca3578153685f50c6f0ebadb9c609d5565fdeb7cf495e3823"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::extract_enum_variants (cognitive 19): smithy::extract_enum_variants has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (7 pts), match/switch 1 (2 pts) (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":"crates/smithy/src/lib.rs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32130cf6b1ec7d44798993bdfa7b8d0af54b80a463259c03a5fb3a5bb86171b"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::parse_range (cognitive 19): smithy::parse_range has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (19 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. This shape REPEATS in the file: one other method here (smithy::parse_length) 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":"crates/smithy/src/lib.rs"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f76abcbe812b47a296e767fe3c3d78979865063d78a1ffccde2c4bef616f3d"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::parse_length (cognitive 19): smithy::parse_length has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (19 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. This shape REPEATS in the file: one other method here (smithy::parse_range) 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":"crates/smithy/src/lib.rs"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d7aea91386698dba4dd1844596aaded73eb15c420263c44aa7c7b3f8af334a"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterStore::filter_payment_intent_by_constraints (cognitive 19): RouterStore::filter_payment_intent_by_constraints has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 5 (9 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd6f644b92aa1474f82b837616498a50706a3dfa826e870651c616d930a9a7d"}},{"ruleId":"D2","level":"warning","message":{"text":"MerchantAccountCreate::create_domain_model_from_request (cognitive 18): MerchantAccountCreate::create_domain_model_from_request has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 4 (7 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/admin.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"599ac799f4b4f339de74847f534134b5d4aba8e984e1966575ae54d36d80ef1a"}},{"ruleId":"D2","level":"warning","message":{"text":"Aci::get_webhook_event_type (cognitive 18): Aci::get_webhook_event_type has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (17 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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe151b591a6e5b4825eb1b27e6ddba6905ae80d7a8b009405d93a2b7c5f9c45"}},{"ruleId":"D2","level":"warning","message":{"text":"HipayPaymentsRequest::try_from (cognitive 18): HipayPaymentsRequest::try_from has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 5 (9 pts) (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":"crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb625721982629fe72e3b49c3adca5fc496ebc7a88342ead3579818135079db"}},{"ruleId":"D2","level":"warning","message":{"text":"MultisafepayPaymentsRequest::try_from (cognitive 18): MultisafepayPaymentsRequest::try_from has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 11 (16 pts), if/else 2 (nesting depth added 5). 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":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"178aee6c4c2017d86269f5d403ac7cad0949c73690c469b1f1945bd296e42a6b"}},{"ruleId":"D2","level":"warning","message":{"text":"Santander::get_url (cognitive 18): Santander::get_url has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 5 (13 pts), if/else 3, boolean chains 2 (nesting depth added 8). 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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"47813404ab7a3ca0ce05d1c1c0edf3887c072b957d9ab15b52046ea5287f7568"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperswitch_connectors::connectors::stripe::transformers::create_stripe_line_items_data (cognitive 18): hyperswitch_connectors::connectors::stripe::transformers::create_stripe_line_items_data has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1 (2 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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":2316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ccf3b70271824c423e409e770f849069db4262907d18b7e1fa3026fc0fd64b"}},{"ruleId":"D2","level":"warning","message":{"text":"payment_link::css_generator::generate_dynamic_css (cognitive 18): payment_link::css_generator::generate_dynamic_css has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (5 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":"crates/payment_link/src/css_generator.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"d696d94f294541995df8e0e5e36dbeffebc5dd216f6ab35a2bb3a18c18819069"}},{"ruleId":"D2","level":"warning","message":{"text":"BackwardCompatWorkflowBuilder::backfill_legacy_locker_card (cognitive 18): BackwardCompatWorkflowBuilder::backfill_legacy_locker_card has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 2 (3 pts) (nesting depth added 9). 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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dda452dc79cf758cf3617cf4eca178381c16964ac3a3f89168282698367cd5"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::fraud_check::pre_payment_frm_core (cognitive 18): router::core::fraud_check::pre_payment_frm_core has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1 (nesting depth added 9). 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":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef7098c8e26c05bcedabad8daafcd7fe01b5b0f9e20ad8fa9e36a0a4d867138"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::decide_payment_method_tokenize_action (cognitive 18): router::core::payments::decide_payment_method_tokenize_action has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), match/switch 3 (7 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":10371}}}],"partialFingerprints":{"codehealthFindingId/v1":"abed16fa853173c5fcd488f7fb13bdbd501bd4b882460bec5bd755baee43fff2"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payouts::create_recipient (cognitive 18): router::core::payouts::create_recipient has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (16 pts), match/switch 1 (2 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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"2583b385a7b176313773bf30d93ba3886734b050e2efbfe1aa1297e682f09aca"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payouts::validator::get_payout_method_data_generic (cognitive 18): router::core::payouts::validator::get_payout_method_data_generic has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 7 (18 pts) (nesting depth added 11). 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":"crates/router/src/core/payouts/validator.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee9bbcfd3972e267d67d189f9a17328328ff8bcdf2133a6644d1a3c5375789f"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::unified_authentication_service::authentication_eligibility_core (cognitive 18): router::core::unified_authentication_service::authentication_eligibility_core has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 4 (6 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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c62f42093fcd49a75c64c08cf7bd8336e20e042115286ee3f7a5fca80286c7c"}},{"ruleId":"D2","level":"warning","message":{"text":"router::utils::user::theme::can_user_access_theme (cognitive 18): router::utils::user::theme::can_user_access_theme has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, 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":"crates/router/src/utils/user/theme.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"282b473e730964b159909d61f627456ff8ae37f75d68e3f2b6324082d0b9a63b"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterStore::filter_payouts_and_attempts (cognitive 18): RouterStore::filter_payouts_and_attempts has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 4 (6 pts), loops 1 (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payouts/payouts.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"37bad753d5236be12c23fea827bd640f0ea58ce6f31fa8b0f3c40340dff1493d"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentIntentMetricRow::from_row (cognitive 17): PaymentIntentMetricRow::from_row has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 17. 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"9027cee4e4fbebf60b063df542aa4e1560d881263d4c3c57e394541eef2c2ade"}},{"ruleId":"D2","level":"warning","message":{"text":"Dispute::filter_by_constraints (cognitive 17): Dispute::filter_by_constraints has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14 (17 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e9a21425a4bef08581e9478693637ae79bb7804c2c10076a587e28e4d31838"}},{"ruleId":"D2","level":"warning","message":{"text":"AirwallexPaymentsRequest::try_from (cognitive 17): AirwallexPaymentsRequest::try_from has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, match/switch 4 (8 pts), boolean chains 1 (nesting depth added 4). 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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40217bb2b15d403b12611eaa4869b14475861b0b2c8e57fdd55a5dc0d8fd4a0"}},{"ruleId":"D2","level":"warning","message":{"text":"CybersourceZeroMandateRequest::try_from (cognitive 17): CybersourceZeroMandateRequest::try_from has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 4 (5 pts) (nesting depth added 8). 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"51671e0b791b1ed789a80da73093016e9c8c23fbe0cd66bea5ad5c1c7cdcd672"}},{"ruleId":"D2","level":"warning","message":{"text":"hyperswitch_connectors::connectors::nuvei::transformers::get_payment_status (cognitive 17): hyperswitch_connectors::connectors::nuvei::transformers::get_payment_status has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7 (15 pts), boolean chains 1, if/else 1 (nesting depth added 8). 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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":2147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2122e9f1cfa16d5130f83a232e46c7b5ecce5189915c7e8e1f84263907d1cd5d"}},{"ruleId":"D2","level":"warning","message":{"text":"payment_link::css_generator::sanitize_color (cognitive 17): payment_link::css_generator::sanitize_color has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6 (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":"crates/payment_link/src/css_generator.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bec6d12a8d192207389e377129b52ac9e8c772bfe46494119b9b0ce6b8cc6be"}},{"ruleId":"D2","level":"warning","message":{"text":"payment_link::wasm::validate_payment_link_config_impl (cognitive 17): payment_link::wasm::validate_payment_link_config_impl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/payment_link/src/wasm.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01bfb691325726969d821c9e2213d98d3500966854bcf15ad0a14f26a192722"}},{"ruleId":"D2","level":"warning","message":{"text":"LockAction::free_lock_action (cognitive 17): LockAction::free_lock_action has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 3 (7 pts) (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":"crates/router/src/core/api_locking.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47dad9fd29e66969430aa8037a5f5cb19ff57c36a87032835822fe7739acdd3"}},{"ruleId":"D2","level":"warning","message":{"text":"FraudCheckPre::update_tracker (cognitive 17): FraudCheckPre::update_tracker has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 8 (17 pts) (nesting depth added 9). 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":"crates/router/src/core/fraud_check/operation/fraud_check_pre.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb5684706d6e0c79060befee4770c627f63f6b11d16459c7fa3768b75e8c7f0"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentUpdate::get_trackers (cognitive 17): PaymentUpdate::get_trackers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 2, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_update.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2364986bb8a7d87393f3ba380ca7d1d62991302177f84ab7a7c54d40eab254"}},{"ruleId":"D2","level":"warning","message":{"text":"BackwardCompatWorkflowBuilder::backfill_legacy_locker_card (cognitive 17): BackwardCompatWorkflowBuilder::backfill_legacy_locker_card has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), match/switch 2 (3 pts) (nesting depth added 9). 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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e924062fa0caf5da876b72d0ebcb39a8c7316558728209241fa9c9ab513e292"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::fraud_check::get_payout_frm_applicability (cognitive 17): router::core::fraud_check::get_payout_frm_applicability has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 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":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c499508a13f9d54d13b0f22493a54533e487f1dee9642b424dbc7caf838b83"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::offer_engine::notify::execute_notification (cognitive 17): router::core::offer_engine::notify::execute_notification has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 5 (12 pts), if/else 2 (5 pts) (nesting depth added 10). 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":"crates/router/src/core/offer_engine/notify.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"49afea658a84c8450ad5bcfaa547000ae10ef81acd10982d6ef2202679d5a881"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::cards::is_eligible_for_saved_flow (cognitive 17): router::core::payment_methods::cards::is_eligible_for_saved_flow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 9). 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":7007}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cf458c2394b48f30df9404d84733312698d7ccafa8acf6617018c7915f8ad5"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::utils::compile_accepted_countries_for_mca (cognitive 17): router::core::payment_methods::utils::compile_accepted_countries_for_mca has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (2 pts) (nesting depth added 9). 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. This shape REPEATS in the file: one other method here (router::core::payment_methods::utils::compile_accepted_currency_for_mca) 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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4a6dd14dfde59ccdff5d3de5febea78211a6620cc5afae79a99731b7bbe1fb"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::utils::compile_accepted_currency_for_mca (cognitive 17): router::core::payment_methods::utils::compile_accepted_currency_for_mca has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 1 (2 pts) (nesting depth added 9). 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. This shape REPEATS in the file: one other method here (router::core::payment_methods::utils::compile_accepted_countries_for_mca) 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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"695ad5b14d0633c266bcdf87a44efb4445c964949386ee4ecfb27dc64156ef83"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::call_multiple_connectors_service (cognitive 17): router::core::payments::call_multiple_connectors_service has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":8992}}}],"partialFingerprints":{"codehealthFindingId/v1":"283be7d69423a3fe2a2b670a8d655ce116e63d6962edd0bfe6ad6d75e3952e8a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::payments_manual_update (cognitive 17): router::core::payments::payments_manual_update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (17 pts) (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":"crates/router/src/core/payments.rs"},"region":{"startLine":14535}}}],"partialFingerprints":{"codehealthFindingId/v1":"0813749e28149c9efbd664fe72ac2147fe01318c28edb6547d3da998e80d2a31"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::operations::payment_response::upsert_profile_preference (cognitive 17): router::core::payments::operations::payment_response::upsert_profile_preference has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":4172}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a66549855a0a3db9fcce45592fad5e277e38cf1ff02b49a38d4ec2bd83a5f2"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payouts::validator::validate_create_request (cognitive 17): router::core::payouts::validator::validate_create_request has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), match/switch 5 (6 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, 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":"crates/router/src/core/payouts/validator.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"67674bde1e864b2af9b3a52e050d66566fb7da806f854c0649332291479ba789"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::routing::helpers::validate_connectors_in_routing_config (cognitive 17): router::core::routing::helpers::validate_connectors_in_routing_config has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (12 pts), match/switch 2 (3 pts), if/else 2 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8bce370a22ddbf6f5ea8f25c402f3600593667123a7e60898d15d9e89a7a92"}},{"ruleId":"D2","level":"warning","message":{"text":"router::workflows::revenue_recovery::call_decider_for_payment_processor_tokens_select_closest_time (cognitive 17): router::workflows::revenue_recovery::call_decider_for_payment_processor_tokens_select_closest_time has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (4 pts), boolean chains 2, loops 1 (2 pts) (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":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ff88223a24979acb1b1d7a84ad85e154a2bcb1b976c015e89a3e18abb5f4e9"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy::extract_documentation (cognitive 17): smithy::extract_documentation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy/src/lib.rs"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"96724d6419147e9a6bd7e0ca3ca26d951b908bdef4ece39f2bc8de82c3516c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"smithy_core::types::resolve_type_and_generate_shapes (cognitive 17): smithy_core::types::resolve_type_and_generate_shapes has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (7 pts), match/switch 1 (nesting depth added 3). 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":"crates/smithy-core/src/types.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdadd64f99da898f87f2eb0293713f66c8844955b177487c476d2a42b44f276"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterStore::get_filtered_active_attempt_ids_for_total_count (cognitive 17): RouterStore::get_filtered_active_attempt_ids_for_total_count has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 4 (6 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c83410eb823aa3f58ea10a558ad6a60607382827c83b82f3c1a00657b4dbe7a"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterStore::get_filtered_active_attempt_ids_for_total_count (cognitive 17): RouterStore::get_filtered_active_attempt_ids_for_total_count has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (11 pts), if/else 4 (6 pts) (nesting depth added 7). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cdf57deca490886c3ef5b3e870bf9f32601af92b842b8cfee74ff9e69765dd"}},{"ruleId":"D2","level":"warning","message":{"text":"k6-summary.strWidth (cognitive 17): k6-summary.strWidth has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, loops 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":"loadtest/k6/helper/k6-summary.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d490a81d38452994f89aec6bd0dacef03f2d75adf45cdf0b24075f35107e0a"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentsSuccessRateAccumulator::add_metrics_bucket (cognitive 16): PaymentsSuccessRateAccumulator::add_metrics_bucket has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 1 (nesting depth added 9). 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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c86dacc8978a857693c7ccc9ee913526b7511bb9ab7ab697b411239a538298"}},{"ruleId":"D2","level":"warning","message":{"text":"external_services::grpc_client::unified_connector_service::build_grpc_headers_internal (cognitive 16): external_services::grpc_client::unified_connector_service::build_grpc_headers_internal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. 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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"67797fb3dc98d8f0d88346caeb45fc53592429b68ded0da7d85ba60db4102268"}},{"ruleId":"D2","level":"warning","message":{"text":"ProcessingInformation::try_from (cognitive 16): ProcessingInformation::try_from has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (11 pts), if/else 3, boolean chains 2 (nesting depth added 6). 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":"crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c41e2a2a82ebdc05314d9dc2c33c3f323c06e3b8857f0f1a074cce3f06adb69"}},{"ruleId":"D2","level":"warning","message":{"text":"payment_link::js_generator::convert_custom_message_keys_to_camel (cognitive 16): payment_link::js_generator::convert_custom_message_keys_to_camel has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (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":"crates/payment_link/src/js_generator.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fa0861d6e3e23f1c93f1c1b27bacb11163ca2d0823dc3caaf209891193b96c"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisConnectionWithContext::hscan (cognitive 16): RedisConnectionWithContext::hscan has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/redis_interface/src/module/redis_rs/commands.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"7984b92d60ac4d0c2b718d7c92dc82197c07d93b594ecf43820aa5b487e6f2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"Refund::filter_by_constraints (cognitive 16): Refund::filter_by_constraints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 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. This shape REPEATS in the file: one other method here (Refund::get_refunds_count) 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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c580da80475d7de2c5046b7e80b3e60a917ec3a6194a44d2510d41a9574e53c0"}},{"ruleId":"D2","level":"warning","message":{"text":"Refund::get_refunds_count (cognitive 16): Refund::get_refunds_count has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), match/switch 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. This shape REPEATS in the file: one other method here (Refund::filter_by_constraints) 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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad968e687cf8a2bef287ba2be2a32d9beef4cbb016d2d93c9f872b5ce6903d1"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterData::get_attempt_status_for_db_update (cognitive 16): RouterData::get_attempt_status_for_db_update has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, match/switch 1 (nesting depth added 4). 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":"crates/router/src/connector/utils.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb3ebabaef50cd8e02eaf6ffd97c6c89788e1cd87fc75fbfb2fcc4fe19d3719"}},{"ruleId":"D2","level":"warning","message":{"text":"PaymentCreate::fetch_payment_method (cognitive 16): PaymentCreate::fetch_payment_method has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f005da6509b70fbb06e4b0e8dde23f7692a758d03099a38878ecff030811381"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationBatch::fetch_payment_methods (cognitive 16): MigrationBatch::fetch_payment_methods has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 3 (7 pts), loops 3 (5 pts), if/else 1 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods/migrate.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cd8a0c575ddde48011be91092a9c2efb403db560477290b12cc3ff61c8cc18"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::admin::process_open_banking_connectors (cognitive 16): router::core::admin::process_open_banking_connectors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (6 pts) (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":"crates/router/src/core/admin.rs"},"region":{"startLine":4982}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce4d4749595e1333ffea57ab4b48005754d68678bbd6fe0c06fe9b01f93fd1e"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::configs::fetch_db_config (cognitive 16): router::core::configs::fetch_db_config has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), match/switch 2 (3 pts), loops 1 (2 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/configs.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2bf8245737226d061c8e0cb849e934ef5b19c803b6b0ab28c1de41857196f5"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::merchant_connector_webhook_management::transformers::construct_connector_webhook_registration_response (cognitive 16): router::core::merchant_connector_webhook_management::transformers::construct_connector_webhook_registration_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 4). 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":"crates/router/src/core/merchant_connector_webhook_management/transformers.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"002508b485cefa9922506a5bb3ecf09313fb8ec07d0b6ad9effbdbf86b98b333"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payment_methods::get_payment_method_create_request (cognitive 16): router::core::payment_methods::get_payment_method_create_request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (6 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9494138460f92b8ca30ac42a1557f5ee75fa32b75fc6d517672972060cef7a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::helpers::get_payment_external_authentication_flow_during_confirm (cognitive 16): router::core::payments::helpers::get_payment_external_authentication_flow_during_confirm has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), match/switch 2 (7 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9090}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c49b855d9a5f7f1d18c6f62790a75732a1c55294931df68a7591a48d0b3abba"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::payments::routing::perform_static_routing_v1 (cognitive 16): router::core::payments::routing::perform_static_routing_v1 has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 7 (9 pts), if/else 4 (7 pts) (nesting depth added 5). 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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"12734c5ec66d408e11edb9caa4616af1951a29625f1664ddd025a67f66e68481"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::refunds::sync_refund_with_gateway (cognitive 16): router::core::refunds::sync_refund_with_gateway has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (8 pts), if/else 6 (7 pts), boolean chains 1 (nesting depth added 4). 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cf7adfd555b2102671a859f2303184306ed6033dcb88dc7ef592efa34a8e05"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::routing::unlink_routing_config (cognitive 16): router::core::routing::unlink_routing_config has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 3 (5 pts), boolean chains 2 (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":"crates/router/src/core/routing.rs"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2e78d40d5167ddac2c4243a584e4230511f15b02392af2f272ec897dc943cd"}},{"ruleId":"D2","level":"warning","message":{"text":"router::core::routing::routing_migration_status (cognitive 16): router::core::routing::routing_migration_status has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (7 pts), if/else 2 (5 pts), loops 2 (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":"crates/router/src/core/routing.rs"},"region":{"startLine":3418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b87dc5355f779e94b9ae01fcfe3a79a5904c3ffbf3a46f3d5fe154992df7b3a"}},{"ruleId":"D2","level":"warning","message":{"text":"router::workflows::revenue_recovery::inclusion_probabilities (cognitive 16): router::workflows::revenue_recovery::inclusion_probabilities has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 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":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1538b63012d698d001972b1290f7ee3a2afacd0c8cc1e5af83d439a7cb1d2432"}},{"ruleId":"D2","level":"warning","message":{"text":"payment_link.renderCart (cognitive 16): payment_link.renderCart has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2 (nesting depth added 7). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"4063f3b58bef55e7c2e264174d0dc9b61dc7e2c8a7a3a6e53c73c17e921f2211"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/payments.rs: FileTooLong \u2014 13966 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 167 free functions. The bar is 500 significant lines; this is 13466 over it, 27.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d45d52c17015188df6bd402b5093d25633c86cb4b3084da2d6d541a9e0f90b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/enums.rs: FileTooLong \u2014 11231 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 10731 over it, 22.46\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2749efdf237b5d5478850899128167da03173d6c32c5252237d1867510b54c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttemptUpdateInternal.from: MethodTooLong \u2014 from runs 2193 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2093 over it, 21.93\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d1ff1bcdf9424624d46029cd3859848ee33a2abbf4f9343d4c87e37bb05e14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payments.rs: FileTooLong \u2014 9755 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 9255 over it, 19.51\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":"crates/api_models/src/payments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6eabad114420e8902622a0a872701154ed3f0a2e65dc99d418f2897337c37a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: unified_connector_service/transformers.rs: FileTooLong \u2014 9699 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 9199 over it, 19.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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26aa360204cddcebde06ce874f31051884db9b01c23388b20093651961c5b864"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/helpers.rs: FileTooLong \u2014 7513 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 174 free functions. The bar is 500 significant lines; this is 7013 over it, 15.03\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a894e9e78e9f92ac6cd9580335a9ebcb048247e2587d981af26ed7bace604bbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/transformers.rs: FileTooLong \u2014 7370 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 34 free functions. The bar is 500 significant lines; this is 6870 over it, 14.74\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd834ed916d8af3e5861806c046c455eff1f1dd54df9bb58df67d353d197048f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/payment_methods.rs: FileTooLong \u2014 6941 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 107 free functions. The bar is 500 significant lines; this is 6441 over it, 13.88\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c48edfa77a6b05fe76c9de748682367b0c73119eaa07e64b5014e0a4c831362"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/utils.rs: FileTooLong \u2014 6762 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 60 free functions. The bar is 500 significant lines; this is 6262 over it, 13.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e614b22279ae60b155e043b4c159a277915e5dfc100ad00c0c57229a7bb18e2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntentUpdateInternal.from: MethodTooLong \u2014 from runs 1286 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1186 over it, 12.86\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09a70f5888c8ba3a9f387e48b672d04f8f46085d7729eac681f7685097bd0d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payment_methods/cards.rs: FileTooLong \u2014 6247 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 81 free functions. The bar is 500 significant lines; this is 5747 over it, 12.49\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd8b9021e4a00fa04ef6ea018170b83caa7be746825800b6d6c043851d1fed8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adyen/transformers.rs: FileTooLong \u2014 5842 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 49 free functions. The bar is 500 significant lines; this is 5342 over it, 11.68\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e2f2b1f84805a1d5a8e240adf573022b176de3908f413839544563a09fdaff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectorSpecificConfig.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 1091 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 991 over it, 10.91\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":"crates/router/src/core/unified_connector_service/connector_config.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af3441e4261da8728949e500996f6b441c53f87b77ac769f272fe45084829e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/authentication.rs: FileTooLong \u2014 4929 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 4429 over it, 9.86\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"917463eba9baf46ccb6a2697bb4b724e1773fb0f4b17b4d062fd7e906d5f65cd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KafkaStore: ClassTooLong \u2014 3932 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 56 blocks, lines 107-5083. The bar is 400 significant lines; this is 3532 over it, 9.83\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":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6a3f3597ba622c6a8f848a801a6b30c12f1014054582bcb7c8bae2a83e8873"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worldpayvantiv/transformers.rs: FileTooLong \u2014 4720 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 4220 over it, 9.44\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed6766485755ea988753a62fc6136f7613901829e1ee5aa290889e212b34bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripe/transformers.rs: FileTooLong \u2014 4453 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 3953 over it, 8.91\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af55d89e96912cdb5730ed05de659ccc7b711bc2246a5ef4380a2e23daab6146"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/payment_response.rs: FileTooLong \u2014 4371 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 3871 over it, 8.74\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c824e290b691197315df32f842703b3c8ca42b4c78d93dc712ddb1eda71dee34"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cybersource/transformers.rs: FileTooLong \u2014 4248 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 3748 over it, 8.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e56ced66503862353bd26a531524b9a79bc3a0c7566261494cadc403075de1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/kafka_store.rs: FileTooLong \u2014 4093 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 96% of them inside a single declaration: KafkaStore (56 blocks, 107-5083). The bar is 500 significant lines; this is 3593 over it, 8.19\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":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f438875315c782def0b76f839650e5d27021c486e19c803193bbf48c79a0caf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/admin.rs: FileTooLong \u2014 4039 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 44 free functions. The bar is 500 significant lines; this is 3539 over it, 8.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":"crates/router/src/core/admin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15de03c192c690430348f69488a98c6d2f9aa5c29b0ee922e04c9e20fcdb194"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/unified_connector_service.rs: FileTooLong \u2014 3903 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 77 free functions. The bar is 500 significant lines; this is 3403 over it, 7.81\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb8359e48e2575aeff8f9af46dda50a39e0dac82b72fb0a1f6d577e0d2c07d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::tokenization::save_payment_method: FunctionTooLong \u2014 router::core::payments::tokenization::save_payment_method runs 778 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 678 over it, 7.78\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0d296df65b2fea0a4be3a7c4264bbb4c9774e15baf4ba439009da1406b7e5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentConfirm.get_trackers: MethodTooLong \u2014 get_trackers runs 773 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 673 over it, 7.73\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f7afe3439e6360a5e30efc795413e0607ce5049724a131c2aa6c7ee589d3fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payment_method_data.rs: FileTooLong \u2014 3862 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 3362 over it, 7.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4958e82de48b868c03215595b190395d328eff34c2221d979be24a3fcc716c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BankNames.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 770 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 670 over it, 7.70\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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":6213}}}],"partialFingerprints":{"codehealthFindingId/v1":"75151712b386b12bbad34117e5e0ba68a58c1427c961b816c0c3828e9247fffe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/payouts.rs: FileTooLong \u2014 3830 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 52 free functions. The bar is 500 significant lines; this is 3330 over it, 7.66\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa61b9469288603edb617d0714c37fa98764dc4f1508ba92e62cfb347cd2efad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::unified_connector_service::build_unified_connector_service_payment_method: FunctionTooLong \u2014 router::core::unified_connector_service::build_unified_connector_service_payment_method runs 756 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 656 over it, 7.56\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c9065aecc0bf30dbd9e7973aac38649b1c13716fda7304c453bee9d9cf215e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BankNames.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 754 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 654 over it, 7.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f0355dda61fb3ba699116ab848767242a77defce54b63d60ba3eef0b28bac9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::operations::payment_response::payment_response_update_tracker: FunctionTooLong \u2014 router::core::payments::operations::payment_response::payment_response_update_tracker runs 753 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 653 over it, 7.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":2596}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7d6456ef479d0c2e9375a589de6c958bdfb51c398c90c96eacefbc3db400f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/payments.rs: FileTooLong \u2014 3739 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 66 free functions. The bar is 500 significant lines; this is 3239 over it, 7.48\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e283176731db7d358a2cb43b29cf475fcc98e0ccde6ad02e728e72defe476210"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileUpdateInternal.foreign_from: MethodTooLong \u2014 foreign_from runs 731 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 631 over it, 7.31\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"5907fc0c8b62e59b7e8296210dff5d981b185541dcb57678150a0715e799aa5f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileUpdateInternal.foreign_from: MethodTooLong \u2014 foreign_from runs 720 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 620 over it, 7.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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"73da37468f98d17ada2f0f00f5c5caa19bbcbc2b71d9e4b4af6c515528994f5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worldpayxml/transformers.rs: FileTooLong \u2014 3562 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 3062 over it, 7.12\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fb51a3ff0c3e73d5619614206887ef333e5306f1756b28fc6d4d6ff70e19b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payment_attempt.rs: FileTooLong \u2014 3525 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 74% of them inside a single declaration: PaymentAttemptUpdateInternal (5 blocks, 1047-4732). The bar is 500 significant lines; this is 3025 over it, 7.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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1761dadae448a4fb7e52166fc470d5b9044783a6e0e1ab5949fa2fd9e1bb50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::get_additional_payment_data: FunctionTooLong \u2014 router::core::payments::helpers::get_additional_payment_data runs 700 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 600 over it, 7.00\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5920}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7264c9d1f66abc991cfba7c79cc870a5652441f6bb180cfc5dbf3257e73a87"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: paypal/transformers.rs: FileTooLong \u2014 3497 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2997 over it, 6.99\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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8c9f62d4c38ed8d8c7379e9884c036e6c476cc48acb081ec49cf322cccd86f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nuvei/transformers.rs: FileTooLong \u2014 3454 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 2954 over it, 6.91\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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d7ca5483a2d903ab9b158dbb9901f2a4cb7bb403ad370d16ab09bd049e4b31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/routing.rs: FileTooLong \u2014 3366 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 54 free functions. The bar is 500 significant lines; this is 2866 over it, 6.73\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac1dd979abc33ebedc2872a879355f29cfeda1bb34930e02411618619486d28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payment_methods.rs: FileTooLong \u2014 3284 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2784 over it, 6.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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4639d18461d0b9965486b5dd748d3858155fef51484d35d17ed9922872660b8a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentConfirm: ClassTooLong \u2014 2620 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 6 blocks, lines 74-3398. The bar is 400 significant lines; this is 2220 over it, 6.55\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0841e25f8cce201d29abc8bb9888e6a7a04dc78b87ce30803de1e3c015941fdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/user.rs: FileTooLong \u2014 3261 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 57 free functions. The bar is 500 significant lines; this is 2761 over it, 6.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0156d8947cd4d0a3f827c4ba7ed8e74230e906e68de6e9bc2ed9b3da6ab555f7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Stripe: ClassTooLong \u2014 2581 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 31 blocks, lines 101-3951. The bar is 400 significant lines; this is 2181 over it, 6.45\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1ab9ada7905e767f6ebc1699f122a9a8a30e005f9f75200833218af681b798"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webhooks/incoming.rs: FileTooLong \u2014 3220 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 41 free functions. The bar is 500 significant lines; this is 2720 over it, 6.44\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c99827a05c439d5ed5fef4c2e5cb7e33e240a02ff01b7f0af35add8622c5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::payments_to_payments_response: FunctionTooLong \u2014 router::core::payments::transformers::payments_to_payments_response runs 628 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 528 over it, 6.28\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":4059}}}],"partialFingerprints":{"codehealthFindingId/v1":"67892a479a61cf589683bb2a7586e051a01d64cd9b3d385c2477fc77c123fa61"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ConnectorConfig: TooManyFields \u2014 187 stored fields beside 8 methods. The bar is 30 stored fields; this is 157 over it, 6.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/connector_configs/src/connector.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"813b7f9745d413a7ea67fca352782780e4e620b7d55acb1784e4397d475f5cf0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Klarna.get_url: MethodTooLong \u2014 get_url runs 614 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 514 over it, 6.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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"349a863588a3814dedcb14eef77ab9d514984446ae0607a855d3650d47eaaae7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RequiredField.to_tuple: MethodTooLong \u2014 to_tuple runs 609 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 509 over it, 6.09\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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e0c2656819704cbe6d0dc3f2dd765199a42e0d3a4d9c4f6cad572b0aea62a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: configs/payment_connector_required_fields.rs: FileTooLong \u2014 3003 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2503 over it, 6.01\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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3f67d1063ae86d3e9187a27a0e56b4832db90300d000a7295041fa5155838d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/stripe.rs: FileTooLong \u2014 2981 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Stripe (31 blocks, 101-3951). The bar is 500 significant lines; this is 2481 over it, 5.96\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee1eb3b703b952a348b2ed552a3e6011f3c51b050943247740f5fd86b19cf61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/payment_confirm.rs: FileTooLong \u2014 2858 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: PaymentConfirm (6 blocks, 74-3398). The bar is 500 significant lines; this is 2358 over it, 5.72\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbad00a4701391acd415f5477dd26a132650f1dcfd96fd1419d44ecef29f146"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payment_methods/vault.rs: FileTooLong \u2014 2853 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 44 free functions. The bar is 500 significant lines; this is 2353 over it, 5.71\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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0605890a03acbb5ec23a08a9afb67c97ac56152c2a01c5be14d0707da6b2677"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Connectors: TooManyFields \u2014 171 stored fields beside 1 method. The bar is 30 stored fields; this is 141 over it, 5.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/connector_endpoints.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"779db68864cecdbadf96961c08ae7e480715a16936fe03acb14462cb896502be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/payment_intent.rs: FileTooLong \u2014 2840 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2340 over it, 5.68\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb860e9aa9260b0049ecb188a046a8d8c8d21d0ae62730523ace1557cfc2772b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntentUpdateInternal.try_from: MethodTooLong \u2014 try_from runs 565 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 465 over it, 5.65\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e586523aa0ec7bb0eda69fac7020b9f9dcaced7970b88b035d85814b32d318e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/payment_attempt.rs: FileTooLong \u2014 2815 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2315 over it, 5.63\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54efc58c9a7cd955f24750c41323c79f86e86bc17862a7e8dbce8626f0acc597"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentCreate.get_trackers: MethodTooLong \u2014 get_trackers runs 561 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 461 over it, 5.61\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b45d2afd4bc202849b91375bbdf6ba181865db5581a01a87b75f792fb0089d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectorAuthTypeAndMetadataValidation.validate_auth_and_metadata_type_with_connector: MethodTooLong \u2014 validate_auth_and_metadata_type_with_connector runs 558 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 458 over it, 5.58\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":"crates/router/src/core/connector_validation.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c414eafd2094768abf403b881f86a35bc2c565a640cf4df9de9312aab7f0a512"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttemptUpdate.to_storage_model: MethodTooLong \u2014 to_storage_model runs 557 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 457 over it, 5.57\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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"154b1eab274ba16b027470c8ed32a4a65e5d3d4304a24c4791fa04578cc1beee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/adyen.rs: FileTooLong \u2014 2747 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 73% of them inside a single declaration: Adyen (29 blocks, 122-3506). The bar is 500 significant lines; this is 2247 over it, 5.49\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f04b5230f1a7bf5fcdac5297d46e7026968243ecac1d982b32280a33a4180b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: barclaycard/transformers.rs: FileTooLong \u2014 2715 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2215 over it, 5.43\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"300dcc949eebe6a1326069aca350d6f094fdde301a9bb2d70260a798a7d79fcf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: santander/transformers.rs: FileTooLong \u2014 2708 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2208 over it, 5.42\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e0820ef81a65e97fad1d1a0ca25b49b05d032841da4e7602a29d1e5e33446c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodUpdateInternal.from: MethodTooLong \u2014 from runs 539 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 439 over it, 5.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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0785c2d8213c98af6c492713f221ce5672e69c76b24569ee9b05988123ee6802"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/utils.rs: FileTooLong \u2014 2675 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 63 free functions. The bar is 500 significant lines; this is 2175 over it, 5.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62889f439b700859833df95cfddb8a535c100f8719ec18298bc3cb3ad3488ad6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/routing.rs: FileTooLong \u2014 2668 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 43 free functions. The bar is 500 significant lines; this is 2168 over it, 5.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":"crates/router/src/core/routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d59db4e1d2baf0721e71b13c763fbea7ae8d5c5cc854c2c4ceb6e633344d01b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Santander: ClassTooLong \u2014 2108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 24 blocks, lines 102-3019. The bar is 400 significant lines; this is 1708 over it, 5.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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e4546137bf9725713a487b78c537c48a0af84c446c9335b0626470a1d490c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::cards::build_merchant_enabled_pms_context: FunctionTooLong \u2014 router::core::payment_methods::cards::build_merchant_enabled_pms_context runs 526 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 426 over it, 5.26\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4669}}}],"partialFingerprints":{"codehealthFindingId/v1":"661bbab965a1106ee2eb71c4095b867a565987f3e22c549590243e8d58f879f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/app.rs: FileTooLong \u2014 2588 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2088 over it, 5.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":"crates/router/src/routes/app.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd646fcc405ec7a1ae498d4e32aadc6db8bec75aff5c54860a49b3c8f44899d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/analytics.rs: FileTooLong \u2014 2575 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 77 free functions. The bar is 500 significant lines; this is 2075 over it, 5.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":"crates/router/src/analytics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dced2f49b8d17f5adfe31f1761952a7a1222bd347aaee6f726ca87a99ab7e0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Paypal: ClassTooLong \u2014 2048 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 30 blocks, lines 97-2928. The bar is 400 significant lines; this is 1648 over it, 5.12\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b5263da29fcb3c103d7596530b1bff27b658efe6d0b579ece99df5756f4f02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/business_profile.rs: FileTooLong \u2014 2512 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2012 over it, 5.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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de93b508547e0a554482fa3e3884b0fb7cd09f4a5c356fbb76846e99e7fe880b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/payment_attempt.rs: FileTooLong \u2014 2504 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2004 over it, 5.01\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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2986e04fc5766fc6235dfcb4a7c742b47aab4f62cde8babf09f7690c6efa639e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Adyen: ClassTooLong \u2014 2002 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 29 blocks, lines 122-3506. The bar is 400 significant lines; this is 1602 over it, 5.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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1669f7984a087a369fd64b2f95e65bb4be651da1780c2a8562d2b43b559511aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment_methods::configs::payment_connector_required_fields::get_bank_redirect_required_fields: FunctionTooLong \u2014 payment_methods::configs::payment_connector_required_fields::get_bank_redirect_required_fields runs 475 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 375 over it, 4.75\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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"908cf73d97fa32953955df1cfce90c1e9db2e00b4f28affb9643d22a641fd54d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodData.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 468 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 368 over it, 4.68\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1ae2bcec79724350ed631746442ce5433350909e5fe02d38104d74c653c2ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/refunds.rs: FileTooLong \u2014 2307 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 35 free functions. The bar is 500 significant lines; this is 1807 over it, 4.61\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8c083f6df64b02c1b452e5080739f60c1d90aa95e93687be7d017dce473c66"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/transformers.rs: FileTooLong \u2014 2299 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1799 over it, 4.60\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d45c5efe917fcedd650ba1550609cee9fef1b72da5f8b657633ffd187c3dbae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/admin.rs: FileTooLong \u2014 2279 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1779 over it, 4.56\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":"crates/api_models/src/admin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98aecb78ad296d2e40cd554ae870880633d1bf87763fda887f4c71c7e573e24"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Cybersource: ClassTooLong \u2014 1819 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 5 methods, 26 blocks, lines 90-2538. The bar is 400 significant lines; this is 1419 over it, 4.55\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b39f39382863bd0de3aeaac1cd139ec4503c2d44df72ad665e921712b418a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/paypal.rs: FileTooLong \u2014 2269 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 90% of them inside a single declaration: Paypal (30 blocks, 97-2928). The bar is 500 significant lines; this is 1769 over it, 4.54\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee1447bb8bdedb8d83d852663a89c4400a1d852ca5784d55f857fd897f36c4e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentUpdate.get_trackers: MethodTooLong \u2014 get_trackers runs 453 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 353 over it, 4.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_update.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cbbf6226093f256fde34d4e50d0e850db870a8f171b6fa6694421b732d1a29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/santander.rs: FileTooLong \u2014 2259 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 93% of them inside a single declaration: Santander (24 blocks, 102-3019). The bar is 500 significant lines; this is 1759 over it, 4.52\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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58e0f8e43e0b9544ca8e37a10287c658ba8e9b6e496f60dd56081a0a7bf9729"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentConfirm.update_trackers: MethodTooLong \u2014 update_trackers runs 450 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 350 over it, 4.50\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e784ae5a2b79af4a275713a0a22af53bfb5e96d9e3c86adc73e9a09dd582f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: braintree/transformers.rs: FileTooLong \u2014 2226 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1726 over it, 4.45\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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2907081e2ccba6df20ec41fd93af84ae435a59951a62bad86efb8da5c932ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/unified_authentication_service.rs: FileTooLong \u2014 2210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1710 over it, 4.42\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52061c19d369a1dfbe6280d9d4bded57175079d25af18c2c73c3c957e569b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routing/helpers.rs: FileTooLong \u2014 2207 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 1707 over it, 4.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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e189583bcb3c0896398e6d62cba5fb3fe5b79159447dce0c76f8c9ed41f6e66b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 439 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 339 over it, 4.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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"10afa8a39770d55c3ef377a16ff2015bce185ade76685602a96095672fdd1095"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: checkout/transformers.rs: FileTooLong \u2014 2188 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1688 over it, 4.38\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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21929bd58492269256a1d52baa40447c33acee4dfb727e1caafbeecbb557d3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routing/utils.rs: FileTooLong \u2014 2146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 46 free functions. The bar is 500 significant lines; this is 1646 over it, 4.29\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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"787c4607166154987eba5a8007618553c4c64d491fc9ec61d39f9557034e68ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::utils::user::sample_data::generate_sample_data: FunctionTooLong \u2014 router::utils::user::sample_data::generate_sample_data runs 427 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 327 over it, 4.27\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":"crates/router/src/utils/user/sample_data.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5843a6191d90a32d23126ab2f6fbd0b02627829fb9007782a4687831a9fdf602"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/transformers.rs: FileTooLong \u2014 2115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: Country (277-1797). The bar is 500 significant lines; this is 1615 over it, 4.23\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":"crates/common_enums/src/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2016ef35e242a317b96b76f3d818dd9317c9cb66f72cbeae4ebfd66b66b041"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bankofamerica/transformers.rs: FileTooLong \u2014 2097 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1597 over it, 4.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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"debbdbb853640d88e3c79536bf82d213f4bea58d9e4e27c8515bf5dc1ca03b50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: authorizedotnet/transformers.rs: FileTooLong \u2014 2086 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1586 over it, 4.17\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fc088699fa68f260e196107572c0d10dbb3359f73886d7ad6f6935fe9744ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/router_data.rs: FileTooLong \u2014 2086 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: RouterData (7 blocks, 31-2858). The bar is 500 significant lines; this is 1586 over it, 4.17\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12606e9b084d5bdf5e8df699d1bbae88d5f8c52f78b0631d7c5d503c82e457b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentsResponse: TooManyFields \u2014 125 stored fields. The bar is 30 stored fields; this is 95 over it, 4.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":7657}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37e659d99be0c5ab9b82bd41635d7c386a1127281f70ee041a5512e5cd52cdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payment_intent.rs: FileTooLong \u2014 2076 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: PaymentIntentUpdateInternal (3 blocks, 785-2228). The bar is 500 significant lines; this is 1576 over it, 4.15\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0070db74fa9e615b6125dfd85c955735eaa13d2b4064096739c8cee997b7fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: unified_connector_service/transformers.rs: FileTooLong \u2014 2031 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1531 over it, 4.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68251de12ec1bbbcdefc7fb76c20221b953b6a5179b04a1d914ec2c6fd124113"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentConfirm.call_unified_authentication_service_if_eligible: MethodTooLong \u2014 call_unified_authentication_service_if_eligible runs 405 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 305 over it, 4.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e44869d0a3a5e967f8b9c04a6f3671407c17060af8012f3a79f2297023a185a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentCreate: ClassTooLong \u2014 1619 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 5 blocks, lines 72-2090. The bar is 400 significant lines; this is 1219 over it, 4.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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7acb123e7d053598265a90b0240810420595e65c69125c990a6a8c28437a31"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PmCards: ClassTooLong \u2014 1610 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 2 blocks, lines 121-2155. The bar is 400 significant lines; this is 1210 over it, 4.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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b44b21f1e2c72ccb1cdb094c52d5dce3d8f7b950d3cd7d940f463fd4bc109e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/cybersource.rs: FileTooLong \u2014 2004 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: Cybersource (26 blocks, 90-2538). The bar is 500 significant lines; this is 1504 over it, 4.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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cdeb6199152d26d699270b162f2101c9dbed17b3d373f7dbf43248582aaddd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/tokenization.rs: FileTooLong \u2014 1983 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1483 over it, 3.97\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ad5370230117213a28ab323e99c0d36ce5c6e912b51e6b9cf74c38309a5ef6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::helpers::save_payout_data_to_locker: FunctionTooLong \u2014 router::core::payouts::helpers::save_payout_data_to_locker runs 396 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 296 over it, 3.96\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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a913306e104ffff0bf66c0706c75e9c1a5dbe52ea3591a5ad3cdc774eb4e14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payment_methods/transformers.rs: FileTooLong \u2014 1970 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1470 over it, 3.94\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d66abe24ef3dc05bf8fc92ce524329ed18712940bf4eee091773efb92b1028e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MultisafepayPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 384 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 284 over it, 3.84\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":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c3de5ecdf154d659072e105d3061dcd111145bc87b147f08154a17dafc389a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: redsys/transformers.rs: FileTooLong \u2014 1909 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1409 over it, 3.82\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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ee5a2d3629ae426753dd779c520da510a78d26a3891362a9674e94cea45fcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connector/utils.rs: FileTooLong \u2014 1905 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1405 over it, 3.81\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":"crates/router/src/connector/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18575146ed77535989f22e7eceed408c80f1b8912c4aeaf2eb700da09f61251f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntentRequest.try_from: MethodTooLong \u2014 try_from runs 381 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 281 over it, 3.81\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"251044c0cfb21f959bf66d6cce09fe212ff4bc1e044c9c6c782412b3cd12d357"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wellsfargo/transformers.rs: FileTooLong \u2014 1904 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1404 over it, 3.81\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":"crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82564874438d84f7f42823dbd95fc609436d1c53a9ade7845fa748f04839522c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fred/commands.rs: FileTooLong \u2014 1896 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 99% of them inside a single declaration: RedisConnectionWithContext (39-2629). The bar is 500 significant lines; this is 1396 over it, 3.79\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":"crates/redis_interface/src/module/fred/commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"710ab5507712f3bb37befeaa481df6b8237e6b973eed3f5db7754532ffd165fc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConnectorSpecificConfig: ClassTooLong \u2014 1516 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 3 blocks, lines 290-2374. The bar is 400 significant lines; this is 1116 over it, 3.79\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":"crates/router/src/core/unified_connector_service/connector_config.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb63a52dc17f950cbdeccfcc49876d5c35a691857c7a5f6eac129422bdab60d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApiIdentifier.from: MethodTooLong \u2014 from runs 376 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 276 over it, 3.76\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":"crates/router/src/routes/lock_utils.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9162f00c6b8a5a97ad6d5cac11d12636f8ad9dc2976da36b0e435cc785310c44"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_connectors::connectors::worldpayvantiv::transformers::get_attempt_status: FunctionTooLong \u2014 hyperswitch_connectors::connectors::worldpayvantiv::transformers::get_attempt_status runs 375 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 275 over it, 3.75\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":4179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaf2118f6daf2ae741737edc9371d6db7bd25a97bbd0c62a5a7ba8002b69523"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment_methods::configs::payment_connector_required_fields::get_wallet_required_fields: FunctionTooLong \u2014 payment_methods::configs::payment_connector_required_fields::get_wallet_required_fields runs 371 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 271 over it, 3.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0b6c7b0057987b1d742778fd6e1554f1a525ff3a6b9bedf3095a5daa4f6d88"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Settings: TooManyFields \u2014 111 stored fields beside 6 methods. The bar is 30 stored fields; this is 81 over it, 3.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/configs/settings.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"71109c42e520a337d8de284bb386c0f353dd8e134511ae45c119918fca4672ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::cards::list_payment_methods: FunctionTooLong \u2014 router::core::payment_methods::cards::list_payment_methods runs 370 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 270 over it, 3.70\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5393}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68c03da8c880846bcfffa5723f0d23a48a86ae42ab8b8d2fda45f735ad7b12f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::link_routing_config: FunctionTooLong \u2014 router::core::routing::link_routing_config runs 370 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 270 over it, 3.70\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":"crates/router/src/core/routing.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa20516f27d8ab6a9412d28cb3ff3ee134e8ceca30737535db964a92ef9bf04"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaypalPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 369 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 269 over it, 3.69\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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff71d54e308f0cb616876c1935dbbe580ec2a032b40adf55ecfde5896a113ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_connectors::connectors::worldpayvantiv::transformers::get_post_capture_void_status: FunctionTooLong \u2014 hyperswitch_connectors::connectors::worldpayvantiv::transformers::get_post_capture_void_status runs 364 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 264 over it, 3.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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":3812}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2f360ba0c9093f229cc776011074f9ea0890cb6f4918d66267851a59c960c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/merchant_connector_account.rs: FileTooLong \u2014 1817 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1317 over it, 3.63\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a04fc8344a3044c702427966224b2b0608e51558d8556569ca53217624c70b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/refund.rs: FileTooLong \u2014 1775 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1275 over it, 3.55\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":"crates/router/src/db/refund.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bcbf20142cc715dd98b46dcadb5a520f2af413d26f5b35a13612ccc52a7f06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment_methods::configs::payment_connector_required_fields::get_cards_required_fields: FunctionTooLong \u2014 payment_methods::configs::payment_connector_required_fields::get_cards_required_fields runs 355 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 255 over it, 3.55\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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"0936a29e2635e2ded5e4f40db9725aa8dc563eaf0620326e45dc7bbd6fcb869e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fiuu/transformers.rs: FileTooLong \u2014 1771 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1271 over it, 3.54\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":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db664189691e9d1e69091a2a66947643071620e95e97bdeef7183444d591a4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttemptUpdateInternal.foreign_from: MethodTooLong \u2014 foreign_from runs 350 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 250 over it, 3.50\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2899}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a7c33d9620c9a420e6cf947ff0624f7a4dcc85da36fb0418c4b4bddd68f017"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/payment_create.rs: FileTooLong \u2014 1748 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 93% of them inside a single declaration: PaymentCreate (5 blocks, 72-2090). The bar is 500 significant lines; this is 1248 over it, 3.50\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"349edfcf6402bef228c68c4305038449317ed791a50185878e0429c3e38a3ad0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trustpay/transformers.rs: FileTooLong \u2014 1744 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1244 over it, 3.49\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":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedb215d462956f6141c3d114e192f088bc6cb4b05a860a2da6e4c5d86cff400"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::dashboard_metadata::insert_metadata: FunctionTooLong \u2014 router::core::user::dashboard_metadata::insert_metadata runs 347 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 247 over it, 3.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":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ead5529ec77904a7a8098e6c7f3fc03d7432bea878479047bafed27a50132a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompleteAuthorize.get_trackers: MethodTooLong \u2014 get_trackers runs 344 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 244 over it, 3.44\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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f93ee1ce63935bb68fb0ee7c51ee2358e2dcba669a6a15426a9b9ada08421ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflows/revenue_recovery.rs: FileTooLong \u2014 1715 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 35 free functions. The bar is 500 significant lines; this is 1215 over it, 3.43\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":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec45101a66a7040d61018f3d432e6ccc016045f3aa84cf914b52afb692d436e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tesouro/transformers.rs: FileTooLong \u2014 1710 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1210 over it, 3.42\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":"crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f9ce7027f4d3d8fc1ef9ad8e0e139f8c121ecffbdaa5a8783a082a6ad4e051"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payment_method.rs: FileTooLong \u2014 1706 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1206 over it, 3.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c179c01628042fc2b6d540cddbcd2bf040c44611094f710c95cbad3512c1686f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: unified_connector_service/connector_config.rs: FileTooLong \u2014 1706 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 89% of them inside a single declaration: ConnectorSpecificConfig (3 blocks, 290-2374). The bar is 500 significant lines; this is 1206 over it, 3.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":"crates/router/src/core/unified_connector_service/connector_config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd0c0d6e00e4b7c9ed5c55c71853dcd892a840f937322b268fac8869e0278d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::payment_external_authentication: FunctionTooLong \u2014 router::core::payments::payment_external_authentication runs 335 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 235 over it, 3.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":"crates/router/src/core/payments.rs"},"region":{"startLine":14034}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5fc65c3a79afe101ab5a5fc2d3be0504c9001caf1e551042cba55831b5038b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeatureMatrixConnectorData.convert_connector: MethodTooLong \u2014 convert_connector runs 335 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 235 over it, 3.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":"crates/router/src/types/api/feature_matrix.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"00614d0f5659c9e15f8c5305b8d390929c71b600b5b3ee0a1e3249249404a7cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nexixpay/transformers.rs: FileTooLong \u2014 1671 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1171 over it, 3.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":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4191336e01863e80cc2d36836c5331c7b3be2a356bd4c9341a797003dd73037a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/payment_methods.rs: FileTooLong \u2014 1666 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 38 free functions. The bar is 500 significant lines; this is 1166 over it, 3.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9242df5e25ae44ed05253d18d56b5702455f10b3d95a199497f149d5156534"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/customers.rs: FileTooLong \u2014 1659 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1159 over it, 3.32\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a751953ca4c4d320c2f0ce4133d7da9ad6a68a11244620df4258770e1d20cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/revenue_recovery.rs: FileTooLong \u2014 1656 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1156 over it, 3.31\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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed3ee057cfb560d7aed41403c5cb2ba4e191a79f716e1952d9107b4481102eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Analytics.server: MethodTooLong \u2014 server runs 330 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 230 over it, 3.30\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":"crates/router/src/analytics.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1243fd6b708be752f9b73a3f17bc6a8b0eb0751dc78c8cd2b2871f36d620c24"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntentUpdateInternal.from: MethodTooLong \u2014 from runs 329 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9daac7be0d10b33b7305d35e5ad240e099abc67f34011a40be41da0ae96a9cf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RouterData: ClassTooLong \u2014 1311 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 7 blocks, lines 31-2858. The bar is 400 significant lines; this is 911 over it, 3.28\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"233f66c1fef8b967431072b193503105ba54820c8a0c4a28a45a00f948ad3ef9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentsRequest: TooManyFields \u2014 98 stored fields beside 11 methods. The bar is 30 stored fields; this is 68 over it, 3.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d429324420552d61efcbd6d5d63f7b33bc60a14afc0d862d244e3ba2b75e819"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectorData.convert_connector: MethodTooLong \u2014 convert_connector runs 325 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 225 over it, 3.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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"de683a68eb5ff2483b1ceb6ca97370787ddebf9d1c86d38649e564a21b557738"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentAttempt: TooManyFields \u2014 97 stored fields. The bar is 30 stored fields; this is 67 over it, 3.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb01d7c08b0cee850dc5f2c8cb5866bbef5aeb5020f9ee4b1308928769acb88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::configs::secrets_transformers::fetch_raw_secrets: FunctionTooLong \u2014 router::configs::secrets_transformers::fetch_raw_secrets runs 323 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 223 over it, 3.23\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":"crates/router/src/configs/secrets_transformers.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b767a26c344628e51b06d06807cc6c25d36c8d1561e427e976b6c8a3e0ea647"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payment_method.rs: FileTooLong \u2014 1608 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1108 over it, 3.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payment_method.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9385d9ebd02f90c2daa3a20bfa6043252f5eb4b3d927f7d5ee1cf087cda5142"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_payment_router_data: FunctionTooLong \u2014 router::core::payments::transformers::construct_payment_router_data runs 314 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 214 over it, 3.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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2066}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe53818056fc9fc57a664c387e26a9d60ef5f747d14b55001c4bb6814d6ee0d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/router_request_types.rs: FileTooLong \u2014 1557 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1057 over it, 3.11\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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fb40720985be3d20aa06d0f5d26b9bde7131c3e3c063ec1e25a56f5bd2b81c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/payment_intent.rs: FileTooLong \u2014 1553 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 63% of them inside a single declaration: RouterStore (719-2029). The bar is 500 significant lines; this is 1053 over it, 3.11\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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bc6d1b24f67bc9fe1a93b62cbd4c993c4fca379fd19e26f9b87335b0fbd571"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/authentication.rs: FileTooLong \u2014 1507 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1007 over it, 3.01\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":"crates/router/src/core/authentication.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da7632faeb0186eecb1c687696fbf06b1fd9b4e58f0d284a0bbbf550696e763"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webhooks/recovery_incoming.rs: FileTooLong \u2014 1507 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1007 over it, 3.01\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":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9362c48b2076c42a0756c72b1dea6d6a30e0a203b3c8f368e95009df024cf9bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::revenue_recovery::perform_calculate_workflow: FunctionTooLong \u2014 router::core::revenue_recovery::perform_calculate_workflow runs 301 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf5e581bbd51311551c8fd29727cb3988647063f676021a8ba5a9b6db4da1d0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentUpdate: ClassTooLong \u2014 1203 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 5 methods, 5 blocks, lines 55-1553. The bar is 400 significant lines; this is 803 over it, 3.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":"crates/router/src/core/payments/operations/payment_update.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee2cfff337a93861b4f2b003da1035c2ae52ae50636cd2b7167f8d50c460354"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentRecurrence.get_trackers: MethodTooLong \u2014 get_trackers runs 300 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 200 over it, 3.00\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":"crates/router/src/core/payments/operations/payment_recurrence.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"019b4e2b1311a1c010d5c2a470bc6c576b05102c42c15166a5c210c0ac591c58"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentAttempt: TooManyFields \u2014 90 stored fields. The bar is 30 stored fields; this is 60 over it, 3.00\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ad6522d624c8f6ef89e823be0bbc37bccf03efe7b85e0d7fb872f1c0b3703e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Checkout: ClassTooLong \u2014 1199 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 26 blocks, lines 81-1760. The bar is 400 significant lines; this is 799 over it, 3.00\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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fa86e47896a3b70a6de3c66047256c5b00fd04b6e5feefb0205a449d4b1a65"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdyenPaymentRequest: ClassTooLong \u2014 1196 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 13 blocks, lines 351-7020. The bar is 400 significant lines; this is 796 over it, 2.99\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3158346a519322747924898fa92eaf964b1bd159bc712b56290ef8c32c60b7f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: paysafe/transformers.rs: FileTooLong \u2014 1492 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 992 over it, 2.98\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":"crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e04d647fd284d5026f3df58a7a1b3a2daebb8bde279b4f96e7f06b023f5a6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payouts/helpers.rs: FileTooLong \u2014 1491 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 991 over it, 2.98\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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f471315811726ab1f948b1bdf3dfc1fa129ebd0024ab2479eed567f68923407"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: aci/transformers.rs: FileTooLong \u2014 1489 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 989 over it, 2.98\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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"116f25db0dfa41c1752991d5d8579bc9bfdf127f3782d17bfbf5fac84c2a7732"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: airwallex/transformers.rs: FileTooLong \u2014 1487 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 987 over it, 2.97\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a4bfd7ba42e1effefcad84d6024420ab817ed13b68eff461829915fabf2e38"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::make_payout_data: FunctionTooLong \u2014 router::core::payouts::make_payout_data runs 297 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 197 over it, 2.97\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":3865}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a47b8e0934de5f28c99241f742e33c040727b36065b15051c2e9229e4cc60"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentAttemptNew: TooManyFields \u2014 89 stored fields. The bar is 30 stored fields; this is 59 over it, 2.97\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea583f7986376cbb69e7e73a7df9ac13ffa2b53c73320156c5b2e45c0079663"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sqlx.rs: FileTooLong \u2014 1481 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 981 over it, 2.96\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b67ce9ecdb2592ada736940b2fca75317c3b6a54c9f65a2597d134791536a6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NovalnetPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 296 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 196 over it, 2.96\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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bebd0170c98138001c674a8b86065471dae1bb79063352d0efb1f239cb52e29"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flows/authorize_flow.rs: FileTooLong \u2014 1476 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 976 over it, 2.95\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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c755c5b0ae3ef65f11ca81be6d044d0816571718f57eeee24dfd44a3405872"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Klarna: ClassTooLong \u2014 1178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 64-1534. The bar is 400 significant lines; this is 778 over it, 2.95\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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e11b014da85d5c0d3cff818785b5bfaf6870b5754045763bf706eccfd145979"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: configs/settings.rs: FileTooLong \u2014 1470 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 970 over it, 2.94\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":"crates/router/src/configs/settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9786cc1142f4192e29fd62a2ed0de5e3b463a0e30eef649eb0bc0966ac3757eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/api.rs: FileTooLong \u2014 1469 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 969 over it, 2.94\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":"crates/router/src/services/api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89953e6bf71a1b9a0c9cdf14320e70470d13b30ffc2b66360af45900f5da77e9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentAttempt: TooManyFields \u2014 88 stored fields beside 17 methods. The bar is 30 stored fields; this is 58 over it, 2.93\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5877cd4b0dd98f275e5ac514e458274d37e0781ed59eff7631de428ef22a7d21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webhooks/outgoing.rs: FileTooLong \u2014 1463 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 963 over it, 2.93\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eca89745c8890460bdf558a5897fe2cde35d0f0648192b87c2eae68e9a74c2e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAuthenticateCompleteAuthorize.call_payment_flow: MethodTooLong \u2014 call_payment_flow runs 292 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 192 over it, 2.92\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":"crates/router/src/core/payments.rs"},"region":{"startLine":5862}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43f680a289902294eb7dabfd2da52dbe3ceff7a54f37c946aa03d3f16706b0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: novalnet/transformers.rs: FileTooLong \u2014 1455 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 955 over it, 2.91\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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce13d9c1db664cdae56920d8aa2471dba443a511fe70a24491b128e9e4d897e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payments.rs: FileTooLong \u2014 1452 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 61% of them inside a single declaration: PaymentIntent (4 blocks, 70-1453). The bar is 500 significant lines; this is 952 over it, 2.90\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9757b0da912bd149c4fca8c46929a8a6af6a00c2496a637bbca1d6b5e8cd20c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Worldpayvantiv: ClassTooLong \u2014 1160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 24 blocks, lines 74-1833. The bar is 400 significant lines; this is 760 over it, 2.90\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e33a611cd34b7f5f4503a3dfed804186bc9510c71aae74ebffe032aba2d5b0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntent: TooManyFields \u2014 87 stored fields. The bar is 30 stored fields; this is 57 over it, 2.90\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adc78f960f311030645d56dfcb11eab83460dfe1273076f2e828ec50e4b66a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntentNew: TooManyFields \u2014 87 stored fields. The bar is 30 stored fields; this is 57 over it, 2.90\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b28b5c0b72309ff6b863db5ec36aceb1212d907edf157ed53093e67c7c6cc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nmi/transformers.rs: FileTooLong \u2014 1436 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 936 over it, 2.87\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":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fca933abcb0f1199b32ec273c2bed8bd4338835dd3ca293091e5879fd1dde1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: chargebee/transformers.rs: FileTooLong \u2014 1435 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 935 over it, 2.87\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":"crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3991fba72ac6d8303e9bf4177a9c99b516ecf84e98e93c0ee850e1fc2326a78d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentUpdate.compute_payment_update_changes: MethodTooLong \u2014 compute_payment_update_changes runs 287 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 187 over it, 2.87\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":"crates/router/src/core/payments/operations/payment_update.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b7ef18e1800f8d192caf4f1be998afb0fdb37440f66a5919ee7eb5d4d4a742"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntent: TooManyFields \u2014 86 stored fields beside 44 methods. The bar is 30 stored fields; this is 56 over it, 2.87\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c87a5ccf275ee88a955c79ecb6050f69d7c737c1033cec581eaa0d992c7af1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntent: TooManyFields \u2014 86 stored fields beside 9 methods. The bar is 30 stored fields; this is 56 over it, 2.87\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"227ac6455759d8fdf5a677323b721ee27c0ccad72e16de1b45aeec475bf3ca2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::get_token_pm_type_mandate_details: FunctionTooLong \u2014 router::core::payments::helpers::get_token_pm_type_mandate_details runs 285 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 185 over it, 2.85\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe8a00add1256b8be814cc64a5ec07d25d59502b4b1c344e3ad2af59cdfb396"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::migration::update_payment_method_record: FunctionTooLong \u2014 router::core::payment_methods::migration::update_payment_method_record runs 284 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\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":"crates/router/src/core/payment_methods/migration.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"effda3ff731cce625e1b0862168ec1b27257ed2ef22eb23eee6fe16c12b97f91"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectorApiIntegrationPayload.get_transformed_response_payload: MethodTooLong \u2014 get_transformed_response_payload runs 283 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 183 over it, 2.83\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":"crates/connector_configs/src/response_modifier.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dd7e6b4df650521d5b400d766374ad726f8ce9269e87fbfc872e4f64d8d138"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/customers.rs: FileTooLong \u2014 1409 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 909 over it, 2.82\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":"crates/router/src/core/customers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fe0b88e92be94cb3cc5a6326087478c4d699b292db9dbcf570715e84f6dccd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttemptUpdateInternal.from: MethodTooLong \u2014 from runs 281 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 181 over it, 2.81\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bc25733387d54ffb8c37ebd89b297b1a727867711c16112bc9a27f6584fe3a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Barclaycard: ClassTooLong \u2014 1121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 22 blocks, lines 74-1623. The bar is 400 significant lines; this is 721 over it, 2.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be3a3a8ccc42d0a0b32c246bf79e1b1dbd497be423b18eb762b1fd67fce80b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApiErrorResponse.switch: MethodTooLong \u2014 switch runs 279 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\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":"crates/hyperswitch_domain_models/src/errors/api_error_response.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c567faea5464806e8d2a746dad32226101a40ae9d0ce0c3d8f522aac97b2a5f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::helpers::push_metrics_with_update_window_for_success_based_routing: FunctionTooLong \u2014 router::core::routing::helpers::push_metrics_with_update_window_for_success_based_routing runs 279 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae84745ea40d1d97678636dca2268915cc53bdf487b7c8521630fc810e56f2af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CybersourceZeroMandateRequest.try_from: MethodTooLong \u2014 try_from runs 278 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c878bbc58c8dbb1c56b0e68347cedb4c0f991a58022c34b858b6175c1015b224"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: smithy::generate_enum_impl: FunctionTooLong \u2014 smithy::generate_enum_impl runs 278 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 178 over it, 2.78\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":"crates/smithy/src/lib.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2868760f8380ba0c329e23d2bf66df14d9112f06c543bafa95177b5e31c188d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentExternalVaultProxyConfirm.get_trackers: MethodTooLong \u2014 get_trackers runs 277 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\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":"crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"56faef2f9c7471cd920f70dd536c5a6ee6f9a69189b37d8fc3422743ccfdaf6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: redis_rs/commands.rs: FileTooLong \u2014 1383 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 98% of them inside a single declaration: RedisConnectionWithContext (41-1929). The bar is 500 significant lines; this is 883 over it, 2.77\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":"crates/redis_interface/src/module/redis_rs/commands.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a824908f6b01e0197bc0fab45a097cdb432531bd09d7ce7ff504e59a060fb57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/worldpayvantiv.rs: FileTooLong \u2014 1382 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 84% of them inside a single declaration: Worldpayvantiv (24 blocks, 74-1833). The bar is 500 significant lines; this is 882 over it, 2.76\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1896024b42d54f4146093e005c0e61cb871d821068a3c5541b8b0aae0d6f044c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: grpc_client/unified_connector_service.rs: FileTooLong \u2014 1378 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 75% of them inside a single declaration: UnifiedConnectorServiceClient (2 blocks, 38-1749). The bar is 500 significant lines; this is 878 over it, 2.76\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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b956967ac82103861d2d7d3aa302a8787bf70ca4d99f6b9c527f0279dc5f82ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentIntentUpdateInternal: ClassTooLong \u2014 1102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 4 blocks, lines 515-1929. The bar is 400 significant lines; this is 702 over it, 2.76\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"99075b95144fa651bf095ee3081a5e8bb7182052a4007f89d60e58bdc4b4cfe5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payouts.rs: FileTooLong \u2014 1377 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 877 over it, 2.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payouts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"207ff9d7aeffdb5cf377c5c2522943758635dc3ab1d5c70d13ad80d33df08545"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.try_from: MethodTooLong \u2014 try_from runs 275 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3a65bf7ddf8d12031d4138fbc5089229e696dd326464975e24a11ca6df0585"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentCreate.make_payment_attempt: MethodTooLong \u2014 make_payment_attempt runs 275 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 175 over it, 2.75\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec15c200f5c4aea2bc0ff9affc6569efe2ef4058db37fa947553be82bd867a26"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/checkout.rs: FileTooLong \u2014 1370 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: Checkout (26 blocks, 81-1760). The bar is 500 significant lines; this is 870 over it, 2.74\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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6ea41d391f661c3641010c061b704513f14445ac6f3bd3ff60547764783a0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::retrieve_payment_method_with_token: FunctionTooLong \u2014 router::core::payment_methods::retrieve_payment_method_with_token runs 273 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 173 over it, 2.73\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca0cdd20f489576ebb2abd1f7893099335f6d3f23de154f562631fcc704fa64"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Nuvei: ClassTooLong \u2014 1091 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 21 blocks, lines 77-1761. The bar is 400 significant lines; this is 691 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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0a61f734275aad5e6e26438c77c7ae525871c66ef14514c95c9d1c46b25211"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: revenue_recovery/types.rs: FileTooLong \u2014 1360 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 860 over it, 2.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6239bc6a755e2d4905894bc0284fc18b0c803fd13e73c0bae77bb2f62f249b95"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_payment_router_data_for_authorize: FunctionTooLong \u2014 router::core::payments::transformers::construct_payment_router_data_for_authorize runs 271 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d039e5cdfa094998a38f326620471d47a00f68c3fdafe20f237c3cc1942f97"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::external_authentication_incoming_webhook_flow: FunctionTooLong \u2014 router::core::webhooks::incoming::external_authentication_incoming_webhook_flow runs 271 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd679cb3acd1a1c30b330c73d80abdb7d8aa4045c15e62b22fff5579fbb6ce1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flows/session_flow.rs: FileTooLong \u2014 1352 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 852 over it, 2.70\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":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b793679c710d3bd58fa7cbd971e6c12c64f9e5a9b79b0143ad54d0284126811"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.rs: FileTooLong \u2014 1347 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 847 over it, 2.69\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":"crates/router/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15245176ae750e746505f1ef5e2bd7da49a4bb3114de1635f39cfd6cb492b86e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorldpayvantivResponseCode: ClassTooLong \u2014 1075 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods. The bar is 400 significant lines; this is 675 over it, 2.69\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15d91ce9ff814fae3ea9f10ecca0b4d494321a98afe8bd0b2f98a0b08136063"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Worldpayxml: ClassTooLong \u2014 1070 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 21 blocks, lines 74-1661. The bar is 400 significant lines; this is 670 over it, 2.68\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"924ae65463b90b2ad7fa63ca89a9bb373e48ab73ed3c5b330095dce9f93c56db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kgraph_utils::transformers::get_dir_country_dir_value: FunctionTooLong \u2014 kgraph_utils::transformers::get_dir_country_dir_value runs 266 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\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":"crates/kgraph_utils/src/transformers.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b51d597ad70d80cecd0bd29385ee11d378fd2831ad9a4f220620cd7068de935"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PmCards.add_payment_method: MethodTooLong \u2014 add_payment_method runs 266 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1825}}}],"partialFingerprints":{"codehealthFindingId/v1":"5369f3c1ba006a7dddf7db58a66546a4e88c24d2a9576db4ce90928174890305"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::flows::session_flow::create_applepay_session_token: FunctionTooLong \u2014 router::core::payments::flows::session_flow::create_applepay_session_token runs 266 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\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":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a9f5ba761043094e6a5b841e0dbc56d654b714bb338e270047a3ff550f35d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/events.rs: FileTooLong \u2014 1326 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 826 over it, 2.65\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":"crates/router/src/db/events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bda22e701c1f7f2d1cca979bfd741e5ae29dab5c6081e3e61454d98f976331a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_interfaces::api_client::execute_connector_processing_step: FunctionTooLong \u2014 hyperswitch_interfaces::api_client::execute_connector_processing_step runs 265 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\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":"crates/hyperswitch_interfaces/src/api_client.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e84db27f214a7406983f249db6b6f6ee663a46fe175a48d97e51d9634fe57c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/nuvei.rs: FileTooLong \u2014 1323 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Nuvei (21 blocks, 77-1761). The bar is 500 significant lines; this is 823 over it, 2.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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e847490b1d1baaea20a8645cb1ed64317f4647856acfd82eb9aeba2cf92066"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::unified_authentication_service::utils::external_authentication_update_trackers: FunctionTooLong \u2014 router::core::unified_authentication_service::utils::external_authentication_update_trackers runs 264 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 164 over it, 2.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":"crates/router/src/core/unified_authentication_service/utils.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0fffeb317182be0f5932386dbcb45020fb05ab91d5bc94095ab80dcbeb3570"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentAttemptNew: TooManyFields \u2014 79 stored fields beside 2 methods. The bar is 30 stored fields; this is 49 over it, 2.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99fe38942a8ba6414eb73d40eedd4f6e564ab1984f5f21e1c78a258afc484ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentAttemptUpdateInternal: TooManyFields \u2014 79 stored fields. The bar is 30 stored fields; this is 49 over it, 2.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5560032b3312347c0d8d379859743d931b1a702463748a8768d0694263c170c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::authentication::utils::update_trackers: FunctionTooLong \u2014 router::core::authentication::utils::update_trackers runs 263 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\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":"crates/router/src/core/authentication/utils.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a637be8eaf97b7682062ac8f36d7c461d3d54881a5f06a0365068dde9ed12d3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::cards::update_customer_payment_method: FunctionTooLong \u2014 router::core::payment_methods::cards::update_customer_payment_method runs 263 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2804}}}],"partialFingerprints":{"codehealthFindingId/v1":"859778e781d36eb3b32cdcade8ed43ccf21cc5434dfabb51a331abcccd1b6a2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::make_dsl_input: FunctionTooLong \u2014 router::core::payments::routing::make_dsl_input runs 263 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abb19d3ad76e791955a8ebbef131dea497b0fc40cac4c46979fbd4c6eb1fb2d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnitedKingdomStatesAbbreviation.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 262 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":5765}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faa756d9ee429f1565dc24c3a31a1f4f7fe2b253cb676abcfd6934bc566f233"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntentNew: TooManyFields \u2014 78 stored fields beside 2 methods. The bar is 30 stored fields; this is 48 over it, 2.60\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e6f3ed743b2127440fb277ce3a5e6de7a3a80ba8349601c05ec3cbba7090f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::merchant_connector_webhook_management::register_connector_webhook: FunctionTooLong \u2014 router::core::merchant_connector_webhook_management::register_connector_webhook runs 260 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\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":"crates/router/src/core/merchant_connector_webhook_management.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabec13b26eea7ab88d7d698c09a1d85f649faa301a1aa107d317e43f90844db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/routing.rs: FileTooLong \u2014 1297 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 797 over it, 2.59\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":"crates/api_models/src/routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52a3e2d8458f08d4f34d8db7ba70581afcf23a1fee1f921c5d33374b7e34ade"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/routing.rs: FileTooLong \u2014 1294 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 31 free functions. The bar is 500 significant lines; this is 794 over it, 2.59\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f775948959ed3361f026570ca17ec11abca79354554bf58bb9f2a34c34c4542"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/merchant_account.rs: FileTooLong \u2014 1294 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 794 over it, 2.59\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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"179b6a519ce11d945e26a09fafa27aaca759f802390855e3b8461a880b84b253"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UnifiedConnectorServiceClient: ClassTooLong \u2014 1030 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 38 methods, 2 blocks, lines 38-1749. The bar is 400 significant lines; this is 630 over it, 2.58\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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fdc71a329571ef2aeac2d0a890d0f34c782c9aa6b0659b74f671fbe99b28d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FiservPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 257 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\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":"crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f989eba1a68504632e59aec793a8ea78cadb1f53e07ce02a7a539bafd8901002"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::get_payment_method_create_request: FunctionTooLong \u2014 router::core::payment_methods::get_payment_method_create_request runs 257 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ff1bc09886ab5d3a136ed265920cdca0973fc76b392a8e2326aec44438d39e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::unified_authentication_service::authentication_sync_core: FunctionTooLong \u2014 router::core::unified_authentication_service::authentication_sync_core runs 256 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc33e9752dae9db883604bff0c6d27b8d621fcf1e463d1a4f9a3413e0361058b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/klarna.rs: FileTooLong \u2014 1274 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: Klarna (16 blocks, 64-1534). The bar is 500 significant lines; this is 774 over it, 2.55\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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21a29b8fa89387411721334d1202aa7dbf2556482ec24101c1bc15f6c31404b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Bluesnap: ClassTooLong \u2014 1018 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 19 blocks, lines 77-1531. The bar is 400 significant lines; this is 618 over it, 2.55\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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e6f1a875e317e580a60a00640f710328e64d85770dda66c4d45c3f9f1b1cad"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Worldpay: ClassTooLong \u2014 1017 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 18 blocks, lines 93-1551. The bar is 400 significant lines; this is 617 over it, 2.54\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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08f468acefe04426b82483e4df22d18fafad259445206d8992c59b4f7a831b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/payment_update.rs: FileTooLong \u2014 1267 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: PaymentUpdate (5 blocks, 55-1553). The bar is 500 significant lines; this is 767 over it, 2.53\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":"crates/router/src/core/payments/operations/payment_update.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"818ca027b40dae9ac6e03c02a51e0afde698d2b0142de43847f27ac9fcbb7b1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Authentication: TooManyFields \u2014 76 stored fields beside 9 methods. The bar is 30 stored fields; this is 46 over it, 2.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/authentication.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fb70a870f70285f7923fb67a3542d2001a95b150d29c27928cc886271596c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Authentication: TooManyFields \u2014 76 stored fields beside 4 methods. The bar is 30 stored fields; this is 46 over it, 2.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/authentication.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bcc3009d57f86b7e7ed2f3a82014f33802ea0808ab7c97f62c3823e154014e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AuthenticationNew: TooManyFields \u2014 76 stored fields beside 2 methods. The bar is 30 stored fields; this is 46 over it, 2.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/authentication.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"36727ced40a32a83e14469d3d47bb0ecbfa43ecb5bcb7106f2e32e0047c058f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/barclaycard.rs: FileTooLong \u2014 1263 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 89% of them inside a single declaration: Barclaycard (22 blocks, 74-1623). The bar is 500 significant lines; this is 763 over it, 2.53\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13247df5762bc46d256a25b7f4af20253b27017454ae32bf67b5a816ecac3a83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Country.from_numeric: MethodTooLong \u2014 from_numeric runs 252 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\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":"crates/common_enums/src/transformers.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c4cb18be2e4528c940a5546e2a8286334298fb632adc1d6240625b1f507895"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CountryAlpha2.from_alpha2_to_alpha3: MethodTooLong \u2014 from_alpha2_to_alpha3 runs 251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\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":"crates/common_enums/src/transformers.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf9b6d03c4c6f2e6c91070f6ce3dae245d1f5ce8eaeafdf464feb05fc960b86"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Country.from_alpha2: MethodTooLong \u2014 from_alpha2 runs 251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\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":"crates/common_enums/src/transformers.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ea48612b14f51261cf81f417f2fd156007f191e74eb8fa529f3a18dc1ec1da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Country.to_alpha2: MethodTooLong \u2014 to_alpha2 runs 251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\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":"crates/common_enums/src/transformers.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac712e0d5a719006d43ce6850665db4362cf01e353bfa313ac9f392eb820d12"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Country.from_alpha3: MethodTooLong \u2014 from_alpha3 runs 251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\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":"crates/common_enums/src/transformers.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"79da1d66219287b4fd7cd030d031aad570d1e60136347cfc24454b0457a1f58f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Country.to_alpha3: MethodTooLong \u2014 to_alpha3 runs 251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\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":"crates/common_enums/src/transformers.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f0881280cd294fdf14fe4714417ffca4bfb42d23d7d040253c60bb527f1ab6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Country.to_numeric: MethodTooLong \u2014 to_numeric runs 251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\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":"crates/common_enums/src/transformers.rs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0020eca12ae23169b403875f943927fab1becf3ac1a9fdfc9c664a642b79c80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::authentication::call_ucs_authenticate_proxy: FunctionTooLong \u2014 router::core::authentication::call_ucs_authenticate_proxy runs 251 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 151 over it, 2.51\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":"crates/router/src/core/authentication.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5468dd26becd85df1ee92a2d59546b3ec8267a23563b1531e9ae1d3017dbf493"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/blocklist.rs: FileTooLong \u2014 1252 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 752 over it, 2.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/blocklist.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc1ff27c6da7b2cef9f6e705eb9329150e28b01315f2fc712aaff15db7f0f68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentCapture.get_trackers: MethodTooLong \u2014 get_trackers runs 250 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\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":"crates/router/src/core/payments/operations/payment_capture.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1be69f8aacc5a39738ad64249fd9e32f5c8872c7449d632c30b660e2446174"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/utils.rs: FileTooLong \u2014 1244 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 744 over it, 2.49\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":"crates/router/src/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefb8835bd71f79ffda8fa458d12631d68361704a819601ba10e548be70efd8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/refunds_v2.rs: FileTooLong \u2014 1243 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 743 over it, 2.49\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":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93d056698f5437fdbb599cd6564f81d4acb273dfb36db25c27dacdf455fdf6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentsAuthorizeData.try_from: MethodTooLong \u2014 try_from runs 248 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5786}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bd738758f2925237a68ac7b27507530df792c9c61d82926f99b76be608e6a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: User.server: MethodTooLong \u2014 server runs 248 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\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":"crates/router/src/routes/app.rs"},"region":{"startLine":3012}}}],"partialFingerprints":{"codehealthFindingId/v1":"71479b8c67e575ba9f5c8d3ec22d9bdd86776417aa7c28faefe049defa5bacbd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentResponse.save_pm_and_mandate: MethodTooLong \u2014 save_pm_and_mandate runs 247 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 147 over it, 2.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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ef3fe34bb32d3429476b473f239349d45427e7af929abcd27bc28151832ed2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CybersourcePaymentsRequest: ClassTooLong \u2014 987 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 14 blocks, lines 508-4198. The bar is 400 significant lines; this is 587 over it, 2.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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa07976c6b8bf0c23f11222fca6f1c372e09020d283945aa3b3a412526340d3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/worldpayxml.rs: FileTooLong \u2014 1225 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Worldpayxml (21 blocks, 74-1661). The bar is 500 significant lines; this is 725 over it, 2.45\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fbb3f4b4a1339767e0a58d9c43af5e84f490a9253f0e2af36cd0432f012b7d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodUpdateInternal.from: MethodTooLong \u2014 from runs 245 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 145 over it, 2.45\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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8e97f46525364c1736f1cda01763d6ff0496ae80ba68e1d8ce3695f0c0de70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::unified_authentication_service::authentication_eligibility_core: FunctionTooLong \u2014 router::core::unified_authentication_service::authentication_eligibility_core runs 244 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 144 over it, 2.44\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cd001f948fb162997c5f43e89de32c91b6f002328780f4723eea83c5d9fb3d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Wellsfargo: ClassTooLong \u2014 975 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 17 blocks, lines 72-1437. The bar is 400 significant lines; this is 575 over it, 2.44\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":"crates/hyperswitch_connectors/src/connectors/wellsfargo.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"889bc8798e6d3e1f415b7693f01ab506de3e04e07b01b1d0712e6c09a0a8ff06"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/business_profile.rs: FileTooLong \u2014 1218 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 718 over it, 2.44\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":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3194d6f6212be8b13974cdbf98fb0962285e30736f93a69474f4de4f7f211f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Profile: TooManyFields \u2014 73 stored fields. The bar is 30 stored fields; this is 43 over it, 2.43\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/business_profile.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b618d94c38394f1dbcf7472cd1261973519fc27d62d7ea6884a86851355d5a80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::payout_create_db_entries: FunctionTooLong \u2014 router::core::payouts::payout_create_db_entries runs 243 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts.rs"},"region":{"startLine":3556}}}],"partialFingerprints":{"codehealthFindingId/v1":"58692e90bd338c0b3d79f7fe800a9a67ed33c4036d947173638d12601003fb9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payments.rs: FileTooLong \u2014 1210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 710 over it, 2.42\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":"crates/common_types/src/payments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0125f14b5fc1e2edd7f8c5a0ac063968bde4767e1cab75eff3e01770da703dd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::create_customer_if_not_exist: FunctionTooLong \u2014 router::core::payments::helpers::create_customer_if_not_exist runs 241 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 141 over it, 2.41\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4ce9bee2b19b5fe3557d9fa1bd89ff24fcbae92294a31573e53f72cbef509a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentCreate.make_payment_intent: MethodTooLong \u2014 make_payment_intent runs 240 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 140 over it, 2.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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"517bf30e590492990e83e84610fdfdcf70dbb1eac47453e2732509d2206c7a7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment_methods::configs::payment_connector_required_fields::get_pay_later_required_fields: FunctionTooLong \u2014 payment_methods::configs::payment_connector_required_fields::get_pay_later_required_fields runs 239 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 139 over it, 2.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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":3247}}}],"partialFingerprints":{"codehealthFindingId/v1":"39db7d67095a87d9b1e0b2eba10b0f2bd464157acc0b1e4ed87079adadbc2c54"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Payload: ClassTooLong \u2014 942 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 18 blocks, lines 85-1450. The bar is 400 significant lines; this is 542 over it, 2.36\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":"crates/hyperswitch_connectors/src/connectors/payload.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea40301be2d11753b54a0e1766c4e534ca41e3c104b830af91ac9ea7b834519"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/bluesnap.rs: FileTooLong \u2014 1176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Bluesnap (19 blocks, 77-1531). The bar is 500 significant lines; this is 676 over it, 2.35\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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62efc8b6e4dca94d64175cbd446c0aa2b9b85c56295aecc72efc3c89c1fe73fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/worldpay.rs: FileTooLong \u2014 1176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Worldpay (18 blocks, 93-1551). The bar is 500 significant lines; this is 676 over it, 2.35\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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce132f09faa423def68bbac4dc2701a117e2e1578ac68fe9b79238ec63516fcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::create_recipient: FunctionTooLong \u2014 router::core::payouts::create_recipient runs 235 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 135 over it, 2.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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1906c7b0491679a8bb9e4d02f94549821964dfe9aceb87536951fde8decf2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analytics::payments::core::get_metrics: FunctionTooLong \u2014 analytics::payments::core::get_metrics runs 234 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 134 over it, 2.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":"crates/analytics/src/payments/core.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cad1785b613d5923cb610529520e8d717aa39b885273fee3b5c5fdd2150666"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming_v2::incoming_webhooks_core: FunctionTooLong \u2014 router::core::webhooks::incoming_v2::incoming_webhooks_core runs 234 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 134 over it, 2.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":"crates/router/src/core/webhooks/incoming_v2.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8d5d5961b49d5aff623a21b1b41157d103a545b97cf28d87e78e01d704247b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ConfigMetadata: TooManyFields \u2014 70 stored fields. The bar is 30 stored fields; this is 40 over it, 2.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/connector_configs/src/connector.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"2692592b8a571198266b25f22cf3ed50e0d39df544324ae4fbde224139826950"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaPaymentAttempt: TooManyFields \u2014 70 stored fields. The bar is 30 stored fields; this is 40 over it, 2.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e0c0f884bce2dcedbd01882099fe7e90144e0fcf64c980d3c918d407933053"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaPaymentAttemptEvent: TooManyFields \u2014 70 stored fields. The bar is 30 stored fields; this is 40 over it, 2.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payment_attempt_event.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b50c6cee58f529ed40b254324757609a37c9eeb6446b1b2e01a9543d02f2a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoutableConnectors.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 233 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/connector_transformers.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1e5217fb046d6591168d2cc48da6f2f92b2d640bddab1c2bdeda283fc118eb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Braintree: ClassTooLong \u2014 930 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 19 blocks, lines 81-1473. The bar is 400 significant lines; this is 530 over it, 2.33\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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbe9179bc443e4eea578b815f660758ec25991cca405a16e85cf4d4cc3b472a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentExternalVaultProxyConfirm: ClassTooLong \u2014 925 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 7 blocks, lines 38-1241. The bar is 400 significant lines; this is 525 over it, 2.31\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":"crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c3fdf932afcb781763c3622ef43707afa5a6f1b7fc8a7f94698d4b9ac57285"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_external_vault_proxy_payment_router_data_v1: FunctionTooLong \u2014 router::core::payments::transformers::construct_external_vault_proxy_payment_router_data_v1 runs 231 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 131 over it, 2.31\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2c56782f5e20f97697a2958cccf99a3a74ba195a17d28fd5abdeae46b92fc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analytics::payment_intents::core::get_metrics: FunctionTooLong \u2014 analytics::payment_intents::core::get_metrics runs 230 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"727f22cc84b79055fdeef75b4a519615d9a686453eb8dce26e9e5182e472c80d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::retry::modify_trackers: FunctionTooLong \u2014 router::core::payments::retry::modify_trackers runs 230 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\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":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05ac1605f41b78fecd03e5642efc07a6b11df97f37aa7871bb857ae91eb8e13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/generics.rs: FileTooLong \u2014 1140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 640 over it, 2.28\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":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf191c6e13b08f9849a3e93231a927d1444026729fa62872cd47cce681c16b18"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Payme: ClassTooLong \u2014 908 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 18 blocks, lines 67-1385. The bar is 400 significant lines; this is 508 over it, 2.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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef6e5d1796e79e9dd8aaacc91aaf8bb76c3767a159117f1879fea5eebc7d099"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: peachpayments/transformers.rs: FileTooLong \u2014 1134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 634 over it, 2.27\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":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4376f619b0be87059a7719b33cda93a9fcce47dab0bdbb0a646b547b2ae095e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/payments.rs: FileTooLong \u2014 1134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 634 over it, 2.27\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":"crates/openapi/src/routes/payments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"552d0bc33bf50cfacb3ef343d3d0587bca0421f940b9b912ef5c084adf0e8104"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Profile: TooManyFields \u2014 68 stored fields beside 7 methods. The bar is 30 stored fields; this is 38 over it, 2.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/business_profile.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da4588e443c19fc9bcedee76dd461ee623b523064792af3093d4ed2d7df14db"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessingInformation.try_from: MethodTooLong \u2014 try_from runs 225 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 125 over it, 2.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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"316785199d3b1aa8eb9c45adfc445c2ad380e32e93b574cf4cb37135194816b1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Airwallex: ClassTooLong \u2014 899 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 20 blocks, lines 71-1461. The bar is 400 significant lines; this is 499 over it, 2.25\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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d397c7a2fb4dcb8b927f2571852834412bd1779b63495ccab37c7945648f5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payout_link::initiate_payout_link: FunctionTooLong \u2014 router::core::payout_link::initiate_payout_link runs 224 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 124 over it, 2.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":"crates/router/src/core/payout_link.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2d604c94afd826fd71ac776c1369b66eec3dbc085c6e6a6f33d973c0e051ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/wellsfargo.rs: FileTooLong \u2014 1119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Wellsfargo (17 blocks, 72-1437). The bar is 500 significant lines; this is 619 over it, 2.24\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":"crates/hyperswitch_connectors/src/connectors/wellsfargo.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a48ed53b089fbfb0d42072b1e9b513e37c37eba7a4c186392c2363f392dff8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisConnectionWithContext: TooManyMethods \u2014 67 methods, declared across 2 files: fred/commands.rs (64), module/fred.rs (3). The bar is 30 methods; this is 37 over it, 2.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":"crates/redis_interface/src/module/fred.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9209c849cbe115131f4c45ccef75dbe3b4a344abebfd0a4df2d5db25f2df6178"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaPaymentIntent: TooManyFields \u2014 67 stored fields. The bar is 30 stored fields; this is 37 over it, 2.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payment_intent.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c884d14cb1446d48900082b56a4e9cd3e4dd46e57b92aefeb571882de2d0a53b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaPaymentIntentEvent: TooManyFields \u2014 67 stored fields. The bar is 30 stored fields; this is 37 over it, 2.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payment_intent_event.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f1af87b98564a0800114f3b957a145fe5a2e54643a46f4000e34f76e3fa430"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::cards::list_customer_payment_method: FunctionTooLong \u2014 router::core::payment_methods::cards::list_customer_payment_method runs 223 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6529}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf72580e185f93edb2122fbf2e9f7ef06ed7f3c437402550ea37c27884ef4266"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/trustpay.rs: FileTooLong \u2014 1113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: Trustpay (16 blocks, 66-1495). The bar is 500 significant lines; this is 613 over it, 2.23\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":"crates/hyperswitch_connectors/src/connectors/trustpay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdd44a7fe657becee9a0ca1a9c659416db54015b310b27b99af2bbe97963d6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/fraud_check.rs: FileTooLong \u2014 1112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 612 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84679777e635a02521b48623d4d2ea996aef54439a9bea1b6f09fcbc7c7bca1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Trustpay: ClassTooLong \u2014 889 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 66-1495. The bar is 400 significant lines; this is 489 over it, 2.22\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":"crates/hyperswitch_connectors/src/connectors/trustpay.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa20959dfb968736c0382a5a6bf157dbdf2b3809fa14fced7dd79795df1a5b77"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flows/complete_authorize_flow.rs: FileTooLong \u2014 1111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 611 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6f3e7ed9f9eea2e73373ba287732d4dd09b9d5f6b019f1c0f1de823c6543e7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantAccountUpdateInternal.foreign_from: MethodTooLong \u2014 foreign_from runs 222 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6f0a12521ad3a0d1871e3214c31e0e87faf240fcdb62c56c3b1e9d3cc71dc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/braintree.rs: FileTooLong \u2014 1109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 84% of them inside a single declaration: Braintree (19 blocks, 81-1473). The bar is 500 significant lines; this is 609 over it, 2.22\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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc29313d9567036766dbb182d451342e1bad8128ea8a535532dd71c4f6284d77"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Nexixpay: ClassTooLong \u2014 886 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 17 blocks, lines 63-1342. The bar is 400 significant lines; this is 486 over it, 2.22\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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d6c93e568db6978f21cd4b19986f24bcf15c04a912b3f45ff9b64208bb86f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SloveniaStatesAbbreviation.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 121 over it, 2.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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":6334}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f289811f140d846b673c252984083b3f22a803c7c2a2ee341aef63bbf7b7146"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StripeErrorCode.from: MethodTooLong \u2014 from runs 221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 121 over it, 2.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":"crates/router/src/compatibility/stripe/errors.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"e480c98b46674b16f7f6454168815517794ef2af53947d33a950f0b7399e5df3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_link::form_payment_link_data: FunctionTooLong \u2014 router::core::payment_link::form_payment_link_data runs 221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 121 over it, 2.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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"be87a0e62ebe7a2cc59556cbc04c861f334d137e3d495d8aa155a6b0a1930800"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/airwallex.rs: FileTooLong \u2014 1097 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Airwallex (20 blocks, 71-1461). The bar is 500 significant lines; this is 597 over it, 2.19\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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c512365e4e670cc7b66415ab31c616ca69cbd2b481e31679c28b59cfc3fc38"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/type_encryption.rs: FileTooLong \u2014 1097 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 597 over it, 2.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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab89871691bb85cbd2d14397fde0ea7fe03b211fbe8e551db9c684250bbd11ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: revenue_recovery/external_triggers.rs: FileTooLong \u2014 1095 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 595 over it, 2.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":"crates/router/src/core/revenue_recovery/external_triggers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3ec1334b6befcaea0367e259950ec386c168fb2ed58dcd8020ea87ae4abc33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment_methods::configs::payment_connector_required_fields::get_bank_transfer_required_fields: FunctionTooLong \u2014 payment_methods::configs::payment_connector_required_fields::get_bank_transfer_required_fields runs 219 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":3999}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c12ce4badfe52aaadb966891673051dcd439da74b0fae6122c1f7d36ee804f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/authorizedotnet.rs: FileTooLong \u2014 1091 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 79% of them inside a single declaration: Authorizedotnet (20 blocks, 70-1468). The bar is 500 significant lines; this is 591 over it, 2.18\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0048bccc5e879c7aac00279d90cbf7719520018becb138f962ae31be5c6ed209"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payouts/payouts.rs: FileTooLong \u2014 1086 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 586 over it, 2.17\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":"crates/storage_impl/src/payouts/payouts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2b4eb855f8e394ce94afa80c51076e7ec637e0a594f302139835521ee95239"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RevenueRecoveryPaymentIntentStatus.update_pt_status_based_on_attempt_status_for_payments_sync: MethodTooLong \u2014 update_pt_status_based_on_attempt_status_for_payments_sync runs 217 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 117 over it, 2.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48679a6a5e6a9620ea74209835ab52ae4fab1308d2a75c6f1a19788c729306f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/payload.rs: FileTooLong \u2014 1084 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Payload (18 blocks, 85-1450). The bar is 500 significant lines; this is 584 over it, 2.17\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":"crates/hyperswitch_connectors/src/connectors/payload.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d164dff806835602325d910e48c37687cf8d28ebb7b78f044f8cbaddac1813"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Profile: TooManyFields \u2014 65 stored fields beside 27 methods. The bar is 30 stored fields; this is 35 over it, 2.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbd48dc74c13f935046d5d5b4f40c2a6a1b9488f97ed9d99f3ab592cb94d29b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileDbBuilder: TooManyFields \u2014 65 stored fields. The bar is 30 stored fields; this is 35 over it, 2.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c723643e366ba99a666650b163714b42c0539befd65ba23e0d4d2ae4cb4ce3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::helpers::push_metrics_with_update_window_for_contract_based_routing: FunctionTooLong \u2014 router::core::routing::helpers::push_metrics_with_update_window_for_contract_based_routing runs 216 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"853faab787d51671663af17283f56640d47a4784560b2ade3241236e525dc2b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Authorizedotnet: ClassTooLong \u2014 862 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 20 blocks, lines 70-1468. The bar is 400 significant lines; this is 462 over it, 2.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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa939fc7ce41feb75047a59d5d31062c2e895051a59f3b52debf5c93e3f2645e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/disputes.rs: FileTooLong \u2014 1077 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 577 over it, 2.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":"crates/router/src/core/disputes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23f7f81227c0d0f012635a855c664adb0d46e5f7e85b8a72ec33342e6b80c8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payment_methods/network_tokenization.rs: FileTooLong \u2014 1075 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 575 over it, 2.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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90569d180d1ab3b1ebe5005dc05730d9ec6ae574c94162058eab0a89b10bedf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::cards::add_payment_method_data: FunctionTooLong \u2014 router::core::payment_methods::cards::add_payment_method_data runs 215 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2530}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88f77675da3b5a70d06f69acbec8b1403a3a70c12f06910c449e17bd9a27842"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RedisTokenManager: ClassTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 29 methods. The bar is 400 significant lines; this is 455 over it, 2.14\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":"crates/router/src/types/storage/revenue_recovery_redis_operation.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"60301f9b710cd2a75ada380856626aac9d37c75b5a96ecccfe16b99a47e9961d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1068 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 568 over it, 2.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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f901287f736c190cb1dd58607db08e59a64741cf5553beec457a169826100ebb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntentUpdateInternal: TooManyFields \u2014 64 stored fields. The bar is 30 stored fields; this is 34 over it, 2.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d80315cfaf32978ac2417ab33bccace66c1443d6f7657d107e1c8a07b4f76ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Paysafe: ClassTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 18 blocks, lines 65-1335. The bar is 400 significant lines; this is 453 over it, 2.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":"crates/hyperswitch_connectors/src/connectors/paysafe.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7545b8d68bbc771c59c6a10236cc6d46f1fc3ff108d76e64198a748f31f589"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment_methods::configs::payment_connector_required_fields::get_bank_debit_required_fields: FunctionTooLong \u2014 payment_methods::configs::payment_connector_required_fields::get_bank_debit_required_fields runs 213 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":3686}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e6d0e9044a3874bb340c00c655c701d06e3d96f150cd09ff49abed6107b79e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileUpdate.get_update_profile_object: MethodTooLong \u2014 get_update_profile_object runs 213 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/admin.rs"},"region":{"startLine":4192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1136af6d49a1c5acb4f7db2defa066fe2bf44719cace9eb9c896b0c7326a4af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentCancel.get_trackers: MethodTooLong \u2014 get_trackers runs 213 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f817971ad46c1fecfcc9e7b88095fc93fc34b7abe8b44f52ede7c3333d90c3f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Currency: ClassTooLong \u2014 845 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 9 methods, 2 blocks, lines 1093-1972. The bar is 400 significant lines; this is 445 over it, 2.11\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a80334487172fa655200284fb4b840cf294b3b99add2cde95ebe299e83fd1d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: archipel/transformers.rs: FileTooLong \u2014 1055 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 555 over it, 2.11\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":"crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1406ca20d6a139406193600ef1b6de8cf5ad24b2c0f97f392701ac9b355037b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileCreate.create_domain_model_from_request: MethodTooLong \u2014 create_domain_model_from_request runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 110 over it, 2.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":"crates/router/src/core/admin.rs"},"region":{"startLine":3560}}}],"partialFingerprints":{"codehealthFindingId/v1":"b841bf6336b174b89edcee6705fb59234c353234095e1fa5592500ea39c3ba8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_payment_router_data_for_setup_mandate: FunctionTooLong \u2014 router::core::payments::transformers::construct_payment_router_data_for_setup_mandate runs 210 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 110 over it, 2.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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"12787f3eb8bc22cc31857c8136b2498b533f96b2713dc7d49027371f22cc1aca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileUpdateInternal: TooManyFields \u2014 63 stored fields. The bar is 30 stored fields; this is 33 over it, 2.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/business_profile.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3da7b955a32238fcdfc71750a550aafff4143a2d45d31f465f237904acd7b2b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntentUpdateInternal: TooManyFields \u2014 63 stored fields. The bar is 30 stored fields; this is 33 over it, 2.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abc7ff6cc67c3da52634506ea0ac5705fa980c5ce9e8bef0ea5049fcef043ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trustpayments/transformers.rs: FileTooLong \u2014 1049 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 549 over it, 2.10\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":"crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b0949561c0e3552e7ff44cbff3a7dfb9af369d5bed5de8b3ed1d5247daa3f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: storage/revenue_recovery_redis_operation.rs: FileTooLong \u2014 1045 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: RedisTokenManager (138-1361). The bar is 500 significant lines; this is 545 over it, 2.09\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":"crates/router/src/types/storage/revenue_recovery_redis_operation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bff74081fc88bef911e4b549cb12f33ba1fb7d3aa4d558208a81989be1e0dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payme/transformers.rs: FileTooLong \u2014 1044 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 544 over it, 2.09\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":"crates/hyperswitch_connectors/src/connectors/payme/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0226f3d59fbeffc9180d01fca896e8f8c25c36aaaa692eed9910a685d6603bb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/relay.rs: FileTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 541 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":"crates/router/src/core/relay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83c67a2d6d4411a205b8ae41a60b43db746f4b346f110155b79e365ff52e522"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PSync.execute: MethodTooLong \u2014 execute runs 208 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 108 over it, 2.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":"crates/router/src/core/payments/gateway/psync_gateway.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"97868f4afb33127b0a1ca655e21646ce0b7a2417c5c19c968afb519376628380"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::split_payments::split_payments_execute_core: FunctionTooLong \u2014 router::core::split_payments::split_payments_execute_core runs 208 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 108 over it, 2.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":"crates/router/src/core/split_payments.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2659d10889b2a7d09fe8ee0e198037dc9b678c8ffdb4e505a7e43f83798e86d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/payme.rs: FileTooLong \u2014 1035 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: Payme (18 blocks, 67-1385). The bar is 500 significant lines; this is 535 over it, 2.07\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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f59aee86f5843bddaa3730dfd96b9077e0b9e2b3a9898a9308cb05e25d87a33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BraintreePaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 207 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"272252a1114cd22642e93d7d6183fcd7d59e7594e0e8e839f1f411d7496466c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.try_from: MethodTooLong \u2014 try_from runs 207 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d47e01ded96616bc6e26c28e16c967b4e5b8dd7a807fcf0cf20b171e03a6fe6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::authentication::perform_pre_authentication_proxy: FunctionTooLong \u2014 router::core::authentication::perform_pre_authentication_proxy runs 207 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\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":"crates/router/src/core/authentication.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ec364704920fba040fa48c2c4029b5f2babe9b0d23186d444125e2d1c64e38"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::incoming_webhooks_core: FunctionTooLong \u2014 router::core::webhooks::incoming::incoming_webhooks_core runs 207 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de950589d46a9359a5ebfa1e03029ffb516040193f07ac518f39ec3c82aa4f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntent: TooManyFields \u2014 62 stored fields. The bar is 30 stored fields; this is 32 over it, 2.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6d664d09814cdcfb2a3119b86d2baf8b491fd58d3434084ea61f57ac4d62c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1032 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 532 over it, 2.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2765900c81512dd31ca49b61203ecc7601f516bf46f2f1e7e94c2858e4828335"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::process_webhook_business_logic: FunctionTooLong \u2014 router::core::webhooks::incoming::process_webhook_business_logic runs 206 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 106 over it, 2.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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"1182396c08988705e217b5dbc61fbe39d797cc1aeef9ac6b78fdc1d1a1706a3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/user.rs: FileTooLong \u2014 1026 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 59 free functions. The bar is 500 significant lines; this is 526 over it, 2.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":"crates/router/src/routes/user.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a634d55bf9a20a8be7d14ff6fab5d3dcbb71e10f0422970a2df9044a2e222a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Action.execute_payment: MethodTooLong \u2014 execute_payment runs 204 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"2945b02e0db1c2807b2312745d4d10cf30f16be356ed16b4f49efdefc572ec26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::update_connector_mandate_details: FunctionTooLong \u2014 router::core::webhooks::incoming::update_connector_mandate_details runs 204 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":3657}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9a9d9cf62dce5e2a3667d46781c69f92aec99222c6ce8de076b4f4b7078e47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/conversion_impls.rs: FileTooLong \u2014 1019 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 519 over it, 2.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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac54b8585b80308ea2280a374e0a587af509163de7ec7ac163957f39cbc001ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/nexixpay.rs: FileTooLong \u2014 1018 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Nexixpay (17 blocks, 63-1342). The bar is 500 significant lines; this is 518 over it, 2.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56008ae353e29d552f872c3517297da59c78d26f373dcb18b36e2b271af60325"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/dispute.rs: FileTooLong \u2014 1017 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 517 over it, 2.03\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":"crates/router/src/db/dispute.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5e01684eb0665d88cc4918f7298abe646130010fa1832e77071cb8873e74aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisConnectionWithContext: TooManyMethods \u2014 61 methods, declared across 2 files: redis_rs/commands.rs (59), module/redis_rs.rs (2). The bar is 30 methods; this is 31 over it, 2.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":"crates/redis_interface/src/module/redis_rs.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"47be5c5f52b9a0fc96dd9345bdab25c83862b0f329f4fd57293277c0130d8c35"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileNew: TooManyFields \u2014 61 stored fields beside 1 method. The bar is 30 stored fields; this is 31 over it, 2.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/business_profile.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4a6aac777cf18e3cfaa85c1350ca442a683408bd825a65e51162f009338716"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileNew: TooManyFields \u2014 61 stored fields. The bar is 30 stored fields; this is 31 over it, 2.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/business_profile.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5a1a6bdf16e34cba84d083d1a22e38f21db28a64c00d177880f773c9c7e110"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: santander/responses.rs: FileTooLong \u2014 1015 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 515 over it, 2.03\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":"crates/hyperswitch_connectors/src/connectors/santander/responses.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccac76458654d89586f5d192c99288f6cad70a7260f83405ff613776c963e420"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_payment_router_data_for_update_metadata: FunctionTooLong \u2014 router::core::payments::transformers::construct_payment_router_data_for_update_metadata runs 202 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 102 over it, 2.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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2427}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6f1ff9932ece3904e57b236b70dc80495b96af068c815d578819d11b49ae12"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/paysafe.rs: FileTooLong \u2014 1007 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Paysafe (18 blocks, 65-1335). The bar is 500 significant lines; this is 507 over it, 2.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":"crates/hyperswitch_connectors/src/connectors/paysafe.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91db3ebf1a848f07f8cdf6e2fbfb0ca5a56694c2f13a1e0803a984176bd80ed8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::pm_auth::store_bank_details_in_payment_methods: FunctionTooLong \u2014 router::core::pm_auth::store_bank_details_in_payment_methods runs 201 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 101 over it, 2.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":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f8fa4aba03f790e8a92e6c950bffe4150343f57a04e392b781400976812f47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::list_user_roles_details: FunctionTooLong \u2014 router::core::user::list_user_roles_details runs 201 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 101 over it, 2.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":"crates/router/src/core/user.rs"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ae1efe9d8b10e49a430005300480bb27c0944b73ccc530b8cca516966b4450"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BankNames: ClassTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 2 blocks, lines 10191-11004. The bar is 400 significant lines; this is 402 over it, 2.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":"crates/common_enums/src/enums.rs"},"region":{"startLine":10191}}}],"partialFingerprints":{"codehealthFindingId/v1":"32379bc9cb26665d034b7c6777b9dcd87f6c5035c9ce377ea6a1227e094f75e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: unified_authentication_service/transformers.rs: FileTooLong \u2014 1001 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 501 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":"crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdbdb668c68742a08b0a47de968c414638a29ddbdf0354e3858b7957448c9be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AuthenticationUpdateInternal: TooManyFields \u2014 60 stored fields beside 1 method. The bar is 30 stored fields; this is 30 over it, 2.00\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/authentication.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19ac943c881b38b9e2a7dc44018e0c82eb63b69c7bb5038daac8aed393b36a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user_role::delete_user_role: FunctionTooLong \u2014 router::core::user_role::delete_user_role runs 200 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e63943fe3d4f0ea469a12c19d22fef8e9e054f454dc9f13c45144d662e103b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileSetter: TooManyFields \u2014 60 stored fields. The bar is 30 stored fields; this is 30 over it, 2.00\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dde0755e276145c1ef37744508d5bdd86bf3e31e8a772391b4db38bd427004f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fiserv/transformers.rs: FileTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 499 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":"crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67686666c0a3381a94d940ebf4af4118bb3c573f20010b39e5063e9eb57f1a56"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::decide_connector: FunctionTooLong \u2014 router::core::payments::decide_connector runs 199 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\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":"crates/router/src/core/payments.rs"},"region":{"startLine":12507}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0435e863583644115cc04c5d164c5da6e6ed7565f554a3083a137b819ea0f6e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: multisafepay/transformers.rs: FileTooLong \u2014 993 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 493 over it, 1.99\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":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7c3a65a7f3f6a24c16fdb0d49be7d697182b66e84128dde6b599b9659a8664"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Adyen.validate_connector_against_payment_request: MethodTooLong \u2014 validate_connector_against_payment_request runs 197 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 97 over it, 1.97\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdfe979615620390c23d80e331b0a162d13489f46e7d6c4c4927e194b99b951"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaAuthentication: TooManyFields \u2014 59 stored fields beside 1 method. The bar is 30 stored fields; this is 29 over it, 1.97\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/authentication.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f04f1a5158ec70fa3343b7876f1ffe14041b875b8023de6af219242ce7d2a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RouterData: TooManyFields \u2014 59 stored fields. The bar is 30 stored fields; this is 29 over it, 1.97\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de04c90fcd9309704e5d2ab561a1bde918aec618e4a548769f673541d3d12ed"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Finix: ClassTooLong \u2014 785 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 65-1234. The bar is 400 significant lines; this is 385 over it, 1.96\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":"crates/hyperswitch_connectors/src/connectors/finix.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b547521c65dd8de9ba737f6486f88068ae2fbe1b18ea59ba4170d61dea5ad7ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthenticationUpdateInternal.from: MethodTooLong \u2014 from runs 196 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\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":"crates/diesel_models/src/authentication.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa437be25361bea62087c6430a768f94ac1c57a5e135d63607761d5a3f6bd452"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deutschebank/transformers.rs: FileTooLong \u2014 976 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 476 over it, 1.95\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":"crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"827a931ebc4be3c98cfbf708a2cbabefa2e6d3d14efc83042d5e7be0d5a895df"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ZslResponseStatus.try_from: MethodTooLong \u2014 try_from runs 195 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\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":"crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a783507318742d955464f47a8ea01761914e7bad5650cbb07e2eb003e94882aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentsResponse.foreign_from: MethodTooLong \u2014 foreign_from runs 195 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e219b376878b874d524183443f04ae05d306e7bfb3e53bf2af4fed0fe48e41c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: paybox/transformers.rs: FileTooLong \u2014 971 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 471 over it, 1.94\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":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a573f80d78a0c37201146d7f9307c689bf7368b6e00f3814c6c56a26f6da0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: configs/dimension_config.rs: FileTooLong \u2014 968 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 468 over it, 1.94\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":"crates/router/src/core/configs/dimension_config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60350aef833096e4635531b43e304c59f2bd1435ac69d5c6e81a342e6361a569"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileUpdateInternal: TooManyFields \u2014 58 stored fields. The bar is 30 stored fields; this is 28 over it, 1.93\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/business_profile.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"121a6e4179e7abb56b4f813c7bf50790c2411348dc5108fa6223450850ed611c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Profile: TooManyFields \u2014 58 stored fields. The bar is 30 stored fields; this is 28 over it, 1.93\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4efec1391be4da9a5fd20116f47981848e0a444d4d8db5015d27d73444c40f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileDbBuilder: TooManyFields \u2014 58 stored fields. The bar is 30 stored fields; this is 28 over it, 1.93\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fc375b01fd92680a2e770af9caf5de84ed56dfeac876f31946f923496244af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdyenPaymentRequest.try_from: MethodTooLong \u2014 try_from runs 193 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3021}}}],"partialFingerprints":{"codehealthFindingId/v1":"2841e8be3ed3fccccdf10e1c23a9b5f0913751013921489ef496a20c15a2aa85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::flows::session_flow::create_gpay_session_token: FunctionTooLong \u2014 router::core::payments::flows::session_flow::create_gpay_session_token runs 193 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\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":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c316c744ceb963886b7635735cd79df6d48348bf6308a5b9829d13474e4cebb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Bankofamerica: ClassTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 16 blocks, lines 66-1199. The bar is 400 significant lines; this is 370 over it, 1.93\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2656f6c931d374247ee3f617fd2b3490674c29054887458b51c666deb1b4aca8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 962 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 75% of them inside a single declaration: AnalyticsProvider (4 blocks, 88-1018). The bar is 500 significant lines; this is 462 over it, 1.92\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":"crates/analytics/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1d6c431fdc61f89aa9b982de3e0ad6e05b27ac467fa72f3396c866ae8819a0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackwardCompatWorkflowBuilder.backfill_legacy_locker_card: MethodTooLong \u2014 backfill_legacy_locker_card runs 192 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d7c1faca83a7f2f40621193a63ceefd1e89994a936339436a9993878f2b288"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/admin.rs: FileTooLong \u2014 959 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 459 over it, 1.92\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"985a62ac2ed89be42045c8fd66eba619af79409477ace048752df72b7371bdd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/payment_confirm_external_vault_proxy.rs: FileTooLong \u2014 958 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 97% of them inside a single declaration: PaymentExternalVaultProxyConfirm (7 blocks, 38-1241). The bar is 500 significant lines; this is 458 over it, 1.92\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":"crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea8f28910c7bf033e2ec8f9a15d51b02c6a794031e994fa697b80339bb6adfc6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Authorize.execute: MethodTooLong \u2014 execute runs 191 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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":"crates/router/src/core/payments/gateway/authorize_gateway.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d5fdae375b55fe2917a00ade7a3d9b7162f6674d758e6a6f1818d58082349b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OutgoingWebhookRetryWorkflow.execute_workflow: MethodTooLong \u2014 execute_workflow runs 191 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92ae2ed6455c563cd4146b54c20955127a696e74156c28009c98c5f6fb68cdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/blocklist.rs: FileTooLong \u2014 953 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: Blocklist (73-1178). The bar is 500 significant lines; this is 453 over it, 1.91\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f98099d7bdeddd3809b9dd81734d8a8bb80d6227f79e87a391d66474dbc9b4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentAttempt: TooManyFields \u2014 57 stored fields beside 28 methods. The bar is 30 stored fields; this is 27 over it, 1.90\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45b3e65ff0c026734d36213bf431185f034a72e26fcb2977db396a9c5865d3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/finix.rs: FileTooLong \u2014 945 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: Finix (17 blocks, 65-1234). The bar is 500 significant lines; this is 445 over it, 1.89\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":"crates/hyperswitch_connectors/src/connectors/finix.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dc69f6caaa17be56ebbd7b36e73a99a5bb243fe9ccd3815f2989d903f602ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantAccountCreate.create_domain_model_from_request: MethodTooLong \u2014 create_domain_model_from_request runs 189 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/admin.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"b133c25d61261b2f5ece9d78b97a45ec28c2d7fc84086d04b64806841301a680"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentExternalVaultProxyConfirm.update_trackers: MethodTooLong \u2014 update_trackers runs 189 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fc08bc296b1ad0382ec1007931396f20ccc44c8df39f99420d1b652e0d481a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.rs: FileTooLong \u2014 944 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 444 over it, 1.89\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":"crates/common_utils/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"944d679ebb63cc5e68d20bc85e6305667a7c889c9990cd73a253c5991fa77d78"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Globalpay: ClassTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 70-1256. The bar is 400 significant lines; this is 354 over it, 1.89\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":"crates/hyperswitch_connectors/src/connectors/globalpay.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f46970e92d2e5ef50148a90b22fbe7bed2500db59eb3b2728a375c64363fb50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::operations::payment_response::update_modular_pm_and_mandate_impl: FunctionTooLong \u2014 router::core::payments::operations::payment_response::update_modular_pm_and_mandate_impl runs 188 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"244ab31ab67c799f64717740b4a06b2849ceaa2dd1dce6636d60e69fe955800d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Peachpayments: ClassTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 60-1156. The bar is 400 significant lines; this is 350 over it, 1.88\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":"crates/hyperswitch_connectors/src/connectors/peachpayments.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce19cca02901fb51df5b36714a86339710754a3bbf9526c4ceaeb99a37a7c94c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::utils::construct_refund_router_data: FunctionTooLong \u2014 router::core::utils::construct_refund_router_data runs 187 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\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":"crates/router/src/core/utils.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"48479d503d63476d07de8c1408f32706fab9b40c9ff8443d8f7e18f2b9d7a421"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/operations.rs: FileTooLong \u2014 934 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 434 over it, 1.87\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":"crates/router/src/core/payments/operations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c6cbc019b46586225c58f6906c734d63a1e0bf65e73e6b12b898147ef74398"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileResponse: TooManyFields \u2014 56 stored fields. The bar is 30 stored fields; this is 26 over it, 1.87\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/admin.rs"},"region":{"startLine":2838}}}],"partialFingerprints":{"codehealthFindingId/v1":"74907b5d77c049340a138dd4a589ee4a8e6488df9b37b0321fc665dbbd813590"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PlatformPaymentListItem: TooManyFields \u2014 56 stored fields. The bar is 30 stored fields; this is 26 over it, 1.87\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":9630}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dc330432012400cd1f38d8e0e5b8a00b06b92eb7a1ea150c49381816d9310f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileSetter: TooManyFields \u2014 56 stored fields. The bar is 30 stored fields; this is 26 over it, 1.87\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"3315c98700590dc768ae28690faa810f0bfff5b8d6a48c61828b5b82096dcd1f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Nmi: ClassTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 18 blocks, lines 65-1172. The bar is 400 significant lines; this is 346 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6eb7ba57ac8cd0a12a0952d935af60e3f84533fac924281ef5b49c51a54657"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/aci.rs: FileTooLong \u2014 925 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: Aci (15 blocks, 61-1222). The bar is 500 significant lines; this is 425 over it, 1.85\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9623a7fcbea425afa18d1aef026e8814895eb1c74156fb705a57eae9dfc823c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CybersourcePaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 185 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de4239a345c8c41d6ca14bcec4fc7e283c9d29aa4292839fe7c5dfe3f0cd9a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/globalpay.rs: FileTooLong \u2014 923 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Globalpay (17 blocks, 70-1256). The bar is 500 significant lines; this is 423 over it, 1.85\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":"crates/hyperswitch_connectors/src/connectors/globalpay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4a28688575a97c3fc24940fdbda905ef89d83465ba7a2d37a1111fefdfe5a1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Redsys: ClassTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 65-1112. The bar is 400 significant lines; this is 336 over it, 1.84\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":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7073f3bfa3580f0cef78881f20b357cd812c6b58352cb4537818daab4db27e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodDataType.from: MethodTooLong \u2014 from runs 184 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":6944}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6b8483f87d56d05ed9056c8192a345a1ad5fa1db972b0a1629f2ac790850cf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Archipel: ClassTooLong \u2014 735 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 18 blocks, lines 59-1146. The bar is 400 significant lines; this is 335 over it, 1.84\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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"16570405ee780cf13db0f38f8f952bdbaf87f4e8169cdf2875e5e97c18d61cc9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntentUpdateFields: TooManyFields \u2014 55 stored fields. The bar is 30 stored fields; this is 25 over it, 1.83\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd8217277155a67d4b88a919963f1db25c1d5165a162083f782043af7ae820b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Truelayer: ClassTooLong \u2014 731 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 19 blocks, lines 62-1101. The bar is 400 significant lines; this is 331 over it, 1.83\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":"crates/hyperswitch_connectors/src/connectors/truelayer.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"20db57f771d90362f4aa4f375a6cd9df4bbdc5116560b5f97788484868798d6c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Novalnet: ClassTooLong \u2014 729 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 58-1210. The bar is 400 significant lines; this is 329 over it, 1.82\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":"crates/hyperswitch_connectors/src/connectors/novalnet.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"843d864a4b743e64a8ea610c3a14b22090e2a53f4334a89aba6eb696f253ac20"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/bankofamerica.rs: FileTooLong \u2014 911 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Bankofamerica (16 blocks, 66-1199). The bar is 500 significant lines; this is 411 over it, 1.82\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e3772da98202088642955143aa3ab418f1f74ca52203425fcb79a388e2c1fa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectorConfig.get_connector_config: MethodTooLong \u2014 get_connector_config runs 182 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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":"crates/connector_configs/src/connector.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc23ab40486c421bdf531e1ea0ba3952f24567f02c66162cbfb70c8fa626b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::retrieve_payment_method: FunctionTooLong \u2014 router::core::payment_methods::retrieve_payment_method runs 182 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":6294}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d8bd6e9df939945457454232b5c9cfe2bd69d123ee40c59fef90f47e1f0e98"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Nordea: ClassTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 17 blocks, lines 77-1178. The bar is 400 significant lines; this is 325 over it, 1.81\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":"crates/hyperswitch_connectors/src/connectors/nordea.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcea8d217e4d932d6e495fc576117544443f54b207bab07955c91beea1abfcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: trustly/transformers.rs: FileTooLong \u2014 905 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 405 over it, 1.81\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":"crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb7490bb8e8e41cc3419a18eaf1c1a84bb826797c329124baf2500e7bd24657"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentResponse.update_tracker: MethodTooLong \u2014 update_tracker runs 181 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":5358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc3d6deada478647c263f7c6fd2bee3cbd6966cf5cf17958fe2864ca43c577f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentSession.get_trackers: MethodTooLong \u2014 get_trackers runs 181 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"crates/router/src/core/payments/operations/payment_session.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a23a87d09ee50dd986ea061506214c323f5e3c32cbdc4e758104ad6d708872"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::utils::construct_payout_router_data_common: FunctionTooLong \u2014 router::core::utils::construct_payout_router_data_common runs 181 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"crates/router/src/core/utils.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"046634411818876dab02330d5769793de833043d735e7be8859e8fd436e5c7da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::workflows::outgoing_webhook_retry::get_outgoing_webhook_content_and_event_type: FunctionTooLong \u2014 router::workflows::outgoing_webhook_retry::get_outgoing_webhook_content_and_event_type runs 181 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c20fa498e43f2064dc951bd84a8c0169d6ac46c0162b8c48e8826f3a6a0551"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BackwardCompatWorkflowBuilder.backfill_legacy_locker_card: MethodTooLong \u2014 backfill_legacy_locker_card runs 181 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"813d00b4c25df202d5bac8ff0620756d2e81251dbb42238415b9a7d556612b7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/fiuu.rs: FileTooLong \u2014 903 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 73% of them inside a single declaration: Fiuu (14 blocks, 175-1202). The bar is 500 significant lines; this is 403 over it, 1.81\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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2befc07777c1d69bbb8f03777350ee43d9de78bc55d6d2223160e068947d6f15"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileGeneralUpdate: TooManyFields \u2014 54 stored fields. The bar is 30 stored fields; this is 24 over it, 1.80\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62e423f8e4f9078303172eca782f716ca1b5c562d89ba962c546b17ac839173"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnalyticsProvider: ClassTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 4 blocks, lines 88-1018. The bar is 400 significant lines; this is 319 over it, 1.80\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/lib.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdba62e9ff97f35745c78267898880654597e6869d9c043e966468621e82577"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bluesnap/transformers.rs: FileTooLong \u2014 898 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 398 over it, 1.80\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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ecfc555ba2f9f7798128cbe3f2c0d3045979b4a0888a81b6089ab67fbe2f89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: zen/transformers.rs: FileTooLong \u2014 895 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 395 over it, 1.79\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":"crates/hyperswitch_connectors/src/connectors/zen/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24efc2d0dd6c762c5f03883e3d6fc5d720c4d495c4d2c8255c4e412e3411f1b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RoutableConnectors.try_from: MethodTooLong \u2014 try_from runs 179 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"crates/euclid/src/enums.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f80d0edbc228744dab060ec50f1dda4dd1476772adba6638ee8eb92d016d297"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FraudCheckPost.update_tracker: MethodTooLong \u2014 update_tracker runs 179 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c7f5b6b3727a9d1d5cc07830fa636a6bc0b49e25471677e97113d91a59b19f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::add_connector_response_to_additional_payment_data: FunctionTooLong \u2014 router::core::payments::helpers::add_connector_response_to_additional_payment_data runs 179 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8545}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c194de04d37df997d22379afa0ae8f3c326aad505ec7e7e7e0f133ef8203ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: getnet/transformers.rs: FileTooLong \u2014 890 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 390 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":"crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"460aa0d536a95b716c99a79b2113fe4a6dfd2b3e9e821daa3bd5fff98d160d01"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentStart.get_trackers: MethodTooLong \u2014 get_trackers runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"crates/router/src/core/payments/operations/payment_start.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b60c4222009c4022dcaeaa96d7b20b03969b1311223a904d3d719b5bce9560"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::webhook_events::list_initial_delivery_attempts: FunctionTooLong \u2014 router::core::webhooks::webhook_events::list_initial_delivery_attempts runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"crates/router/src/core/webhooks/webhook_events.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fcb7ef54db44ba04aa4501c3af8457500a0c515b3043e5af37dab14895b45f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::types::api::admin::create_profile_from_merchant_account: FunctionTooLong \u2014 router::types::api::admin::create_profile_from_merchant_account runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"crates/router/src/types/api/admin.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e3797ff47188ba6fff4c5cab47a2d2aca91a93122c23c433b743c061b44204"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttempt.convert: MethodTooLong \u2014 convert runs 178 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ce9210bcc21b69ef7481dc0b0d8564dfc1f2934f9594a4c91dc5b4378b9393"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/novalnet.rs: FileTooLong \u2014 889 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Novalnet (17 blocks, 58-1210). The bar is 500 significant lines; this is 389 over it, 1.78\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":"crates/hyperswitch_connectors/src/connectors/novalnet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8f8b1936d0d0d5173898c27fedfa3c4efca8f90d5673171d8aac8b1dfb8442"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Xendit: ClassTooLong \u2014 711 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 65-1128. The bar is 400 significant lines; this is 311 over it, 1.78\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":"crates/hyperswitch_connectors/src/connectors/xendit.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e6747f90e3782c978e72b94a0f60a423be2eab604a484f2c691f92f885f81d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/user_role.rs: FileTooLong \u2014 888 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 388 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":"crates/router/src/core/user_role.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45547287721bae1e2539434e0ff2640f42a5da7af4b977b505b3166a2d87b894"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Deutschebank: ClassTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 64-1100. The bar is 400 significant lines; this is 309 over it, 1.77\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":"crates/hyperswitch_connectors/src/connectors/deutschebank.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee44101e82f5340295c1b033c140d631e66131c1fa78b86af395608078941f91"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthEventMetricRow.from_row: MethodTooLong \u2014 from_row runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1790fe2bf8d25396fca888553b018a7400eb2211119bcae5a452fc7ecec3c6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThreedsecureioAuthenticationRequest.try_from: MethodTooLong \u2014 try_from runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"556cdda18570ecbcc05900061cbc6fc44df5ad16da469949e1fa6362b6f79f77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::payments_manual_update: FunctionTooLong \u2014 router::core::payments::payments_manual_update runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"crates/router/src/core/payments.rs"},"region":{"startLine":14535}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42d5d7d4317d0cb8ed1b553def78bb39cd9024d9411dee9f71186283a560af2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SetupMandateRequestData.try_from: MethodTooLong \u2014 try_from runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":7610}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9abfb88381b9b3a4b2a15fa884d60b4ec884019cf9b30c831797736feeb004"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::migrate_rules_for_profile: FunctionTooLong \u2014 router::core::routing::migrate_rules_for_profile runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"crates/router/src/core/routing.rs"},"region":{"startLine":3157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e7b33e0dfa3ef13fca01930008379732c767082a248048afbcc9e137a80038"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::workflows::revenue_recovery::get_retry_timing: FunctionTooLong \u2014 router::workflows::revenue_recovery::get_retry_timing runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec209fba94c11633f15acfe740f8adfbddfb84e75a687a427ed445a613123a4c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentData: TooManyFields \u2014 53 stored fields beside 2 methods. The bar is 30 stored fields; this is 23 over it, 1.77\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":10839}}}],"partialFingerprints":{"codehealthFindingId/v1":"5def4b73dbc4902c4dcda070ea1c790988ff875efc33525e2f007dd6f5fe4f70"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileUpdate: TooManyFields \u2014 53 stored fields. The bar is 30 stored fields; this is 23 over it, 1.77\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/admin.rs"},"region":{"startLine":3255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e976508344cd85f1aa4ad0e9a30a8b86b5ebd73aec363216a408960c9959ab1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Aci: ClassTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 61-1222. The bar is 400 significant lines; this is 305 over it, 1.76\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8475fe1084c5a10e5396f6ecab4b893bf9196d098482de09105f81f7a21b2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/nmi.rs: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Nmi (18 blocks, 65-1172). The bar is 500 significant lines; this is 380 over it, 1.76\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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb440e9926c1a9093d9d48437a5be95b5c8a398debb12185c65b8987647aa526"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Gigadat: ClassTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 18 blocks, lines 68-1118. The bar is 400 significant lines; this is 303 over it, 1.76\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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cfd07cdf8352d49c1192883f563ef352718be6c8f34fd4f3810ee8766739d8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntent.convert: MethodTooLong \u2014 convert runs 175 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"53711eefeb12cf92c66977d7ddd063537653a36a63e5e958b7b939ae9cef85d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::revenue_recovery::perform_execute_payment: FunctionTooLong \u2014 router::core::revenue_recovery::perform_execute_payment runs 175 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf24eae2208c79c57be2f5af2ebdea07bbf103ce2884a4c16dc1e33067f8ec36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shift4/transformers.rs: FileTooLong \u2014 872 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 372 over it, 1.74\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":"crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f934be2a5ba06c7654c8b565d6ebe3fc94922e8043c36f9d38b43cd8f84c9a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Connector.from: MethodTooLong \u2014 from runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"crates/euclid/src/enums.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc899917ed3eb39a1ff6d904281490a15b39613df171c5937b99a6b7b20e6f6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Santander.build_error_response: MethodTooLong \u2014 build_error_response runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1730c0653577f3f38e92ab925f19f793a419edce4e40f5e317a4bdf2a20dcd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_connectors::connectors::stripe::transformers::create_stripe_payment_method: FunctionTooLong \u2014 hyperswitch_connectors::connectors::stripe::transformers::create_stripe_payment_method runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fbf3da2ce87e5da30be020e27d60ee5061567e451d9e5733e5adbd771254ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthenticationUpdate.from: MethodTooLong \u2014 from runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"crates/hyperswitch_domain_models/src/authentication.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0c115ba2fc9bab3589c0784823e1423cce10c9b69b5a8d1b00d277298f2575"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::get_connector_tokenization_action_when_confirm_true: FunctionTooLong \u2014 router::core::payments::get_connector_tokenization_action_when_confirm_true runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"crates/router/src/core/payments.rs"},"region":{"startLine":10473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3f5beb0a60907e8107a97fa1d98b4ab53a3af7b9b3c3328c018346b039eaa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::perform_session_flow_routing: FunctionTooLong \u2014 router::core::payments::routing::perform_session_flow_routing runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3070}}}],"partialFingerprints":{"codehealthFindingId/v1":"24abee01eb82cd361805c227f9103f43feeb8feda8aa7d5fa8aa62ef2c310250"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompleteAuthorizeData.try_from: MethodTooLong \u2014 try_from runs 174 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":7876}}}],"partialFingerprints":{"codehealthFindingId/v1":"55096120a215be0caf7f91db296f532e95151a3120748401b1b16ad361785da2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntentUpdateFields: TooManyFields \u2014 52 stored fields. The bar is 30 stored fields; this is 22 over it, 1.73\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"1130f0c52b5da71563e0fe66881606ec8314d1f12b80b81829b1b09e311320d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analytics::refunds::core::get_metrics: FunctionTooLong \u2014 analytics::refunds::core::get_metrics runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa896853b0bcf0c3c188776c53e4b1a524c080fb48eb3e2952042ab756d1a19"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentService.try_from: MethodTooLong \u2014 try_from runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc7b6b6f29e93c16188d329ab54d886baf494aaaac28d6eef1615b00e9af02f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::create_generic_volatile_payment_method: FunctionTooLong \u2014 router::core::payment_methods::create_generic_volatile_payment_method runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3471}}}],"partialFingerprints":{"codehealthFindingId/v1":"b124f418a92ce5401b1eb3d4fdcf17028e2cc388db257856650f9df5e1eb49d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::retry::do_gsm_actions: FunctionTooLong \u2014 router::core::payments::retry::do_gsm_actions runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"968d7452fe9972d30b3def8cae578302bf70fcc87f88db6acfe985241e97465d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::create_recipient_disburse_account: FunctionTooLong \u2014 router::core::payouts::create_recipient_disburse_account runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2824}}}],"partialFingerprints":{"codehealthFindingId/v1":"32137ef1f3e171f74d6d21799f40b407e1354e123a7be539d49e8c97fe5a494c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::handle_existing_user_invitation: FunctionTooLong \u2014 router::core::user::handle_existing_user_invitation runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"crates/router/src/core/user.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"102a7e7309bbb3721a36ed6ab90ffd603d90f686ac7216fab6a2ab3a474c59f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::outgoing::insert_event_and_spawn_webhook_delivery: FunctionTooLong \u2014 router::core::webhooks::outgoing::insert_event_and_spawn_webhook_delivery runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ff52d38402e531f626a3d365366ed7d1088fb27243235efb78eeaf4d48dead"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Rapyd: ClassTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 15 blocks, lines 63-1070. The bar is 400 significant lines; this is 290 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/rapyd.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a4eafa76d499e0603bfdcdc234e5ca4cce494d495ceaa89cd5d680c1e21e01"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RequiredField: ClassTooLong \u2014 690 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 2 blocks, lines 131-997. The bar is 400 significant lines; this is 290 over it, 1.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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebbc0d3ab0c7444b72f7a8efd4ae6b7e0373ec12483b3e0883401ff4cd5af19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/payment_link.rs: FileTooLong \u2014 862 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 362 over it, 1.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f98e43167f6c5b8cc621ca868397c8ad938cff99d35c316bb7fb9c1347d1f70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/peachpayments.rs: FileTooLong \u2014 860 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Peachpayments (16 blocks, 60-1156). The bar is 500 significant lines; this is 360 over it, 1.72\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":"crates/hyperswitch_connectors/src/connectors/peachpayments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2ec41c7bbbe0d5e12efcf1b396cdd4decfa718099db347e5619b954fb83a58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::authentication::call_ucs_post_authenticate_proxy: FunctionTooLong \u2014 router::core::authentication::call_ucs_post_authenticate_proxy runs 172 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"crates/router/src/core/authentication.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"56984816315cabb599ee07747dc3bb5da81c5607c81900ed370f3f1bf4e859a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::services::email::types::html::get_html_body: FunctionTooLong \u2014 router::services::email::types::html::get_html_body runs 172 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\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":"crates/router/src/services/email/types.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e67460de0b4d6982284dbe4f3f890485e79a866984c5d0b226b9f3988107d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: zift/transformers.rs: FileTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 358 over it, 1.72\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/zift/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab36e8f6da7d09761a9c6e4f30fb5b6758139ff0e1b2a47979d1d5d542c6ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentApprove.get_trackers: MethodTooLong \u2014 get_trackers runs 171 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12d4275ac2ecc0e91b969cf9d4e6fd59606832dfb41dde45530bacc5532063a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_payment_router_data_for_update_post_confirm: FunctionTooLong \u2014 router::core::payments::transformers::construct_payment_router_data_for_update_post_confirm runs 171 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":8799}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1dc8c6fdf1dcdae8602fb1dd0786fabc2e2d7b8facae7f39f7f0b33b4ea66d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KVRouterStore.insert_payment_attempt: MethodTooLong \u2014 insert_payment_attempt runs 171 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 71 over it, 1.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0eb2899819d1e9494efce3927926d748fbef34ac4ebe21d8929ac6f97372a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: zsl/transformers.rs: FileTooLong \u2014 854 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 354 over it, 1.71\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":"crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a5e04b551c70ca02a5d5e553d9544eb97f498a75f1ab4a10b706eb0c6edffe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaPaymentAttempt: TooManyFields \u2014 51 stored fields beside 1 method. The bar is 30 stored fields; this is 21 over it, 1.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"39df50dcf653432d67473f0f6513ca4047274a5b89eb78a682e9945f16d49720"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaPaymentAttemptEvent: TooManyFields \u2014 51 stored fields beside 1 method. The bar is 30 stored fields; this is 21 over it, 1.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payment_attempt_event.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffa7fe8e79532b06a0276274cf7ffacb321673a2dbe3a977b7dd291e8d9f566"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: frontend/dir.rs: FileTooLong \u2014 850 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 350 over it, 1.70\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":"crates/euclid/src/frontend/dir.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd4e0e4b3c31ed4e94f7188b0341d68afcce04fcf93b166acc13af28d29f0ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/redsys.rs: FileTooLong \u2014 850 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Redsys (17 blocks, 65-1112). The bar is 500 significant lines; this is 350 over it, 1.70\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":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d390566c06197e921a735894b6f451748075bd62fd881c7075f2a707f4f750e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::cards::filter_payment_methods: FunctionTooLong \u2014 router::core::payment_methods::cards::filter_payment_methods runs 170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6065}}}],"partialFingerprints":{"codehealthFindingId/v1":"61882ae0ef1e8951e72cb410069fce40f89af01edbc4522a67bca9714279ba9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentCancelPostCapture.get_trackers: MethodTooLong \u2014 get_trackers runs 170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"crates/router/src/core/payments/operations/payment_cancel_post_capture.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9916c07440b53b08a6c519ec59f9b7ee40004195a9f371b496753f90bf4e07f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user_role::update_user_role: FunctionTooLong \u2014 router::core::user_role::update_user_role runs 170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8486e101f7ee84c983f8e9cc295c686e024a16d925b96b0386306b5519d8b9e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileCreate: TooManyFields \u2014 51 stored fields. The bar is 30 stored fields; this is 21 over it, 1.70\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/admin.rs"},"region":{"startLine":2456}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb072ab43e7455fa9e6c8d899ace09feec2938d2c02500828e743e3eb4f8558d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/archipel.rs: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Archipel (18 blocks, 59-1146). The bar is 500 significant lines; this is 349 over it, 1.70\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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbe0d32e909abe1067a2384ff5e3348fd35d73cc6190876c4468548e74303f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webhooks/outgoing_v2.rs: FileTooLong \u2014 848 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 348 over it, 1.70\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":"crates/router/src/core/webhooks/outgoing_v2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c57d72e84bdb0aa0f53beea1b9c9c5f70758c609427ff8a1ad2b68d670ce5c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Dwolla: ClassTooLong \u2014 677 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 61-1026. The bar is 400 significant lines; this is 277 over it, 1.69\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":"crates/hyperswitch_connectors/src/connectors/dwolla.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75864fd10aa08d2cbed72799dea5b773ff3cdbdbde99991c457c834b48b306d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_payment_router_data_for_sdk_session: FunctionTooLong \u2014 router::core::payments::transformers::construct_payment_router_data_for_sdk_session runs 169 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"e029ecb2306f8222e00c8a59402e938edc850c410f275d4d5d4b8013ffd1ee00"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::fulfill_payout: FunctionTooLong \u2014 router::core::payouts::fulfill_payout runs 169 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":3197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5590d758e7a2fea4eb8d6bed7ec9635a668034ff4478e726c481022e181e1c3d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConnectorEnum: ClassTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 10 blocks, lines 76-1246. The bar is 400 significant lines; this is 274 over it, 1.69\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":"crates/hyperswitch_interfaces/src/connector_integration_interface.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e4f63d34f4f2b88c334a8f6f27d5852c513ac850f08ae1fa14aa18424d0db1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentReject.get_trackers: MethodTooLong \u2014 get_trackers runs 168 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"crates/router/src/core/payments/operations/payment_reject.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98b01d7849c4a87951db4d112b46078dca279851a7f52d5a3eb1552984a43a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user_role::list_users_in_lineage: FunctionTooLong \u2014 router::core::user_role::list_users_in_lineage runs 168 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"a921fe44665fcfefbd7b68afd88dbacb60e3fdd6dd63376475f86c0322557245"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/retry.rs: FileTooLong \u2014 838 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 338 over it, 1.68\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":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b212f6053e426d7fb6ea307d9d7e97bf15db12779120ab9dbee9f4472da9300"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WellsfargoZeroMandateRequest.try_from: MethodTooLong \u2014 try_from runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b84c5405c086adeb0a7c66dce739c380e36846417d7ec45eda634f7a9bc3df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::perform_contract_based_routing: FunctionTooLong \u2014 router::core::payments::routing::perform_contract_based_routing runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":4258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9245007eaa309405ad8603693661c8d78a3a0c0b850e2d0f28bc23772c135509"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/xendit.rs: FileTooLong \u2014 834 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Xendit (16 blocks, 65-1128). The bar is 500 significant lines; this is 334 over it, 1.67\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":"crates/hyperswitch_connectors/src/connectors/xendit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46222d4c0bae3517362ad4e0418ba33649557da63852f380b994a20bc3321b64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/nordea.rs: FileTooLong \u2014 832 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Nordea (17 blocks, 77-1178). The bar is 500 significant lines; this is 332 over it, 1.66\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":"crates/hyperswitch_connectors/src/connectors/nordea.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a7840d634188b183817a37d81a034ac458ba9d862ad2f0bb91672e7fcf41f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/gigadat.rs: FileTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Gigadat (18 blocks, 68-1118). The bar is 500 significant lines; this is 331 over it, 1.66\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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4b23dda59b48491dca4377ab509e34095492a38780cf97805a64d695a94450"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bamboraapac/transformers.rs: FileTooLong \u2014 830 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 330 over it, 1.66\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f4661c5e812730f0a797a6897154570acac7150dc1013db13e31bc1ea7911f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NovalnetPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 166 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2572562b582aa4617bd38ed965304e573ed4b8e62c94fd62a8170e7d4123620"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::fraud_check::should_call_frm: FunctionTooLong \u2014 router::core::fraud_check::should_call_frm runs 166 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf272ab88f82f0fa50c21939f2ec520d44af17151a99a598bdd8c4ae4b2ecfd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/mollie.rs: FileTooLong \u2014 829 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: Mollie (17 blocks, 54-1106). The bar is 500 significant lines; this is 329 over it, 1.66\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":"crates/hyperswitch_connectors/src/connectors/mollie.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b7c1bcdb20ea625e91d13df534e153fc19d8da0ed2fd3ed0e368e6fe7808bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/payment_methods.rs: FileTooLong \u2014 827 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 327 over it, 1.65\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":"crates/hyperswitch_domain_models/src/payment_methods.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b74e14ee6b9726335bc7a30615b1ab18acbe235f06891f3d3dbd03b625c211"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Stripebilling: ClassTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 25 blocks, lines 58-1020. The bar is 400 significant lines; this is 261 over it, 1.65\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":"crates/hyperswitch_connectors/src/connectors/stripebilling.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f256c63724aeee33729169485eebdec4c18778a182b761083e6f550da1f8916"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FiuuPaymentRequest.try_from: MethodTooLong \u2014 try_from runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26ff273932a2d00e164d24ea35540f71c866c446604c960bb8a2afaca166e32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RequiredFields.new: MethodTooLong \u2014 new runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d019fc6a86c5a66e92259979c6a982d3e6a27d0387accb021f45b4fd386890"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment_methods::helpers::validate_payment_method_type_against_payment_method: FunctionTooLong \u2014 payment_methods::helpers::validate_payment_method_type_against_payment_method runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"crates/payment_methods/src/helpers.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49cbc56befc8cdb606f173c7a022406562005caa1e5876cfe88ff0131dd2b5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::call_connector_service: FunctionTooLong \u2014 router::core::payments::call_connector_service runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"crates/router/src/core/payments.rs"},"region":{"startLine":6421}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e2af7655de2933a0c1c80789f52465469a2b14bac6c4cf8d8d15366a964649"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentUpdateIntent.get_trackers: MethodTooLong \u2014 get_trackers runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"crates/router/src/core/payments/operations/payment_update_intent.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eba17236d4fcfb1b898cf95f400f1bfd4ba889a283fa3bc859a3a2dc295bacf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::utils::construct_refund_router_data: FunctionTooLong \u2014 router::core::utils::construct_refund_router_data runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"crates/router/src/core/utils.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d0dfcba564ea85e432ffbdd684923dae1d0d6d664f02f398080c0ccb993bb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/deutschebank.rs: FileTooLong \u2014 824 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Deutschebank (17 blocks, 64-1100). The bar is 500 significant lines; this is 324 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/deutschebank.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af94042598c80aad3a2886aa167c8ea93fe193906177b8eacab3b2e2d46dc732"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/connector_integration_interface.rs: FileTooLong \u2014 824 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: ConnectorEnum (10 blocks, 76-1246). The bar is 500 significant lines; this is 324 over it, 1.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":"crates/hyperswitch_interfaces/src/connector_integration_interface.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee9af9feed55c5452bc43327a6d7044f442c4e836dca080d0543bd57b54ff38"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/truelayer.rs: FileTooLong \u2014 823 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 89% of them inside a single declaration: Truelayer (19 blocks, 62-1101). The bar is 500 significant lines; this is 323 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/truelayer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e1f991c798f41dcec24cd1d5fbbbd8ea07854445fe3e5fd4ca83154acc9c9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: noon/transformers.rs: FileTooLong \u2014 822 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 322 over it, 1.64\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":"crates/hyperswitch_connectors/src/connectors/noon/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da29187fa1c3355ff1a7cef53216b5325e87f6cfa50fc303ae665e2e05ca5059"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Fiuu: ClassTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 175-1202. The bar is 400 significant lines; this is 256 over it, 1.64\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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83d3597e30ad190ec5a1b91775f2d42a16ce7dd1f9c0b205666afd3f08b0e7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/rapyd.rs: FileTooLong \u2014 820 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 84% of them inside a single declaration: Rapyd (15 blocks, 63-1070). The bar is 500 significant lines; this is 320 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":"crates/hyperswitch_connectors/src/connectors/rapyd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a80deda51963ea18625ba105d43492060f008a42525554b790a2bd2b87a0a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthEventFilterRow.from_row: MethodTooLong \u2014 from_row runs 164 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"851ebb50d662a7d6e26872e977bbde27faf66db2665278ba2ae90171c88f962c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Connector.is_separate_authentication_supported: MethodTooLong \u2014 is_separate_authentication_supported runs 164 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/common_enums/src/connector_enums.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6586f18ea1708ac2d1aa41eb1c753582e784c8433bb9dfbad4bc1a62764a5f5d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Stax: ClassTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 15 blocks, lines 74-1045. The bar is 400 significant lines; this is 255 over it, 1.64\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":"crates/hyperswitch_connectors/src/connectors/stax.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1e8a2852bbb54bc836ab41c0cd265ac32821554d6149e5c63a7a78b9ea65d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/refund.rs: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 318 over it, 1.64\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":"crates/diesel_models/src/refund.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10da294b49f0a54e7aadc572478168654d8803df212dab836d31e40ae90fee80"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ThreedsecureioAuthenticationRequest: TooManyFields \u2014 49 stored fields. The bar is 30 stored fields; this is 19 over it, 1.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe95de79fd04dfab882562855e9a72d7e7b1663b46bdb1dc2f2915eca050dad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SubmitEvidenceRequestData: TooManyFields \u2014 49 stored fields. The bar is 30 stored fields; this is 19 over it, 1.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2259e75e82e8248fb26555e2cae64be936106a05d8701c3e5b8a3b15baeab57"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tesouro: ClassTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 52-1027. The bar is 400 significant lines; this is 253 over it, 1.63\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":"crates/hyperswitch_connectors/src/connectors/tesouro.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2208cc735e8d1555828f5e33c9508bfe096071b34cd49246d98c725ee9cbcaeb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CustomerId.redact_customer_details_and_generate_response: MethodTooLong \u2014 redact_customer_details_and_generate_response runs 163 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"crates/router/src/core/customers.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef51617b8ba875583900c13a42d53d4d1897929adfdc759e235b739126e49a05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentExtendAuthorization.get_trackers: MethodTooLong \u2014 get_trackers runs 163 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"crates/router/src/core/payments/operations/payments_extend_authorization.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e517157c6e1f7c2b50b8b6ca13d9f0bb3958384cb278da889dd2e1ce89f4bea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttempt.construct_new: MethodTooLong \u2014 construct_new runs 163 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d2e5bb12a557d8919f9dadbc4212de68a660902c9a0818f2e90fe89feb8236"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Currency.iso_4217: MethodTooLong \u2014 iso_4217 runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aed2d3853cb30eb21e7bb7b4138970a8575600504b924a8ee22d7d310b7fef0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Currency.is_zero_decimal_currency: MethodTooLong \u2014 is_zero_decimal_currency runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3d006d52766254da16b3d1623230f30b3b901292c6dfaaa7ecb581a015ae95"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Currency.is_four_decimal_currency: MethodTooLong \u2014 is_four_decimal_currency runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f3ed39e3de38ee7050dffeb3cb09ad132a3a227a1d5daa1b848f97ebd547cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: currency_conversion::types::currency_match: FunctionTooLong \u2014 currency_conversion::types::currency_match runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"crates/currency_conversion/src/types.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b1b308f42bfb60502f5a6cd11db50fd3da9ce0a7740127305fbef37ead29cd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Currency.into_dir_value: MethodTooLong \u2014 into_dir_value runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"crates/kgraph_utils/src/transformers.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"5850b47b70d29b2526df6914adea528c8c38aba8c157e845a906025a5f6c620e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentsSyncWorkflow.execute_workflow: MethodTooLong \u2014 execute_workflow runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"crates/router/src/workflows/payment_sync.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d06a12bae3dc5bdc4da56da97d1a3ff32564e978c2756abf91404f1265962dd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterStore.get_filtered_payment_intents_attempt: MethodTooLong \u2014 get_filtered_payment_intents_attempt runs 162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc033d75a6cff0b413a64f665bb3ebba2b29028cd068fd41b82b132554b2b952"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mollie/transformers.rs: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 307 over it, 1.61\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":"crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"199d37869ca83f297a6f5abe8cd316fe3aa5f9952277cf1ddde7651d988f3e34"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::revenue_recovery::resume_revenue_recovery_process_tracker: FunctionTooLong \u2014 router::core::revenue_recovery::resume_revenue_recovery_process_tracker runs 161 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb34ba12ebd07746c8a9cf68569e3de56e7b354d33a17372fb6cc820afdeaedc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::superposition_sdk_config::get_profile_superposition_sdk_config: FunctionTooLong \u2014 router::core::superposition_sdk_config::get_profile_superposition_sdk_config runs 161 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\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":"crates/router/src/core/superposition_sdk_config.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4bbf82e000cfe15cabe3f0370dc6fcd395e18765313bc75f6a3a4c5265b015"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transformers/api.rs: FileTooLong \u2014 804 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 304 over it, 1.61\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":"crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2643af6277543bf6f75c37960aa9e9aaceb91ce0358db90ab980001856c98b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Shift4: ClassTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 18 blocks, lines 61-1064. The bar is 400 significant lines; this is 243 over it, 1.61\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":"crates/hyperswitch_connectors/src/connectors/shift4.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee65cb34c999f9994f85c1415ba1629297db7cdc9861770134348bd72352be02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/superposition.rs: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 302 over it, 1.60\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":"crates/external_services/src/superposition.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b50d51b0c38f271251e96e9fa866746cd284bb4307df03994ffd93df32ef62"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Square: ClassTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 14 blocks, lines 79-1012. The bar is 400 significant lines; this is 241 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":"crates/hyperswitch_connectors/src/connectors/square.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7214c79af63191d9d3d0b914ca1649c6f4047f1c182cd0be911f839c8e71994e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentMethod: TooManyFields \u2014 48 stored fields beside 20 methods. The bar is 30 stored fields; this is 18 over it, 1.60\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"095628122aa6d78078be2e54298a371bd6b8ef89238037fbf9a8f374bfcfdce8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::validator::validate_create_request: FunctionTooLong \u2014 router::core::payouts::validator::validate_create_request runs 160 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"crates/router/src/core/payouts/validator.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"981dbd6a58e15017b8d92e580f49bbde62a44c52dba72249a60aa0f6c460e178"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Mollie: ClassTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 54-1106. The bar is 400 significant lines; this is 238 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":"crates/hyperswitch_connectors/src/connectors/mollie.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f49cfaca37421d712ae05c7b91a1c2ed80e9606758f1527b09784cf6bbf297"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Noon: ClassTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 18 blocks, lines 59-1066. The bar is 400 significant lines; this is 238 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":"crates/hyperswitch_connectors/src/connectors/noon.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e7b6d57cb553a69ee68036156dc1419af5023c696d46f99848e97c3d7dab75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payload/transformers.rs: FileTooLong \u2014 797 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 297 over it, 1.59\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":"crates/hyperswitch_connectors/src/connectors/payload/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4feee9000f74e6ea37ee0a367531862d16080c3db02df6cf194be023e644845f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/opensearch.rs: FileTooLong \u2014 796 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 296 over it, 1.59\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":"crates/analytics/src/opensearch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e98729ddf146b4b7f0a75aaae1cf643310972dfa38233cc9c75bb4f125f1f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Action: ClassTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 5 methods, 2 blocks, lines 511-1359. The bar is 400 significant lines; this is 236 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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f0a485cedf4b1e1eaeceae532db4d6514c8a8388178ffea351fb00f1a3b84e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Fiserv: ClassTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 15 blocks, lines 55-1049. The bar is 400 significant lines; this is 236 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":"crates/hyperswitch_connectors/src/connectors/fiserv.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f93711aaea3bd3c95b5aa513b2d28e424649021be4da48082da7a1568020de3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NoonPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 159 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":"crates/hyperswitch_connectors/src/connectors/noon/transformers.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e466cf3b0d72891ac170f6f3bb382ebf029cec71568780e79e72452df8e412f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::proxy_for_call_connector_service: FunctionTooLong \u2014 router::core::payments::proxy_for_call_connector_service runs 159 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":"crates/router/src/core/payments.rs"},"region":{"startLine":7952}}}],"partialFingerprints":{"codehealthFindingId/v1":"547dc25d3ab5b2996281258b45da7b758c671eebfbcdfbb0aa4f58f3485a0f4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::refunds_v2::validate_and_create_refund: FunctionTooLong \u2014 router::core::refunds_v2::validate_and_create_refund runs 159 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\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":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f709896f8b291e5fd83bf1667dbdab85da58ba6d28f5442231e4158bf78a8f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExternalVaultPayout: ClassTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 17 methods, 2 blocks, lines 70-853. The bar is 400 significant lines; this is 232 over it, 1.58\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":"crates/router/src/core/payouts/proxy.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd72f06603975db54f6b82a163d459ee21172ab356073b24d9ca0fedb110add5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BluesnapPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"648b001ec6fef4147325540a031d9008ce5ac7395191e09b723c47440ad8a467"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::payments_incoming_webhook_flow: FunctionTooLong \u2014 router::core::webhooks::incoming::payments_incoming_webhook_flow runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c56d5ad894256e0c8e38ca2e45fc6ffbeea77503a85972d84a5a7b23764628"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KafkaPaymentAttempt.from_storage: MethodTooLong \u2014 from_storage runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8e5ee8b4a40cf6982c773c503f325c6715a1c7c1c77343b997814b05aac11c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KafkaPaymentAttemptEvent.from_storage: MethodTooLong \u2014 from_storage runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\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":"crates/router/src/services/kafka/payment_attempt_event.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"282b7a642e83a2330cd7035d58a436f4c409b69ad38a1d7c1df5beb2544b8c9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/noon.rs: FileTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: Noon (18 blocks, 59-1066). The bar is 500 significant lines; this is 289 over it, 1.58\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":"crates/hyperswitch_connectors/src/connectors/noon.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08356d1ead1c44da63bac61f061a23ae7ba85e393f02db3b0d4dcd6ed38de37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mca.rs: FileTooLong \u2014 788 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 288 over it, 1.58\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":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69b07cda0d7b25a2bde3a848c4e57b7eb902e0b129c8ebfea8ab40404f80f85"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Silverflow: ClassTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 54-993. The bar is 400 significant lines; this is 229 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/silverflow.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0425f7b9d4168ec9d13472ec12db4b05a54dccecb855cf929c5c9fb19b048e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analytics::search::search_results: FunctionTooLong \u2014 analytics::search::search_results runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"crates/analytics/src/search.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fae721c0ea62c7870120925bcfeff3e3499cb1d3af62d59180d5a1eee85b61b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Currency.is_three_decimal_currency: MethodTooLong \u2014 is_three_decimal_currency runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"e332d34578812ab53065e409bafa7ab4fa7a1413d011addff3d29ce6fc9cd922"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SantanderPixAutomaticoCobrRequest.try_from: MethodTooLong \u2014 try_from runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bee6b7f8d87684d59bc8c95c2fce23d4181753c3fc1e8b005a6aba9e634452"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_payment_router_data_for_capture: FunctionTooLong \u2014 router::core::payments::transformers::construct_payment_router_data_for_capture runs 157 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc3c0baeb16404ca34bc9e801d3ad2cdf228e69efb2ebbfb6a84404711dc53b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentIntentConfirm: ClassTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 7 blocks, lines 40-878. The bar is 400 significant lines; this is 227 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6b2b7143d381ef14f4dfcb9a745d721f84b589105901f8a6313dae8210fd3d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntentUpdateInternal: TooManyFields \u2014 47 stored fields beside 1 method. The bar is 30 stored fields; this is 17 over it, 1.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b0ef9c50e9e123b79974ec3280b8e230a8b22321116cd1fbf53a0468150f0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/shift4.rs: FileTooLong \u2014 783 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Shift4 (18 blocks, 61-1064). The bar is 500 significant lines; this is 283 over it, 1.57\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":"crates/hyperswitch_connectors/src/connectors/shift4.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ee279f84492fb4f309a28c0b6423656a589616c20720062e1728ab93b7ca03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webhooks/gateway.rs: FileTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 282 over it, 1.56\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":"crates/router/src/core/webhooks/gateway.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"240ac29d06bc7501de808dcac666aab1be24389de3fd639aecac0f1f119aecbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: celero/transformers.rs: FileTooLong \u2014 781 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 281 over it, 1.56\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":"crates/hyperswitch_connectors/src/connectors/celero/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74fa35e58f715a22007dd77f7767b32023883159979decabe114fc62a8cb2d23"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analytics::search::msearch_results: FunctionTooLong \u2014 analytics::search::msearch_results runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"crates/analytics/src/search.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"673a70d95967e6fbcd0be67608322ac375338ac49d5feab4d5270602b7d7be71"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentService.try_from: MethodTooLong \u2014 try_from runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26db2048b41a6f8cf03ca9bcd366a981b7a6d6845876ff9e276a8ee4a19a851"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::call_connector_service_prerequisites: FunctionTooLong \u2014 router::core::payments::call_connector_service_prerequisites runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"crates/router/src/core/payments.rs"},"region":{"startLine":6835}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee5c03697b6ed672532db1f9165a4022a6d4ce3c8edb8d88cc8397abb47f983"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentConfirm.fetch_payment_method: MethodTooLong \u2014 fetch_payment_method runs 156 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe93f37551d9739f44600e666bd74d9bc4c7acc61df2c5bb7c3706903407cc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payment_intents/types.rs: FileTooLong \u2014 779 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 279 over it, 1.56\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":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51f84895bfcd41ff89c0f463324a2cc6ed9d641388905ed1c8faeb0085b7bdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payouts/payout_attempt.rs: FileTooLong \u2014 779 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 279 over it, 1.56\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":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7836ec2a8dc883cb6a85f2a6158ae6616bc74b5191a816e3ce987033e2766869"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Facilitapay: ClassTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 69-982. The bar is 400 significant lines; this is 222 over it, 1.56\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":"crates/hyperswitch_connectors/src/connectors/facilitapay.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"393b8d8b83d18f309b0bd96c762da912173ddcfe4832551ea3f19548a121dce0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Trustly: ClassTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 60-944. The bar is 400 significant lines; this is 220 over it, 1.55\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":"crates/hyperswitch_connectors/src/connectors/trustly.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"928bfd6617726ab85c34e1fc0a0e7407162bd8074ebb2681e656b70011767a0e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RefundUpdateInternal.from: MethodTooLong \u2014 from runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"crates/diesel_models/src/refund.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6236ffaa0df3f5d11f63fc57989fb0e85ca02253ab78bf892956410920898c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kgraph_utils::mca::get_dir_value_payment_method: FunctionTooLong \u2014 kgraph_utils::mca::get_dir_value_payment_method runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"863883f8a02ecb0db956a70a33125979530b0f2f467e9e2a673b80177a95bc13"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DomainPaymentMethodDataWrapper.try_from: MethodTooLong \u2014 try_from runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d3a0048e87846cdc9a2ce751f2ffd9bd217c4f5510df66e39cd46674decf36"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/fiserv.rs: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: Fiserv (15 blocks, 55-1049). The bar is 500 significant lines; this is 270 over it, 1.54\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":"crates/hyperswitch_connectors/src/connectors/fiserv.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5583a1f4de05603507f4e6eb07086dee471a12d743e34b237664d0453bc989"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/stax.rs: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Stax (15 blocks, 74-1045). The bar is 500 significant lines; this is 270 over it, 1.54\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":"crates/hyperswitch_connectors/src/connectors/stax.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb96d8622080758b82bdf74a6545383b7e3c8b1215aada7509a09052cf6527b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worldpay/transformers.rs: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 270 over it, 1.54\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":"crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eddf0182b4bf17e16a956e930fb5e3fec69cac855e9b35f7dd593b13805da58"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payment_methods/utils.rs: FileTooLong \u2014 770 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 270 over it, 1.54\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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"673126fac709cbed60945eb45a3e4fc949a6c204a7f5f115d132a9b8c7a401b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::authentication::utils::create_new_authentication: FunctionTooLong \u2014 router::core::authentication::utils::create_new_authentication runs 154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/authentication/utils.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6de03d90535edb52e9b277143517bca9ccee0a3b4d1b55bee80c8d1c005f90a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::create_routing_algorithm_under_profile: FunctionTooLong \u2014 router::core::routing::create_routing_algorithm_under_profile runs 154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb2aba7f36414af055f35459ef1a6d60139b969ce35b0389a1ae0d3945ba9eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::switch_merchant_for_user_in_org: FunctionTooLong \u2014 router::core::user::switch_merchant_for_user_in_org runs 154 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user.rs"},"region":{"startLine":3578}}}],"partialFingerprints":{"codehealthFindingId/v1":"578ec6c37b3c8f0879b4777ae2f26f1ac9be785f39b6cbd1b02ce23658c84388"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/tesouro.rs: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Tesouro (17 blocks, 52-1027). The bar is 500 significant lines; this is 268 over it, 1.54\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":"crates/hyperswitch_connectors/src/connectors/tesouro.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a26c0ca3acf1c8c2b3ff7fe4fd5cf9b5c5fe3102eb61bd91b9ce0a4b56cd668"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentMethodNew: TooManyFields \u2014 46 stored fields beside 4 methods. The bar is 30 stored fields; this is 16 over it, 1.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff130fdff9f1f3cc2dcb614018c580d5c85789c6e28011f666322be802df0985"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileResponse: TooManyFields \u2014 46 stored fields. The bar is 30 stored fields; this is 16 over it, 1.53\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/admin.rs"},"region":{"startLine":3066}}}],"partialFingerprints":{"codehealthFindingId/v1":"73adbb0ea470d8c2f8d50c1d83ec5ba9cd0662ccb95c80f0f82d51da1b8aa7e8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SantanderPaymentRequest.try_from: MethodTooLong \u2014 try_from runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4ad2a85b05799093375321b9e5702a6753cd56c7e9a652668af5dba5e5e76e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SantanderSetupMandateRequest.try_from: MethodTooLong \u2014 try_from runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":2823}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be035a8c28bfcadc409eacabe62efd22ea018b13dd8e58a0565fd29cd123ef0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileCreate.create_domain_model_from_request: MethodTooLong \u2014 create_domain_model_from_request runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/admin.rs"},"region":{"startLine":3814}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef13fd014bdf18795f6ea77b968b6bd884349e7457b39c57c9135568ea9aeaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/stripebilling.rs: FileTooLong \u2014 761 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Stripebilling (25 blocks, 58-1020). The bar is 500 significant lines; this is 261 over it, 1.52\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":"crates/hyperswitch_connectors/src/connectors/stripebilling.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28089e7f1b51d3ff984bee3b6850b823df73334867e6b49dfbd889e1a54caa5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/dwolla.rs: FileTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 89% of them inside a single declaration: Dwolla (17 blocks, 61-1026). The bar is 500 significant lines; this is 260 over it, 1.52\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":"crates/hyperswitch_connectors/src/connectors/dwolla.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0573d4cb5e64d0a1ed410e63ca19d2ffbe3322bc25311b3c2cffc251981c86f3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_link::get_payment_link_status: FunctionTooLong \u2014 router::core::payment_link::get_payment_link_status runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"127d46800871c515289dbb48024ded2aa8ca0209d52141b38ef77757669d1842"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIncrementalAuthorization.get_trackers: MethodTooLong \u2014 get_trackers runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"crates/router/src/core/payments/operations/payments_incremental_authorization.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac68c90dbaec9131b15854f069c0afa92ebd7936121f138e47f58b5549cae454"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentSessionUpdate.get_trackers: MethodTooLong \u2014 get_trackers runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"crates/router/src/core/payments/operations/tax_calculation.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6a51cdb79498df10808c71d8ee4c2034acbd824d1f5ad5b320a9ee9f603dd4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionRoutingStage.route: MethodTooLong \u2014 route runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f15e02a4ffda0ac36611473324deddc869c7f3bd9e9905c29a5a632c9c44ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/address.rs: FileTooLong \u2014 759 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 259 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/address.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7198523641fed2bd11e034978dbfd13b8300c8a7e3c9f9f78f1a79704fbef0b4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RevenueRecoveryAttempt: ClassTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 15 methods. The bar is 400 significant lines; this is 207 over it, 1.52\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":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"484e9ea9bf1deadf44cf7515ba6be5404a496aa373541ea18cecfef66d430299"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/square.rs: FileTooLong \u2014 756 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Square (14 blocks, 79-1012). The bar is 500 significant lines; this is 256 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":"crates/hyperswitch_connectors/src/connectors/square.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67092e223f8f8cf9f14974d8f330c76bd2fd278aae6772025dba569c338c1f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: datatrans/transformers.rs: FileTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 255 over it, 1.51\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":"crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64768bdd9cfc5c22f17bd2f3d8cf9f68d66728e7b3997946be8355c0af852ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WellsfargoPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd0a4f6213f44bafdaef861d80324ece899db0d8e3237aea0c5d9a92759ebb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::perform_elimination_routing: FunctionTooLong \u2014 router::core::payments::routing::perform_elimination_routing runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":4063}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11a29358ef20229648c084842f600c278c9d4aa603ae898823d513cbd85e811"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::helpers::update_payouts_and_payout_attempt: FunctionTooLong \u2014 router::core::payouts::helpers::update_payouts_and_payout_attempt runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99285485aa8f11605f0c142af13861c456b1f88c324b84bbbd97f9b98297ddf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payment_methods/migrate.rs: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 254 over it, 1.51\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":"crates/router/src/routes/payment_methods/migrate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db659dbd6eb7f5cd4b3c57097cdfe5d2c0f4b5b702ef8331b0ea3deb0e3beeb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user/dashboard_metadata.rs: FileTooLong \u2014 754 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 254 over it, 1.51\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":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e411994165ff903dd71c28af2bf0db2a1e3eec8095b800f7e6c6f5142b665871"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Loonio: ClassTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 58-936. The bar is 400 significant lines; this is 203 over it, 1.51\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":"crates/hyperswitch_connectors/src/connectors/loonio.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f7ca779ed34add175dbc053dacfc9bb1b0562ad53bae04ec7cc9f527f4f4c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Gocardless: ClassTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 58-950. The bar is 400 significant lines; this is 201 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":"crates/hyperswitch_connectors/src/connectors/gocardless.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62111e4de55cea8b1113016a23de21ac0a65bf9a114aa65085e881ba72f59cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: truelayer/transformers.rs: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 250 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/truelayer/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8052bb9f581e680a62e408913f70c0b7327cf10a9b7de4e8060e9d788e3f1d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::validate_platform_request_for_marketplace: FunctionTooLong \u2014 router::core::payments::helpers::validate_platform_request_for_marketplace runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9592}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00ee92fcba4497a903b9dbcc06341e4c3a19d24c9ad8ba08bc39a19012c10f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentCancelPostCaptureSync.get_trackers: MethodTooLong \u2014 get_trackers runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"983f49d135e92869c2082bba001f351d502f8228838d405e8eff16695eee6efa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentPostSessionTokens.get_trackers: MethodTooLong \u2014 get_trackers runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f711009bdb63a91dd746ae5b336b6e899b418fe0271a9fd41a10bff785970a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentUpdateMetadata.get_trackers: MethodTooLong \u2014 get_trackers runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"crates/router/src/core/payments/operations/payment_update_metadata.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05d4b3e04f6a1a28b3e6efcc5e7fc1f863bab37e7a2b5289761c627977e86f1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Profile.convert_back: MethodTooLong \u2014 convert_back runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a7103578afbc13a2043bad50d7068e4a521bec4d50d00bebb19e71bb05577f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterStore.get_filtered_payment_intents_attempt: MethodTooLong \u2014 get_filtered_payment_intents_attempt runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7cc054578d82fed71bd03ba1b1cb7fc5bc76c53d120b53afeb419173b733be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: blocklist/utils.rs: FileTooLong \u2014 749 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 249 over it, 1.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/blocklist/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b783ca66382ff26e96fe42a65a40affbe98a075f0eb2e807cbd5da1eb60ab7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FrmData.construct_router_data: MethodTooLong \u2014 construct_router_data runs 149 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/flows/sale_flow.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c42b0a9edfa7152d085d026a5e930d69e9674d6cf67097ebe576a9a76bc8ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::cards::prepare_bank_redirect_payment_method_update: FunctionTooLong \u2014 router::core::payment_methods::cards::prepare_bank_redirect_payment_method_update runs 149 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5229bec3bc4702f4557deb2fd417364d91f7261c99a67277cc6600d56a81de"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AdyenPaymentMethod: ClassTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 11 blocks, lines 799-6903. The bar is 400 significant lines; this is 195 over it, 1.49\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e7f756a7fd6757158a984515a2656548caaea940ac78147afb5a5f981ea743"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/merchant_connector_account.rs: FileTooLong \u2014 742 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 242 over it, 1.48\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":"crates/hyperswitch_domain_models/src/merchant_connector_account.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1c8d64aae0fe8eb0490d770672189719659e3c52441a42748c49bd26d3e66d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Helcim: ClassTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 18 blocks, lines 60-967. The bar is 400 significant lines; this is 192 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/helcim.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"45042f065914e55e3b607295a7b5f6b8fed4296fcc66f9d22bd8cd2218682fd3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Moneris: ClassTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 55-958. The bar is 400 significant lines; this is 192 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/moneris.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bbb56eb7398abea5422d8e1262084bed8d7d0869ba58787b720bd7cb341edc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntent.convert_back: MethodTooLong \u2014 convert_back runs 148 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2510}}}],"partialFingerprints":{"codehealthFindingId/v1":"4723ea34db846cf750e8fb3be7847fbe016b94e232928f7af9f9df8856f3428b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ApiErrorResponse: ClassTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 4 blocks, lines 30-786. The bar is 400 significant lines; this is 191 over it, 1.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":"crates/hyperswitch_domain_models/src/errors/api_error_response.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6eb30fad5a72689d90b27fe6b7d6ccdd592d48c9805dd99331e8dd90b4d1f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/transformers.rs: FileTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 236 over it, 1.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":"crates/kgraph_utils/src/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a9e78edc72dd14913848482c5216c57be160a7e28eb924a608c0fd8f929340"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProcessingInformation.try_from: MethodTooLong \u2014 try_from runs 147 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5201f98c6857a4f49b3488a02914f4933cc5f46b7ca8ec5f99903e950b1466"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::analytics::routes::get_search_results: FunctionTooLong \u2014 router::analytics::routes::get_search_results runs 147 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/analytics.rs"},"region":{"startLine":2660}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bda1a26ead42cd3c60fc27808e8a292230f5781de5f7ab53dcfd5cabdd003b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantAccountUpdate.get_update_merchant_object: MethodTooLong \u2014 get_update_merchant_object runs 147 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/admin.rs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d723269ad016afa35677f8f55bfdb6a96dbb11dc6933b6d595820b90dccf695"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::revenue_recovery::types::reopen_calculate_workflow_on_payment_failure: FunctionTooLong \u2014 router::core::revenue_recovery::types::reopen_calculate_workflow_on_payment_failure runs 147 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"46124e3055f6e83c027263d6b10fcc07ec9dc8e4e55cbde44fbde5df2979bd65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: xendit/transformers.rs: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 234 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c1ddb67c75fe61a6098e4b98c512e2fee7cf8006ecb9a41555f5f3437e9c57"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Blocklist: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 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":"crates/diesel_models/src/blocklist.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadb248334d192bd106446c080b57bf7b97cbbc02daa6b2b424f4aa676e8fb6d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PaymentIntent: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d0e320689a9faf3c06affaab43d1e07ab33e1019cf2d9a8d5f0cb9053e5933"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentMethod: TooManyFields \u2014 44 stored fields beside 11 methods. The bar is 30 stored fields; this is 14 over it, 1.47\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payment_methods.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"45927b13237b1ff7619061caf2d297118f92eac14579eba0fbed02ac75db4caa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CalidaSyncResponse: TooManyFields \u2014 44 stored fields. The bar is 30 stored fields; this is 14 over it, 1.47\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/calida/transformers.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfbc49b76e8fa153c70e57620a301abaec634d8a585f0180c57c88ae8fac9f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflows/payment_method_modular_backward_compat.rs: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: BackwardCompatWorkflowBuilder (10 blocks, 64-810). The bar is 500 significant lines; this is 233 over it, 1.47\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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e398f6914f869a7dbae378b5c84ce0d8bb651cd79824a6c0a1ff855d3a0ee1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Jpmorgan: ClassTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 55-928. 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":"crates/hyperswitch_connectors/src/connectors/jpmorgan.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c9022446c733b5e02d678ba40954b28d0d432378edda528f10c9e9926abfe0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Wise: ClassTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 63-908. 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":"crates/hyperswitch_connectors/src/connectors/wise.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0f8e5176b615edd62d955202165b480791337f43fee7806da487f513883218"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentService: ClassTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 11 blocks, lines 88-4192. 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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ef58af1cf0aca5457636d4e874ce1888d6e4da0449c591b7406a1dd158b334"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BarclaycardPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f8886a0742e7968d6438cd0d9d5546514d30d2fb8808e281e932aae757c2b4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SantanderPaymentRequest.try_from: MethodTooLong \u2014 try_from runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c10147821c44410dac91cdf67deb4eff57b95f05d3d8ca77e7b5fc737561c6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FrmData.construct_router_data: MethodTooLong \u2014 construct_router_data runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/fraud_check/flows/checkout_flow.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3d2180ec5947cefd3b0bd532d1866daf64db7475d0cb649a9feb5739dcf0c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodResolver.execute: MethodTooLong \u2014 execute runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3108}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e5adb2e305aa6ee8c4a930d8bcadec3dd70236018321f25f12b8604ac58582"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentConfirm.apply_three_ds_authentication_strategy: MethodTooLong \u2014 apply_three_ds_authentication_strategy runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef921c9066f225d552d97326f3b0f7ab5891894358bea62f503cdceb83db061"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/silverflow.rs: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Silverflow (15 blocks, 54-993). The bar is 500 significant lines; this is 228 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":"crates/hyperswitch_connectors/src/connectors/silverflow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a50a1e7d89e5f29073855e1a60dc0e16f5d71680f7093e30a5b90e1ae6aa7d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/authentication.rs: FileTooLong \u2014 728 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 228 over it, 1.46\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":"crates/hyperswitch_domain_models/src/authentication.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"788a3417debfc733c304d6de4c7c11596e3a8903c9e3a7be9b67c8acf0b6e6eb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConnectorAuthTypeAndMetadataValidation: ClassTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 2 blocks, lines 10-769. The bar is 400 significant lines; this is 182 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":"crates/router/src/core/connector_validation.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca08518cff853e4606b68c72dfa3df0e08de9bc120de9b7e9586a9931c8f45eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payment_link_initiate/payment_link.js: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 227 over it, 1.45\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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73425997b4c8c631c09544776ed9d6951ac71d4caf95f8c7af461cf6d8ad5fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DirKeyKind.get_value_set: MethodTooLong \u2014 get_value_set runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/euclid/src/frontend/dir.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b45b0b5eb2ebf891eaa9e3c89262e02a9cde352ea07e5c6a41ed0ab3aaa2114"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdyenPayoutCreateRequest.try_from: MethodTooLong \u2014 try_from runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":6285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88c0480fe7d73b7d6069db2a30c352ac1e5d9e92fcbe6017764230400dc1ab6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BankOfAmericaPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc64c23a341026cf890e49d1856ec00a83c0a1e105a66be212c4b3500df0893"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NetceteraAuthenticationRequest.try_from: MethodTooLong \u2014 try_from runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96cdbb091123afcac256ce87dd5ff6ea8148c481bee3dddd69a65e3901d7559"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccessTokenAuth.execute: MethodTooLong \u2014 execute runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/router/src/core/payments/gateway/access_token_gateway.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7075ea3ee9bc534dfb779b4dd3e3387fcb2e588bd9150bf097f4e6bc9ebc6b41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::perform_success_based_routing: FunctionTooLong \u2014 router::core::payments::routing::perform_success_based_routing runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3874}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff0111a229fa7728f235350a26578fd5a631395a1625824fb853afdb2f9472f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KafkaPaymentIntent.from_storage: MethodTooLong \u2014 from_storage runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/router/src/services/kafka/payment_intent.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc26bfa3326e67b6f7e5e72a440e052c81e003ecdd1aa3c1f4af8c966be1f1a8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KafkaPaymentIntentEvent.from_storage: MethodTooLong \u2014 from_storage runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"crates/router/src/services/kafka/payment_intent_event.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6647e6405d5564da0be01fc61c4635252532a3a6fe93a15a547bbf0cc5acbe4a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KVRouterStore: ClassTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 14 methods, 7 blocks, lines 40-861. The bar is 400 significant lines; this is 178 over it, 1.45\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":"crates/storage_impl/src/kv_router_store.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0b01e9fd89b49a85748545bb1d49381f6e5df2d2fb45bd56475aca48e934d5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Bambora: ClassTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 60-908. The bar is 400 significant lines; this is 176 over it, 1.44\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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"638ea00466fde4d928afe9b83d910b4db90651859cb45a974e0285d3dc028c83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileUpdate.get_update_profile_object: MethodTooLong \u2014 get_update_profile_object runs 144 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"crates/router/src/core/admin.rs"},"region":{"startLine":4474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbaa59252d63954a5a437ad349180cb9858669759c1f37bddfb014812fc5e60"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodUpdateHandler.update_payment_method_if_required: MethodTooLong \u2014 update_payment_method_if_required runs 144 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":8852}}}],"partialFingerprints":{"codehealthFindingId/v1":"4134d58803b1a07edf76a708eec652af917a329d21df7fb0a9cdfaa8fd97f54b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_external_vault_proxy_payment_router_data: FunctionTooLong \u2014 router::core::payments::transformers::construct_external_vault_proxy_payment_router_data runs 144 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d590f027ffaa62dd4f5478938c5b997ab3dc536ca401ad0a6e8df028df1676a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentsAuthorizeData.try_from: MethodTooLong \u2014 try_from runs 144 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5575}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef33872d89c2861b4bb05ba74c7a8b1e7e8f6fd4b44a0fd2f445ed102af9d69"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/router_response_types.rs: FileTooLong \u2014 719 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 219 over it, 1.44\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":"crates/hyperswitch_domain_models/src/router_response_types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b2312edd8c486f557a659277dc0d30db5dfe38c5efc709fda2a667a1eebebd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Refund: TooManyFields \u2014 43 stored fields beside 18 methods. The bar is 30 stored fields; this is 13 over it, 1.43\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/refund.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5255c9499d24dd54341a2c9e2feccc9176c16aaa1078c9022873387b915b770c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentMethodRecord: TooManyFields \u2014 43 stored fields beside 4 methods. The bar is 30 stored fields; this is 13 over it, 1.43\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":4231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5b4bb3bc786e84689e2713dc5cacca212424a5c97be82900a1793c63e35a36"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PayoutCreateResponse: TooManyFields \u2014 43 stored fields. The bar is 30 stored fields; this is 13 over it, 1.43\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payouts.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59830ff2a7fe576ba0b508e103cf8cd7119401b8daf6d86aca88b6e40814e1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CompleteAuthorizeData: TooManyFields \u2014 43 stored fields. The bar is 30 stored fields; this is 13 over it, 1.43\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"932610537caac8c364e7d465aa15b1f61d30283b64f28be1b29f116080091f25"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CompleteAuthorize: ClassTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 4 blocks, lines 43-755. The bar is 400 significant lines; this is 173 over it, 1.43\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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73ef8971f2eab42aaa6f47c4158a8eed9990d3bbfd002ec56cda0fa61c1e998"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::analytics::routes::get_global_search_results: FunctionTooLong \u2014 router::analytics::routes::get_global_search_results runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/analytics.rs"},"region":{"startLine":2485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1b802f37016bed3baba78dc62ba58f5aa52947510cb5424a06dd8fc9c6d971"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::recovery_incoming::recovery_incoming_webhook_flow: FunctionTooLong \u2014 router::core::webhooks::recovery_incoming::recovery_incoming_webhook_flow runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2684a27ee5723ad4b41386805e1029834130d8f4e83f5f28b88ac55c4e20ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/query.rs: FileTooLong \u2014 714 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 214 over it, 1.43\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":"crates/analytics/src/query.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cf49b0a9c6d1f6b69df1b066a5d8f05c77eff2cafe88e9cf319b3bf06470a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/facilitapay.rs: FileTooLong \u2014 714 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Facilitapay (17 blocks, 69-982). The bar is 500 significant lines; this is 214 over it, 1.43\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":"crates/hyperswitch_connectors/src/connectors/facilitapay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cc8f627018441bdba98575ea8705a500c4c4eb16915f73ab6b095400faa0ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/connector.rs: FileTooLong \u2014 713 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 66% of them inside a single declaration: ConnectorConfig (2 blocks, 301-801). The bar is 500 significant lines; this is 213 over it, 1.43\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":"crates/connector_configs/src/connector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff81be752a58aa8bcdea3f690d600565192b206e74dd8b48560a9f8f664d404c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Getnet: ClassTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 55-897. The bar is 400 significant lines; this is 170 over it, 1.43\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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"99795613e4754bd97698be2f5949407cbf86cbf8b2e161a14fdfbfa03d02c450"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/trustly.rs: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Trustly (16 blocks, 60-944). The bar is 500 significant lines; this is 212 over it, 1.42\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":"crates/hyperswitch_connectors/src/connectors/trustly.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d46f223a3bcf7223d84f9970b484b44d845cc49727b421f241ae9de28b3be86"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StripeErrorCode: ClassTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 5 blocks, lines 9-882. The bar is 400 significant lines; this is 169 over it, 1.42\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":"crates/router/src/compatibility/stripe/errors.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c1bd4bc80c46f3ee7778b51307a782a86f170f13c75aa1a967b6823293693f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/moneris.rs: FileTooLong \u2014 711 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: Moneris (16 blocks, 55-958). The bar is 500 significant lines; this is 211 over it, 1.42\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":"crates/hyperswitch_connectors/src/connectors/moneris.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb50c1d0680f6b93c57dc452c5cb96e3f288064c2a4105b16a8bffea46468d53"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaysafePaymentHandleRequest.try_from: MethodTooLong \u2014 try_from runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b91202a42c338947d6f5fc15ba603104b9f2afa275b5fb0c5c86d64070c3863"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":3282}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25e59f16cf025040342043e54da921609f45ade4beac8a42fb43606126a635f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment_methods::core::migration::payment_methods::skip_locker_call_and_migrate_payment_method: FunctionTooLong \u2014 payment_methods::core::migration::payment_methods::skip_locker_call_and_migrate_payment_method runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"075c2d1e32b64c02b8b8d2ec3685df172e9f2c87d0834bb5c526ee8650ee9a98"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::disputes::submit_evidence: FunctionTooLong \u2014 router::core::disputes::submit_evidence runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/disputes.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c3d21475a54693290d27d82e07cb33f3ffa51bd1bd188831679b7f7edecccb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UserErrors.switch: MethodTooLong \u2014 switch runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/errors/user.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1608eada6c29708424ca9f9567b204f6a13d87b39ce62636ea5c9c4ded840d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::relay::process_unreferenced_refund: FunctionTooLong \u2014 router::core::relay::process_unreferenced_refund runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/relay.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d23ddf18789655e3ee7395f7b4ad5c305235f87630116cb88e07ee61d7b4c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payouts/proxy.rs: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 89% of them inside a single declaration: ExternalVaultPayout (2 blocks, 70-853). The bar is 500 significant lines; this is 209 over it, 1.42\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":"crates/router/src/core/payouts/proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7cb939819f4c80965c7122cc29f7ebc7844bceccdb218e35eb22ec402c2c40"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Worldline: ClassTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 14 blocks, lines 63-935. The bar is 400 significant lines; this is 167 over it, 1.42\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":"crates/hyperswitch_connectors/src/connectors/worldline.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37c78babd81cfce6731aac852d42534ad2fa2e792b7654f974e04a192b3ba4b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Billwerk: ClassTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 63-909. The bar is 400 significant lines; this is 166 over it, 1.42\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":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"537bf83fc89a0cb6c55754c6c2078a3045d1fe01eb41e23f591e9227f808d775"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Breadpay: ClassTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 63-868. The bar is 400 significant lines; this is 166 over it, 1.42\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":"crates/hyperswitch_connectors/src/connectors/breadpay.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae109f5e58b908ca1a07c6ab854f6ba0b6da047a71659f0a3a5d6969dd5c3c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/enums.rs: FileTooLong \u2014 707 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 207 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":"crates/euclid/src/enums.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c59c0afe7364971b0900b6de3b297fa5ff4f6ac53ef58c8cda0d452ecf2b73b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/vault_session.rs: FileTooLong \u2014 706 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). 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":"crates/router/src/core/payments/vault_session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac3512ff39b41b9f11bf32d72673504f48117e029224d613524fc1a4d846ab0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Itaubank: ClassTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 56-851. The bar is 400 significant lines; this is 164 over it, 1.41\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":"crates/hyperswitch_connectors/src/connectors/itaubank.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e93570a5bca9e75e1862cadba6700e97e8aa6499e53ee103f3634b80a70519"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/gocardless.rs: FileTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Gocardless (14 blocks, 58-950). 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":"crates/hyperswitch_connectors/src/connectors/gocardless.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbc6c1a14aee17217d9356356d887dfcfc26fb9662570639eeeadeea082bd9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_link::get_payment_link_config_based_on_priority: FunctionTooLong \u2014 router::core::payment_link::get_payment_link_config_based_on_priority runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba111754498ad36bd429620aa859b055ca60e7011207ac5413da0d7893c6f91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::create_payout: FunctionTooLong \u2014 router::core::payouts::create_payout runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27f7f5fcd770bfe11a0936a86864cef3a6de2350c2e08ac013a887bc682bab6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/api.rs: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 204 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":"crates/hyperswitch_interfaces/src/api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e382aa535f7f0197ac76330e3493690f06a1f79aea844b50395958281ccfd779"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/chargebee.rs: FileTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 203 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":"crates/hyperswitch_connectors/src/connectors/chargebee.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d32dae57e87ebad061852af4af405a2e03a7330ce88f3f069d06c2883db46b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/helcim.rs: FileTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 84% of them inside a single declaration: Helcim (18 blocks, 60-967). The bar is 500 significant lines; this is 203 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":"crates/hyperswitch_connectors/src/connectors/helcim.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae713811e09b3d802278397f08f25755fa0e095c9119025f86bd2c37f6f3572e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gocardless/transformers.rs: FileTooLong \u2014 702 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 202 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":"crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56639e774c2b2a5ec1a5d7c5e8a46f275ec48552d08474a068fe0732c4cddda"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BackwardCompatWorkflowBuilder: ClassTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 18 methods, 10 blocks, lines 64-810. The bar is 400 significant lines; this is 161 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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"56279d9558b57ea4daf1c3ec1a692fbf75e9de6c45f67d377b21fa05589eec9a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Datatrans: ClassTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 75-918. The bar is 400 significant lines; this is 161 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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5078582c90da863a7aff6b9c7a0ce1f344d1c5cc74d21b41aa407b319f5271e3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Affirm: ClassTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 58-866. The bar is 400 significant lines; this is 160 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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"270b79ad55465c6eee629fdbed205dbc4fc417beac151265e253d3f8945e7b89"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Santander.get_url: MethodTooLong \u2014 get_url runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":1334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b51aae042b45521c9e3169492615848f5e6b469ae247f04ce7c71565fba307"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::decide_unified_connector_service_call_for_external_vault_proxy_v1: FunctionTooLong \u2014 router::core::payments::decide_unified_connector_service_call_for_external_vault_proxy_v1 runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments.rs"},"region":{"startLine":3807}}}],"partialFingerprints":{"codehealthFindingId/v1":"293c6d7336c768e9ee534c6a6eb20a8805678242363343c102bad54a1b1cbfcd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Action.execute_payment_task_response_handler: MethodTooLong \u2014 execute_payment_task_response_handler runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4cb717889c1f27dddd3e4bd575a6cba3491d730b28e514cafef2eec35b1d36"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::network_tokenization_incoming::handle_metadata_update: FunctionTooLong \u2014 router::core::webhooks::network_tokenization_incoming::handle_metadata_update runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/webhooks/network_tokenization_incoming.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a807ed00f0ebf9822a46d5a999261187eef5884c1fe8a64c3bfed104189e4ae9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Routing.server: MethodTooLong \u2014 server runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/routes/app.rs"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6373523d8263170976838cbd6f4d9d63ade39a6783e7b72adc05df2aa10854"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttempt.convert_back: MethodTooLong \u2014 convert_back runs 140 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2137}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fbf1a15c126a52428bc380b9cff170cec5a84d8e92065a14eeceaf0a4330b7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentsRequest: TooManyFields \u2014 42 stored fields. The bar is 30 stored fields; this is 12 over it, 1.40\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":8688}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2520f4f7c168dfdfd42717d9465886a6dc7894c90900b0060406bfb80e7c33"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentIntentUpdateFields: TooManyFields \u2014 42 stored fields. The bar is 30 stored fields; this is 12 over it, 1.40\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4605f5680bd3234bdc46d5dafd3403f37e22a989b4a57cba47c471bbdf18e7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ExternalVaultProxyPaymentsData: TooManyFields \u2014 42 stored fields. The bar is 30 stored fields; this is 12 over it, 1.40\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c69153a7c3264c8cf1235d8ffdba15c744597e78a58d43bb2fb7d035a619c5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/payment_method.rs: FileTooLong \u2014 699 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 33 free functions. The bar is 500 significant lines; this is 199 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":"crates/openapi/src/routes/payment_method.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cfb49ce9a945196def609a7e778d58a82ade39591102a69366a0783dda01ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/jpmorgan.rs: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 84% of them inside a single declaration: Jpmorgan (17 blocks, 55-928). The bar is 500 significant lines; this is 198 over it, 1.40\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":"crates/hyperswitch_connectors/src/connectors/jpmorgan.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c29c7e8886f8ffba851d81f836def44225b9e7f080ce7785f2b816ab82ebf7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user/dashboard_metadata.rs: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 198 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":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ca36d53afb30b5703ac3f4b046b6d4dd152d575d7bbef16776179830c89990"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/pm_auth.rs: FileTooLong \u2014 697 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 197 over it, 1.39\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":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"017b82c494c2222136b227495fed1e317b504d55063eddcb418d58d5591199b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FailureReasons.load_metrics: MethodTooLong \u2014 load_metrics runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3895bf2f419852d08685ff98a3c676498c13864f2cd3271ece90d68fa9695e47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_connectors::connectors::worldpayvantiv::transformers::get_refund_status: FunctionTooLong \u2014 hyperswitch_connectors::connectors::worldpayvantiv::transformers::get_refund_status runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":4560}}}],"partialFingerprints":{"codehealthFindingId/v1":"775d2ae4af568e347510637abbd0d497790837a9c75290b85a23d6ec9ef2fa22"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"38fc951172828475164941ff561205acc7920b0e4400476e8fb375118e553147"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntentUpdateInternal.from: MethodTooLong \u2014 from runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c9cfc3d076eab9b2f6d728170bbc8ad90c1fef74d3e32ac0024fca7219ec1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::utils::compile_pm_graph: FunctionTooLong \u2014 router::core::payment_methods::utils::compile_pm_graph runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f8f75c5d92e9db08042cb86c96bb38f973a7a037798210282ff8de80a7f66b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/worldline.rs: FileTooLong \u2014 694 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Worldline (14 blocks, 63-935). The bar is 500 significant lines; this is 194 over it, 1.39\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":"crates/hyperswitch_connectors/src/connectors/worldline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1c639662f26102908e537c60fe4135b37d93a5b06424276cdb1a8e4b45073e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Payjustnow: ClassTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 57-855. The bar is 400 significant lines; this is 155 over it, 1.39\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":"crates/hyperswitch_connectors/src/connectors/payjustnow.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6e1dae9c9d3d45c704ae94a863be3933f92564b869e7d22a73965551865a49"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/loonio.rs: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Loonio (16 blocks, 58-936). The bar is 500 significant lines; this is 193 over it, 1.39\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":"crates/hyperswitch_connectors/src/connectors/loonio.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f034aa374bd9f6fb66a3d7b098d9426df8514c1bf8c82d379840825c9ee4f395"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migration/payment_methods.rs: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 193 over it, 1.39\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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba81ff0563e4215e4b7fb2187c5ff008d5e8a0a1c40ac2eb6509ed58812908f3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Fiservemea: ClassTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 14 blocks, lines 57-883. The bar is 400 significant lines; this is 154 over it, 1.39\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":"crates/hyperswitch_connectors/src/connectors/fiservemea.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"830c10b5d12b89bd9b7f70f8affcc24c1666fbb354e87c3d09d56157095d7145"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Payu: ClassTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 58-917. The bar is 400 significant lines; this is 154 over it, 1.39\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":"crates/hyperswitch_connectors/src/connectors/payu.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c74cd8bcfe13553bd01eea1a5d54f586a0e14726046f499e1fbf6d9f7a7a84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/datatrans.rs: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: Datatrans (15 blocks, 75-918). The bar is 500 significant lines; this is 192 over it, 1.38\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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e39fbf69fda6e79b0c51dc3656d644352ec2da13a7e915be52877e43c7e8b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: status.renderStatusDetails: FunctionTooLong \u2014 renderStatusDetails runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"crates/router/src/core/payment_link/payment_link_status/status.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ce9b0a0e54e9922feb34c3c9ed1a2405ec93954cf1eda62eb8ee0836d1cf11"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::create_or_update_address_for_payment_by_request: FunctionTooLong \u2014 router::core::payments::helpers::create_or_update_address_for_payment_by_request runs 138 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2265799bc79b336cb73f1fbd9c52f0ef667520cfa1527b66d4c7327a2639575"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::helpers::update_window_for_elimination_routing: FunctionTooLong \u2014 router::core::routing::helpers::update_window_for_elimination_routing runs 138 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aeb817409adb1032b3a4efa93cc30f04233e0544d3b430b00439d9e5117ad1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user_role::role::list_roles_with_info: FunctionTooLong \u2014 router::core::user_role::role::list_roles_with_info runs 138 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af516dc7f364a1bd9f2a507e48839be7c37c0286d86d678f5c178334c32336b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/business_profile.rs: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 188 over it, 1.38\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":"crates/diesel_models/src/business_profile.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4feb81026286b870d777d0599522ff58ec67daf47aefc0885929ac95033983"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/request_id.rs: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 186 over it, 1.37\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":"crates/router_env/src/request_id.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0ff542d8fc1215b5b487ee1fbe4344f09a727532e8913a8025927a261d064b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/nexinets.rs: FileTooLong \u2014 685 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 76% of them inside a single declaration: Nexinets (14 blocks, 77-926). The bar is 500 significant lines; this is 185 over it, 1.37\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":"crates/hyperswitch_connectors/src/connectors/nexinets.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"705e695bfe9d5f4c5c5f53590c3ffdd6ee6dd7c54757065e8cdcf196a1a193e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::revenue_recovery::insert_execute_pcr_task_to_pt: FunctionTooLong \u2014 router::core::revenue_recovery::insert_execute_pcr_task_to_pt runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"90184fde780a1061893864c5a7a5395c635fb0677a10d5b4b346308a6198152e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::helpers::disable_dynamic_routing_algorithm: FunctionTooLong \u2014 router::core::routing::helpers::disable_dynamic_routing_algorithm runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"77bdec6d58cd82413312a83eecc7727ecb33d5b605ce4b9f59cc3598f9439b9c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodType.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 137 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":5193}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e40cd61a212784695f9f875310ebeb0a3427b3fdcf3e1cc22674c0e5360fd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/hierarchical_resources.rs: FileTooLong \u2014 684 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 184 over it, 1.37\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":"crates/router/src/core/hierarchical_resources.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4ec22284d443c53fa684cf4b07a01afe436f1db1917278d5007a8c09fe1177"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MockDb: TooManyFields \u2014 41 stored fields beside 11 methods. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/mock_db.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"186a56daa7b6f49f6979770573d91cd446578004ffdcb23754c79e6acd8c1ca5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileCreate: TooManyFields \u2014 41 stored fields. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/admin.rs"},"region":{"startLine":2670}}}],"partialFingerprints":{"codehealthFindingId/v1":"0314e7c8cc6a393807e96127f263f8606975d5bbf27db0d0c69d7f128443b55a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileUpdate: TooManyFields \u2014 41 stored fields. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/admin.rs"},"region":{"startLine":3468}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbda90bfece57bac94dbfe0b3959586809b72432e315aa3051b86bcc884dbb2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentLinkDetails: TooManyFields \u2014 41 stored fields. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":13835}}}],"partialFingerprints":{"codehealthFindingId/v1":"69507c7a75b8366a9a2c27e5a29702ec1458c3322a1b9132896ad323fb079ce8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ProfileGeneralUpdate: TooManyFields \u2014 41 stored fields. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9047852b0153f3eb1e6e934cccfe5a43c52368bae4490cb8e29934b457188942"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/wise.rs: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Wise (16 blocks, 63-908). The bar is 500 significant lines; this is 183 over it, 1.37\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":"crates/hyperswitch_connectors/src/connectors/wise.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c98a5b00269c453c92039ed108f472ca8fa92565b54e446dccd2c15fed3d8a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Trustpayments: ClassTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 51-858. The bar is 400 significant lines; this is 144 over it, 1.36\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":"crates/hyperswitch_connectors/src/connectors/trustpayments.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0352e2530b2752ecb4e8e354884b578789cbb46721fb692ef55db9bb7d7e1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: email/types.rs: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 180 over it, 1.36\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":"crates/router/src/services/email/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62909a1291cb39bd9f98f162af496931f7a83f9eed8c4f0417bf2536bae6fa58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::operations::payment_confirm::apply_selected_offer: FunctionTooLong \u2014 router::core::payments::operations::payment_confirm::apply_selected_offer runs 136 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":3453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba7264033229085c283941f48404cbb3b6aae955a9d69027fd8d9574ed4ff55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::process_uas_incoming_webhook: FunctionTooLong \u2014 router::core::webhooks::incoming::process_uas_incoming_webhook runs 136 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":3976}}}],"partialFingerprints":{"codehealthFindingId/v1":"2355651ebd81954f0133750dd54cd1b1af6ac1bfa9a93540e0613377f6cc8282"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/billwerk.rs: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: Billwerk (15 blocks, 63-909). The bar is 500 significant lines; this is 179 over it, 1.36\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":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1910c2f84d9b1dd2c6e11bf00036d36eb73144fb86d89def954ea351f7dc62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/payu.rs: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Payu (16 blocks, 58-917). The bar is 500 significant lines; this is 178 over it, 1.36\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":"crates/hyperswitch_connectors/src/connectors/payu.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc08882473fc18c6984f320e469e72705a5429f07694e9f04d38195eac9b48c9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ZslPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc76593406edd631e24393d12cbb0b17b27aed83be2e9699a52bfcc28f81b19a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::retrieve_linked_routing_config: FunctionTooLong \u2014 router::core::routing::retrieve_linked_routing_config runs 135 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/routing.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba82ecf02489bf09a3d5b74e2f6eda2ca3815d6f965974a8693ed1775b27892"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/zen.rs: FileTooLong \u2014 674 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 72% of them inside a single declaration: Zen (16 blocks, 71-902). The bar is 500 significant lines; this is 174 over it, 1.35\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":"crates/hyperswitch_connectors/src/connectors/zen.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab3f127543ccbc8308de0d2fabfc841fbc829c9e39ae180d93055baed2f0a65"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/bambora.rs: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Bambora (17 blocks, 60-908). The bar is 500 significant lines; this is 172 over it, 1.34\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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb68a4290ce0d5f8b52bfb170f7597065b663f511a091c535fde326b747dfa4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: finix/transformers.rs: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 172 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":"crates/hyperswitch_connectors/src/connectors/finix/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"747cb5f100d9173c78d6ec74d71e665cb433d10cb60b2de5c9b6f698da007459"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: configs/secrets_transformers.rs: FileTooLong \u2014 671 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 171 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":"crates/router/src/configs/secrets_transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea0980e494452a84103b7a253acf0fd2d133aced8baa0ba33161ba47f948107"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StripePaymentMethodType.try_from: MethodTooLong \u2014 try_from runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"8585c6fddb241a58e3eb65ff652ada21736803c44291bf0049fcd57cde65f2f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::blocklist::batch::initiate_batch_blocklist_upload: FunctionTooLong \u2014 router::core::blocklist::batch::initiate_batch_blocklist_upload runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/blocklist/batch.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43863109adff47f7e40ed87f1dffa19933f6e1c893a1cb3e21bd0b1fd94f167"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::unified_authentication_service::authentication_authenticate_core: FunctionTooLong \u2014 router::core::unified_authentication_service::authentication_authenticate_core runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c2ac923d5de08bc780e32e1b2e638dbf6dd42daf9284477e6068f7358184d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user_role::list_invitations_for_user: FunctionTooLong \u2014 router::core::user_role::list_invitations_for_user runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/user_role.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa38eec71d7ff952d20e7d3e8d6cc4a4b13fe16e199540b5a9b2c9052c9c34f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantConnectorResponse.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/types/transformers.rs"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa31dcec74a2cd57649b945fcbe1ef19cc34bce729ad196153eb434b5456731"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentRecurrence: ClassTooLong \u2014 534 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 4 blocks, lines 41-717. The bar is 400 significant lines; this is 134 over it, 1.34\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":"crates/router/src/core/payments/operations/payment_recurrence.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ee5bfbdd8643d9c894a00c43b8e95dce3d17d8e4c0a557417058d03af36ced"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/getnet.rs: FileTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Getnet (15 blocks, 55-897). The bar is 500 significant lines; this is 167 over it, 1.33\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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08990adae6eaae5becbceb5edde49e9445e10b7303e188eb10ffcbb2187d0a54"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CardInfo: TooManyFields \u2014 40 stored fields beside 3 methods. The bar is 30 stored fields; this is 10 over it, 1.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/cards_info.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5d2bbef334c8d483f23b61c08f9c1d3fc616938470a983794fd4f169fe0250"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AuthenticationSyncResponse: TooManyFields \u2014 40 stored fields. The bar is 30 stored fields; this is 10 over it, 1.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/authentication.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c90f1eb546e3a442a9d019cc627f611566208c4c0fb6140e47b31a1f0dfd1f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Authipay: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 16 blocks, lines 52-860. The bar is 400 significant lines; this is 133 over it, 1.33\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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0327bdc2bd3a2398ad71230996626613aae18837bb12d82479f0c05132c6474"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Worldpaymodular: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 46-828. The bar is 400 significant lines; this is 133 over it, 1.33\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":"crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70ecf059367f3cbe4175cb30365b96df0ae5af0fbec0905afb661cf89e0af1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/payment_confirm_intent.rs: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 94% of them inside a single declaration: PaymentIntentConfirm (7 blocks, 40-878). The bar is 500 significant lines; this is 165 over it, 1.33\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":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb08f5f51de3adacc5a8732f5176632b9c7ac8736c557613ad868a7e6b123c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::disputes::transformers::get_evidence_request_data: FunctionTooLong \u2014 router::core::disputes::transformers::get_evidence_request_data runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/disputes/transformers.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"220b125d35bad08db8224224577c1f174e4beb00c8758ab79bbabf158be7948e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::check_payout_eligibility: FunctionTooLong \u2014 router::core::payouts::check_payout_eligibility runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts.rs"},"region":{"startLine":2128}}}],"partialFingerprints":{"codehealthFindingId/v1":"30643bed2889cda1fffc3fda3f28a3b11694a60c948c0ab9c441b991ceae9bee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::workflows::revenue_recovery::get_schedule_time_for_smart_retry: FunctionTooLong \u2014 router::workflows::revenue_recovery::get_schedule_time_for_smart_retry runs 133 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf11aceaf9917c2c8e310e9419c4dca14ca8ae5f35f43c1e2b20770fb5b0af9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UnifiedAuthenticationService: ClassTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 21 blocks, lines 53-791. The bar is 400 significant lines; this is 131 over it, 1.33\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":"crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b4d2cb22d84f56c3459adbe8afa4d43bbed94d76c01000b38ee8e393696f52"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/fiservemea.rs: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 84% of them inside a single declaration: Fiservemea (14 blocks, 57-883). The bar is 500 significant lines; this is 163 over it, 1.33\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":"crates/hyperswitch_connectors/src/connectors/fiservemea.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef352e864be8aa9633253f2cfefe15b3f0edd6c7181cad77db41adce62a4003"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/iatapay.rs: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 79% of them inside a single declaration: Iatapay (15 blocks, 58-898). The bar is 500 significant lines; this is 163 over it, 1.33\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":"crates/hyperswitch_connectors/src/connectors/iatapay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acffc0530ae453348012274c4c33f8913613cc858728160cac9613fe7fa200d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SantanderPixQRPaymentRequest.try_from: MethodTooLong \u2014 try_from runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"5744fab1729b3ff836b90930361f69313018a2c5209768915a62a79dde437c25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_connectors::connectors::worldpayvantiv::transformers::get_vantiv_card_data: FunctionTooLong \u2014 hyperswitch_connectors::connectors::worldpayvantiv::transformers::get_vantiv_card_data runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":4705}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb54ee49974622f96ce6ca3c2a04c6116cbc2d54cfc96bd7a1bc559da15bb9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FranceStatesAbbreviation.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":3765}}}],"partialFingerprints":{"codehealthFindingId/v1":"968497414241326c5b56166c2be364c1c852f56b2217514e93fe9b0fd7322809"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntent.convert_back: MethodTooLong \u2014 convert_back runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2903}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae136909293e1fcb9b178daf84f3aa5df9f8bd8d0de6ce933e6fa9c14c2ec03"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentResponse.update_tracker: MethodTooLong \u2014 update_tracker runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9989a60415d5316d44c1e668c3e2a8046d4692495ebde856f19cec74fdf985d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::pm_auth::create_link_token: FunctionTooLong \u2014 router::core::pm_auth::create_link_token runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1cd3b4589536f9c7f99ee6f54d772f7a20914134232d0992ac1d480f7ef76a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::relay::utils::construct_relay_payments_retrieve_router_data: FunctionTooLong \u2014 router::core::relay::utils::construct_relay_payments_retrieve_router_data runs 132 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fe96f377c7fcdfb667b62607b307fc85f7537238b807eb662c88dba9a1a2b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/connector_validation.rs: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: ConnectorAuthTypeAndMetadataValidation (2 blocks, 10-769). The bar is 500 significant lines; this is 158 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":"crates/router/src/core/connector_validation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7598b25f3d30c9ea74a2ab7811fba181a15f0cd84f18ff5a6d1e3e48e21039"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BankOfAmericaPaymentsRequest: ClassTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 11 blocks, lines 84-2532. The bar is 400 significant lines; this is 126 over it, 1.32\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6be6db4321432e811c005502c1b2834df1182e8b3516879d84c86d243f9cea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/hipay.rs: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: Hipay (14 blocks, 84-860). The bar is 500 significant lines; this is 157 over it, 1.31\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":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5fe6736567d3204b035732e7681deee6a052185556911e03edbe33186da25d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/kv_router_store.rs: FileTooLong \u2014 657 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: KVRouterStore (7 blocks, 40-861). The bar is 500 significant lines; this is 157 over it, 1.31\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":"crates/storage_impl/src/kv_router_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61babad0253860acf11025c0d85e8aab93b0ef7f16e4b794c7224a6fc485f5d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Iatapay: ClassTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 58-898. The bar is 400 significant lines; this is 125 over it, 1.31\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":"crates/hyperswitch_connectors/src/connectors/iatapay.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"598be08e10addbd893d09cf9ebab176bd8454d298e32f01b138ba34d62e57343"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Hipay: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 84-860. The bar is 400 significant lines; this is 124 over it, 1.31\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":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e87a01ac6bd0436ec1eef38f2ec3617914248970a0968af81590bfde9484888"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodType.to_display_name: MethodTooLong \u2014 to_display_name runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":2886}}}],"partialFingerprints":{"codehealthFindingId/v1":"7194863157337d344e041bbc83a3abc9da9561413ff3b9fbaec0f18be869536a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kgraph_utils::mca::compile_request_pm_types: FunctionTooLong \u2014 kgraph_utils::mca::compile_request_pm_types runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c04dea648ee77d44a822a38eb4771839c17fe839cb90e1696ed840d5544a3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::execute_payment_method_create: FunctionTooLong \u2014 router::core::payment_methods::execute_payment_method_create runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9535f30d2a8c1abebfbf67c0b22771cd38021fe9c3c0fdebdac4f18de713e33b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::vault_session::get_or_create_vault_connector_customer: FunctionTooLong \u2014 router::core::payments::vault_session::get_or_create_vault_connector_customer runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"crates/router/src/core/payments/vault_session.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"5273dd336bf1091670eb2b7b402ad1906fc924dc3d07c22429db9055207f1ca3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::helpers::make_payout_method_data: FunctionTooLong \u2014 router::core::payouts::helpers::make_payout_method_data runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dcf4181f26a5ecd4d352c897d7be36330fe7fa1a5544d705ea9ed728e0b512"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::unified_authentication_service::authentication_create_core: FunctionTooLong \u2014 router::core::unified_authentication_service::authentication_create_core runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f58eb0622764e09e20ba1e26c13fdc50c48372305dbf286c2218af2a459bbd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming_v2::payments_incoming_webhook_flow: FunctionTooLong \u2014 router::core::webhooks::incoming_v2::payments_incoming_webhook_flow runs 131 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"crates/router/src/core/webhooks/incoming_v2.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"10880a4c083f0d6b3c45e26f5b01af8cc136e971bbc6cbdc6e9410487254beb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hipay/transformers.rs: FileTooLong \u2014 653 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 153 over it, 1.31\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":"crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88a180f7765b08ac9eaf2a8ef89995bab4acd52a78d20b38c08bfce9a6e6d18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/breadpay.rs: FileTooLong \u2014 652 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Breadpay (17 blocks, 63-868). The bar is 500 significant lines; this is 152 over it, 1.30\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":"crates/hyperswitch_connectors/src/connectors/breadpay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ed282bfda4f5d179a1ca026d80651220c7ea2112e528dfd31bcb0616213ded"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Nexinets: ClassTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 77-926. The bar is 400 significant lines; this is 121 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":"crates/hyperswitch_connectors/src/connectors/nexinets.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c383be3c6c58a6edd18a8cd9c2efed88969575e24c16ab23f93b9e0d1ad9f9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaAuthenticationEvent: TooManyFields \u2014 39 stored fields beside 1 method. The bar is 30 stored fields; this is 9 over it, 1.30\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/authentication_event.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbd343bafffa38ea9933e3de990f6f1ebe1635da9f9e1be3136e2549beea3ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentDistributionRow.from_row: MethodTooLong \u2014 from_row runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4af646e8b9db97d15da761f19fa036598dd1c43015f26f3b45dbf6e605fb1e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttempt.create_domain_model_using_record_request: MethodTooLong \u2014 create_domain_model_using_record_request runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d7121ffda97a02e196f22da3d922662eca92e8a63c75a9e63688019bc4f816"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: WorkflowRunner.trigger_workflow: MethodTooLong \u2014 trigger_workflow runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"crates/router/src/bin/scheduler.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0329480de9c47a736627208a7dbee7bd74d87959715d0ec916faef6044f51749"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::relay::utils::construct_relay_refund_router_data: FunctionTooLong \u2014 router::core::relay::utils::construct_relay_refund_router_data runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0564fbb2e6f8c3e4115cdff984f2bb974248eb2304dc5998c0a7ff865c2979d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::relay::utils::construct_relay_capture_router_data: FunctionTooLong \u2014 router::core::relay::utils::construct_relay_capture_router_data runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6a01fe09168651c0212654bda65184f46ecf8aee227cf1d007834818481678"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::unlink_routing_config: FunctionTooLong \u2014 router::core::routing::unlink_routing_config runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"crates/router/src/core/routing.rs"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"807786064f598bd6e09ffc012e5738e2d8c90718b1b34f62d5cc5024faa8b128"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::routes::payments::payments_cancel: FunctionTooLong \u2014 router::routes::payments::payments_cancel runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a81f8dd7112fd9f4b59585e620bd3b330315560843f3f21d4ab642e3472fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethod.foreign_from: MethodTooLong \u2014 foreign_from runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"6608b24089d9064f28efb8c34078862e39154b7b565201e4f66c5adb0a2dae75"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CardInfoUpdateRequest: TooManyFields \u2014 39 stored fields. The bar is 30 stored fields; this is 9 over it, 1.30\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/cards_info.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7b6a657dd1756a31c224585ba068d5591dd145a83bac08979231845af00bf8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ApiModelMetaData: TooManyFields \u2014 39 stored fields. The bar is 30 stored fields; this is 9 over it, 1.30\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/connector_configs/src/common_config.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b225f71dc3585b8e6feb0dfff16bf3f0c9e6af0e65ea462e3a922695d1c69265"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Refund: TooManyFields \u2014 39 stored fields. The bar is 30 stored fields; this is 9 over it, 1.30\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/refund.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef25b0dea279fe7b396944aeb0ada02d5c018519791d596f353efae1137d7c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaypalPaymentsRequest: ClassTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 9 blocks, lines 729-1677. The bar is 400 significant lines; this is 119 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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee805d2da64f1c4ba08e4a1c079784dda5e03338685c1c28c775d8deb947faa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user_role/role.rs: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 148 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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"127a92907a319db2972995c60f903f596e90684bfb172628d2aeaa15eba427b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/authentication.rs: FileTooLong \u2014 648 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 148 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":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"348c9913b36571c36adc101ef5700fdd3f1e295f41ee491a7f2522f94455425f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/crypto.rs: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 146 over it, 1.29\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":"crates/common_utils/src/crypto.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8131bfdd9ff006a6a90ed7e0aa70c64aa3a7bc64ac5f67585455b212e72b1b28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/refunds.rs: FileTooLong \u2014 646 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 146 over it, 1.29\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":"crates/router/src/routes/refunds.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6074183fed3edb9c96512e4358092338e37c8692fd0693b8318745919b63540b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Razorpay: ClassTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 60-854. The bar is 400 significant lines; this is 116 over it, 1.29\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":"crates/hyperswitch_connectors/src/connectors/razorpay.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c03f93ce835cc21d5d01cd81546e747e77ee40c73fb8f78c385a583fa74614f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethod.from: MethodTooLong \u2014 from runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"crates/common_enums/src/transformers.rs"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d6017f2538672c88ebdb712b57a8cbdd8c2470506fea61ee103f3cd0f0a266"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdyenPaymentMethod.try_from: MethodTooLong \u2014 try_from runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5119bf3f001e6acda3088cb2003c6a76b0f554a2359def188de36fbbe00a08"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.try_from: MethodTooLong \u2014 try_from runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0289c161a4028f9f5e7e0d17ec3667fbca956bdd6dc510f584d3e003a9f9c86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::admin::create_connector: FunctionTooLong \u2014 router::core::admin::create_connector runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"975361a610d0b1de6420bbe1d4ff4803d3773a739f770cefd85f52a7d02a0e0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::handle_new_or_inactive_user_invitation: FunctionTooLong \u2014 router::core::user::handle_new_or_inactive_user_invitation runs 129 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\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":"crates/router/src/core/user.rs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26021479d99022bd8a7db61ac5bc7fc2fe18c6d0f2c35ebdfb6341a2027f13b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Volt: ClassTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 17 blocks, lines 64-832. The bar is 400 significant lines; this is 115 over it, 1.29\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":"crates/hyperswitch_connectors/src/connectors/volt.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c30ceb281df192c7c895b98a177899540631164da726c4f146e803adcd4d7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: relay/utils.rs: FileTooLong \u2014 643 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 143 over it, 1.29\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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70539915646daa2cc0f53238d0908907c30ce1cbfe2da99709773d58ae199e46"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/injector.rs: FileTooLong \u2014 642 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 142 over it, 1.28\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":"crates/injector/src/injector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b172caa6133f70e15e26856ee820f216bb95b18112e4aa1561c96514e8adbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/itaubank.rs: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: Itaubank (15 blocks, 56-851). The bar is 500 significant lines; this is 141 over it, 1.28\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":"crates/hyperswitch_connectors/src/connectors/itaubank.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3310baec8a600f4b0d03d054021b4acb24cf974ed8dce79d1f014875b660be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/trustpayments.rs: FileTooLong \u2014 641 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Trustpayments (15 blocks, 51-858). The bar is 500 significant lines; this is 141 over it, 1.28\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":"crates/hyperswitch_connectors/src/connectors/trustpayments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d7794d71aee00c5af5665b3233b4513090416ecc9150f31b2f1685bb948315"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/affirm.rs: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: Affirm (17 blocks, 58-866). The bar is 500 significant lines; this is 140 over it, 1.28\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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1118a326ca3193043bc9f88cbc1990f90c8381af006644e0d40099ab1cfc4064"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntent.create_domain_model_from_request: MethodTooLong \u2014 create_domain_model_from_request runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e062b4739cdc7f8ce3eb7e39b15132a484017ac570f05df0659e6e50fca8c63c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdditionalPaymentMethodConnectorResponse.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6098dc2b154dffb71723f19bb72001c491aaf3ae452e8d8c936f418495efc0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::authentication::perform_authentication_proxy: FunctionTooLong \u2014 router::core::authentication::perform_authentication_proxy runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"crates/router/src/core/authentication.rs"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"7829686d304a7bad4e31d396a1fb4eb1f76d76892df57d23d2eca3e66ed9c96b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::offer_engine::notify::execute_notification: FunctionTooLong \u2014 router::core::offer_engine::notify::execute_notification runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"crates/router/src/core/offer_engine/notify.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c67908085aefe478da4e8c91462c2bb5db59a8cd65259ef0cf06fef4ac5227"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::operations::payment_response::create_or_update_payment_method_from_payment_response: FunctionTooLong \u2014 router::core::payments::operations::payment_response::create_or_update_payment_method_from_payment_response runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":4000}}}],"partialFingerprints":{"codehealthFindingId/v1":"704d5fd6d1d611ff12d99abb99c4e0ebb7d958aed0e95a1d18c17cabf70fe5f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::cancel_payout: FunctionTooLong \u2014 router::core::payouts::cancel_payout runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e6ff27f378b8a30cf59c85e00ffeefe6762edea5fdf87380b6ce363f9c6062"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::revenue_recovery::upsert_calculate_pcr_task: FunctionTooLong \u2014 router::core::revenue_recovery::upsert_calculate_pcr_task runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"123faf6776cd94fbc5a1aa4ecb0f0abf4da29119a923b32f7c0fc4cb1aa1ead9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DirectIncomingWebhookGateway.execute: MethodTooLong \u2014 execute runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"crates/router/src/core/webhooks/gateway.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"22971e02674c400aa25a903a7a184e9d3fe905c9fbe2c43de05c99b8c5de4369"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::update_payment_method_mandate_status: FunctionTooLong \u2014 router::core::webhooks::incoming::update_payment_method_mandate_status runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":2515}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f63725bc0f426a2abd59761d22ecf16ed47262691462aab2103584003ec7071"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: errors/api_error_response.rs: FileTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: ApiErrorResponse (4 blocks, 30-786). The bar is 500 significant lines; this is 139 over it, 1.28\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":"crates/hyperswitch_domain_models/src/errors/api_error_response.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42859879ebac8b35231ccc5079ff76a2c6dde5a90a56fc13949907248b41768"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: webhooks/incoming_v2.rs: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 137 over it, 1.27\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":"crates/router/src/core/webhooks/incoming_v2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7438adeb8a948c1df84b9b1a707f9cf9864b72072056506a3e3ccbb7d6cf6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: configs/dimension_state.rs: FileTooLong \u2014 636 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 136 over it, 1.27\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":"crates/router/src/core/configs/dimension_state.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92963a2a18a642767996fa6db5ee5538c851a483ad006d6d5be5e5a0fa60eb6d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaysafePaymentHandleRequest.try_from: MethodTooLong \u2014 try_from runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9b46f4b93b80bdc590b52756331f1256150f733fda7859f454fb47fb58d194"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_connectors::connectors::worldpay::transformers::fetch_payment_instrument: FunctionTooLong \u2014 hyperswitch_connectors::connectors::worldpay::transformers::fetch_payment_instrument runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cd67ff6f8b15d23ae2f67864fb4c7f64d5466c346a13e73151011f73534632"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Authentication.convert_back: MethodTooLong \u2014 convert_back runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/hyperswitch_domain_models/src/authentication.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae02fa1a7c2c3945a8db561f8d4743c5593e6a50e3a0cbeaa69b68a7376e2f7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: kgraph_utils::mca::compile_request_pm_types: FunctionTooLong \u2014 kgraph_utils::mca::compile_request_pm_types runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e13e9be5a76eea6cc20d15a77d08e6d7f77238b8582f5c0494daaf94b3bdbdc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::authentication::perform_pre_authentication: FunctionTooLong \u2014 router::core::authentication::perform_pre_authentication runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/router/src/core/authentication.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"5236cfe20d8ac003fc6ac63d12da9d348cff563e52270dba4b3d12d8270887b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::render_pm_collect_link: FunctionTooLong \u2014 router::core::payment_methods::render_pm_collect_link runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92a512a8803c8dc3037f662db6811f762ae1c207447b8cd8f8a09ad8a95f328"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::proxy_for_call_connector_service: FunctionTooLong \u2014 router::core::payments::proxy_for_call_connector_service runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/router/src/core/payments.rs"},"region":{"startLine":8166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adc650e63ed4394c8df1acba007118af975ff457f8c4e57148760c421aa8570"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::resolve_offer_eligibility_details: FunctionTooLong \u2014 router::core::payments::resolve_offer_eligibility_details runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/router/src/core/payments.rs"},"region":{"startLine":16021}}}],"partialFingerprints":{"codehealthFindingId/v1":"a701e0af80a87982057e8170b6eaeaea33bcebda5818a1f0f5c80ea9a3da3c45"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentResponse.update_tracker: MethodTooLong \u2014 update_tracker runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":4394}}}],"partialFingerprints":{"codehealthFindingId/v1":"4097dd48413bd9d00b35cfd5ae7a11520150061b5e90ff9661aeb4f848613922"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_router_data_to_update_calculated_tax: FunctionTooLong \u2014 router::core::payments::transformers::construct_router_data_to_update_calculated_tax runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3d42eda0cbe2193248c798c923c40e911e3552bcf2dc392d258e608e5bfd50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::make_connector_decision: FunctionTooLong \u2014 router::core::payouts::make_connector_decision runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b5e78f98fc2f2d4f27667734e4243fc76ef0aeb9a5a1bb9ea61bfe48a1f2e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::validator::get_payout_method_data_generic: FunctionTooLong \u2014 router::core::payouts::validator::get_payout_method_data_generic runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/router/src/core/payouts/validator.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"629b7a1d716870a8f49d1d9888aa3b2584a7e8d724841a25d1b58b23d908dba5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::outgoing_v2::create_event_and_trigger_outgoing_webhook: FunctionTooLong \u2014 router::core::webhooks::outgoing_v2::create_event_and_trigger_outgoing_webhook runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/router/src/core/webhooks/outgoing_v2.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e73c862a1b7e09b0f7307b8386daec3cba110a1d2a3eaebd34f383d7875b06a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttempt.convert_back: MethodTooLong \u2014 convert_back runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"039e1f2149b4213a023dc57dbc4799e7036cd0d213d1f804e9ee5acee2a2c774"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transformers/payouts.rs: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 134 over it, 1.27\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":"crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"206bf90e64a0582a2b38030ea36a3cd1dfcf17e4c34524e41a23309401a0ae70"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/payjustnow.rs: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 88% of them inside a single declaration: Payjustnow (16 blocks, 57-855). The bar is 500 significant lines; this is 134 over it, 1.27\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":"crates/hyperswitch_connectors/src/connectors/payjustnow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ca3ef7d25659f5fb4e37632f533252ac5c8fb2d68079889451a658129d7ea7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: euclid_wasm: TooManyFunctions \u2014 38 free functions. The bar is 30 free functions; 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":"crates/euclid_wasm/src/lib.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a6b7cca15875c85fcf42dcfb4442f4f8f40126bdfb525aaf2490580da42605"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnifiedConnectorServiceClient: 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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edc3ec020792925e0647cee93fd7e59d48952d67478fa4bcd018c808ef744c9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CardInfoCreateRequest: TooManyFields \u2014 38 stored fields. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/cards_info.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e641fbdb4df43434593c719d17ac767552dede620d4351609e88c47be01709"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CardInfoMigrationResponse: TooManyFields \u2014 38 stored fields. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/cards_info.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b628ee7a273a69871e9d2c6d7bca4d3683e9f1e6ca81396e661efda36d9d674"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: UpdateCardInfo: TooManyFields \u2014 38 stored fields. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/cards_info.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d40a8e501c21290e5d093fb9f4339c61a0640c3bc4f4720558d830b1105d9e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CardNetworkTokenizeRecord: TooManyFields \u2014 38 stored fields. The bar is 30 stored fields; this is 8 over it, 1.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/bulk_tokenization.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7eef1e78f78ec64106e2222ed36e2024cf26e9f8e37f0da01bc73bb53c2bd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/payment_status.rs: FileTooLong \u2014 633 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 133 over it, 1.27\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":"crates/router/src/core/payments/operations/payment_status.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f7517d32cb2bf99ea40c1a8a104db4938e20b3d18478e2850ed42a81a664ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: bambora/transformers.rs: FileTooLong \u2014 632 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 132 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fc9b196cfbd8d0de1dfbe27320bea17f419324ff1c6f14b997e4eb7a6a1028"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: netcetera/netcetera_types.rs: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"941c985e8ba2f4d0828ae7f11bbbe5bd6776a63a78aaebb5d396c823d37810ef"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthEventFilters.set_filter_clause: MethodTooLong \u2014 set_filter_clause runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"crates/analytics/src/auth_events/types.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad250bccfbe9f4c1956b87f93b08ee5f423920f1703e6bafa8b17141999c465"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AttemptType.make_new_manual_retry_payment_attempt: MethodTooLong \u2014 make_new_manual_retry_payment_attempt runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5606}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fe7636662013ad71ae12b2b28c48a68540ba45c8cce749eb019ec69a120d1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::unified_authentication_service::create_new_authentication: FunctionTooLong \u2014 router::core::unified_authentication_service::create_new_authentication runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"730355bc9c3497382e61b6816912e719cba24c7cdafeeae9a3855b0dc8c8df75"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Store.insert_refund: MethodTooLong \u2014 insert_refund runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\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":"crates/router/src/db/refund.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f7a32951f3173ea98b6f20f6c74ed6f5734fcfe6ad4d02fa510c309a84cb1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/authipay.rs: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Authipay (16 blocks, 52-860). The bar is 500 significant lines; this is 129 over it, 1.26\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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ea4a6933d019934b06dd84edde57abc0fbbbd70c0fa15dc34fb11fa051e526"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: unified_authentication_service/utils.rs: FileTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 129 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_authentication_service/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b29fe2551ac52c7a2bdbc3ba341eac60e74b56d5e402e73760d07b69f56e7b0"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Celero: ClassTooLong \u2014 500 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 51-810. The bar is 400 significant lines; this is 100 over it, 1.25\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":"crates/hyperswitch_connectors/src/connectors/celero.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ed00a24a57b249abae30ffe710bedc51ee296cc14d2b966cf1145f1092c323"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMetricRow.from_row: MethodTooLong \u2014 from_row runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5d9db8b9d8670d2b94f07c1554f23efad5aca4b8411c3f4b1e466fbfc65a5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::retrieve_payment_method_data_with_permanent_token: FunctionTooLong \u2014 router::core::payments::helpers::retrieve_payment_method_data_with_permanent_token runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c691cc57bb51e29b566ab3be8e9f403b25900b0e4219743fcbf7df4d339b313"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::helpers::get_or_create_customer_details: FunctionTooLong \u2014 router::core::payouts::helpers::get_or_create_customer_details runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ca9e205e81e81bc1869c7699d8a11b22084b3dcbe79924a2898c215c68e5da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppState.with_storage: MethodTooLong \u2014 with_storage runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/routes/app.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae758d299c6442c0e89b59da2024b11deb63a782bcec0c144310c37880c7321c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterStore.get_filtered_payment_intents_attempt_for_platform: MethodTooLong \u2014 get_filtered_payment_intents_attempt_for_platform runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"4773d1c2c2ee3b3d069d4fdd4fc8657f91003175d822f35d5b434a4fa72eef65"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Amazonpay: ClassTooLong \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 5 methods, 14 blocks, lines 70-793. The bar is 400 significant lines; this is 98 over it, 1.25\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":"crates/hyperswitch_connectors/src/connectors/amazonpay.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a4f5da38202907cd9c2baa362088de96bb76bbf8e8cef251dce24240b3ebe7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentErrorMessage.load_distribution: MethodTooLong \u2014 load_distribution runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.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":"crates/analytics/src/payments/distribution/payment_error_message.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"befd6b27a0a2b8b01c34937bda78930374e1becbb9b7eccb53aaa965a4d5d0ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: external_services::grpc_client::unified_connector_service::build_grpc_headers_internal: FunctionTooLong \u2014 external_services::grpc_client::unified_connector_service::build_grpc_headers_internal runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":1794}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe876dcc799267946b6ed251c437363f597732fce5b399f61c141a123a15f1a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UnifiedAuthenticationServicePreAuthenticateRequest.try_from: MethodTooLong \u2014 try_from runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fff152b7bff933cf1c7bf1d4f62f8452d38319c5fa960f8ab23bb9333159e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SplitPaymentResponseData.generate_response: MethodTooLong \u2014 generate_response runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3451}}}],"partialFingerprints":{"codehealthFindingId/v1":"6240d5810aa052ee96ccb572e5aad48d94c7694075cde80a5e1b71df003aec29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::routes::payments::payments_create: FunctionTooLong \u2014 router::routes::payments::payments_create runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.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":"crates/router/src/routes/payments.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a02acf349d4632a1fa1cb758dc40a30b3686ae6c1336c974d3a48b30b55d0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethod.convert_back: MethodTooLong \u2014 convert_back runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.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":"crates/storage_impl/src/payment_method.rs"},"region":{"startLine":1642}}}],"partialFingerprints":{"codehealthFindingId/v1":"5842063c9df293c6050960276d96c6f8b7886830dae5f43ed761d0a3160011dc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Forte: ClassTooLong \u2014 495 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 59-815. The bar is 400 significant lines; this is 95 over it, 1.24\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":"crates/hyperswitch_connectors/src/connectors/forte.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1eb841cc3e1cf2d8f783347d17b128383814467aacc4701516bb03500843123"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UnitedKingdomStatesAbbreviation: ClassTooLong \u2014 495 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods. The bar is 400 significant lines; this is 95 over it, 1.24\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":7765}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd90fe9c12f390adb4b5f0f0353a616c8779ffbd307e6f0ae39b0351733e8ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: workflows/outgoing_webhook_retry.rs: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 117 over it, 1.23\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":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0114247070156372cacd7e93067ebac87078b6386a5bf839c88c54ae4b700c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MerchantAccount: TooManyFields \u2014 37 stored fields beside 10 methods. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/merchant_account.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"932fd3281643ffefba31f3685bffa6def7c4d42edf223f96c1900f02f842c754"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaRefund: TooManyFields \u2014 37 stored fields. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/refund.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e055b0e3eaf7bf2ea6d85aa5dc6633049418dbf2e83e118b414e71390f259c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaRefundEvent: TooManyFields \u2014 37 stored fields. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/refund_event.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adf41ab71dc4a9bc72172af0befa20b4c722a32c9cf40c481e9aed2daf520d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/worldpaymodular.rs: FileTooLong \u2014 616 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Worldpaymodular (14 blocks, 46-828). The bar is 500 significant lines; this is 116 over it, 1.23\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":"crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40cff30986f931d929a2531f282ca79c5d62c8ff90a149413cc18090a9d97c34"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Flexiti: ClassTooLong \u2014 492 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 16 blocks, lines 56-765. The bar is 400 significant lines; this is 92 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":"crates/hyperswitch_connectors/src/connectors/flexiti.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c126edb9773e241f0c14050187933ca311c07f9f10bfd88edf13f5a99367e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CnpOnlineRequest.try_from: MethodTooLong \u2014 try_from runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"300234c8e74c63818778a797096101bfb35271bc6fa81b6bcdcfe6924d0d24a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::relay::utils::construct_relay_void_router_data: FunctionTooLong \u2014 router::core::relay::utils::construct_relay_void_router_data runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0dce319ba419d346f6ed7211fa1d9008779737cd84a231fe3ebdd4b57321f9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Action.psync_response_handler: MethodTooLong \u2014 psync_response_handler runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5e4555f02d02f2971f383f9a814c2480251bca03d9f9c49c873fe263d22de2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::refunds_incoming_webhook_flow: FunctionTooLong \u2014 router::core::webhooks::incoming::refunds_incoming_webhook_flow runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5fe220809864dedbb619c269f842a635e72be5ec89eecea5fa43b687d8ffd3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Payments.server: MethodTooLong \u2014 server runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"crates/router/src/routes/app.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d02fd0c6edce065aea24afe5492e2e421002a6ac774d7292551b74521de1a5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: redis/cache.rs: FileTooLong \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 114 over it, 1.23\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":"crates/storage_impl/src/redis/cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6096e307e57a852df7fa4147790e905238f53efb1b51e4ea4d7ea550b4f24a8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Connector: ClassTooLong \u2014 490 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 20 methods, 2 blocks, lines 32-580. The bar is 400 significant lines; this is 90 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":"crates/common_enums/src/connector_enums.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"67224efd4c24fe47139d65b7042def6a2aae0f465c0b777e5d0f39cc7450ae22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: volt/transformers.rs: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/volt/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"715b0afd43671ffc242829e302ad998c9e5468d0b7e2e1ca8c75d5c375f15cfb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Dlocal: ClassTooLong \u2014 489 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 57-820. The bar is 400 significant lines; this is 89 over it, 1.22\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":"crates/hyperswitch_connectors/src/connectors/dlocal.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b22f9d5fdb56a3cee19a818ce9eb4f58f26646758b08bc9b0ad2dc0f1795171"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/nomupay.rs: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: Nomupay (11 blocks, 71-798). The bar is 500 significant lines; this is 111 over it, 1.22\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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b7b7385a7405caebb16cb433797d6aea86861c917a1517eb6915e4cb1e2c92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantConnectorCreate.create_domain_model_from_request: MethodTooLong \u2014 create_domain_model_from_request runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"3daa0f2f0f121a967179dc4c29eb30d255835d55ca3153d691a6591ea7ac9c2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::make_pm_data: FunctionTooLong \u2014 router::core::payments::helpers::make_pm_data runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3995}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0cf402c5ede09e8d28879a61c3f62da4217f1865136274302392bb81e10f0e5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentConfirm.create_payment_method: MethodTooLong \u2014 create_payment_method runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"861a3dff9cb0f48b9d50a55b2d35f781d4420ef18d58ae453a86cee2ac6dc3b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::perform_static_routing_v1: FunctionTooLong \u2014 router::core::payments::routing::perform_static_routing_v1 runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f0b7741453f52e40c8a52804bc40f9ab47851f0fb200e38de0c89249dc6ac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::contract_based_dynamic_routing_setup: FunctionTooLong \u2014 router::core::routing::contract_based_dynamic_routing_setup runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"crates/router/src/core/routing.rs"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b5f2c3541f3feefc144c165be8a21fca6db38685ccf5e99eb8c467b6799991"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RevenueRecoveryAttempt.record_payment_attempt: MethodTooLong \u2014 record_payment_attempt runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d40ce803a48201799564a645dc3c74bea6e03b2374c02bdffc787bdd93830e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/dlocal.rs: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: Dlocal (15 blocks, 57-820). The bar is 500 significant lines; this is 109 over it, 1.22\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":"crates/hyperswitch_connectors/src/connectors/dlocal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd871ab6a6e6e0be5aac7d22c29da34ba898821d92ee95f3619e2ed572ae48b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Zift: ClassTooLong \u2014 487 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 51-849. The bar is 400 significant lines; this is 87 over it, 1.22\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":"crates/hyperswitch_connectors/src/connectors/zift.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8369d9f8545177bc17ef64ad5bb55314ecfdcee196461034c2365ba89c8f3aa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: wise/transformers.rs: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/wise/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99ff77807d15541016242d22214eaf6da6f1c83c65c0838f628b8df1556ccc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/payment_complete_authorize.rs: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 94% of them inside a single declaration: CompleteAuthorize (4 blocks, 43-755). The bar is 500 significant lines; this is 108 over it, 1.22\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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b644f2563f66b4f0d4f7790f234fc978347273824877e2a7b90d76ac2a7cee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Zen: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 71-902. The bar is 400 significant lines; this is 86 over it, 1.22\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":"crates/hyperswitch_connectors/src/connectors/zen.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b377a167633398d00c9cd1603a55153f7db86c0ee1e75a761f112242daacac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Signifyd: ClassTooLong \u2014 484 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 13 blocks, lines 84-777. The bar is 400 significant lines; this is 84 over it, 1.21\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":"crates/hyperswitch_connectors/src/connectors/signifyd.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ac5079ecf0ac481845882193811f4317a80bfdc02391956366d66e878b41a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/volt.rs: FileTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Volt (17 blocks, 64-832). The bar is 500 significant lines; this is 105 over it, 1.21\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":"crates/hyperswitch_connectors/src/connectors/volt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d48a6fc8790ed275bb1947ea2a15bd3ded98c4ff897d82db4646d77ec2f764"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RefundErrorMessage.load_metrics: MethodTooLong \u2014 load_metrics runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25f7cf1a89317965894fe6941f06ae0139734fedb179df4555cd8c67f6bea9a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttemptRecordData.get_updated_feature_metadata: MethodTooLong \u2014 get_updated_feature_metadata runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e01275f3cd79f7d3714e3c120c1d38dabc4921d9eea812d319334ce89334b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_method_balance::payments_check_gift_card_balance_core: FunctionTooLong \u2014 router::core::payment_method_balance::payments_check_gift_card_balance_core runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_method_balance.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0909350c5f430fd995fa192f1215857dac632b4f70a245b99bdc5a95d2d5e24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::utils::construct_supported_connectors_for_update_mandate_node: FunctionTooLong \u2014 router::core::payment_methods::utils::construct_supported_connectors_for_update_mandate_node runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1a8f072c23c9407946000b044233cfef175e743e973771af4c11efe2429e6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::get_token_for_recurring_mandate: FunctionTooLong \u2014 router::core::payments::helpers::get_token_for_recurring_mandate runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e4ea18dce47320299b4c14eb90ed2a48f40060fe32a5f8561044713a16800a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::revenue_recovery::external_triggers::apply_recovery_request: FunctionTooLong \u2014 router::core::revenue_recovery::external_triggers::apply_recovery_request runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/revenue_recovery/external_triggers.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"009d11d27e10012f22a4c363d0d518c8bd0a754c0d732423a1297b16f70063e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::routing::routing_migration_status: FunctionTooLong \u2014 router::core::routing::routing_migration_status runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/routing.rs"},"region":{"startLine":3418}}}],"partialFingerprints":{"codehealthFindingId/v1":"464a176339008d251e0d27117196580a65cd7ad9bf7f5ab1a7bdb52fd39f995c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::accept_invite_from_email_token_only_flow: FunctionTooLong \u2014 router::core::user::accept_invite_from_email_token_only_flow runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/user.rs"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52dd36db30f3ff3ec9c0447ef3757d2e5e53c669a0483a2616bb7f558d238e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/forte.rs: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Forte (14 blocks, 59-815). The bar is 500 significant lines; this is 104 over it, 1.21\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":"crates/hyperswitch_connectors/src/connectors/forte.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d340a6e3f7e5401eff40a7d85e31984ef2353b14a2f3d4a447d5139d8768863f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: nexinets/transformers.rs: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5661b3fee08519c29c9def24087dcbbf9ac6891b84d51f33bf93f85220f0c958"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/payouts.rs: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 103 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payouts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"780e6f27eb4f73c9792c99a5428ad7c124e603c7c501ee8d89d70c728bed5dc4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FraudCheckPost: ClassTooLong \u2014 482 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 5 blocks, lines 45-648. The bar is 400 significant lines; this is 82 over it, 1.21\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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae865ea083602d32cf010a41fd8cd0fdec9c76672da7b78195f7c7505f65988c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/disputes.rs: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 102 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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e6daedf4a46bcc73d315e2242abc3f41efcb596580043e575ca4a7d5ba87a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/core.rs: FileTooLong \u2014 602 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 102 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":"crates/subscriptions/src/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9cdfc72ccf54c1c2358f44e1510f1793b3c3f1b4b3147995be704ac9854c6e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Bamboraapac: ClassTooLong \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 55-818. The bar is 400 significant lines; this is 81 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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8181fd31933c1b5bcdd6c3ffa117aa287a47acc619dacc76d9dc22d90faa7c8a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Calida: ClassTooLong \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 13 blocks, lines 55-759. The bar is 400 significant lines; this is 81 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":"crates/hyperswitch_connectors/src/connectors/calida.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ff74cc8ca3830a202e62ae9acecd5c5c2574312c233009f6aef1a4b14f86ee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MerchantAccount: TooManyFields \u2014 36 stored fields beside 9 methods. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/merchant_account.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42cecf825eec083c13a602bd9607e854ecd11c8529b67749d15cd5ebfed6488"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Inespay: ClassTooLong \u2014 480 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 55-772. 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":"crates/hyperswitch_connectors/src/connectors/inespay.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f056e6bc96d752db10702f50b36ebc0fc2903e588a920d0a111c0029df398c7a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Checkout.get_connector_error_type: MethodTooLong \u2014 get_connector_error_type runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f37475b96088d43a07e89098a950808b0f860afe75603b1f247acc44aa26ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantConnectorUpdate.create_domain_model_from_request: MethodTooLong \u2014 create_domain_model_from_request runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/admin.rs"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"288cc70607490f6fc2b58c734b85bd7f0b16bac6df0b7a11c83e51eb74faf6ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::payment_methods_session_update_payment_method: FunctionTooLong \u2014 router::core::payment_methods::payment_methods_session_update_payment_method runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":7950}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b64f7579799e2fc4ead1edee0771af1050380d170ab715cf0fc0a6aab8f021b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentExternalVaultProxyConfirm.create_payment_method: MethodTooLong \u2014 create_payment_method runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7dac0548ea27e3abff0a035955fe43d8e3cc4d24c896d090d2f0ac3d04c8da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentRecurrence.update_trackers: MethodTooLong \u2014 update_trackers runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/operations/payment_recurrence.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f44e08aaca92448a00ab0c3043d6b0625cea6c4480e6469161b50f56892f46f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterStore.filter_payouts_and_attempts: MethodTooLong \u2014 filter_payouts_and_attempts runs 120 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/storage_impl/src/payouts/payouts.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55d8731f8b1703f45d58a9d54b2db0e7f096a2faee8d9b9170e1def10a7c9c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentsIntentResponse: TooManyFields \u2014 36 stored fields. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5865dea3041bba17a265f42fb703b2d242dc8da69fa07318d6b95393c6d960"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentMethod: TooManyFields \u2014 36 stored fields. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4c6975391a6be8356a02795f4cbd4a4c8c9a6c42d71a0e0cba083828d01b9e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SantanderBoletoPaymentsResponse: TooManyFields \u2014 36 stored fields. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/santander/responses.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbca73d7dc2198217c712b2bf43e41246bcef2887d25264fd6863c65e435ffb8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MerchantAccountSetter: TooManyFields \u2014 36 stored fields. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/merchant_account.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c45d0d81d840bb3fb174750c6d24f40f4a9a0514baf07ecb415e677cce25ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: StripePaymentIntentResponse: TooManyFields \u2014 36 stored fields. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff60b8c760cedfed6de4e7bd6ae657fb77cc5bf28dbf950592f10228d2c9ae99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/authentication.rs: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 99 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":"crates/diesel_models/src/authentication.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cb7488f41c3cee0ee524ab6803562f4fd1e552cdd91135251642d357c179ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripe/errors.rs: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: StripeErrorCode (5 blocks, 9-882). The bar is 500 significant lines; this is 99 over it, 1.20\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":"crates/router/src/compatibility/stripe/errors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"070c1e11fad1a46860b93ca5c9a7b34c4e3c5d9e00531f3d9fc1a2cda9c769e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 99 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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd83ba2002185511c8e8cc676b0daac0941cbd655b7f2693c0cc008a4d2c8747"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/celero.rs: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 84% of them inside a single declaration: Celero (15 blocks, 51-810). The bar is 500 significant lines; this is 98 over it, 1.20\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":"crates/hyperswitch_connectors/src/connectors/celero.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83e0879663c0ce5c5e0e391acfb2f5722d5ec1193f61bdb3eb08ad6c3499533"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/razorpay.rs: FileTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Razorpay (16 blocks, 60-854). The bar is 500 significant lines; this is 98 over it, 1.20\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":"crates/hyperswitch_connectors/src/connectors/razorpay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25496e46f0aff9c188fa1e138a2c837c0e6d1d889f015907fd7c118c144bee2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/signifyd.rs: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: Signifyd (13 blocks, 84-777). The bar is 500 significant lines; this is 97 over it, 1.19\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":"crates/hyperswitch_connectors/src/connectors/signifyd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58119176872144a251d111efad891ebb7a9983acae14fbeb8559eb73351f7da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Paybox: ClassTooLong \u2014 476 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 57-786. The bar is 400 significant lines; this is 76 over it, 1.19\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":"crates/hyperswitch_connectors/src/connectors/paybox.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e903dab3576dd59de6a0ea03853d54474639b382136d294bf62e1a4fd699bee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MifinityPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"caac3cd7b5b54a25001c7189c84520b4f679fef7b48a43932a0a61f82c3634bc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SantanderBoletoPaymentRequest.try_from: MethodTooLong \u2014 try_from runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a5143ddf14f7bf859133fdfe3966ea96a29a5bf557db393b9e89c1ec2b944e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FrmData.construct_router_data: MethodTooLong \u2014 construct_router_data runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"crates/router/src/core/fraud_check/flows/transaction_flow.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be21730b172a0a72c72e68ff381ca00729efa6d831f311cf9c89671b3e514ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::calculate_mit_external_surcharge: FunctionTooLong \u2014 router::core::payments::calculate_mit_external_surcharge runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"crates/router/src/core/payments.rs"},"region":{"startLine":15733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed73ac303bfad1c263985c944ffa212d6f61574117afe10aa57757f1c078e3d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::utils::user_role::get_lineage_for_user_id_and_entity_for_accepting_invite: FunctionTooLong \u2014 router::utils::user_role::get_lineage_for_user_id_and_entity_for_accepting_invite runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\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":"crates/router/src/utils/user_role.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1bef0fa4cf5071789043514a46b5328ce35e5d47c59a961a2d6efd9bc6a348"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/superposition_proxy.rs: FileTooLong \u2014 594 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 94 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":"crates/router/src/core/superposition_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ceef001d1b45b322fc97150fbc41766b65ea0c7ae7fbffa26b244b98f45f8e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/unified_authentication_service.rs: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 90% of them inside a single declaration: UnifiedAuthenticationService (21 blocks, 53-791). The bar is 500 significant lines; this is 92 over it, 1.18\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":"crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d01c8c4c00bd370b1240a0e24483634766f8ce5fce4a7805de1b4e36aac059"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConnectorConfig: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 8 methods, 2 blocks, lines 301-801. The bar is 400 significant lines; this is 73 over it, 1.18\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":"crates/connector_configs/src/connector.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b2b874a3648396d0635ec83d1fdb40bcadd18740d73fa25fbfe2f83519058c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/bamboraapac.rs: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: Bamboraapac (14 blocks, 55-818). The bar is 500 significant lines; this is 91 over it, 1.18\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a63d160d1d94f2b30bedc0ff2b0dd1f7246d8b4a76615a51e6d37f7030791b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: jpmorgan/transformers.rs: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 91 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9797a11b9a5a9cd1bcfec44c5af368fc6292934828d6ee3178d61c9f47ac4482"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AirwallexPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"097dc538cebd06644947d681c9e2a235ba364af381285f344fd392b17596f0b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Cybersource.build_error_response: MethodTooLong \u2014 build_error_response runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff7dcae251175393d967f973c6e6aef0881ad02df3d8a5b809c8429365496b5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenericLocker.resolve_payment_method: MethodTooLong \u2014 resolve_payment_method runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d305a23c03572468c54a6996ac4bf15be154db49e7cb0f142df524fc1378b0f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::utils::extract_de_output_connectors: FunctionTooLong \u2014 router::core::payments::routing::utils::extract_de_output_connectors runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27e23416528d0a6593f2ebec498d9d4a29fe42dc821b2aa3505377b4c6b74d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::utils::convert_backend_input_to_routing_eval: FunctionTooLong \u2014 router::core::payments::routing::utils::convert_backend_input_to_routing_eval runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"387ecdc88b311b192dd8d71dfdc54fe57dba50e27b1d3f484e1ec9918aec25eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::tokenization::save_card_and_network_token_in_locker: FunctionTooLong \u2014 router::core::payments::tokenization::save_card_and_network_token_in_locker runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"df52cc89db82cc829e304cc79db88b92a5acd9c4f8c0e8d37850cdf0dbd01a79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PayoutVendorAccountDetails.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":10290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7b13178fd608f9b87a45e52c8d173ba3ecdb94ab0a05a04c61e2382ec8e0c4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: smithy::generate_struct_impl: FunctionTooLong \u2014 smithy::generate_struct_impl runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/smithy/src/lib.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf453f25a11ad9e9a25f603ca8a27bafed8d43e7baefe4ded737742df1370fe9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantConnectorAccountUpdateInternal.foreign_from: MethodTooLong \u2014 foreign_from runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"138dc254edcc063dca51bf055c88fe984421857d6127f6eeba620f2a1c12bee1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: NovalnetPaymentsRequest: ClassTooLong \u2014 471 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 3 blocks, lines 193-1935. The bar is 400 significant lines; this is 71 over it, 1.18\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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"05134f0d8f6632d69d8c0c32ce87e976e0092c120bf8e43070a9289c1877494c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/amazonpay.rs: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Amazonpay (14 blocks, 70-793). The bar is 500 significant lines; this is 88 over it, 1.18\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":"crates/hyperswitch_connectors/src/connectors/amazonpay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69a0835230d4a8faaf355b2cec27057742edac37349fa142f3ff2b306976fa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/paybox.rs: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: Paybox (15 blocks, 57-786). The bar is 500 significant lines; this is 88 over it, 1.18\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":"crates/hyperswitch_connectors/src/connectors/paybox.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf21df80659f078ad9d563297c759ca5b71eac8867d065791b6404e03b58951"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payment_methods/client.rs: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 88 over it, 1.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":"crates/router/src/core/payment_methods/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68600cf61f2fbb045fdca36574010984cda2eb9b3b33d2616b7ffd114652dcc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: worldline/transformers.rs: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 87 over it, 1.17\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":"crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0822daa6b8229c49c0fbee05129ddaf0d94e1a3daf96ccaaf872cd26bd2f7420"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tokenio: ClassTooLong \u2014 469 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods, 15 blocks, lines 53-791. The bar is 400 significant lines; this is 69 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":"crates/hyperswitch_connectors/src/connectors/tokenio.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a00c1b248c01f8f3aeae51fd73d27a2000872595c9d464c0ceb3736e7ec96ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/boku.rs: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 75% of them inside a single declaration: Boku (14 blocks, 59-805). The bar is 500 significant lines; this is 86 over it, 1.17\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":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8affabcb2c08449d33fd2c2bda702a529550bee6a6c044f9533b6ff87239074c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Envoy: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 54-728. The bar is 400 significant lines; this is 68 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":"crates/hyperswitch_connectors/src/connectors/envoy.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6e3d8f965df3e00c99bdd27d1220ea4e379a4ffff3bf63429eb73119a4616"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/zift.rs: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: Zift (16 blocks, 51-849). The bar is 500 significant lines; this is 85 over it, 1.17\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":"crates/hyperswitch_connectors/src/connectors/zift.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e659026d91ac34b09eadb86685faec17acd6ee7792ff125ebc4587903fd3d7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentsRequest: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 2 blocks, lines 600-1335. The bar is 400 significant lines; this is 68 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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d52bd1817d8a041f1d46fd3f3d74dc630e32a16adc51051e716c3938f47949"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Bluesnap.get_connector_error_type: MethodTooLong \u2014 get_connector_error_type runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de24ef03263772bcb4c632610f193b3dbbf366cd8a28c91ac7e33703bc370dc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CybersourceAuthEnrollmentRequest.try_from: MethodTooLong \u2014 try_from runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":3817}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe41da3827f2a978b9e30730d3454f963e09a3134c1dfa71ab72b743ebebccd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_connectors::connectors::nexixpay::transformers::get_validated_address_details_generic: FunctionTooLong \u2014 hyperswitch_connectors::connectors::nexixpay::transformers::get_validated_address_details_generic runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1a9a1eb82b6cdaea01d6549deeb1f415c4c386492bc79907203c55339913ab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89a6174e32dc4adeee3d05ac1fc5fc4950961fcc78ebb0bd5eb887e8971c524"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodCreateData.try_from: MethodTooLong \u2014 try_from runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/payment_methods/src/client/create.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9678235f72b60df835fe9b82777cd0ac82de94867d4911387526bf919bb3f461"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::payment_methods_session_confirm: FunctionTooLong \u2014 router::core::payment_methods::payment_methods_session_confirm runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":8215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0567711abd73781604eb6bffe3f4664806867de4241fdeb56103ce50a04028"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::operations::payment_response::update_pm_connector_mandate_details: FunctionTooLong \u2014 router::core::payments::operations::payment_response::update_pm_connector_mandate_details runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"113048a2148537de92fea9190d2d2dbcc80b4c039a7693822cf6b82004fc8fd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::switch_org_for_user: FunctionTooLong \u2014 router::core::user::switch_org_for_user runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user.rs"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"15da45f148e277da18556df096086359947dfd32e3883d17c55df2ae8c0280f0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RefundNew: TooManyFields \u2014 35 stored fields beside 2 methods. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/refund.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedfd4b84738f3bf66d10779c819ad114455dd3a6f4bf5118f0eed8be9652f87"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MerchantAccountNew: TooManyFields \u2014 35 stored fields beside 1 method. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/merchant_account.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb945f9619ab1ecfa3ad701ade9477b813efbd45628a06fdd2f1151dbc60181"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CardInfoResponse: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/cards_info.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1884f0d2bec31e079792585ab1ed23bf486944f74f9ef4dc4ccda305e3640811"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: CardInfoMigrateResponseRecord: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/cards_info.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2846b08875604d7b7d0962bc02aeaba26619683b45944fea0884166e5fd5b753"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RefundNew: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/refund.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b751932fdd12d462ae4e6da71585701bf07978200e49f9b7bfcbe9c93e2074"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RiskData: TooManyFields \u2014 35 stored fields. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"baed0b4c2d7d8b644b44ab77004116a0389a432aafa4763e22fe67a8a87a393f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: silverflow/transformers.rs: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 82 over it, 1.16\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":"crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8b3371841931eec84f83b4d00e3ec6a439dc097378a88c60b8fcde6af3d715"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: threedsecureio/transformers.rs: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 81 over it, 1.16\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":"crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea549f4f6193b6dafba47804cc8a80924325c3b0631cb9201d8eeee9cb79de33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RefundReason.load_metrics: MethodTooLong \u2014 load_metrics runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed876afcbe1474f6adac24f604fee41c7438a0503ddeb9b5e245f2a16ec00277"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdyenPaymentRequest.try_from: MethodTooLong \u2014 try_from runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7108224276d39b31fe8a10ca5af1edd38ea426bd912aa13369e63212576913"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CzechRepublicStatesAbbreviation.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":5527}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd20f01c9975c50ed1f43cf927117b335ce6c411484fdade9cb60c3521a2be5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::conditional_config::upsert_conditional_config: FunctionTooLong \u2014 router::core::conditional_config::upsert_conditional_config runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4126d262614dd43213dc1c3e5f56004eb50c22d2fe95334fddb8f199cb91c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::record_attempt_core: FunctionTooLong \u2014 router::core::payments::record_attempt_core runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"crates/router/src/core/payments.rs"},"region":{"startLine":4449}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb1d01c3e0624456cf77fe3cb3cc0172e313f49b50ed4251609085813fbd0bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::access_token::add_access_token: FunctionTooLong \u2014 router::core::payments::access_token::add_access_token runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"crates/router/src/core/payments/access_token.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6834504a8b8c5df5c39bbbe4cc269322baa143d3be8d526cee56d3cdc996a200"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::transformers::construct_router_data_for_psync: FunctionTooLong \u2014 router::core::payments::transformers::construct_router_data_for_psync runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c66b9d7bbedf41dd53a96730a3e65004916034521d1e2da0d2a464dd887a611"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::relay::utils::construct_relay_incremental_authorization_router_data: FunctionTooLong \u2014 router::core::relay::utils::construct_relay_incremental_authorization_router_data runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e235ec09c7d59fbccd22ce0e92c7986fc7f16fa8bd965a20f7ea45ef5315fd2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::utils::construct_payments_dynamic_tax_calculation_router_data: FunctionTooLong \u2014 router::core::utils::construct_payments_dynamic_tax_calculation_router_data runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\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":"crates/router/src/core/utils.rs"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9a22d11ab2638255348c4c5d7fd45184300dbe2c8a49a367b53365e82d0488"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mandates.rs: FileTooLong \u2014 577 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). 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":"crates/hyperswitch_domain_models/src/mandates.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ce265484dc0dfaf447144a471a20fb51e03d9c5bbd77e3bec340fa1a090924"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RouterData: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 70 methods, 2 blocks, lines 567-1196. The bar is 400 significant lines; this is 60 over it, 1.15\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"b743919c58d92152233fca3f9e85273e9731420d7a14f706e876e5c35cdc214b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentDetails.try_from: MethodTooLong \u2014 try_from runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e352de7e244ecb4c79f0a45ae17abed666e7e1654e16575e486452233644fa42"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_connectors::connectors::adyen::transformers::get_adyen_webhook_event: FunctionTooLong \u2014 hyperswitch_connectors::connectors::adyen::transformers::get_adyen_webhook_event runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":5672}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4ba23b0f49eca514a4fb38170515a5c685ddeed539dc35aa9946de2f445a02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_interfaces::api::gateway::execute_payment_gateway: FunctionTooLong \u2014 hyperswitch_interfaces::api::gateway::execute_payment_gateway runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/api/gateway.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d58d8d4795220a4642b0c9a8b4db737b0177fe274bb71d05e9ca26095cf69c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_interfaces::api::gateway::execute_payout_gateway: FunctionTooLong \u2014 hyperswitch_interfaces::api::gateway::execute_payout_gateway runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/api/gateway.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db6b4a440312c16889660e76df6c946588b022d4fcaeae458c96ebda7764bcd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PmCards.create_payment_method: MethodTooLong \u2014 create_payment_method runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d9c3255b9ec88cd076a8d824868ee581b0661ec60b9a618c652fa85efdcee5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::flows::complete_authorize_flow::call_unified_connector_service_authenticate_proxy: FunctionTooLong \u2014 router::core::payments::flows::complete_authorize_flow::call_unified_connector_service_authenticate_proxy runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"25288fcbe4d48c74640ba1354da31494f2ea137b79d04668e4c986d5725cc376"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: smithy::generate_tagged_enum_impl: FunctionTooLong \u2014 smithy::generate_tagged_enum_impl runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy/src/lib.rs"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6b8f42520ec84636589190ca25527d5d5c8186d4d99dfffa1977df0fd7547e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RouterData: ClassTooLong \u2014 459 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 49 methods, 4 blocks, lines 71-709. The bar is 400 significant lines; this is 59 over it, 1.15\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":"crates/router/src/connector/utils.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"161e859e2229ed846b66b1f98b51513d838fdb1f2c7407e37e404cfcf2501f8e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ExternalVaultProxyPaymentIntent: ClassTooLong \u2014 459 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 8 blocks, lines 42-652. The bar is 400 significant lines; this is 59 over it, 1.15\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1818ea65841e7ad2d9bb08ec5de65610c1b9cdc85fbc303afb89eb5888c4bc31"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payments/payment_methods.rs: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 73 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":"crates/router/src/core/payments/payment_methods.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b9eb8d4886d716c8feefe383892bb7423a463db590a3846bb616f9aabc23cc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: UnifiedConnectorServiceError: ClassTooLong \u2014 458 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 10 methods, 5 blocks, lines 118-2808. The bar is 400 significant lines; this is 58 over it, 1.15\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":"crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6e67682d3abb97aa8b35fc13c3e070f045c4b2bc9c83edf100b03d6763b61b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/inespay.rs: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 84% of them inside a single declaration: Inespay (14 blocks, 55-772). The bar is 500 significant lines; this is 72 over it, 1.14\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":"crates/hyperswitch_connectors/src/connectors/inespay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ce6dbbada2ede3eb789ed584a3911e632890a9c7ebcbbe0f44b2205bbf3140"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GlobalpaymentsRealex: ClassTooLong \u2014 457 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 62-811. The bar is 400 significant lines; this is 57 over it, 1.14\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":"crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf1fed329094da64ae91b9fd05cc2982776486227d2f923f74cfbe654f8ebc8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Placetopay: ClassTooLong \u2014 456 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 51-760. The bar is 400 significant lines; this is 56 over it, 1.14\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":"crates/hyperswitch_connectors/src/connectors/placetopay.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"978fc1c78813447829185a8fd6cf26d56f6c029bb58540e06c0978333fa5300a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operations/payment_recurrence.rs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 94% of them inside a single declaration: PaymentRecurrence (4 blocks, 41-717). The bar is 500 significant lines; this is 70 over it, 1.14\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":"crates/router/src/core/payments/operations/payment_recurrence.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17acf7014eea39841716e463f8b2c9646bd98c57f291fc5c49caacbcba0c308e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/kafka.rs: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 61% of them inside a single declaration: KafkaProducer (3 blocks, 313-797). The bar is 500 significant lines; this is 70 over it, 1.14\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":"crates/router/src/services/kafka.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e477114811bd65639903660297de805a8783237d8834883559c82541776bfb20"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RefundErrorMessage.load_distribution: MethodTooLong \u2014 load_distribution runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fa0b54e865925b813eec35c9b2ee24db3568bfca98379944e4f8edc5a5d219"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: euclid::frontend::ast::lowering::lower_comparison_inner: FunctionTooLong \u2014 euclid::frontend::ast::lowering::lower_comparison_inner runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/euclid/src/frontend/ast/lowering.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f8b466e4cad2b0659688a5d39b059a0a084d031b26efd19f27d2059038d565"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Authentication.foreign_from: MethodTooLong \u2014 foreign_from runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/authentication/transformers.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"613be094621e0ca898b789456523337fb5900a0887dd5162212a5f8e99c7f101"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::payment_methods_session_create: FunctionTooLong \u2014 router::core::payment_methods::payment_methods_session_create runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":7584}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bba08b27cefb419b53d15c960b2d4a362c77bf219d53813efe54443fd133fc5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::payments_manual_status_update: FunctionTooLong \u2014 router::core::payments::payments_manual_status_update runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments.rs"},"region":{"startLine":14901}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1256809d88e8b0a410d1a98a273ef6f37aa46acaf595e849102c2043bcc3266"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::flows::authorize_flow::call_unified_connector_service_pre_authenticate_proxy: FunctionTooLong \u2014 router::core::payments::flows::authorize_flow::call_unified_connector_service_pre_authenticate_proxy runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1800}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccd1778df658fde55ac576f2260173946f62598720fa3b6daa81155f1d0158a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::payouts_manual_update_core: FunctionTooLong \u2014 router::core::payouts::payouts_manual_update_core runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payouts.rs"},"region":{"startLine":4526}}}],"partialFingerprints":{"codehealthFindingId/v1":"136b7f93dd4d5707cf788667e950f983c4f89cf763af660efa43f19b9e13e5a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::get_or_update_dispute_object: FunctionTooLong \u2014 router::core::webhooks::incoming::get_or_update_dispute_object runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9d08b8d753975ab466c19174d17b1767acd882c583a92fd47b4a802952ce66"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: smithy_core::types::resolve_type_and_generate_shapes: FunctionTooLong \u2014 smithy_core::types::resolve_type_and_generate_shapes runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/smithy-core/src/types.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af51825dee38e0bf57fe88fd3676204063c28fa15da5ac52170bf2c6d8d92c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: subscriptions::core::confirm_subscription: FunctionTooLong \u2014 subscriptions::core::confirm_subscription runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/subscriptions/src/core.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"decb3a6cad721df27facb89ef9214c9d14c3a3b716b33b633185c5b80a4790a7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BarclaycardPaymentsRequest: ClassTooLong \u2014 454 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 7 blocks, lines 93-2279. The bar is 400 significant lines; this is 54 over it, 1.14\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d2a6f64650f7eaf858676d741647f23ad2d2e06f3ca3a97ef687da0030d7dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/flexiti.rs: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Flexiti (16 blocks, 56-765). The bar is 500 significant lines; this is 67 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":"crates/hyperswitch_connectors/src/connectors/flexiti.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09078290210e9c4e8283bc5fa85ef56b3fa447e9a05ad989faea58ff086ad27a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentsCreateIntentRequest: TooManyFields \u2014 34 stored fields beside 4 methods. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d456f62d9d9619829b725223088f70a4954fb2aa26a44c79d7b8abc4b463d3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaPaymentIntent: TooManyFields \u2014 34 stored fields beside 2 methods. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payment_intent.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16ae0b47e3c09a84afcd7e1ec146139996bdbdf431de5168bc8b1aa5279c311"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaPaymentIntentEvent: TooManyFields \u2014 34 stored fields beside 2 methods. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payment_intent_event.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa6eb813ccf78c738812d291cae0fc5bb45ff0d1a6fa4bd2602bd8c2304c3f5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MerchantAccountSetter: TooManyFields \u2014 34 stored fields. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/merchant_account.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcedb31c7592a237eaf1590ded4a7a5be0b4bbedd642f001c3a83b106bc0aca5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentMethodNew: TooManyFields \u2014 34 stored fields. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"adde89d3e01ca000a414b2d32d4b6169bfc096ab8e8e7681e983929a8c76138c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: StripeConnectRecipientCreateRequest: TooManyFields \u2014 34 stored fields. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe/transformers/connect.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9cc10268dc50a37e8f2e9406520c18f2dd130b7428826e5a44651272657cb2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Paystack: ClassTooLong \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 51-716. The bar is 400 significant lines; this is 53 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":"crates/hyperswitch_connectors/src/connectors/paystack.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb11362ba08e338055192a4efd25b3513794cd74878e05e65c6be4a299f893b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdyenPaymentRequest.try_from: MethodTooLong \u2014 try_from runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3905}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4a15833d6a3b7b86012be4c1dcb45a7d55decb4c7409c9bb09d6019671163b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::flows::authorize_flow::transform_response_for_pre_authenticate_flow: FunctionTooLong \u2014 router::core::payments::flows::authorize_flow::transform_response_for_pre_authenticate_flow runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bd605b9ca05e186a31d2e56cff4e58c29529edd5c019d7aabdef849fdda6cb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentConfirmData.generate_response: MethodTooLong \u2014 generate_response runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"85226d30a8569d8cde3c5acd06a86b0e8c748fcae093c43e056d0271b0d78ee8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::unified_connector_service::resolve_ucs_execution_decision: FunctionTooLong \u2014 router::core::unified_connector_service::resolve_ucs_execution_decision runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b07e6066467c967d422b47fb5e7dfab5149e23ab5de88c2343bf98c5845bf6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KVRouterStore.update_payment_attempt_with_attempt_id: MethodTooLong \u2014 update_payment_attempt_with_attempt_id runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"d559c88bf7721a380385af286db72a24ffb2a6fa44a657ef8086ce9ef03d27f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flows/external_proxy_flow.rs: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: ExternalVaultProxyPaymentsRouterData (2 blocks, 121-735). The bar is 500 significant lines; this is 64 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":"crates/router/src/core/payments/flows/external_proxy_flow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"518e1e644f159d00ca4d405d0ed62ac00cb52917503de7383d44135874ef2d01"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/authentication.rs: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 63 over it, 1.13\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":"crates/api_models/src/authentication.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf93521b265c6454b3001603f3a6c95e7de75854dd232bba8d21d9934e66d47"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/elavon_pg.rs: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 79% of them inside a single declaration: ElavonPg (15 blocks, 76-844). The bar is 500 significant lines; this is 63 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":"crates/hyperswitch_connectors/src/connectors/elavon_pg.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f6dcea17d03508197aa8b23bd9c00e112185c6edd981dd66303957eeff8376"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: unified_connector_service/kill_switch.rs: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 63 over it, 1.13\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":"crates/router/src/core/unified_connector_service/kill_switch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb77676d4decbcbbe4718b2c2bd640e99d501fd5cdc6683f1b63a527eb02704e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: hyperswitch_connectors::connectors::finix::transformers::get_token_request: FunctionTooLong \u2014 hyperswitch_connectors::connectors::finix::transformers::get_token_request runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"crates/hyperswitch_connectors/src/connectors/finix/transformers.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8d40159a57eac607d8275d67f520f8f5bcb7c37f79b57208a0ecd265ff2b66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.get_payment_attempt_update: MethodTooLong \u2014 get_payment_attempt_update runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e382556bcc82c0f92018d500cdff7d6b1882af8725b571434074fdf3650ef61f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.get_payment_attempt_update: MethodTooLong \u2014 get_payment_attempt_update runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ba07405901261aabd3a75803d5fab2ccbd144fe17fe7c5c1fb5f628145c5a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::fraud_check::call_frm_service: FunctionTooLong \u2014 router::core::fraud_check::call_frm_service runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd939aa4ccdbb46dea639bf2389a111a0aacd017962a5c04f7cdb193414e6a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ForwardCompatWorkflowBuilder.apply_locker_compat: MethodTooLong \u2014 apply_locker_compat runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"crates/router/src/workflows/payment_method_modular_forward_compat.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5679f1b5befcfa25e902bf5fbfd9aaa9ec2874f943ef2bfe35424f1c18cdb78f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantAccount.convert_back: MethodTooLong \u2014 convert_back runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a55a378d3a2ec40d38ee433fe347428d5006b9526941e0f16922cc3a536cda0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/globalpayments_realex.rs: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: GlobalpaymentsRealex (16 blocks, 62-811). The bar is 500 significant lines; this is 59 over it, 1.12\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":"crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0d010ef999dce55fee934fc8b194788f8b8901dfff0c1c44163cf8e91f2c6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: iatapay/transformers.rs: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 59 over it, 1.12\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":"crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebc1bf401f10cb0a8f8af22ccaaf66004bc2b12fcafbc84f5b9ed470e084d95"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DirKeyKind: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 2 blocks, lines 75-620. The bar is 400 significant lines; this is 47 over it, 1.12\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":"crates/euclid/src/frontend/dir.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"efebd14e29463050ffa2bf53ccef43bb312dd083d349a6b8ba718584f070c411"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ElavonPg: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 76-844. The bar is 400 significant lines; this is 47 over it, 1.12\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":"crates/hyperswitch_connectors/src/connectors/elavon_pg.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a61e152bbcc0cc098e4456492a9c2828bc85b2ff7253b922ba1d72078705f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/calida.rs: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Calida (13 blocks, 55-759). The bar is 500 significant lines; this is 58 over it, 1.12\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":"crates/hyperswitch_connectors/src/connectors/calida.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"989d209309e35b8cc5083bd80b93da3303d28e9357590bfe7468ac2355c6e12a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Recurly: ClassTooLong \u2014 446 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 2 methods, 23 blocks, lines 92-739. The bar is 400 significant lines; this is 46 over it, 1.12\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":"crates/hyperswitch_connectors/src/connectors/recurly.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"da966f797a20a1c8dea408e3fb63f633b166bf87c7e593771be7ac9e6c675550"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: klarna/transformers.rs: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 56 over it, 1.11\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":"crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10fa71ea4d213a7b3f6ce4905fc527a30c15feeb5ad4a82f863b0749e51e401"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/placetopay.rs: FileTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: Placetopay (14 blocks, 51-760). The bar is 500 significant lines; this is 55 over it, 1.11\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":"crates/hyperswitch_connectors/src/connectors/placetopay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b83ccbf0c7bc2c819bd0150cba1f9d80d9d0483f8e6b693b52f486dc6620b52"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::fraud_check::flows::fulfillment_flow::construct_fulfillment_router_data: FunctionTooLong \u2014 router::core::fraud_check::flows::fulfillment_flow::construct_fulfillment_router_data runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/fraud_check/flows/fulfillment_flow.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42f462b1ee72aef8cd3f254fae60e362c9711ff0c70edbc3120e2f62134be56"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::flows::session_flow::create_amazon_pay_session_token: FunctionTooLong \u2014 router::core::payments::flows::session_flow::create_amazon_pay_session_token runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":1600}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b77b8e38642258e844ffc227d018912d9babd7a4facbc9d4b26e5370fac9d25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::get_payment_external_authentication_flow_during_confirm: FunctionTooLong \u2014 router::core::payments::helpers::get_payment_external_authentication_flow_during_confirm runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9090}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c25db12af962fbb2834baa986f2affb154e587ba1cca84a05e8bd901aad8ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentResponse.save_pm_and_mandate: MethodTooLong \u2014 save_pm_and_mandate runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"510b379ec573341b66458cee2629361926a054592fedc915ce3649fbc3bf0988"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::retry::do_retry: FunctionTooLong \u2014 router::core::payments::retry::do_retry runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"71159f4727ca3ce2a64f6215efbc8940e601c3dc343e7fd0e4d77f33a0ef55d1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::helpers::decide_payout_connector: FunctionTooLong \u2014 router::core::payouts::helpers::decide_payout_connector runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e58dcfd3d05a20af15460b91126351c24f4584a33e4c0a72bc3b0b3dcab5b0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::revenue_recovery::external_triggers::decide_next_retry: FunctionTooLong \u2014 router::core::revenue_recovery::external_triggers::decide_next_retry runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/revenue_recovery/external_triggers.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e169c191a0b618669b8413b631575a1a36864eb3e5b477254535cd45d4f1f17"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodType.foreign_from: MethodTooLong \u2014 foreign_from runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":7539}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be017fafd2fc54badfb7d03e33bc2938a036a30266dac3fad06c2db2996c77a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::webhook_events::retry_delivery_attempt: FunctionTooLong \u2014 router::core::webhooks::webhook_events::retry_delivery_attempt runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/webhooks/webhook_events.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1778e4ce6bea3621521bb70dd1fd06685da5320b1f21176c51d74d3ee4ffc9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BatchBlocklistUploadWorkflow.execute_workflow: MethodTooLong \u2014 execute_workflow runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/workflows/batch_blocklist_upload.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a78f0f72f6ff27dbfdd08455a70a5a4a8fd619df3c2a8f4ac653c88640d8d7d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: subscriptions::core::create_and_confirm_subscription: FunctionTooLong \u2014 subscriptions::core::create_and_confirm_subscription runs 111 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/subscriptions/src/core.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"da392c26f5e7007ca0fa24d4a9c24d227bfd151a1431833f6f5039e9739a6209"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: loonio/transformers.rs: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 54 over it, 1.11\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":"crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0a45f3c3069e4b0aec93992a798c12efef9f829a1bf3336fe57de1de9f81ae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Prophetpay: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 14 blocks, lines 69-777. The bar is 400 significant lines; this is 41 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":"crates/hyperswitch_connectors/src/connectors/prophetpay.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"41931300819afd720cf0ff29a7e9de92024025ba00032f5379516f31effdade2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/recurly.rs: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: Recurly (23 blocks, 92-739). The bar is 500 significant lines; this is 51 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":"crates/hyperswitch_connectors/src/connectors/recurly.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"688d02a9475c0ba67e5cce3a09ff6e359640f63e95571eaa24a01e1a96b239d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/mandate.rs: FileTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 51 over it, 1.10\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":"crates/router/src/db/mandate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f7ed4ed55bd8a3643635a0197bc09b0e08b660597fe7dda1a646566ec39ef6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: KafkaPayout: TooManyFields \u2014 33 stored fields beside 1 method. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payout.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cb046a1d00967dafc307f0744806223ae1ca1fc027f3033b040defde772c13"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CompleteAuthorize.execute: MethodTooLong \u2014 execute runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/gateway/complete_authorize_gateway.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd910795261402072f6cf8d6d30b989ea543e62aca3b13b7c79b2c565f06af9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::payouts_list_core: FunctionTooLong \u2014 router::core::payouts::payouts_list_core runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfbed7ef57678ddfc9a140398e5b23534f090c9d91b53cc31040153a641b947"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user_role::role::create_role_v2: FunctionTooLong \u2014 router::core::user_role::role::create_role_v2 runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f876a655c469707525eef71bc8d48819718284f9052644cd897d7c57f6dce5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::utils::construct_upload_file_router_data: FunctionTooLong \u2014 router::core::utils::construct_upload_file_router_data runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/utils.rs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e73a620d906ac8a4d9693a736284f7ade91b87a2186f1bebe0f027cce42868"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::associated_data_incoming_webhook_flow: FunctionTooLong \u2014 router::core::webhooks::incoming::associated_data_incoming_webhook_flow runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":2670}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f23d32117c81fef5bcde63036f3d26ff381472158f7e3224356189a89c4894"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RevenueRecoveryGetIntentResponse: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e98709251c1379786b7adad8f35ef3c7e8f9a41da41409f2e9c91b64e7bfea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentsResponse: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":9097}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa408d8059c6c64bd1efc2282f71c5318c09d8c307566464bc15e8b724bcdfc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AdyenPaymentRequest: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9b73a908f127423984a9eb41bc3b51f404063a5934b9cde273748615da52c4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AmazonpayFinalizeResponse: TooManyFields \u2014 33 stored fields. The bar is 30 stored fields; this is 3 over it, 1.10\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c0d36131664bcdca69174f4ecbcd22d88fa01a1450af288a6c0f062cae23db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: elavon/transformers.rs: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 48 over it, 1.10\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":"crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db984454a82f83b5a67e840e8c303a4a36321fc53092b5fda5c1b4589ecbd3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: netcetera/transformers.rs: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 48 over it, 1.10\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":"crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c9d865f10ad4c4b589cd8b1855213e4508985c4cb9456701ceef5f4ba28ce8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/debit_routing.rs: FileTooLong \u2014 548 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 48 over it, 1.10\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":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e754864864ca48cac0623704d2417554358c94c409a4f93150a2847fd7e492c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConstraintGraph: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 14 methods, 3 blocks, lines 37-638. The bar is 400 significant lines; this is 38 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":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc614ed4f86c40ef8c11b8446addd4c3e7a4536ba977d2282088e2fbd2715c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: prophetpay/transformers.rs: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 47 over it, 1.09\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":"crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40a036ec475d7998119aba6a0c7c752dea1829e8107acd5229dd3a4783eedb1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Boku: ClassTooLong \u2014 437 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 59-805. The bar is 400 significant lines; this is 37 over it, 1.09\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":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d28a9dbb45f94e645f5fabdd65d9da942527df035a20f3b8620a4944eca9ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: helcim/transformers.rs: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 46 over it, 1.09\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":"crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09969a8d83896162a74e28b39c1e09739fdeee79d02109acb49da48dd7d59e64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/tokenio.rs: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Tokenio (15 blocks, 53-791). The bar is 500 significant lines; this is 46 over it, 1.09\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":"crates/hyperswitch_connectors/src/connectors/tokenio.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15b993485d5cdbd37eee04c1f494f48428b93b2db77c05706f59f58174e770b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Tsys: ClassTooLong \u2014 436 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 52-738. The bar is 400 significant lines; this is 36 over it, 1.09\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":"crates/hyperswitch_connectors/src/connectors/tsys.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec85f83f25d231cd3ae7ec72a446e912bffa50ef128d627250b9393e3128317d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/imerchantsolutions.rs: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 79% of them inside a single declaration: Imerchantsolutions (16 blocks, 51-752). The bar is 500 significant lines; this is 45 over it, 1.09\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":"crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e515eed9d4446fbe1edb8991c2ec19ad4170f367871f6573b7b6433997dcbd15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RefundReason.load_distribution: MethodTooLong \u2014 load_distribution runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a03a681da2aa151b20aedb6e22dbf472bcbe3720091b75ec79ee5d8873b716"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RedsysTransaction.try_from: MethodTooLong \u2014 try_from runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2e86b8680f09c80e8e963becf97553dc4c3a0b85098ff3636bb1c0ee622ac2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhilippinesStatesAbbreviation.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":4720}}}],"partialFingerprints":{"codehealthFindingId/v1":"de49c31212ae22b8be787928986674dd437b9276b705c8a06ad4e0d64a365f70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: payment_methods::core::migration::payment_methods::migrate_payment_method: FunctionTooLong \u2014 payment_methods::core::migration::payment_methods::migrate_payment_method runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2371842d14054b1984eaa5a628240d03f42a8a53f9466a858a2535ced7e51c1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RedisConnectionPool.new: MethodTooLong \u2014 new runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"crates/redis_interface/src/module/fred.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"54cd643852454922189eeb39a69908a25d0cd9446d9e90cca8defd7ba09a5441"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Authentication.foreign_from: MethodTooLong \u2014 foreign_from runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"crates/router/src/core/authentication/transformers.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"92946120f3b05ff0c611adaebf5319f42893940f7d8751afb357bdeb92ffbde6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::outgoing::trigger_webhook_to_connector: FunctionTooLong \u2014 router::core::webhooks::outgoing::trigger_webhook_to_connector runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"e018f4cb03f4a1b2082ec7bf49b884ceac02cd56cbf65779655abab893534b06"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProfileResponse.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"crates/router/src/types/api/admin.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ac5949959da84e2d5c246ac748d9eede18a42589c5ceef91cfe4f7d75af390"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BlocklistExportWorkflow.execute_workflow: MethodTooLong \u2014 execute_workflow runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\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":"crates/router/src/workflows/blocklist_export.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c4ef6d71db7870e7103599e218f25353e2f794d064ee1378d70fd5d2c39135"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/relay.rs: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 44 over it, 1.09\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":"crates/hyperswitch_domain_models/src/relay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eacdf976df748809c19da605760ac7e227138a94e733f7e1b4797530644d687"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/multisafepay.rs: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 65% of them inside a single declaration: Multisafepay (13 blocks, 52-748). The bar is 500 significant lines; this is 43 over it, 1.09\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":"crates/hyperswitch_connectors/src/connectors/multisafepay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f50fddad367996e362e78f416dbd9791f5f5a46e5f5bcec6722ab53eab5be3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/connector_enums.rs: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 90% of them inside a single declaration: Connector (2 blocks, 32-580). The bar is 500 significant lines; this is 42 over it, 1.08\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":"crates/common_enums/src/connector_enums.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7a8614223d6dc165c4dd0c90fa42a4beafd40941c39525c183cc003a2e5714"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: authentication/utils.rs: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 42 over it, 1.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":"crates/router/src/core/authentication/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc62651f1d1139b9a5a1d8f417973d7c3939e6816cfdf4cf60714c09c39fc3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/envoy.rs: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 87% of them inside a single declaration: Envoy (16 blocks, 54-728). The bar is 500 significant lines; this is 41 over it, 1.08\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":"crates/hyperswitch_connectors/src/connectors/envoy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b739268804e7e13a13b73f8143f0a1bf31f920d76cae36abf7ef1a02709be4d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DummyConnector: ClassTooLong \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 56-656. The bar is 400 significant lines; this is 32 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/dummyconnector.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9485c6cbfbda83c3f5f06b812ae8aff914b91a6d5c25fde9c2746db895f40dd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CreateCustomerPaymentProfileRequest.try_from: MethodTooLong \u2014 try_from runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bf63fee2584b3653767c2bbac88afc7970bf39de31529384b9cde6df14b406"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.try_from: MethodTooLong \u2014 try_from runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a251ef5091c827619aad14f56e4678d3c94868cc6d9a0ee23b68aac3cfd93f09"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LatviaStatesAbbreviation.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":5057}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb36472b6b3d195c6fce68e17f34ded20fb2a26a536d266009e24a0086448b41"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantConnectorCreate.create_domain_model_from_request: MethodTooLong \u2014 create_domain_model_from_request runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/admin.rs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3abbae43153db4575db97d4e6360b6f0bc910c51089e24dae7586536fd0299"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FraudCheckPre.update_tracker: MethodTooLong \u2014 update_tracker runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/fraud_check/operation/fraud_check_pre.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4da4ea5f9244a4b4791bfa411e56be543ccb689a9f6f986121b3789bccb44c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DomainPaymentMethodWrapper.transform_pm_mod_retrieve_response: MethodTooLong \u2014 transform_pm_mod_retrieve_response runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b6809eb69ebf40da1c3e2524671b553df47b2e2b57d313ab55ddfb2b00c4d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DomainPaymentMethodWrapper.transform_pm_mod_create_response: MethodTooLong \u2014 transform_pm_mod_create_response runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3cd30da4ac961d1d5c33af40cc15bd1b68fb8735a571b1964e84c15d0fbec8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::surcharge_decision_config::upsert_surcharge_decision_config: FunctionTooLong \u2014 router::core::surcharge_decision_config::upsert_surcharge_decision_config runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/surcharge_decision_config.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4d07d3130b6aa1e0d934417dd1d8229fe9b3ca3afc338a2684b627d2793bb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::unified_authentication_service::execute_post_authentication_flow: FunctionTooLong \u2014 router::core::unified_authentication_service::execute_post_authentication_flow runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"e363cecc2e6cd59559f69d271dd29304800f8cc3046d15655b8c204cd57d90c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::utils::construct_dispute_sync_router_data: FunctionTooLong \u2014 router::core::utils::construct_dispute_sync_router_data runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/utils.rs"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cd223a2d98a10c240bec93bd40da8e358725e826c8eaba68b8bc08a6c3f92e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::utils::construct_defend_dispute_router_data: FunctionTooLong \u2014 router::core::utils::construct_defend_dispute_router_data runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/utils.rs"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"3903895e5c3c7a0bca92ec995b19f19ae3fc2aa31300a3d2d3d9fe74dce07f76"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAttempt.convert: MethodTooLong \u2014 convert runs 108 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f0e86085bce775110b8c3f73e30572bd8300698bfedaaf107cce01aa5b9f97"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Nomupay: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 11 blocks, lines 71-798. The bar is 400 significant lines; this is 31 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ac9cdc10109abe07df726bc30d68ff503ed12b54073a23928c6b40771f06d7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Elavon: ClassTooLong \u2014 430 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 65-675. The bar is 400 significant lines; this is 30 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ffb04e9733e3f15e6515caf1ce0710675588e149c54349faad57f36b76f2e5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ApiIdentifier: ClassTooLong \u2014 430 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 2 blocks, lines 5-446. The bar is 400 significant lines; this is 30 over it, 1.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/lock_utils.rs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dc7b4a2bd148c53f3d9bd0fc67f02ad28ae9d45d39009a42912db921599fdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: gigadat/transformers.rs: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4cb03d933162328629d2165f4513bb1d4f61d705429ee7799b2d770a8ab878"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/tsys.rs: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: Tsys (14 blocks, 52-738). The bar is 500 significant lines; this is 37 over it, 1.07\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":"crates/hyperswitch_connectors/src/connectors/tsys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46ecee979e9def31bd19a67c971597e22f2c8fa06fe96b2718c83c00c4824fa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Imerchantsolutions: ClassTooLong \u2014 429 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 51-752. The bar is 400 significant lines; this is 29 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":"crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51b622903f6dd244107477cc42c215504da24b4f85327e047a3d8752fe506ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: errors/utils.rs: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: Result (4 blocks, 14-746). The bar is 500 significant lines; this is 35 over it, 1.07\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":"crates/router/src/core/errors/utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f8cbe4aad50022358c765429220db14cb4aa54d97a32f60d9a51cccf577979"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentProcessedAmount.load_metrics: MethodTooLong \u2014 load_metrics runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a053b5832e3d7070d80401ed7d1461b9475b02906dc56013a9c5712122ee4866"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentFilterRow.from_row: MethodTooLong \u2014 from_row runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"b214021ee4aca2adbae8f93a048260849c32fe5f128349343a89f2c53bff89e6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Cybersourcedecisionmanager.build_error_response: MethodTooLong \u2014 build_error_response runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1478259debb0963cc2972c4da449877328e1fc79cc73addbb7ae41a59fdf042"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StripePaymentMethodData.try_from: MethodTooLong \u2014 try_from runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":5435}}}],"partialFingerprints":{"codehealthFindingId/v1":"0902b8f18a3a71723f0a6ba9ad094fcefbd9f504004c4fd1e227a6bb6393dde1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MerchantConnectorUpdate.create_domain_model_from_request: MethodTooLong \u2014 create_domain_model_from_request runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d724bcae5c449fce62eaaab4785edb208abee4658a1ac83cda7680cb3d38113"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::disputes::retrieve_dispute: FunctionTooLong \u2014 router::core::disputes::retrieve_dispute runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/router/src/core/disputes.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"549e2d397c171a8edb95e37a8d8589d98ed4d91418a24d1f32b3ea047ab30fb8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::validator::validate_request_and_initiate_payment_method_collect_link: FunctionTooLong \u2014 router::core::payment_methods::validator::validate_request_and_initiate_payment_method_collect_link runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/router/src/core/payment_methods/validator.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5256f8add95210a72822166fc6331f8136803439e9971a8b375e453f4945e944"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::get_merchant_connector_account: FunctionTooLong \u2014 router::core::payments::helpers::get_merchant_connector_account runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5209}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03b9c76406a2afcf7cef05b9c7daf1b828ee9aae7775832e1cdb15e572fca8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payouts::create_payout_link: FunctionTooLong \u2014 router::core::payouts::create_payout_link runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":4312}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eadf45acad18b7041fb54443b07c5be46a0977d188d62dbae93dfc3f0bae83"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::utils::construct_accept_dispute_router_data: FunctionTooLong \u2014 router::core::utils::construct_accept_dispute_router_data runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/router/src/core/utils.rs"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae07f3334545d03c4cd2ade7bfe23537bc3b17d1293a85d7e38a1008f703765"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::disputes_incoming_webhook_flow: FunctionTooLong \u2014 router::core::webhooks::incoming::disputes_incoming_webhook_flow runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":3259}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eb1cbd58fd7a7422965e46dca6565083926772d32286aa65d1f6b4d0aea06b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PayoutAttempt: TooManyFields \u2014 32 stored fields beside 9 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payout_attempt.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfc6d99261aed78c3b3de04cb3902baaefa0a46e96bab0639a2879f2ae055c1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PayoutAttemptNew: TooManyFields \u2014 32 stored fields beside 2 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payout_attempt.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c3681c2a6fb8309446f3cf6db8e9c258a564e4a48d87b1da8a1d8d58c5acd4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PayoutAttempt: TooManyFields \u2014 32 stored fields beside 1 method. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b3862bd1fab6c9943d1dbbb085db140791c1b51563b139f5e336ee1728294b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentMethod: TooManyFields \u2014 32 stored fields. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payment_methods.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"790716937c4b52c2046909b4dea58142cc0100090fc4ac586b15e6a1375b390f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PayoutAttemptNew: TooManyFields \u2014 32 stored fields. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db1a8e637157e19096fe612d9094ed6306f2e535572a63ea89fade63dc76eeb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: StripePaymentIntentRequest: TooManyFields \u2014 32 stored fields. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d268d0d61517f39993ff890e412d96b77f01dc7917d825493fc7394765c279dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: InternalDeciderRequest: TooManyFields \u2014 32 stored fields. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"908a6768eb3b0078b48d61f79d0066a03ed08bb2784ba4d8b834c1facc9ab91c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: query/events.rs: FileTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 97% of them inside a single declaration: Event (23-695). The bar is 500 significant lines; this is 33 over it, 1.07\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":"crates/diesel_models/src/query/events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3c56d0e1cc64857dc8dd534a1d9da90ecde600c7709ab8ef433b65a25a3e26"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Checkbook: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 52-670. The bar is 400 significant lines; this is 25 over it, 1.06\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":"crates/hyperswitch_connectors/src/connectors/checkbook.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac67771812d4a13e2a1ad6f82f0b83efe804f0b5b1f3b6ced24e8344efab175"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Juspaythreedsserver: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 21 blocks, lines 54-675. The bar is 400 significant lines; this is 25 over it, 1.06\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":"crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93363bb42f72800f1dc73d4372b4000be14d0d9eeb36bb84bce7b095b4dfa6c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/graph.rs: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: ConstraintGraph (3 blocks, 37-638). The bar is 500 significant lines; this is 30 over it, 1.06\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":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef25804440fe6e8fb03ae52042f4d943768aa754a5fe1967df0153705e43f006"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tokenize/card_executor.rs: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc45053749ab26a99281a20eafe41493097eb9330a53320aeb1253551988b30"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentIntentRequest: ClassTooLong \u2014 424 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 2 blocks, lines 257-2948. The bar is 400 significant lines; this is 24 over it, 1.06\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a888b601c762daa605c77f70659c57cc51a03d13a57b55e96c297587789b449"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CybersourcePaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5d650a078be1a3de86ed057c70a6afc547762d4f76b8cf743f942748d3a993"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Paypal.get_connector_error_type: MethodTooLong \u2014 get_connector_error_type runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":2618}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d4ab8c8b8e2bd123531e2a693fb541b9dc59d3e669357e454078d420c4d3c7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ZiftPaymentsRequest.try_from: MethodTooLong \u2014 try_from runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/zift/transformers.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"2126cbf3face111c4b196d3260463de6a3ebeaebe238837ec156acda35a9adb2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.get_payment_attempt_update: MethodTooLong \u2014 get_payment_attempt_update runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"74463432615d396a968212058600d095fefb8b463b98bab538e2cb8a2fbbd6f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::authentication::perform_post_authentication_proxy: FunctionTooLong \u2014 router::core::authentication::perform_post_authentication_proxy runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/authentication.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ee6be0630a2b70b96244d02ea33de2f8d48af33ed4f20a9697b3582dde8fc4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FrmData.construct_router_data: MethodTooLong \u2014 construct_router_data runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/fraud_check/flows/record_return.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bfc0459afd00f1acd566c7cc4d73d4876b4b664f3cf07a6c27b66c7429f6f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::flows::complete_authorize_flow::call_unified_connector_service_post_authenticate_proxy: FunctionTooLong \u2014 router::core::payments::flows::complete_authorize_flow::call_unified_connector_service_post_authenticate_proxy runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"412bdbdc807e651e30ba975bd8d50f1d6c6f09b3b542ada25097479b5ffb5c85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::retry::make_new_auto_retry_payment_attempt: FunctionTooLong \u2014 router::core::payments::retry::make_new_auto_retry_payment_attempt runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb3b0c548fb3d930d5c037e906ed360681b9dbc2ecd8111f7e7ecc2b918d996"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::utils::build_and_send_decision_engine_http_request: FunctionTooLong \u2014 router::core::payments::routing::utils::build_and_send_decision_engine_http_request runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"91840ee8d4fd6b36cb2cddfb9aab8a110cc0dbaee59a79dd31215e2e488d75fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::split_payments::get_payment_method_amount_split: FunctionTooLong \u2014 router::core::split_payments::get_payment_method_amount_split runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/split_payments.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"df911fde935ebfc9c15f6ce86481e166df71d9a3737691ad10d97f248573c8a9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::utils::construct_submit_evidence_router_data: FunctionTooLong \u2014 router::core::utils::construct_submit_evidence_router_data runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/utils.rs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cac4cdfb2ef30f9411edd596f76095bee67e3554efbbf7ef818c5983bea1f02"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UcsIncomingWebhookGateway.execute: MethodTooLong \u2014 execute runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/webhooks/gateway.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4619accffaed8918abe9768a2575aa70553d1af0f9ec5d32479205afb0279f2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SdkAuthorizationAuth.authenticate_and_fetch: MethodTooLong \u2014 authenticate_and_fetch runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3491}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a32eed24a69f65fe76ef9f459195343a0522b8a47a5e9fc152648c01f688098"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/paystack.rs: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Paystack (15 blocks, 51-716). The bar is 500 significant lines; this is 29 over it, 1.06\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":"crates/hyperswitch_connectors/src/connectors/paystack.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73f473cf023a77ff726476a40d97d96c3ae72c45f0d9ece86d581784d86088c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SloveniaStatesAbbreviation: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods. The bar is 400 significant lines; this is 23 over it, 1.06\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":8634}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c6cc8b3888f70359eb0692bb5cc6d3b31778438e5429c21658d636e5ea596e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/powertranz.rs: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 79% of them inside a single declaration: Powertranz (15 blocks, 63-735). The bar is 500 significant lines; this is 28 over it, 1.06\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":"crates/hyperswitch_connectors/src/connectors/powertranz.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1203ac3aa7fad449ea3c240f4c9612905db7de3b5a662756bb7db6d7aa8f2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripe/payment_intents.rs: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4da0b36734f5d5e7b09c3f03ee23baa7584ffe7f95c297045c70fc377b832e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Coingate: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 55-673. The bar is 400 significant lines; this is 22 over it, 1.06\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":"crates/hyperswitch_connectors/src/connectors/coingate.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360fbe659662669498d167af8ac2733d3089affcbbec511fc778efb57c008bf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StripePaymentMethodData: ClassTooLong \u2014 422 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 7 blocks, lines 655-5567. The bar is 400 significant lines; this is 22 over it, 1.06\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c22ed7754503538e6512c1d3192b9a33c2c387b51dff71937b34d7208e21a20"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Cybersourcedecisionmanager: ClassTooLong \u2014 420 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 17 blocks, lines 68-677. The bar is 400 significant lines; this is 20 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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b8c8323441ff6e3ed33402dba5877e1ece6a21f435220b40beb347947cdd1a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: payouts/validator.rs: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). 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":"crates/router/src/core/payouts/validator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce33f64239056b5a4c67d1d0070a8e1398a812d82c565cb12a777cb3627a08c6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthenticationErrorMessage.load_metrics: MethodTooLong \u2014 load_metrics runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_error_message.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc43e531c133d5698eb6ae3d5f3d1631f05fb5f7c7f0275feee280bd7098bab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentProcessedAmount.load_metrics: MethodTooLong \u2014 load_metrics runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"db379b2d0157b93f31578a4cd3ceb2762274fc794bf6479e659227f9c009de75"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RefundUpdateInternal.from: MethodTooLong \u2014 from runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/refund.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"8721c737f70f8da5e0b7c523ea0c005dabb63eb3499cdb5adb1bf028230df52c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntent.into_payment_method_list_intent_data: MethodTooLong \u2014 into_payment_method_list_intent_data runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"13204a78f2b1bb59cb80b56e4161f611e5b0bc44c25ca507631d4e551eec6afa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::blocklist::utils::check_profile_blocking_config: FunctionTooLong \u2014 router::core::blocklist::utils::check_profile_blocking_config runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/blocklist/utils.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"348aa61dd6dee0bddd3ab7dbe128659ecac5ddd705b65619b615492b041a6f43"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::files::helpers::upload_and_get_provider_provider_file_id_profile_id: FunctionTooLong \u2014 router::core::files::helpers::upload_and_get_provider_provider_file_id_profile_id runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/files/helpers.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec296669c770aa7b529cc683ab74b510c7f35ac02a1d84f236c9fbbe4d3da800"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::connector_service_decider: FunctionTooLong \u2014 router::core::payments::connector_service_decider runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":7633}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8df241978488cbd3d00571f90e20b580280ded307d2b8d23d8985c633192ac7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::list::revenue_recovery_list_payments: FunctionTooLong \u2014 router::core::payments::list::revenue_recovery_list_payments runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/list.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"368cad44ee7efd7574d5b97c4c63ed9763826762ff655975531b4245674f6901"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ExternalVaultProxyPaymentIntent.get_trackers: MethodTooLong \u2014 get_trackers runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8af82a5353f5bbee9ceb168f9c5d63eea6d211c887958d8fefa5bc9ad3ff006"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentAddress.foreign_try_from: MethodTooLong \u2014 foreign_try_from runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":5934}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6a1f0fdeb734eb17ea87e931dbabd630cd01baf5c6603cc63e492c3745d5a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ApiKeyExpiryWorkflow.execute_workflow: MethodTooLong \u2014 execute_workflow runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/api_key_expiry.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae1e4ab6c4f5dbcb9072255bdb13efd1540ab85236e1c658c9737e670767008"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Customer.convert_back: MethodTooLong \u2014 convert_back runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d497a2fe86378fef4093d57262da1615ec64f8987ed66e25fc95c7550d7eec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/user_role.rs: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 24 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":"crates/router/src/utils/user_role.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec543a3c61d1bba6aff7baf29d8dffe7fb5a267b78f67da36679547f5b6b763c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/fiservcommercehub.rs: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: Fiservcommercehub (16 blocks, 50-714). The bar is 500 significant lines; this is 23 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":"crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c033b478cb65ad6651262521b634caf26dbe6a6a44790ff5c8e9c5fded64a0c8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Powertranz: ClassTooLong \u2014 418 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 63-735. 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":"crates/hyperswitch_connectors/src/connectors/powertranz.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd68d8ea8d6530254d4aba3bf7e6baeccd90aef16753f4f1a86eaafe2aa4e79f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/enums.rs: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/enums.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7a16f395b9e19b06cab23abefec34befe2975980e62d10123337998916635e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/prophetpay.rs: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 85% of them inside a single declaration: Prophetpay (14 blocks, 69-777). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/prophetpay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"675f8fe2b3c8c19a1595b89473704b5e35bd938e6c799125967058152f4e73eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChallengeAttemptCount.load_metrics: MethodTooLong \u2014 load_metrics runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"107cbbee6314c84439470ca6e7b4169b0c8506265976d9654d6d16eabaef3274"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: external_services::http_client::send_request: FunctionTooLong \u2014 external_services::http_client::send_request runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f333c598fd4fa906e9568f48dc128c03b36a88d3e9b83c161d6bde10858042"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SignifydPaymentsSaleRequest.try_from: MethodTooLong \u2014 try_from runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f6c93cee98b79e4f2da06671aed3cd6e89100fa4051a71327527588f2d1822"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SignifydPaymentsCheckoutRequest.try_from: MethodTooLong \u2014 try_from runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"238922d29cbca82521e8a1fb185657c34b9339d1286fae810f47edb9a8b14933"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Wellsfargo.build_error_response: MethodTooLong \u2014 build_error_response runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/wellsfargo.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b27d9951081e823c5cac2b5f7c2e49c53630ff6e02997cd436d550bf61e7eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::disputes::fetch_disputes_from_connector: FunctionTooLong \u2014 router::core::disputes::fetch_disputes_from_connector runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/disputes.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4750ba972215d40847f439a8fcf31efaff3107d451a884d69c2856120a6f54"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PayoutFrmData.construct_router_data: MethodTooLong \u2014 construct_router_data runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/flows/po_frm_flow.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c0f4a285570fe886bdef65cca264ffdeca710dacf673441fd9510640536ce3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::routing::perform_session_flow_routing: FunctionTooLong \u2014 router::core::payments::routing::perform_session_flow_routing runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":2927}}}],"partialFingerprints":{"codehealthFindingId/v1":"2674543be4877785e4417e1555a7b8ad9f5ce467e115133c57cf2318e0a9923e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::switch_profile_for_user_in_org_and_merchant: FunctionTooLong \u2014 router::core::user::switch_profile_for_user_in_org_and_merchant runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user.rs"},"region":{"startLine":3773}}}],"partialFingerprints":{"codehealthFindingId/v1":"523d7d28cd7cd19b1546b7540f85279847ab76608167fdc656f9f29194857a49"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KVRouterStore.update_authentication_by_processor_merchant_id_authentication_id: MethodTooLong \u2014 update_authentication_by_processor_merchant_id_authentication_id runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b74c6e2cb08896388d3d36a980f07004eb1a46437864c1cceb195440680791"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: blocklist/batch.rs: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). 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":"crates/router/src/core/blocklist/batch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d9df9510698047e4ebe77c795629cc1f45c0cdb322a1f998d4449edecd8e3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: operation/fraud_check_post.rs: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 93% of them inside a single declaration: FraudCheckPost (5 blocks, 45-648). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"542e01bbe9515a299e20474599edb38c473d56eb63b0e48a174d55dc9185bcb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flows/setup_mandate_flow.rs: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 78% of them inside a single declaration: SetupMandateRouterData (118-626). The bar is 500 significant lines; this is 17 over it, 1.03\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":"crates/router/src/core/payments/flows/setup_mandate_flow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"814d37ab80578b45a4761cf22330b941347036f135684c67cc73b9b1b6442ac0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Dimensions: 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":"crates/router/src/core/configs/dimension_state.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2f66a48ee56999d21c1e49070a3ee49f11c3177b65c168532d8e96d5bdb81b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: AuthEventMetricRow: TooManyFields \u2014 31 stored fields. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"841c9d5e5c156f4066617ece444124f14d7d3c154e2b5094f4cc0cdf8a43572c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentLinkConfig: TooManyFields \u2014 31 stored fields. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/admin.rs"},"region":{"startLine":3961}}}],"partialFingerprints":{"codehealthFindingId/v1":"70193ac919058876df85ec484d4b08c3dd52df03a04d544e6ada13e657cdb90f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PaymentsListResponseItem: TooManyFields \u2014 31 stored fields. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":8325}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb4e88350a31280549b3232ba6355e7bd5cc4815a976cde6935917c0901cd7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MerchantAccountUpdateInternal: TooManyFields \u2014 31 stored fields. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/merchant_account.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbb8d5f9aee91f5552dc2693ff8428d72b3e37b353b5c4dcde1d829447f9f70"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: SantanderBoletoPaymentRequest: TooManyFields \u2014 31 stored fields. The bar is 30 stored fields; this is 1 over it, 1.03\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/santander/requests.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ccfbcb80240a27eb6800b1cf9cc3140b7ea6152e0bbf49d4274c710fb56ec7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/worldpayraft.rs: FileTooLong \u2014 516 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: Worldpayraft (15 blocks, 51-705). The bar is 500 significant lines; this is 16 over it, 1.03\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":"crates/hyperswitch_connectors/src/connectors/worldpayraft.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14bcb9f1780f809a62eada757c300a14bd1a5b896a983d57e8a3993dcc77fb60"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Payjustnowinstore: ClassTooLong \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 59-672. The bar is 400 significant lines; this is 12 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":"crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ccc142620ea4be479b4984da5b99b80aca6e1cae648e9b09e1fcd503d90d99"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vault.rs: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 64% of them inside a single declaration: PaymentMethodVaultingData (5 blocks, 15-679). The bar is 500 significant lines; this is 15 over it, 1.03\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":"crates/hyperswitch_domain_models/src/vault.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df11ed9a2e4527a920e260663f7f02fcf230db5ceb42e35b1b757583611b0ea3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BankNames.display_name_override: MethodTooLong \u2014 display_name_override runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/common_enums/src/enums.rs"},"region":{"startLine":10899}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a0b2e11e44c4b9ca0850ad44184df40f9fd2306d4fc5d273ea921f175f3aff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdyenPaymentRequest.try_from: MethodTooLong \u2014 try_from runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ebc64cc38e02a304389c21fb74b388e735110e43eefd25ae88f3198976bf72"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.try_from: MethodTooLong \u2014 try_from runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":4677}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d85d32eb2877ec0ee48c671a0b5d7271373c0e465f5a9ac5ab57d18f35ecbb3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.try_from: MethodTooLong \u2014 try_from runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":4815}}}],"partialFingerprints":{"codehealthFindingId/v1":"1facd5a458fc35a99c671087355353e9e299182cc7d5f1ec058c2863fd75c28e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Nomupay.build_error_response: MethodTooLong \u2014 build_error_response runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"46df75127febaade5c92daa504c5b7c848b7933db2bed069be60e5000426a9ba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntent.construct_new: MethodTooLong \u2014 construct_new runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2679}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d59202b84af38548f2f005658be7167130ed307cd01bfb69a959c5dc48ad522"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::update_payment_method_core: FunctionTooLong \u2014 router::core::payment_methods::update_payment_method_core runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":7174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51770419d5354b69ecff3423d08d1c7ac4068846eaf2487060397b7bf34e5bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::call_create_connector_customer_if_required: FunctionTooLong \u2014 router::core::payments::call_create_connector_customer_if_required runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/router/src/core/payments.rs"},"region":{"startLine":9372}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c1b5625bd8fea37f1e46cd4dfc28454746cc4f08a77ad0b14130ac9fb4b008"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::choose_connector: FunctionTooLong \u2014 router::core::payments::choose_connector runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/router/src/core/payments.rs"},"region":{"startLine":11861}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6d2fe6e0285b95ac1308dfb474cf81d013df5cde14aaf567ac5679f91a50d7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentConfirm.call_external_three_ds_authentication_if_eligible: MethodTooLong \u2014 call_external_three_ds_authentication_if_eligible runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"9411c5dc6077db7499b42919a3fceca652f3de7ef096c6a1b07391b5fc430e6c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentCreate.validate_request: MethodTooLong \u2014 validate_request runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0216c1f1231d465f6ff88204d02af8fd8f74884420fbb60dbbd69b9fd6b3ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentProxyIntent.get_trackers: MethodTooLong \u2014 get_trackers runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/router/src/core/payments/operations/proxy_payments_intent.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0ac04fcf77d068553f7140c0cb3cb04dec2851d43a33749d104225d1cffa97"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::handle_invitation: FunctionTooLong \u2014 router::core::user::handle_invitation runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/router/src/core/user.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbd0bfa2b412010978d0001ba41008fe73534201a2720f2399fe2d41cd92cdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::frm_incoming_webhook_flow: FunctionTooLong \u2014 router::core::webhooks::incoming::frm_incoming_webhook_flow runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":3136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e90705640b25a7eb91e5a8153876a00cef9f871f1ad4c8a0b10fb4e76dd94b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Profile.convert_back: MethodTooLong \u2014 convert_back runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b21610b7a340a78674df43a46af59fb7203d7ad4e1fa544ce73cfc86cf14cdb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MockDb.insert_payment_attempt: MethodTooLong \u2014 insert_payment_attempt runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"crates/storage_impl/src/mock_db/payment_attempt.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b9a12b0e415b9c674fa40edbcd2f42293346a41412fe2b8df5c24d64b50fa8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BillingHandler: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 2 blocks, lines 29-539. The bar is 400 significant lines; this is 11 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":"crates/subscriptions/src/core/billing_processor_handler.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"313a296eb847d5a25e16b596300359e20f33488a779dced845644b6e0f0eecdf"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Paynearme: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 15 blocks, lines 51-693. The bar is 400 significant lines; this is 11 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":"crates/hyperswitch_connectors/src/connectors/paynearme.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bb7d0d3e7f12158e66776e683939261dcdc5f979c8c1121437486ff970d005"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MultisafepayPaymentsRequest: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 2 blocks, lines 336-817. 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":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"2313a5d408861ced555c5e679ff989bec55a62c4530795ec4790ff5300c1fe4a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WellsfargoPaymentsRequest: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 7 blocks, lines 295-1443. 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":"crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"737bdc0d186477b90e4fed219c3ac8f127805f006d2f22deb964c9675381117d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stripebilling/transformers.rs: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 10 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":"crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ffef019c418ad2ebc233a6dfa565702e60efe22300f809e520f6c4db87e08d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AuthenticationAttemptCount.load_metrics: MethodTooLong \u2014 load_metrics runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"24db6f49c8cec6575f44bb144c7566bd6065f69068031420cf15f1dbe12dc0b7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChallengeSuccessCount.load_metrics: MethodTooLong \u2014 load_metrics runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/analytics/src/auth_events/metrics/challenge_success_count.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e302228fa6950363af975f8cbef254fbb8d9eb77f973d1c89381d3ac181da9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FrictionlessSuccessCount.load_metrics: MethodTooLong \u2014 load_metrics runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/analytics/src/auth_events/metrics/frictionless_success_count.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d1210edd08788591a2e66d27759002cb58bb34e9b6af2d9b7cc6d72688bdde"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentMethodMigrate.try_from: MethodTooLong \u2014 try_from runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":4557}}}],"partialFingerprints":{"codehealthFindingId/v1":"325e20d1c217c8464ade6bb8554d321d472f20342b7a843e32658cd8ba646b32"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BarclaycardAuthEnrollmentRequest.try_from: MethodTooLong \u2014 try_from runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"a977176106330d82d650603831be060c873f826be75b64d7a0f28ec0c8a11a05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.try_from: MethodTooLong \u2014 try_from runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a49d2250a5636b667bf94b4be861eccb836b121c117893fbf0bb7f8685b078e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AddressDetails.to_state_code: MethodTooLong \u2014 to_state_code runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5f7b809e2da11fe61ef56aec2fc424bb5a4b9733ee6fc359017bdbb690a661"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::authentication::parse_ucs_authenticate_response: FunctionTooLong \u2014 router::core::authentication::parse_ucs_authenticate_response runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/authentication.rs"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"984e2598e6c3c55b3c1fec806e29a9916bfed66c102a46e867a761dc028dec20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::fraud_check::notify_frm_of_chargeback: FunctionTooLong \u2014 router::core::fraud_check::notify_frm_of_chargeback runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"30301a57290e9281fa8741d3a61bd42f7730500ac53bc8ccfa57fafc146f79e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::mandate::mandate_procedure: FunctionTooLong \u2014 router::core::mandate::mandate_procedure runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/mandate.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcab513a82ee495e078c345d7cf6896a21ac2e8489cab75b02f62a848ada4e7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payment_methods::create_payment_method_proxy_card_core: FunctionTooLong \u2014 router::core::payment_methods::create_payment_method_proxy_card_core runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3810}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed89c28073bbfee5c8df1e448acfb551bd4a9888a300244ca75a27479235ff0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Capture.execute: MethodTooLong \u2014 execute runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/gateway/capture_gateway.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e327877380007229b26e950979958702985277f3c59216cb58ac9f1de79efcee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::payments::helpers::get_attempt_type: FunctionTooLong \u2014 router::core::payments::helpers::get_attempt_type runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5438}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcab75d03c37707e0a8c092b4485c8e671ec27a1d312aa7fdeb286f627575fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntentConfirm.get_trackers: MethodTooLong \u2014 get_trackers runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7fed216e8e0a44ba945d93e7ba20296ff034fc2668c7a01521cdac55413cb2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProxyRecord.get_vault_data: MethodTooLong \u2014 get_vault_data runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/proxy/utils.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5538fcf5ac99c25663872b99ef3fff58e49175b86872140c3f618848a113d41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::webhooks::incoming::payout_incoming_webhook_update_status: FunctionTooLong \u2014 router::core::webhooks::incoming::payout_incoming_webhook_update_status runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"48abe94a6ff7587fd9c1a31aabd28ab51af79b6447e6c5774a173b5d2df2b72c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::routes::health::deep_health_check_func: FunctionTooLong \u2014 router::routes::health::deep_health_check_func runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/router/src/routes/health.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"557d69224f709f790ac67678893fd8f1ef2b0ed9d259c93b8ef7a410931ca7f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SmithyGenerator.generate_shape_definition: MethodTooLong \u2014 generate_shape_definition runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) 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":"crates/smithy-core/src/generator.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5339dedef44cb8ac3c5af3e66e4e81e3f432b699d831c918c75d938df91e922"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/superposition_sdk_config.rs: FileTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 9 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":"crates/router/src/core/superposition_sdk_config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f1001d055c6bed04a9b55cf1fff3fa6677a02b65b2785b8dcf6cc75b3199ee"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ilixium: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 14 blocks, lines 55-690. The bar is 400 significant lines; this is 7 over it, 1.02\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":"crates/hyperswitch_connectors/src/connectors/ilixium.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1613f137b5a6ed03183b4d87c91fda23a8a759bb220c89e9f5206897abd37f4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JpmorganOrbital: ClassTooLong \u2014 407 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 73-741. The bar is 400 significant lines; this is 7 over it, 1.02\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":"crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"5710d379520d9c51306b8c7f39fe4c2d4d64f1bbd9b748ce982812a6666c9d92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/ilixium.rs: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: Ilixium (14 blocks, 55-690). The bar is 500 significant lines; this is 8 over it, 1.02\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":"crates/hyperswitch_connectors/src/connectors/ilixium.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceac13937a30162c0fdcc0217b5ee20849bec684094b4c08677e769b0662cdd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/jpmorgan_orbital.rs: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: JpmorganOrbital (16 blocks, 73-741). The bar is 500 significant lines; this is 8 over it, 1.02\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":"crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc530e5da6adfa9e86776d686c8ef64a7b8ca4fb24aae8b9624eee259fcc390"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 7 over it, 1.01\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":"crates/common_utils/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61e50e972863c1df59e89e1f82831200e51207f066949df395a1fb655f3450e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Fiservcommercehub: ClassTooLong \u2014 405 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 16 blocks, lines 50-714. 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":"crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"954c0ddc6eb64a82ae580704eccd634fcf620e0d48a74e87e7faf7d31879335c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: api/admin.rs: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 6 over it, 1.01\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":"crates/router/src/types/api/admin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d23ac8ffc01a415b8cbf53daa7b728de91202a1490912190dbcbc67cfc0f83"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Authentication: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 4 methods, 3 blocks, lines 26-478. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/authentication.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0512af7faee21d048073ffaf896423929acf5feb3314b8ff926c83c4cbea40e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: db/user_role.rs: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 5 over it, 1.01\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":"crates/router/src/db/user_role.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"488f25e594e9ca7db0dfdc0f0b72dad37ec87ea385dabc7c1a3d45a17c347e63"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntentMetricRow.from_row: MethodTooLong \u2014 from_row runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2c825f4bc58e7fb2cf3998ced32187707371fbf2dee5196d4b0ef1b1ef5acf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RouterData.try_from: MethodTooLong \u2014 try_from runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f7846f6e46da6cbe1e3ac23881ddd7ea8355cb67ad92fbfe85d810859e017c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::admin::process_open_banking_connectors: FunctionTooLong \u2014 router::core::admin::process_open_banking_connectors runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"crates/router/src/core/admin.rs"},"region":{"startLine":4982}}}],"partialFingerprints":{"codehealthFindingId/v1":"660263aaf51e7a9b7fcdcb3afbcd2b9f956e4c2ae6b2680c388a3c816b9fde79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: CustomerRequest.create_domain_model_from_request: MethodTooLong \u2014 create_domain_model_from_request runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"crates/router/src/core/customers.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8720c19041527dc28b210895619c52a9beaef61960666a6564deb8a24a970316"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SetupMandate.execute: MethodTooLong \u2014 execute runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"crates/router/src/core/payments/gateway/setup_mandate.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb27d7298c61083aeda281088aefe5c9c5be1e4e8b2fe8229d85f9d5f54f258f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PaymentIntentConfirm.get_trackers_for_split_payments: MethodTooLong \u2014 get_trackers_for_split_payments runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d89c53621f4e5bfa26fe88a48b2a77e5c747f7d5a085836979c9a4109e4ce9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router::core::user::connect_account: FunctionTooLong \u2014 router::core::user::connect_account runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"crates/router/src/core/user.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b50cea98fe471b26496932566294d17b34536ac1fce9519da3916979ea94d79"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KVRouterStore.insert_payout_attempt: MethodTooLong \u2014 insert_payout_attempt runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.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":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c24344e7abb1a3ccd8938d3f2e39ff80d939c64bd4054c517c8f93ee5eb3f7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/cybersourcedecisionmanager.rs: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: Cybersourcedecisionmanager (17 blocks, 68-677). The bar is 500 significant lines; this is 4 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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"648ed768eadbcc32af8fffc0edafc0786a2f5a4f632209aa293c1f742cd3a2dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/elavon.rs: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 86% of them inside a single declaration: Elavon (14 blocks, 65-675). The bar is 500 significant lines; this is 2 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c06c3397a837ddc44ada8d51d1a457606d82401c56aedf804a929b4a3c5252"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: setup_intents/types.rs: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2 over it, 1.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":"crates/router/src/compatibility/stripe/setup_intents/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6313eba0b2955fbefe53dc0a85b722cd4394dd990fcaf476cd87407d7c7feae"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PaymentCapture: ClassTooLong \u2014 401 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 4 blocks, lines 40-528. The bar is 400 significant lines; this is 1 over it, 1.00\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":"crates/router/src/core/payments/operations/payment_capture.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d64337727f1901bea950cb5b0d108d2c6911ab895f0a9321ec5f194b5ed16c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: connectors/riskified.rs: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 77% of them inside a single declaration: Riskified (12 blocks, 85-673). The bar is 500 significant lines; this is 1 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/riskified.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eea4e263cbcbeb8b389cb575b497e8db961f12610714c0c17e59d80841faf83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: transformers/api.rs: FileTooLong \u2014 501 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1 over it, 1.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":"crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"942c068158a4258c07c751195d9747e1008ba249260ce6e704b85ab9dfa66c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (41 members, 30 shared lines): crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:40-155 | crates/analytics/src/auth_events/metrics/authentication_count.rs:39-142 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:39-145 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:39-146 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:42-152 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:40-146 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:40-156 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:40-148 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:40-153 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:40-149 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:40-153 | crates/analytics/src/disputes/metrics/dispute_status_metric.rs:41-120 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:41-120 | crates/analytics/src/frm/metrics/frm_blocked_rate.rs:38-116 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:36-115 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:42-134 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:42-138 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:42-134 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:48-144 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:45-139 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:48-144 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:45-139 | crates/analytics/src/payments/distribution/payment_error_message.rs:41-186 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:40-148 | crates/analytics/src/payments/metrics/connector_success_rate.rs:42-143 | crates/analytics/src/payments/metrics/payment_count.rs:39-131 | crates/analytics/src/payments/metrics/payment_success_count.rs:40-141 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:40-149 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:42-144 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:39-132 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:40-142 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:39-138 | crates/analytics/src/payments/metrics/success_rate.rs:39-137 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:41-176 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:40-168 | crates/analytics/src/refunds/metrics/refund_count.rs:39-120 | crates/analytics/src/refunds/metrics/refund_success_count.rs:43-126 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:41-121 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:39-121 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:43-126 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:41-121 \u2014 These 41 members are variants of one another: a block of 30 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 41 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 41 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2daee256c3e76eb1da40763063adfa47e6205ee6ae96333d2b4a86b8c65c3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (33 members, 42 shared lines): crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:40-155 | crates/analytics/src/auth_events/metrics/authentication_count.rs:39-142 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:39-145 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:39-146 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:42-152 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:40-146 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:40-156 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:40-148 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:40-153 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:40-149 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:40-153 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:36-115 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:42-134 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:42-138 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:42-134 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:48-144 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:45-139 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:48-144 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:45-139 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:40-148 | crates/analytics/src/payments/metrics/connector_success_rate.rs:42-143 | crates/analytics/src/payments/metrics/payment_count.rs:39-131 | crates/analytics/src/payments/metrics/payment_success_count.rs:40-141 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:40-149 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:42-144 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:39-132 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:40-142 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:39-138 | crates/analytics/src/payments/metrics/success_rate.rs:39-137 | crates/analytics/src/refunds/metrics/refund_count.rs:39-120 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:39-121 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:43-191 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:42-183 \u2014 These 33 members are variants of one another: a block of 42 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 33 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 33 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df630eb27fcfd5e2efdead30c4d931340ced413fa9ec7b79696be005b9d5b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (24 members, 40 shared lines): crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:42-134 | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:43-162 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:42-138 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:42-134 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:43-164 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:42-146 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:42-147 | crates/analytics/src/payments/distribution/payment_error_message.rs:41-186 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:40-148 | crates/analytics/src/payments/metrics/debit_routing.rs:40-154 | crates/analytics/src/payments/metrics/payment_count.rs:39-131 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:40-148 | crates/analytics/src/payments/metrics/payment_success_count.rs:40-141 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:40-149 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:40-154 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:39-132 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:40-166 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:40-142 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:39-145 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:39-138 | crates/analytics/src/payments/metrics/success_rate.rs:39-137 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:40-168 | crates/analytics/src/refunds/metrics/refund_count.rs:39-120 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:39-121 \u2014 These 24 members are variants of one another: a block of 40 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 24 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 24 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/payment_intent_count.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"638adec0da84d177b2f6614a25f540938ee1e2d438dd77f722dd9de289ea8a26"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (19 members, 35 shared lines): crates/analytics/src/payments/distribution/payment_error_message.rs:41-186 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:40-148 | crates/analytics/src/payments/metrics/connector_success_rate.rs:42-143 | crates/analytics/src/payments/metrics/debit_routing.rs:40-154 | crates/analytics/src/payments/metrics/payment_count.rs:39-131 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:40-148 | crates/analytics/src/payments/metrics/payment_success_count.rs:40-141 | crates/analytics/src/payments/metrics/retries_count.rs:45-138 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:40-149 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:42-144 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:40-154 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:43-211 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:39-132 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:40-166 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:40-142 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:39-145 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:45-138 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:39-138 | crates/analytics/src/payments/metrics/success_rate.rs:39-137 \u2014 These 19 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 19 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 19 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/distribution/payment_error_message.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce32580c25c102b39d5f5eaa6d044b1151d2d8422da4bf8fa4d05d850bfd502"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (16 members, 18 shared lines): crates/hyperswitch_connectors/src/connectors/cashtocode.rs:140-190 | crates/hyperswitch_connectors/src/connectors/paypal.rs:553-605 | crates/hyperswitch_connectors/src/connectors/paypal.rs:688-740 | crates/hyperswitch_connectors/src/connectors/stripe.rs:377-445 | crates/hyperswitch_connectors/src/connectors/stripe.rs:568-636 | crates/hyperswitch_connectors/src/connectors/stripe.rs:759-827 | crates/hyperswitch_connectors/src/connectors/stripe.rs:980-1048 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1164-1232 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1342-1410 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1591-1659 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1764-1832 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1964-2032 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2127-2195 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2302-2370 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2434-2502 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2671-2739 \u2014 These 16 members are variants of one another: a block of 18 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 16 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 16 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cashtocode.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c324f078c9d7b52f82856613c7bec2693aa351096f8118cf7813579288e2b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (14 members, 21 shared lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:230-296 | crates/hyperswitch_connectors/src/connectors/stripe.rs:377-445 | crates/hyperswitch_connectors/src/connectors/stripe.rs:568-636 | crates/hyperswitch_connectors/src/connectors/stripe.rs:759-827 | crates/hyperswitch_connectors/src/connectors/stripe.rs:980-1048 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1164-1232 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1342-1410 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1591-1659 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1764-1832 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1964-2032 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2127-2195 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2302-2370 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2434-2502 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2671-2739 \u2014 These 14 members are variants of one another: a block of 21 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a173b7ff654d323931a533d3eb108d644b160b92e0e675415e43134b9a40a85"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (13 members, 32 shared lines): crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:42-134 | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:43-162 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:42-138 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:42-134 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:43-164 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:42-146 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:42-147 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:48-159 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:48-144 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:45-139 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:48-151 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:48-144 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:45-139 \u2014 These 13 members are variants of one another: a block of 32 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 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/payment_intent_count.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d734e49bdd872eda590bf9cb807de12f60582d2b1164a5da1ba1250764d7eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (12 members, 92 shared lines): crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:40-155 | crates/analytics/src/auth_events/metrics/authentication_count.rs:39-142 | crates/analytics/src/auth_events/metrics/authentication_error_message.rs:43-160 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:39-145 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:39-146 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:42-152 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:40-146 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:40-156 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:40-148 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:40-153 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:40-149 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:40-153 \u2014 These 12 members are variants of one another: a block of 92 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c26722ba30352aeb00de25225ca2bd192113008d0a99613c4b35d38540b561e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (12 members, 34 shared lines): crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:41-176 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:40-168 | crates/analytics/src/refunds/metrics/refund_count.rs:39-120 | crates/analytics/src/refunds/metrics/refund_processed_amount.rs:42-128 | crates/analytics/src/refunds/metrics/refund_success_count.rs:43-126 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:41-121 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:39-121 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:43-191 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:42-136 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:42-183 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:43-126 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:41-121 \u2014 These 12 members are variants of one another: a block of 34 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 12 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 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2701e28cdeb756c0ce17968be5a9b2d95c638cd1bb00c215365d6253cc51421"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 33 shared lines): crates/router/src/services/authentication.rs:4187-4267 | crates/router/src/services/authentication.rs:4324-4403 | crates/router/src/services/authentication.rs:4511-4587 | crates/router/src/services/authentication.rs:4600-4673 | crates/router/src/services/authentication.rs:4749-4830 | crates/router/src/services/authentication.rs:4850-4933 | crates/router/src/services/authentication.rs:4946-5025 | crates/router/src/services/authentication.rs:5067-5144 | crates/router/src/services/authentication.rs:5157-5232 \u2014 These 9 members are variants of one another: a block of 33 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":4187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0479e1810eb4093ba6acc8fc593e306ec850c1bc8b4c141a7826157e259c52b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (9 members, 29 shared lines): crates/router/src/services/authentication.rs:4187-4267 | crates/router/src/services/authentication.rs:4511-4587 | crates/router/src/services/authentication.rs:4749-4830 | crates/router/src/services/authentication.rs:4850-4933 | crates/router/src/services/authentication.rs:4946-5025 | crates/router/src/services/authentication.rs:5067-5144 | crates/router/src/services/authentication.rs:5157-5232 | crates/router/src/services/authentication.rs:5275-5345 | crates/router/src/services/authentication.rs:5524-5592 \u2014 These 9 members are variants of one another: a block of 29 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":4187}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dc6092ab998c6e54d5e6da115ec25ad713fa3463c430a8e024c644de53bd41"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 67 shared lines): crates/analytics/src/sdk_events/metrics/average_payment_time.rs:40-125 | crates/analytics/src/sdk_events/metrics/load_time.rs:40-125 | crates/analytics/src/sdk_events/metrics/payment_attempts.rs:40-120 | crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs:40-120 | crates/analytics/src/sdk_events/metrics/payment_method_selected_count.rs:40-120 | crates/analytics/src/sdk_events/metrics/payment_methods_call_count.rs:40-128 | crates/analytics/src/sdk_events/metrics/sdk_initiated_count.rs:40-120 | crates/analytics/src/sdk_events/metrics/sdk_rendered_count.rs:40-120 \u2014 These 8 members are variants of one another: a block of 67 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics/average_payment_time.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"783d3a7652606504b0aa780cc5a106c91f1f41c490249ae0997a351a2cad5fe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 14 shared lines): crates/analytics/src/sqlx.rs:563-624 | crates/analytics/src/sqlx.rs:671-798 | crates/analytics/src/sqlx.rs:802-935 | crates/analytics/src/sqlx.rs:939-1047 | crates/analytics/src/sqlx.rs:1051-1154 | crates/analytics/src/sqlx.rs:1158-1242 | crates/analytics/src/sqlx.rs:1246-1288 | crates/analytics/src/sqlx.rs:1292-1353 \u2014 These 8 members are variants of one another: a block of 14 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sqlx.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37245eecabc794a8655ab029220de2dd3816f9c36afd60b386d95d59e46427a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 61 shared lines): crates/router/src/core/payments/operations/payment_cancel.rs:57-293 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:59-234 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:56-216 | crates/router/src/core/payments/operations/payment_capture.rs:64-339 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:60-206 | crates/router/src/core/payments/operations/payment_start.rs:55-256 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:59-228 \u2014 These 7 members are variants of one another: a block of 61 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 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"11872e2a8fe4067b64116e7e4ddd726688c3a44875f7ff2f9deab8b3057b1611"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 59 shared lines): crates/router/src/core/payments/operations/payment_cancel.rs:57-293 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:59-234 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:56-216 | crates/router/src/core/payments/operations/payment_capture.rs:64-339 | crates/router/src/core/payments/operations/payment_session.rs:55-255 | crates/router/src/core/payments/operations/payment_start.rs:55-256 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:59-228 \u2014 These 7 members are variants of one another: a block of 59 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 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa61f9b39274b3a4a11bf7729a40375970ef24dfa7adbbac4ec98ada75a513e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 49 shared lines): crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:59-234 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:56-216 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:60-206 | crates/router/src/core/payments/operations/payment_start.rs:55-256 | crates/router/src/core/payments/operations/payment_update_metadata.rs:55-212 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:59-228 | crates/router/src/core/payments/operations/tax_calculation.rs:65-222 \u2014 These 7 members are variants of one another: a block of 49 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 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_cancel_post_capture.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec80588516987ac1417c5aa4217eccc4e9e56cc75296cace2a6b69ea8f72252"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 41 shared lines): crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:59-234 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:56-216 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:60-206 | crates/router/src/core/payments/operations/payment_update_metadata.rs:55-212 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:59-228 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:66-221 | crates/router/src/core/payments/operations/tax_calculation.rs:65-222 \u2014 These 7 members are variants of one another: a block of 41 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 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_cancel_post_capture.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afe1795cf9ecc8a88cf68af39ead011085bcd8c6588a450605d99a145eca0db"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 25 shared lines): crates/hyperswitch_connectors/src/connectors/cybersource.rs:491-555 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1026-1081 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1274-1338 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1429-1493 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1579-1643 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1737-1801 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1901-1956 \u2014 These 7 members are variants of one another: a block of 25 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 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cf9092946dbcc7f34b2b120efb16f7eab0e6a56696a3211228a67066605c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 23 shared lines): crates/router/src/core/payouts.rs:1790-2073 | crates/router/src/core/payouts.rs:2134-2288 | crates/router/src/core/payouts.rs:2372-2539 | crates/router/src/core/payouts.rs:2689-2791 | crates/router/src/core/payouts.rs:2830-3041 | crates/router/src/core/payouts.rs:3049-3195 | crates/router/src/core/payouts.rs:3204-3406 \u2014 These 7 members are variants of one another: a block of 23 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 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts.rs"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"b781686560a9bccb9e8f65bad5047eade01eab4978a6a166fbd8834b9dc0a4cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 20 shared lines): crates/analytics/src/sqlx.rs:208-389 | crates/analytics/src/sqlx.rs:563-624 | crates/analytics/src/sqlx.rs:671-798 | crates/analytics/src/sqlx.rs:802-935 | crates/analytics/src/sqlx.rs:1051-1154 | crates/analytics/src/sqlx.rs:1292-1353 | crates/analytics/src/sqlx.rs:1415-1460 \u2014 These 7 members are variants of one another: a block of 20 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 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sqlx.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"548271e692c86f71b81dba38cbc7c4d8f8c57b132da655415d6456b52031cde8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 53 shared lines): crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:59-234 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:56-216 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:60-206 | crates/router/src/core/payments/operations/payment_session.rs:55-255 | crates/router/src/core/payments/operations/payment_start.rs:55-256 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:59-228 \u2014 These 6 members are variants of one another: a block of 53 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 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":"crates/router/src/core/payments/operations/payment_cancel_post_capture.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ea96b1189392f8d008215495ac00933d1dedb5980bc427fe3ce2a62c68d42b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 42 shared lines): crates/analytics/src/disputes/metrics/dispute_status_metric.rs:41-120 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:41-120 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:41-118 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:41-119 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:41-117 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:41-118 \u2014 These 6 members are variants of one another: a block of 42 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 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":"crates/analytics/src/disputes/metrics/dispute_status_metric.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"751164e685af7df39418a16c33ccb6aa33a272946b48bf854159c732f6d90727"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 42 shared lines): crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:43-164 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:42-146 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:42-147 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:48-159 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:40-166 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:39-145 \u2014 These 6 members are variants of one another: a block of 42 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 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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ea8e7b82f206efc6aad2a4065f77d705eccd9d129467dfd83e2bd6acd033dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 42 shared lines): crates/router/src/core/payouts.rs:1790-2073 | crates/router/src/core/payouts.rs:2134-2288 | crates/router/src/core/payouts.rs:2372-2539 | crates/router/src/core/payouts.rs:2689-2791 | crates/router/src/core/payouts.rs:3049-3195 | crates/router/src/core/payouts.rs:3204-3406 \u2014 These 6 members are variants of one another: a block of 42 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 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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a6b54e62dd301f18bc3af5dd5b4ff9a2831d8861f4301344a608bbc45db76"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 38 shared lines): crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:48-159 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:48-144 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:48-151 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:48-144 | crates/analytics/src/payments/metrics/retries_count.rs:45-138 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:45-138 \u2014 These 6 members are variants of one another: a block of 38 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 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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c6db5a1729eed33715dd362f5e53ddbdbeb930a725978faec1b85cab282a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 36 shared lines): crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:41-118 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:41-119 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:41-117 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:41-118 | crates/analytics/src/refunds/metrics/refund_processed_amount.rs:42-128 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:42-136 \u2014 These 6 members are variants of one another: a block of 36 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 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":"crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1efa3024900f49d07ccccc11534de9bd1bc075ae8fa212fd025ec40d288ca57"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 29 shared lines): crates/router/src/core/payment_methods/network_tokenization.rs:130-223 | crates/router/src/core/payment_methods/network_tokenization.rs:302-396 | crates/router/src/core/payment_methods/network_tokenization.rs:579-632 | crates/router/src/core/payment_methods/network_tokenization.rs:859-919 | crates/router/src/core/payment_methods/network_tokenization.rs:927-981 | crates/router/src/core/payment_methods/network_tokenization.rs:1087-1148 \u2014 These 6 members are variants of one another: a block of 29 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 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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8008fd1333fdea75badc57b1f881a3790386a1ed07de78d0b3e3ca97c003da67"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 27 shared lines): crates/router/src/core/payments/flows/authorize_flow.rs:1695-1791 | crates/router/src/core/payments/flows/authorize_flow.rs:1822-1936 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:781-877 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:913-1028 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1051-1144 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1176-1282 \u2014 These 6 members are variants of one another: a block of 27 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 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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b847ae8de956c53ab01e027386db7526a95c63d2b9ddaead6cea18c9f1496fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 73 shared lines): crates/analytics/src/lib.rs:124-218 | crates/analytics/src/lib.rs:339-433 | crates/analytics/src/lib.rs:460-550 | crates/analytics/src/lib.rs:670-760 | crates/analytics/src/lib.rs:770-860 \u2014 These 5 members are variants of one another: a block of 73 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":"crates/analytics/src/lib.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d1e236331450fb5ad01eced2d5f7bbbbb003399adda13d68767af0f6605872"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 63 shared lines): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:226-316 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:249-339 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:181-323 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:255-384 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:162-288 \u2014 These 5 members are variants of one another: a block of 63 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"50da39e805bab8991d2eba1e946fce0e1ef14d7b5cb7b64b9cb4a3d55a9e72ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 52 shared lines): crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:43-162 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:48-151 | crates/analytics/src/payments/metrics/debit_routing.rs:40-154 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:40-148 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:40-154 \u2014 These 5 members are variants of one another: a block of 52 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":"crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a4cc90cf82e7e6c5cf8a5513b63fa838f9ae19d20e39cbdc497af9259ecd6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 26 shared lines): crates/hyperswitch_connectors/src/connectors/cashtocode.rs:140-190 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:145-195 | crates/hyperswitch_connectors/src/connectors/paypal.rs:553-605 | crates/hyperswitch_connectors/src/connectors/paypal.rs:688-740 | crates/hyperswitch_connectors/src/connectors/stripe.rs:171-231 \u2014 These 5 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 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":"crates/hyperswitch_connectors/src/connectors/cashtocode.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2c01cf004c695a8fdb11db73e6dfa9280ff3b6ede3fe140694223bf8a27a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 14 shared lines): crates/router/src/core/payments/transformers.rs:144-267 | crates/router/src/core/payments/transformers.rs:866-1113 | crates/router/src/core/payments/transformers.rs:2085-2422 | crates/router/src/core/payments/transformers.rs:2443-2656 | crates/router/src/core/payments/transformers.rs:8812-8989 \u2014 These 5 members are variants of one another: a block of 14 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6d904c217c82e6a37bef4250394d72124a78212fc99f9a933fab33d709e648"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 60 shared lines): crates/router/src/db/refund.rs:1746-1851 | crates/router/src/db/refund.rs:1861-1956 | crates/router/src/db/refund.rs:2077-2182 | crates/router/src/db/refund.rs:2190-2285 \u2014 These 4 members are variants of one another: a block of 60 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":"crates/router/src/db/refund.rs"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa599837cd86f066f50a483eead4626573005bdf524e9e2d8ca141c8f64c972"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 59 shared lines): crates/router/src/core/payments/operations/payment_cancel.rs:57-293 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:59-234 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:60-206 | crates/router/src/core/payments/operations/payment_session.rs:55-255 \u2014 These 4 members are variants of one another: a block of 59 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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0eb1d3384bc856aaec9ba8eef34816f3b9c139c926b981feaef846b274fa792"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 50 shared lines): crates/analytics/src/sqlx.rs:208-389 | crates/analytics/src/sqlx.rs:393-559 | crates/analytics/src/sqlx.rs:939-1047 | crates/analytics/src/sqlx.rs:1158-1242 \u2014 These 4 members are variants of one another: a block of 50 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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e9db52450c9fd8f6b0244e705f782acfbbfaaddccf309bb62608ba13918dfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 50 shared lines): crates/router/src/core/payments/operations/payment_cancel.rs:57-293 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:59-234 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:60-206 | crates/router/src/core/payments/operations/tax_calculation.rs:65-222 \u2014 These 4 members are variants of one another: a block of 50 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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf99a07f80c278b63ffcc1d98ac7a84656f98d6a82267a6ae7c1e52501b38ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 47 shared lines): crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:42-146 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:42-147 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:43-211 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:39-145 \u2014 These 4 members are variants of one another: a block of 47 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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffa786d5b5d3abf7d611c9ef10d4be30ad5511617d3bf720600f013ef33778f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 47 shared lines): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:817-936 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:945-1040 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3819-3959 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3968-4074 \u2014 These 4 members are variants of one another: a block of 47 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7b5f0cdf4ccbd87be5937a943393b84f710a41b18aa56fdbc4f6858a7bcbe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 46 shared lines): crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:59-234 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:56-216 | crates/router/src/core/payments/operations/payment_reject.rs:51-233 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:59-228 \u2014 These 4 members are variants of one another: a block of 46 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":"crates/router/src/core/payments/operations/payment_cancel_post_capture.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8162c03f4ca05588e0a8132736d81636b993fcf5b694dddf51702da7f8b7266b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 40 shared lines): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:60-206 | crates/router/src/core/payments/operations/payment_session.rs:55-255 | crates/router/src/core/payments/operations/payment_update_metadata.rs:55-212 | crates/router/src/core/payments/operations/tax_calculation.rs:65-222 \u2014 These 4 members are variants of one another: a block of 40 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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19e9aea33098043c499331eacb0183730be18147e60aad4c2617cbf59105b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 36 shared lines): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1455-1513 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1520-1578 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2947-3017 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3026-3098 \u2014 These 4 members are variants of one another: a block of 36 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b42441e8e722d4b2c700046a820e1800cb14c7712ec0767cbdd409d27680a71"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 32 shared lines): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:817-936 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:945-1040 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1455-1513 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1520-1578 \u2014 These 4 members are variants of one another: a block of 32 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2b548acac44c8bd3f325ab84ec6e417596e132f55d1eb4624e122b415a3ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 32 shared lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2947-3017 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3026-3098 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3819-3959 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3968-4074 \u2014 These 4 members are variants of one another: a block of 32 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2947}}}],"partialFingerprints":{"codehealthFindingId/v1":"556bde1619ec2f3758721e65c8eff82ac616d368d5bcba3b00070c9482f87654"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 31 shared lines): crates/router/src/core/fraud_check/flows/checkout_flow.rs:65-218 | crates/router/src/core/fraud_check/flows/record_return.rs:61-160 | crates/router/src/core/fraud_check/flows/sale_flow.rs:58-212 | crates/router/src/core/fraud_check/flows/transaction_flow.rs:66-179 \u2014 These 4 members are variants of one another: a block of 31 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":"crates/router/src/core/fraud_check/flows/checkout_flow.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e76aa42da00b5ceacd63249b382d18929573437a736a587ce11fb1b23ebd39"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 30 shared lines): crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:576-627 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:653-704 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:730-781 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:807-858 \u2014 These 4 members are variants of one another: a block of 30 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":"crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad71128c53d5a35c249dd3ac91304ac0686617af75d696b62a946f7f866b910b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 23 shared lines): crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:148-239 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:95-163 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:55-103 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:704-756 \u2014 These 4 members are variants of one another: a block of 23 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":"crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e39c70efcd064e026c1f7affdd28b893096037ea0e7f22d48a68562f6ce7ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 22 shared lines): crates/analytics/src/lib.rs:124-218 | crates/analytics/src/lib.rs:228-328 | crates/analytics/src/lib.rs:339-433 | crates/analytics/src/lib.rs:560-660 \u2014 These 4 members are variants of one another: a block of 22 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":"crates/analytics/src/lib.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ea1386f3ffe2d7e22a133602e6ceb27e20e3116e198d54cb512dc613ab8ee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 21 shared lines): crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:148-239 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:95-163 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:704-756 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:67-123 \u2014 These 4 members are variants of one another: a block of 21 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":"crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a643bc8eb1a6237c1fde8a43840483ab9592fb292ad868841969f0a95728e58f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 19 shared lines): crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:241-275 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:428-488 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:65-149 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:245-309 \u2014 These 4 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 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":"crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"678b70f731cfae4e7301d7ba6748b55a6af53cad7a5b9e02714db0a9418f2d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 10 shared lines): crates/router/src/core/payments/transformers.rs:367-676 | crates/router/src/core/payments/transformers.rs:690-852 | crates/router/src/core/payments/transformers.rs:1127-1298 | crates/router/src/core/payments/transformers.rs:1824-2061 \u2014 These 4 members are variants of one another: a block of 10 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de9d9ab75a9e9a80ca1b21ff2f6556ebcc8ea6cb49787a10a2e4773656ad9a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 62 shared lines): crates/router/src/db/dispute.rs:891-969 | crates/router/src/db/dispute.rs:976-1061 | crates/router/src/db/dispute.rs:1068-1148 \u2014 These 3 members are variants of one another: a block of 62 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/dispute.rs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0efd56064f380a29d95b4b0fb3e1a63095c7038236f3d3268f769535c9f7b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 50 shared lines): crates/smithy/src/lib.rs:42-220 | crates/smithy/src/lib.rs:363-773 | crates/smithy/src/lib.rs:781-955 \u2014 These 3 members are variants of one another: a block of 50 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy/src/lib.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9929af81b1677c01af61e5b0f2c30eefd2f30ce6cc73417b5aed0cb1e8684315"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 38 shared lines): crates/hyperswitch_domain_models/src/disputes.rs:31-90 | crates/hyperswitch_domain_models/src/disputes.rs:106-161 | crates/hyperswitch_domain_models/src/refunds.rs:130-182 \u2014 These 3 members are variants of one another: a block of 38 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/disputes.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61fc525e323095ed5ac5c6229e271ce092c11e601ad01aec7209aaa6638ca68"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 27 shared lines): crates/hyperswitch_connectors/src/connectors/checkout.rs:148-233 | crates/hyperswitch_connectors/src/connectors/paypal.rs:156-244 | crates/hyperswitch_connectors/src/connectors/paypal.rs:357-451 \u2014 These 3 members are variants of one another: a block of 27 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f817e05502d205c9b71caf32900637014c9a44d8e981d47403a7c6de8fbaa694"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 24 shared lines): crates/hyperswitch_connectors/src/connectors/deutschebank.rs:421-459 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:516-560 | crates/hyperswitch_connectors/src/connectors/santander.rs:2954-3002 \u2014 These 3 members are variants of one another: a block of 24 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 3 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 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/deutschebank.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"325411d1ba935d3576ee9915f2799aad100555bd3a7317f8b7c70a931a91100d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (426 shared lines): crates/router/src/types/api/connector_mapping.rs:105-584 | crates/router/src/types/api/feature_matrix.rs:18-519 \u2014 These two members are variants of one another: 426 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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ab56592182bf2920faab53964b2f9e55e053881bb830ba461d7a3932f029bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (196 shared lines): crates/router/src/core/unified_connector_service.rs:4398-4605 | crates/router/src/core/unified_connector_service.rs:4638-4848 \u2014 These two members are variants of one another: 196 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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4398}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cd2f30d1a669bbc721383a3d24ad8c8f5f7a19779a1f0e48b019376ce3aec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (118 shared lines): crates/router/src/core/refunds.rs:517-864 | crates/router/src/core/refunds.rs:1228-1518 \u2014 These two members are variants of one another: 118 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"611a5c89c7c7ee103eca413dc93900255d72d7f416b2c9ba2f00f9b4228f27b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (114 shared lines): crates/router/src/core/payments/operations/payment_approve.rs:53-237 | crates/router/src/core/payments/operations/payment_reject.rs:51-233 \u2014 These two members are variants of one another: 114 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":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e276c0e247614ea7f17c3ee9abce800d9cfc17ffcff757f5e34c08b8ea29a2f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (111 shared lines): crates/router/src/core/payments/transformers.rs:3314-3444 | crates/router/src/core/payments/transformers.rs:3460-3602 \u2014 These two members are variants of one another: 111 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea9a920c936e083920f272b43d4fd9276ae7be40c43d2d4cd47ddde951388de"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (99 shared lines): crates/router/src/core/payment_link.rs:101-359 | crates/router/src/core/payment_link.rs:896-1071 \u2014 These two members are variants of one another: 99 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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"be781c9b212b9a12a39e66f219b8817549a81a77d8e54b6f1138700a7f90db3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (92 shared lines): crates/router/src/core/admin.rs:2400-2527 | crates/router/src/core/admin.rs:2586-2729 \u2014 These two members are variants of one another: 92 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":"crates/router/src/core/admin.rs"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eee92650a276ee07949bc69331fccb3335b31da57b14c75a6a25a64a90a80f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (89 shared lines): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:226-601 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1727-1934 \u2014 These two members are variants of one another: 89 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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4f9dff7f444daa8c859d5efa0b71913b44f3c2e83406dad5c077c003fa78ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (84 shared lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1010-1181 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1223-1404 \u2014 These two members are variants of one another: 84 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5216648fead0c17cd390c7b4db8f104b916626a1ed5aad67d6f4e588ea14cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (82 shared lines): crates/router/src/core/payment_methods/transformers.rs:1471-1589 | crates/router/src/core/payment_methods/transformers.rs:1595-1713 \u2014 These two members are variants of one another: 82 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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0417e2ee35a8511b071f91ed08b425f5b18122d87d2a6de20a495f22607cbe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (76 shared lines): crates/router/src/core/routing/helpers.rs:2178-2291 | crates/router/src/core/routing/helpers.rs:2303-2419 \u2014 These two members are variants of one another: 76 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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5172afc75e886db1886937cee5b160ea003ba4f597b054db43ab2c28b483db68"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (75 shared lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1010-1181 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2586-2816 \u2014 These two members are variants of one another: 75 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae06d8d460389efee3f9057b66b3e849697bca478fb44a97b1ba7bfd66e9c2af"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (75 shared lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2586-2816 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1223-1404 \u2014 These two members are variants of one another: 75 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"6819b46ca7964da48e1515fd1a506af03430475cb972060975b315e290c3317e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (75 shared lines): crates/router/src/core/payments/transformers.rs:5786-6080 | crates/router/src/core/payments/transformers.rs:7610-7811 \u2014 These two members are variants of one another: 75 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5786}}}],"partialFingerprints":{"codehealthFindingId/v1":"101ed3494c8b071d2ddb4711a8ab49a13740f3ab661f47e92ce9dc6973f5b458"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (73 shared lines): crates/router/src/core/admin.rs:2063-2195 | crates/router/src/core/admin.rs:2227-2370 \u2014 These two members are variants of one another: 73 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":"crates/router/src/core/admin.rs"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c68cd37618937d2ad6daa05486055d3ee54e8ea9ea07535600b46fc78ca073"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (69 shared lines): crates/api_models/src/payouts.rs:1475-1613 | crates/api_models/src/payouts.rs:1617-1782 \u2014 These two members are variants of one another: 69 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payouts.rs"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bdf6a86fd9147fa680f6bcc440e77a8ce7ba332ee5b140d8a5987b34497040"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (67 shared lines): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1971-2161 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2961-3176 \u2014 These two members are variants of one another: 67 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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"3919c60f81d929d9877687bdc0b15d565ba0b67eb19fa8c13c3ceaf7c6d2cef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (67 shared lines): crates/router/src/core/admin.rs:1779-1860 | crates/router/src/core/admin.rs:1864-1951 \u2014 These two members are variants of one another: 67 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":"crates/router/src/core/admin.rs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c57f92adbef575b68eb5c7780940d5e64b4cefea407f4b3eaf0683cf42f28b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (66 shared lines): crates/router/src/core/user_role.rs:160-383 | crates/router/src/core/user_role.rs:527-786 \u2014 These two members are variants of one another: 66 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":"crates/router/src/core/user_role.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"33858c5d9a3d582cee64c739b9089d131b175d87024960d188e2fa61ba98a8f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): crates/router/src/services/authentication.rs:5612-5709 | crates/router/src/services/authentication.rs:5722-5828 \u2014 These two members are variants of one another: 63 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":5612}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e7ee4c3dcad5304842be3e741384712adf38de459e56e8b28d6c91c5b98172"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (63 shared lines): crates/router/src/workflows/outgoing_webhook_retry.rs:50-302 | crates/router/src/workflows/outgoing_webhook_retry.rs:309-426 \u2014 These two members are variants of one another: 63 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":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7a25ec9951833166a6cd8bb46feeb2d4bd6a92bdaeffff2f3965ec2cc62713"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (61 shared lines): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1894-2060 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1223-1404 \u2014 These two members are variants of one another: 61 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdc78cb50be5e863f0cb5e9b2cbb66630d6637ef52301aff9fd0840ae21637e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): crates/router/src/compatibility/stripe/payment_intents.rs:114-186 | crates/router/src/compatibility/stripe/setup_intents.rs:100-172 \u2014 These two members are variants of one another: 59 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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e979106fcf19985603c0f2c5c580f39d0aeb155a85b5afc8253ae865bfbae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): crates/router/src/compatibility/stripe/setup_intents.rs:182-258 | crates/router/src/compatibility/stripe/setup_intents.rs:268-345 \u2014 These two members are variants of one another: 57 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":"crates/router/src/compatibility/stripe/setup_intents.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cbb537b558f5801680cd8d3d7276931e2bea516144e16255991c078d59369c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (57 shared lines): crates/router/src/core/webhooks/outgoing.rs:1066-1129 | crates/router/src/core/webhooks/outgoing_v2.rs:371-436 \u2014 These two members are variants of one another: 57 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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"bced861eab75a289f511794fa8f177009bf911cefc648f58753a0825d8b34e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (56 shared lines): crates/router/src/services/authentication.rs:3495-3641 | crates/router/src/services/authentication.rs:3833-3948 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd245f964b38eaea23cbcc0aaafc694c0de93605829e18d9815996687dbf0d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): crates/router/src/services/authentication.rs:1054-1144 | crates/router/src/services/authentication.rs:1188-1284 \u2014 These two members are variants of one another: 55 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"b969167d7f1b028ffb814df795e0fba4df004b06b11dbe4656b0cbc7752fbd1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (55 shared lines): crates/router/src/core/user.rs:3434-3576 | crates/router/src/core/user.rs:3777-3903 \u2014 These two members are variants of one another: 55 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":"crates/router/src/core/user.rs"},"region":{"startLine":3434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a03184bff4ed9ba60400e4464eeb8423866058c189640a0bf41d909ee4291cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): crates/router/src/core/payments/routing.rs:2934-3067 | crates/router/src/core/payments/routing.rs:3078-3297 \u2014 These two members are variants of one another: 54 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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"495c0eaf0076ff8d864566c37463e6e8cfb6d84f1077b68c706631315d83114d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (53 shared lines): crates/router/src/core/payments.rs:14826-14898 | crates/router/src/core/payments.rs:14907-15055 \u2014 These two members are variants of one another: 53 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":"crates/router/src/core/payments.rs"},"region":{"startLine":14826}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efba48fc29868c44c2db1b16a6b91b939d4fdafdeddfb2a6d2ce2d9d0d4548d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (51 shared lines): crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:264-453 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:106-186 \u2014 These two members are variants of one another: 51 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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fad4c30fe7a0ac5948103e66d56d52b0a49e15ba2d566a7686c688033dc33a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): crates/router/src/core/revenue_recovery/types.rs:812-986 | crates/router/src/core/revenue_recovery/types.rs:1134-1291 \u2014 These two members are variants of one another: 50 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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"679f455186c9f7bd7aa2f4d130d04bf3f93928927c9ad7e5cd4d048007889743"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:290-360 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1010-1181 \u2014 These two members are variants of one another: 47 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaef68bc1ee527e7e12175633cbc53d161be25a4cabbbb83665cb235deb73915"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:106-186 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:54-132 \u2014 These two members are variants of one another: 47 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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"813a85283bbaa343a85bde59f7d7c13c963a8a717431a54faeabd9157e441a69"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:290-360 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:307-503 \u2014 These two members are variants of one another: 46 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4563c5d2ece597bba9c0c68d71f11fe0a3be429e08c47780569ae768f346e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:106-186 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:105-234 \u2014 These two members are variants of one another: 46 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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f4a97bc5a83711f3477cfb6d40a349dca66e7f125acfbeea5e8d580c27998b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (46 shared lines): crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:264-453 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:54-132 \u2014 These two members are variants of one another: 46 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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b274d8ea0e1870ce187c8e2ae0b38411f200d4dbdab35aad3e7dbc23fce6bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): crates/storage_impl/src/merchant_connector_account.rs:946-1022 | crates/storage_impl/src/merchant_connector_account.rs:1031-1102 \u2014 These two members are variants of one another: 45 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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"04738099497a8ab7e6df1fcb322131c3a5e374b91e737252f23a3deb360e8e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:511-637 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:307-503 \u2014 These two members are variants of one another: 44 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"678b6612ac08fbfbe14ba9d11c784f9845dae943bef7efb206f77d1a1069ddcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:105-234 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:307-503 \u2014 These two members are variants of one another: 44 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":"crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a721fa4d52be5a7c2d74dd9e7c03b4f80be09e11853d66d087f305d3535c995"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1010-1181 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:783-869 \u2014 These two members are variants of one another: 44 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"46eede319d935d60c2fe255419ebf9a1aca23928ef963e7299fc5145db3685c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:511-637 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:290-360 \u2014 These two members are variants of one another: 43 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d76f6a767974066a65b4375fcdcb5d3696aa2b3eceaca106d8f8e479da2caaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:783-869 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:307-503 \u2014 These two members are variants of one another: 43 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":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"592c0ad40bcfd4311f43bb702c20447f4cffd8aba03405fdd7ee424a2e277ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2524-2578 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2592-2641 \u2014 These two members are variants of one another: 43 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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":2524}}}],"partialFingerprints":{"codehealthFindingId/v1":"e133045b64b92bb4d69ef66fd65a2273b0918ab542f5c3c6a79ceb4b0e280f33"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (43 shared lines): crates/router/src/analytics.rs:2341-2400 | crates/router/src/analytics.rs:2407-2483 \u2014 These two members are variants of one another: 43 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":"crates/router/src/analytics.rs"},"region":{"startLine":2341}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4eefd5e74204f3fc5728e4fea751383970eb82491b21c51b471436b024ee8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (42 shared lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1010-1181 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1894-2060 \u2014 These two members are variants of one another: 42 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c7c72ccd3cc942df1d493a36dc996782859570c5382e7de29a4eec061fd704"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (41 shared lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1010-1181 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:307-503 \u2014 These two members are variants of one another: 41 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dbf35b394c8234b492e46ecf60a0539a5dcb6430fed06be801beb9137a979f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (41 shared lines): crates/api_models/src/payment_methods.rs:2868-2942 | crates/api_models/src/payment_methods.rs:2986-3060 \u2014 These two members are variants of one another: 41 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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2868}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a725c17ac0c5616aa01109072eabca494baf5e06499cb1e295bd9097aaf3d6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (40 shared lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:511-637 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:783-869 \u2014 These two members are variants of one another: 40 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"af89e518275fa61eb3da6d4700c79df3919b0f4e3ad0ffc1d084577f5c256181"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2192-2269 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4138-4197 \u2014 These two members are variants of one another: 39 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed9ab188ff36cc79c0ee240015703e86e35a7cd2d1759ffe36247bf3a3ca80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:511-637 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1010-1181 \u2014 These two members are variants of one another: 38 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd31c1b179f06e6b52e4411392e2b81ec1bf452111d2a9ab4daf0522dba50bb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:290-360 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:264-453 \u2014 These two members are variants of one another: 38 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55db4eef47ace1febcc5a3f98c239ad441cf0f82fbed8a484fdc5abbeeaba0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (37 shared lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:511-637 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1894-2060 \u2014 These two members are variants of one another: 37 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a12ed0ae64d7b3ecbf02a94ad8d5b9fe1f661a022a25873955a88d98c41ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): crates/router/src/types/transformers.rs:578-621 | crates/router/src/types/transformers.rs:625-668 \u2014 These two members are variants of one another: 33 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":"crates/router/src/types/transformers.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75aa4e8c68bf21bc4b23a7be3073753d7813e00786fc2d7ac05b29b643b6175"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (27 shared lines): crates/router/src/core/payment_link/validator.rs:16-109 | crates/router/src/core/payouts/validator.rs:629-727 \u2014 These two members are variants of one another: 27 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":"crates/router/src/core/payment_link/validator.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aab5e0be7384252a0604ec6fda77cecfc1ded559fc728c1d717f6ce9fcefab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (93 corresponding lines): crates/router/src/core/payments/operations/payment_create.rs:867-959 | crates/router/src/core/payments/operations/payment_update.rs:717-809 \u2014 These two members are one piece of code written twice and then edited apart: 93 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"05adbbac77c6902ae933c613bd9f942ca7a674df0b524c29cba3bc049ec298de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/router/src/core/payments/helpers.rs:7745-7762 | crates/router/src/core/payments/helpers.rs:7863-7885 \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":7745}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b79d56455589731dd7201b4e8e7e02853655c03d55de03aded4a24686352926"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/analytics/src/query.rs:173-194 | crates/analytics/src/query.rs:199-221 \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":"crates/analytics/src/query.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a30049f8447e043bf39d2ebdb3b3e399b2c38a523d37eb5d3aeec45ef88f12a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/router/src/core/payment_methods.rs:5193-5254 | crates/router/src/core/payment_methods/vault.rs:2847-2905 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5193}}}],"partialFingerprints":{"codehealthFindingId/v1":"8426f2e97a474030727b522037a3e8ade4cb7f4e30284f15a4f486e14ee28369"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/analytics/src/sqlx.rs:628-667 | crates/analytics/src/sqlx.rs:1357-1377 \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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaabc907758d2d598069607c5bfbf1f7f56a809efc983a47a32daa9770bea66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/core/webhooks/incoming.rs:2348-2401 | crates/router/src/utils.rs:291-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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"15476ce89941cf467fbcd72b8c68f796ca91c38788ca6ca833e9c04a61b2cd06"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (88 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/affirm.rs:239-255 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:522-538 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:429-445 | crates/hyperswitch_connectors/src/connectors/authipay.rs:276-292 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:300-316 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:692-708 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:320-336 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:395-411 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:746-762 | crates/hyperswitch_connectors/src/connectors/boku.rs:254-270 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:234-250 | crates/hyperswitch_connectors/src/connectors/calida.rs:229-245 | crates/hyperswitch_connectors/src/connectors/celero.rs:245-261 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:219-235 | crates/hyperswitch_connectors/src/connectors/citigate.rs:227-243 | crates/hyperswitch_connectors/src/connectors/coingate.rs:221-237 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:212-228 | crates/hyperswitch_connectors/src/connectors/d24.rs:223-239 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:330-346 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:398-414 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:268-284 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:251-267 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:535-551 | crates/hyperswitch_connectors/src/connectors/elavon.rs:185-201 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:256-272 | crates/hyperswitch_connectors/src/connectors/envoy.rs:330-346 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:246-262 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:390-406 | crates/hyperswitch_connectors/src/connectors/finix.rs:508-524 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:234-250 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:314-330 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:345-361 | crates/hyperswitch_connectors/src/connectors/forte.rs:248-264 | crates/hyperswitch_connectors/src/connectors/getnet.rs:257-273 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:275-291 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:227-243 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:247-263 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:487-503 | crates/hyperswitch_connectors/src/connectors/helcim.rs:341-357 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:217-233 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:226-242 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:368-384 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:227-243 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:246-262 | crates/hyperswitch_connectors/src/connectors/inespay.rs:235-251 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:364-380 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:267-283 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:281-297 | crates/hyperswitch_connectors/src/connectors/katapult.rs:228-244 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1171-1187 | crates/hyperswitch_connectors/src/connectors/loonio.rs:247-263 | crates/hyperswitch_connectors/src/connectors/merchante.rs:246-262 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:277-293 | crates/hyperswitch_connectors/src/connectors/mollie.rs:443-459 | crates/hyperswitch_connectors/src/connectors/moneris.rs:353-369 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:225-241 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:303-319 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:677-693 | crates/hyperswitch_connectors/src/connectors/nordea.rs:909-925 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:381-397 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:879-895 | crates/hyperswitch_connectors/src/connectors/payconex.rs:227-243 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:267-283 | crates/hyperswitch_connectors/src/connectors/payload.rs:498-514 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:228-244 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:493-509 | crates/hyperswitch_connectors/src/connectors/paystack.rs:219-235 | crates/hyperswitch_connectors/src/connectors/paytm.rs:217-233 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:377-393 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:217-233 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:210-226 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:228-244 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:356-372 | crates/hyperswitch_connectors/src/connectors/sift.rs:225-241 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:331-347 | crates/hyperswitch_connectors/src/connectors/stax.rs:408-424 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:305-321 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:432-448 | crates/hyperswitch_connectors/src/connectors/thunes.rs:214-230 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:371-387 | crates/hyperswitch_connectors/src/connectors/trustly.rs:229-245 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:303-319 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:760-776 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:227-243 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:339-355 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:427-443 | crates/hyperswitch_connectors/src/connectors/zift.rs:317-333 | crates/hyperswitch_connectors/src/connectors/zsl.rs:185-201 \u2014 These 88 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 88 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 88 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b3cd28f518aa35d550108f2104e4ed52abb48581daa42bba805e254da38720"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (86 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/affirm.rs:661-674 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:966-979 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:608-621 | crates/hyperswitch_connectors/src/connectors/authipay.rs:632-645 | crates/hyperswitch_connectors/src/connectors/bambora.rs:701-714 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:572-585 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1161-1174 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:668-681 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:972-985 | crates/hyperswitch_connectors/src/connectors/boku.rs:515-528 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:670-683 | crates/hyperswitch_connectors/src/connectors/calida.rs:511-524 | crates/hyperswitch_connectors/src/connectors/celero.rs:583-596 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:448-461 | crates/hyperswitch_connectors/src/connectors/citigate.rs:460-473 | crates/hyperswitch_connectors/src/connectors/coingate.rs:415-428 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:447-460 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:666-679 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:873-886 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:573-586 | crates/hyperswitch_connectors/src/connectors/elavon.rs:447-460 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:489-502 | crates/hyperswitch_connectors/src/connectors/envoy.rs:563-576 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:479-492 | crates/hyperswitch_connectors/src/connectors/finix.rs:869-882 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:733-746 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:471-484 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:654-667 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:589-602 | crates/hyperswitch_connectors/src/connectors/forte.rs:590-603 | crates/hyperswitch_connectors/src/connectors/getnet.rs:592-605 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:553-566 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:462-475 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:485-498 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:656-669 | crates/hyperswitch_connectors/src/connectors/helcim.rs:687-700 | crates/hyperswitch_connectors/src/connectors/hipay.rs:624-637 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:450-463 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:460-473 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:552-565 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:460-473 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:489-502 | crates/hyperswitch_connectors/src/connectors/inespay.rs:478-491 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:502-515 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:519-532 | crates/hyperswitch_connectors/src/connectors/katapult.rs:461-474 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1341-1354 | crates/hyperswitch_connectors/src/connectors/loonio.rs:517-530 | crates/hyperswitch_connectors/src/connectors/merchante.rs:479-492 | crates/hyperswitch_connectors/src/connectors/mollie.rs:715-728 | crates/hyperswitch_connectors/src/connectors/moneris.rs:678-691 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:458-471 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:407-420 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1080-1093 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:635-648 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1140-1153 | crates/hyperswitch_connectors/src/connectors/payconex.rs:460-473 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:452-465 | crates/hyperswitch_connectors/src/connectors/payload.rs:931-944 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:461-474 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:967-980 | crates/hyperswitch_connectors/src/connectors/paystack.rs:462-475 | crates/hyperswitch_connectors/src/connectors/paytm.rs:450-463 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:829-842 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:450-463 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:532-545 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:580-593 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:590-603 | crates/hyperswitch_connectors/src/connectors/shift4.rs:706-719 | crates/hyperswitch_connectors/src/connectors/sift.rs:458-471 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:664-677 | crates/hyperswitch_connectors/src/connectors/square.rs:711-724 | crates/hyperswitch_connectors/src/connectors/stax.rs:747-760 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:540-553 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:760-773 | crates/hyperswitch_connectors/src/connectors/thunes.rs:447-460 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:604-617 | crates/hyperswitch_connectors/src/connectors/trustly.rs:397-410 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:634-647 | crates/hyperswitch_connectors/src/connectors/volt.rs:617-630 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:998-1011 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:462-475 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:858-871 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:807-820 | crates/hyperswitch_connectors/src/connectors/xendit.rs:725-738 | crates/hyperswitch_connectors/src/connectors/zift.rs:637-650 \u2014 These 86 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 86 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 86 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb1be61d1b64d77f588eb4c1565eaf601b12388f0ef035d5ea19912b24728f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (75 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/affirm.rs:489-503 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:780-794 | crates/hyperswitch_connectors/src/connectors/authipay.rs:451-465 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:477-491 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:913-927 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:497-511 | crates/hyperswitch_connectors/src/connectors/boku.rs:420-434 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:502-516 | crates/hyperswitch_connectors/src/connectors/calida.rs:423-437 | crates/hyperswitch_connectors/src/connectors/celero.rs:419-433 | crates/hyperswitch_connectors/src/connectors/citigate.rs:372-386 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:357-371 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:492-506 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:698-712 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:415-429 | crates/hyperswitch_connectors/src/connectors/elavon.rs:350-364 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:401-415 | crates/hyperswitch_connectors/src/connectors/envoy.rs:475-489 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:391-405 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:548-562 | crates/hyperswitch_connectors/src/connectors/finix.rs:691-705 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:381-395 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:483-497 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:501-515 | crates/hyperswitch_connectors/src/connectors/forte.rs:412-426 | crates/hyperswitch_connectors/src/connectors/getnet.rs:424-438 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:448-462 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:372-386 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:394-408 | crates/hyperswitch_connectors/src/connectors/helcim.rs:520-534 | crates/hyperswitch_connectors/src/connectors/hipay.rs:471-485 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:362-376 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:371-385 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:372-386 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:399-413 | crates/hyperswitch_connectors/src/connectors/inespay.rs:390-404 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:456-470 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:412-426 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:428-442 | crates/hyperswitch_connectors/src/connectors/katapult.rs:373-387 | crates/hyperswitch_connectors/src/connectors/loonio.rs:429-443 | crates/hyperswitch_connectors/src/connectors/merchante.rs:391-405 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:437-451 | crates/hyperswitch_connectors/src/connectors/mollie.rs:608-622 | crates/hyperswitch_connectors/src/connectors/moneris.rs:519-533 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:370-384 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:873-887 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:548-562 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:793-807 | crates/hyperswitch_connectors/src/connectors/payconex.rs:372-386 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:429-443 | crates/hyperswitch_connectors/src/connectors/payload.rs:667-681 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:373-387 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:783-797 | crates/hyperswitch_connectors/src/connectors/paystack.rs:374-388 | crates/hyperswitch_connectors/src/connectors/paytm.rs:362-376 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:549-563 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:362-376 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:372-386 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:510-524 | crates/hyperswitch_connectors/src/connectors/santander.rs:1649-1663 | crates/hyperswitch_connectors/src/connectors/sift.rs:370-384 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:493-507 | crates/hyperswitch_connectors/src/connectors/stax.rs:577-591 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:450-464 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:597-611 | crates/hyperswitch_connectors/src/connectors/thunes.rs:359-373 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:516-530 | crates/hyperswitch_connectors/src/connectors/trustly.rs:310-324 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:469-483 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:631-645 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:372-386 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:587-601 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:625-639 | crates/hyperswitch_connectors/src/connectors/zift.rs:478-492 \u2014 These 75 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 75 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 75 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efd62c31b55c841931b96c37326c7cca289f78c1f836e5c946f7c3aa4ff3c2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (74 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/affirm.rs:403-412 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:606-615 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:508-517 | crates/hyperswitch_connectors/src/connectors/authipay.rs:365-374 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:828-837 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:404-413 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:456-465 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:422-431 | crates/hyperswitch_connectors/src/connectors/calida.rs:327-336 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:300-309 | crates/hyperswitch_connectors/src/connectors/citigate.rs:299-308 | crates/hyperswitch_connectors/src/connectors/coingate.rs:303-312 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:284-293 | crates/hyperswitch_connectors/src/connectors/d24.rs:295-304 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:408-417 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:611-620 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:345-354 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:333-342 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:648-657 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:328-337 | crates/hyperswitch_connectors/src/connectors/envoy.rs:402-411 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:318-327 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:473-482 | crates/hyperswitch_connectors/src/connectors/finix.rs:597-606 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:306-315 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:398-407 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:428-437 | crates/hyperswitch_connectors/src/connectors/forte.rs:331-340 | crates/hyperswitch_connectors/src/connectors/getnet.rs:342-351 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:357-366 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:299-308 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:319-328 | crates/hyperswitch_connectors/src/connectors/helcim.rs:432-441 | crates/hyperswitch_connectors/src/connectors/hipay.rs:389-398 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:289-298 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:298-307 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:448-457 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:299-308 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:318-327 | crates/hyperswitch_connectors/src/connectors/inespay.rs:317-326 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:530-539 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:339-348 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:353-362 | crates/hyperswitch_connectors/src/connectors/katapult.rs:300-309 | crates/hyperswitch_connectors/src/connectors/klarna.rs:460-469 | crates/hyperswitch_connectors/src/connectors/loonio.rs:323-332 | crates/hyperswitch_connectors/src/connectors/merchante.rs:318-327 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:363-372 | crates/hyperswitch_connectors/src/connectors/mollie.rs:525-534 | crates/hyperswitch_connectors/src/connectors/moneris.rs:433-442 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:297-306 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:203-212 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:754-763 | crates/hyperswitch_connectors/src/connectors/payconex.rs:299-308 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:348-357 | crates/hyperswitch_connectors/src/connectors/payload.rs:580-589 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:300-309 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:697-706 | crates/hyperswitch_connectors/src/connectors/paystack.rs:301-310 | crates/hyperswitch_connectors/src/connectors/paytm.rs:289-298 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:458-467 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:289-298 | crates/hyperswitch_connectors/src/connectors/shift4.rs:339-348 | crates/hyperswitch_connectors/src/connectors/sift.rs:297-306 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:414-423 | crates/hyperswitch_connectors/src/connectors/square.rs:488-497 | crates/hyperswitch_connectors/src/connectors/stax.rs:491-500 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:377-386 | crates/hyperswitch_connectors/src/connectors/thunes.rs:286-295 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:443-452 | crates/hyperswitch_connectors/src/connectors/volt.rs:446-455 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:476-485 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:299-308 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:416-425 \u2014 These 74 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 74 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 74 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66218a036c4053642b2b50acb5dbc16978d784e98069e25acc35711cbef7675"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (64 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:78-86 | crates/hyperswitch_connectors/src/connectors/affirm.rs:99-107 | crates/hyperswitch_connectors/src/connectors/archipel.rs:103-111 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:96-104 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:179-187 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:103-111 | crates/hyperswitch_connectors/src/connectors/calida.rs:95-103 | crates/hyperswitch_connectors/src/connectors/celero.rs:91-99 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:92-100 | crates/hyperswitch_connectors/src/connectors/citigate.rs:90-98 | crates/hyperswitch_connectors/src/connectors/coingate.rs:94-102 | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs:59-67 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:84-92 | crates/hyperswitch_connectors/src/connectors/d24.rs:88-96 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:102-110 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:96-104 | crates/hyperswitch_connectors/src/connectors/elavon.rs:105-113 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:116-124 | crates/hyperswitch_connectors/src/connectors/envoy.rs:203-211 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:91-99 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:90-98 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:117-125 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:91-99 | crates/hyperswitch_connectors/src/connectors/globalpayments_heartland.rs:86-94 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:102-110 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:99-107 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:89-97 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:90-98 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:95-103 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:91-99 | crates/hyperswitch_connectors/src/connectors/inespay.rs:95-103 | crates/hyperswitch_connectors/src/connectors/interpayments.rs:74-82 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:113-121 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:141-149 | crates/hyperswitch_connectors/src/connectors/katapult.rs:90-98 | crates/hyperswitch_connectors/src/connectors/loonio.rs:103-111 | crates/hyperswitch_connectors/src/connectors/merchante.rs:91-99 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:90-98 | crates/hyperswitch_connectors/src/connectors/netcetera.rs:93-101 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:96-104 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:118-126 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:98-106 | crates/hyperswitch_connectors/src/connectors/payconex.rs:90-98 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:91-99 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:211-219 | crates/hyperswitch_connectors/src/connectors/paystack.rs:91-99 | crates/hyperswitch_connectors/src/connectors/paytm.rs:89-97 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:100-108 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:89-97 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:91-99 | crates/hyperswitch_connectors/src/connectors/plaid.rs:94-102 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:84-92 | crates/hyperswitch_connectors/src/connectors/saferpay.rs:83-91 | crates/hyperswitch_connectors/src/connectors/sift.rs:90-98 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:106-115 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:169-177 | crates/hyperswitch_connectors/src/connectors/taxjar.rs:89-97 | crates/hyperswitch_connectors/src/connectors/thunes.rs:87-95 | crates/hyperswitch_connectors/src/connectors/trustly.rs:101-109 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:93-121 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:167-175 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:89-97 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:91-99 | crates/hyperswitch_connectors/src/connectors/xendit.rs:104-112 \u2014 These 64 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 64 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 64 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eac590abd7be71690009f9c02297b1d06865a2e9be60817645a144ddc256507"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (57 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/amazonpay.rs:684-696 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:657-669 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1237-1249 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:749-761 | crates/hyperswitch_connectors/src/connectors/boku.rs:600-612 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:738-750 | crates/hyperswitch_connectors/src/connectors/celero.rs:665-677 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:507-519 | crates/hyperswitch_connectors/src/connectors/citigate.rs:529-541 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:516-528 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:738-750 | crates/hyperswitch_connectors/src/connectors/elavon.rs:525-537 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:558-570 | crates/hyperswitch_connectors/src/connectors/envoy.rs:632-644 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:548-560 | crates/hyperswitch_connectors/src/connectors/finix.rs:948-960 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:540-552 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:731-743 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:658-670 | crates/hyperswitch_connectors/src/connectors/getnet.rs:669-681 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:531-543 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:554-566 | crates/hyperswitch_connectors/src/connectors/hipay.rs:694-706 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:519-531 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:529-541 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:529-541 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:558-570 | crates/hyperswitch_connectors/src/connectors/inespay.rs:557-569 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:763-775 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:571-583 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:588-600 | crates/hyperswitch_connectors/src/connectors/katapult.rs:530-542 | crates/hyperswitch_connectors/src/connectors/loonio.rs:604-616 | crates/hyperswitch_connectors/src/connectors/merchante.rs:548-560 | crates/hyperswitch_connectors/src/connectors/moneris.rs:748-760 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:527-539 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1154-1166 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:714-726 | crates/hyperswitch_connectors/src/connectors/payconex.rs:529-541 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:530-542 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:1041-1053 | crates/hyperswitch_connectors/src/connectors/paystack.rs:541-553 | crates/hyperswitch_connectors/src/connectors/paytm.rs:519-531 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:519-531 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:612-624 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:664-676 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:668-680 | crates/hyperswitch_connectors/src/connectors/sift.rs:527-539 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:742-754 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:609-621 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:838-850 | crates/hyperswitch_connectors/src/connectors/thunes.rs:516-528 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:673-685 | crates/hyperswitch_connectors/src/connectors/trustly.rs:465-477 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:712-724 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:531-543 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:896-908 \u2014 These 57 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 57 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 57 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/amazonpay.rs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bcd991761fe93780176171918d8e9a579db08e34983baee7d9a4b9d0d4b36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (30 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/aci.rs:524-536 | crates/hyperswitch_connectors/src/connectors/adyen.rs:928-940 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:606-618 | crates/hyperswitch_connectors/src/connectors/bambora.rs:237-249 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:488-500 | crates/hyperswitch_connectors/src/connectors/bitpay.rs:232-244 | crates/hyperswitch_connectors/src/connectors/braintree.rs:606-618 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:274-286 | crates/hyperswitch_connectors/src/connectors/checkout.rs:717-729 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:269-281 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:270-282 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:787-799 | crates/hyperswitch_connectors/src/connectors/globepay.rs:250-262 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:246-258 | crates/hyperswitch_connectors/src/connectors/noon.rs:321-333 | crates/hyperswitch_connectors/src/connectors/opayo.rs:232-244 | crates/hyperswitch_connectors/src/connectors/payme.rs:572-584 | crates/hyperswitch_connectors/src/connectors/payu.rs:578-590 | crates/hyperswitch_connectors/src/connectors/plaid.rs:221-233 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:247-259 | crates/hyperswitch_connectors/src/connectors/square.rs:410-422 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1113-1125 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:711-723 | crates/hyperswitch_connectors/src/connectors/tsys.rs:177-189 | crates/hyperswitch_connectors/src/connectors/volt.rs:368-380 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:225-237 | crates/hyperswitch_connectors/src/connectors/worldline.rs:502-514 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:465-477 | crates/hyperswitch_connectors/src/connectors/xendit.rs:282-294 | crates/hyperswitch_connectors/src/connectors/zen.rs:261-273 \u2014 These 30 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 30 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 30 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"df72a74766394150255c1cd036b8b090e6ef16bc12ad3b2c9a4905e719867635"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (23 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/affirm.rs:570-582 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:893-905 | crates/hyperswitch_connectors/src/connectors/authipay.rs:543-555 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:587-599 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:782-794 | crates/hyperswitch_connectors/src/connectors/finix.rs:778-790 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:566-578 | crates/hyperswitch_connectors/src/connectors/forte.rs:498-510 | crates/hyperswitch_connectors/src/connectors/getnet.rs:505-517 | crates/hyperswitch_connectors/src/connectors/helcim.rs:601-613 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:611-623 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1248-1260 | crates/hyperswitch_connectors/src/connectors/moneris.rs:602-614 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:982-994 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:792-804 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:877-889 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:717-729 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:453-465 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:577-589 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:676-688 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:548-560 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:674-686 | crates/hyperswitch_connectors/src/connectors/zift.rs:555-567 \u2014 These 23 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 23 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 23 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed5d277a439358db7cb1f38e542639c34260a3f6cf6926d6a27978d03684c6dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (23 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/affirm.rs:733-742 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:1042-1051 | crates/hyperswitch_connectors/src/connectors/authipay.rs:718-727 | crates/hyperswitch_connectors/src/connectors/bambora.rs:779-788 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1063-1072 | crates/hyperswitch_connectors/src/connectors/coingate.rs:491-500 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:946-955 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:651-660 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:827-836 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:771-780 | crates/hyperswitch_connectors/src/connectors/forte.rs:668-677 | crates/hyperswitch_connectors/src/connectors/helcim.rs:775-784 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:630-639 | crates/hyperswitch_connectors/src/connectors/mollie.rs:796-805 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:485-494 | crates/hyperswitch_connectors/src/connectors/payload.rs:1003-1012 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:899-908 | crates/hyperswitch_connectors/src/connectors/shift4.rs:783-792 | crates/hyperswitch_connectors/src/connectors/square.rs:785-794 | crates/hyperswitch_connectors/src/connectors/stax.rs:822-831 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1096-1105 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:929-938 | crates/hyperswitch_connectors/src/connectors/xendit.rs:824-833 \u2014 These 23 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 23 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 23 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"335bd4592cad1a6b3e5d5e5ae6af23ba05213f429747e70ea586003eef36cf34"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (22 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/aci.rs:422-431 | crates/hyperswitch_connectors/src/connectors/bambora.rs:406-415 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:606-615 | crates/hyperswitch_connectors/src/connectors/bitpay.rs:312-321 | crates/hyperswitch_connectors/src/connectors/checkout.rs:612-621 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:369-378 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1122-1131 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:353-362 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:592-601 | crates/hyperswitch_connectors/src/connectors/globepay.rs:326-335 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:568-577 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:329-338 | crates/hyperswitch_connectors/src/connectors/noon.rs:396-405 | crates/hyperswitch_connectors/src/connectors/opayo.rs:302-311 | crates/hyperswitch_connectors/src/connectors/payu.rs:398-407 | crates/hyperswitch_connectors/src/connectors/stripe.rs:895-904 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:457-466 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:746-755 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:292-301 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:279-288 | crates/hyperswitch_connectors/src/connectors/xendit.rs:485-494 | crates/hyperswitch_connectors/src/connectors/zen.rs:335-344 \u2014 These 22 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 22 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 22 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f53f64b1a2bf67398750bc17e9c08743569d6f816c447b7c1c4a3be9add986"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (22 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/elavon_pg/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/envoy/transformers.rs:68-76 | crates/hyperswitch_connectors/src/connectors/etisalat/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub/transformers.rs:55-63 | crates/hyperswitch_connectors/src/connectors/givepayments/transformers.rs:55-63 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex/transformers.rs:55-63 | crates/hyperswitch_connectors/src/connectors/hyperpg/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/ilixium/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions/transformers.rs:55-63 | crates/hyperswitch_connectors/src/connectors/interpayments/transformers.rs:55-63 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital/transformers.rs:55-63 | crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs:51-59 | crates/hyperswitch_connectors/src/connectors/payconex/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/paynearme/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs:51-59 | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs:53-61 | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs:51-59 | crates/hyperswitch_connectors/src/connectors/truelayer/transformers.rs:188-196 | crates/hyperswitch_connectors/src/connectors/worldpayraft/transformers.rs:54-62 \u2014 These 22 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 22 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 22 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f7fd8547e400c89284aee126bdfd3a44229b76a2dd829852b711d45ed30f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (20 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/aci.rs:336-348 | crates/hyperswitch_connectors/src/connectors/adyen.rs:666-678 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:424-436 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:692-704 | crates/hyperswitch_connectors/src/connectors/braintree.rs:466-478 | crates/hyperswitch_connectors/src/connectors/checkout.rs:535-547 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:980-992 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:694-706 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:412-424 | crates/hyperswitch_connectors/src/connectors/noon.rs:480-492 | crates/hyperswitch_connectors/src/connectors/opayo.rs:377-389 | crates/hyperswitch_connectors/src/connectors/payme.rs:752-764 | crates/hyperswitch_connectors/src/connectors/payu.rs:480-492 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:427-439 | crates/hyperswitch_connectors/src/connectors/stripe.rs:704-716 | crates/hyperswitch_connectors/src/connectors/tsys.rs:345-357 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:633-645 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:364-376 | crates/hyperswitch_connectors/src/connectors/worldline.rs:399-411 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:359-371 \u2014 These 20 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 20 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 20 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6ef417091627c24cfd9df91f3723901cc946fea57f9fa854881f9cfb1169e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (19 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:877-886 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:941-950 | crates/hyperswitch_connectors/src/connectors/braintree.rs:870-879 | crates/hyperswitch_connectors/src/connectors/checkout.rs:887-896 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:521-530 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:882-891 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:581-590 | crates/hyperswitch_connectors/src/connectors/noon.rs:721-730 | crates/hyperswitch_connectors/src/connectors/opayo.rs:465-474 | crates/hyperswitch_connectors/src/connectors/payme.rs:946-955 | crates/hyperswitch_connectors/src/connectors/payu.rs:673-682 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:586-595 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1914-1923 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:816-825 | crates/hyperswitch_connectors/src/connectors/tsys.rs:511-520 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:451-460 | crates/hyperswitch_connectors/src/connectors/worldline.rs:587-596 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:554-563 | crates/hyperswitch_connectors/src/connectors/zen.rs:448-457 \u2014 These 19 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 19 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 19 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfce0b5b3dc76c5039c2b4b754e1e98e81ccdb89bad4ded600c1738fba0f369e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (18 members, 50\u002B identical tokens): crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:40-151 | crates/router/src/core/mandate/utils.rs:24-104 | crates/router/src/core/relay/utils.rs:25-167 | crates/router/src/core/relay/utils.rs:174-318 | crates/router/src/core/relay/utils.rs:325-448 | crates/router/src/core/relay/utils.rs:455-587 | crates/router/src/core/utils.rs:256-463 | crates/router/src/core/utils.rs:476-658 | crates/router/src/core/utils.rs:696-895 | crates/router/src/core/utils.rs:1231-1338 | crates/router/src/core/utils.rs:1349-1453 | crates/router/src/core/utils.rs:1467-1574 | crates/router/src/core/utils.rs:1665-1773 | crates/router/src/core/utils.rs:1791-1913 | crates/router/src/core/utils.rs:1923-2031 | crates/router/src/core/utils.rs:2040-2139 | crates/router/src/core/webhooks/utils.rs:78-157 | crates/router/src/types/api/verify_connector.rs:95-163 \u2014 These 18 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 18 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 18 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/flows/fulfillment_flow.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac73c653d66d2f3f4d28a1e2f918a436cb1a62fbbb0a95c5f481e5023bec914b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:210-222 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:234-246 | crates/hyperswitch_connectors/src/connectors/finix.rs:412-424 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:395-412 | crates/hyperswitch_connectors/src/connectors/mollie.rs:361-373 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:318-330 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:294-306 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:284-296 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:264-276 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:344-356 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:262-274 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:245-257 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:323-335 | crates/hyperswitch_connectors/src/connectors/zift.rs:111-123 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d55fe328b31a5135af2096d7a969f4035bd65050f1925884b450e94cf670d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:1015-1024 | crates/hyperswitch_connectors/src/connectors/checkout.rs:957-966 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2079-2088 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:593-602 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:955-964 | crates/hyperswitch_connectors/src/connectors/globepay.rs:507-516 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:659-668 | crates/hyperswitch_connectors/src/connectors/noon.rs:793-802 | crates/hyperswitch_connectors/src/connectors/opayo.rs:532-541 | crates/hyperswitch_connectors/src/connectors/payu.rs:745-754 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:900-909 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1151-1160 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:624-633 | crates/hyperswitch_connectors/src/connectors/zen.rs:520-529 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"4780a1a5249433bc4ee4a5feeb04a16e6e595a8b46df023b8d1b90a73c87a819"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/fiserv.rs:392-435 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:502-538 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:640-677 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:753-784 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:853-897 | crates/hyperswitch_connectors/src/connectors/stripe.rs:727-753 | crates/hyperswitch_connectors/src/connectors/stripe.rs:914-974 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1132-1158 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1931-1958 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2094-2121 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:916-954 | crates/hyperswitch_connectors/src/connectors/xendit.rs:301-331 | crates/hyperswitch_connectors/src/connectors/xendit.rs:745-772 | crates/hyperswitch_connectors/src/connectors/xendit.rs:840-867 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiserv.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"addb76c812ec9cd6f00cdec0676790446ae1d03c4e2182c59bd8f5ded2e3358f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/payment_response.rs:720-747 | crates/router/src/core/payments/operations/payment_response.rs:1335-1352 | crates/router/src/core/payments/operations/payment_response.rs:1501-1520 | crates/router/src/core/payments/operations/payment_response.rs:1827-1846 | crates/router/src/core/payments/operations/payment_response.rs:1875-1894 | crates/router/src/core/payments/operations/payment_response.rs:1917-1936 | crates/router/src/core/payments/operations/payment_response.rs:1965-1993 | crates/router/src/core/payments/operations/payment_response.rs:2022-2041 | crates/router/src/core/payments/operations/payment_response.rs:2070-2089 | crates/router/src/core/payments/operations/payment_response.rs:2114-2133 | crates/router/src/core/payments/operations/payment_response.rs:2156-2175 | crates/router/src/core/payments/operations/payment_response.rs:2203-2227 | crates/router/src/core/payments/operations/payment_response.rs:2446-2463 | crates/router/src/core/payments/operations/payment_response.rs:4747-4764 \u2014 These 14 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 14 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 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"1302b9665b971421d62aba0f8b88dd92bf8b2df3dceff0de1c073428c8766501"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/adyen.rs:1707-1717 | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:242-252 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1534-1544 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:276-286 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:230-240 | crates/hyperswitch_connectors/src/connectors/loonio.rs:710-720 | crates/hyperswitch_connectors/src/connectors/payone.rs:329-338 | crates/hyperswitch_connectors/src/connectors/paypal.rs:781-791 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3290-3300 | crates/hyperswitch_connectors/src/connectors/trustly.rs:637-647 | crates/hyperswitch_connectors/src/connectors/wise.rs:710-720 \u2014 These 11 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 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1707}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb8ca521dfa9dae9e747df704b33c87216ef6369e8780324425b0dad94825cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3026-3246 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3252-3384 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3400-3480 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3490-3564 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3580-3698 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3714-3782 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3797-3870 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3907-4037 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4052-4133 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4148-4223 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6917-7019 \u2014 These 11 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 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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3026}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca79262f677e0835ba8f3149b8223c5ba615823065fef68c0052f64c9f7b775"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): crates/router/src/connection.rs:39-71 | crates/router/src/connection.rs:75-107 | crates/router/src/connection.rs:111-131 | crates/router/src/connection.rs:135-155 | crates/storage_impl/src/connection.rs:12-47 | crates/storage_impl/src/connection.rs:51-74 | crates/storage_impl/src/utils.rs:134-169 | crates/storage_impl/src/utils.rs:180-202 | crates/storage_impl/src/utils.rs:206-229 | crates/storage_impl/src/utils.rs:233-274 | crates/storage_impl/src/utils.rs:278-302 \u2014 These 11 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 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":"crates/router/src/connection.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"392537c5bb9c395e49ecdda49129c0bda3a7a02c00a5870a8e41e4a209200dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/aci.rs:610-620 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1031-1041 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:694-704 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:822-832 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1043-1053 | crates/hyperswitch_connectors/src/connectors/braintree.rs:778-788 | crates/hyperswitch_connectors/src/connectors/checkout.rs:793-803 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:496-506 | crates/hyperswitch_connectors/src/connectors/noon.rs:560-570 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:523-533 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f65cea18b4bc220bece8fd202e7d0956d683e7035a6ca3156283f54b598a338"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/affirm.rs:324-340 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1323-1339 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:876-892 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:531-547 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:425-441 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:585-601 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:447-463 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:613-629 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:327-343 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1024-1040 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"15138132ec18fd1be42d4ee7f200a960c4183a327ad0287e42b873f71411c8ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:387-399 | crates/hyperswitch_connectors/src/connectors/boku.rs:342-354 | crates/hyperswitch_connectors/src/connectors/celero.rs:330-342 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:463-475 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:617-629 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:293-305 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:417-429 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:513-525 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:384-396 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:522-534 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0daa6a5c80eec4cc467c903f16dc28e477790e814f295aaaaf1b4bfe308a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): crates/hyperswitch_interfaces/src/conversion_impls.rs:230-270 | crates/hyperswitch_interfaces/src/conversion_impls.rs:355-381 | crates/hyperswitch_interfaces/src/conversion_impls.rs:429-453 | crates/hyperswitch_interfaces/src/conversion_impls.rs:567-583 | crates/hyperswitch_interfaces/src/conversion_impls.rs:658-676 | crates/hyperswitch_interfaces/src/conversion_impls.rs:863-875 | crates/hyperswitch_interfaces/src/conversion_impls.rs:906-918 | crates/hyperswitch_interfaces/src/conversion_impls.rs:959-978 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1086-1098 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1125-1168 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad07ff95e43858b0991186edc448287d84dfa46e0150ae819fdc29f7584ab0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): crates/router/src/db/address.rs:103-120 | crates/router/src/db/address.rs:155-172 | crates/router/src/db/address.rs:182-203 | crates/router/src/db/address.rs:212-233 | crates/router/src/db/address.rs:240-261 | crates/router/src/db/address.rs:329-346 | crates/router/src/db/address.rs:416-433 | crates/router/src/db/address.rs:443-522 | crates/router/src/db/address.rs:531-631 | crates/router/src/db/address.rs:638-659 \u2014 These 10 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 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/address.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2e0019d9a198f4450918b26954579e9410763189ed0c298459ef4d0408c4ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/aci.rs:203-211 | crates/hyperswitch_connectors/src/connectors/adyen.rs:621-629 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1528-1536 | crates/hyperswitch_connectors/src/connectors/chargebee.rs:301-309 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:106-114 | crates/hyperswitch_connectors/src/connectors/recurly.rs:390-398 | crates/hyperswitch_connectors/src/connectors/recurly.rs:476-484 | crates/hyperswitch_connectors/src/connectors/recurly.rs:568-576 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:116-124 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"67be956ddfe8974add86ac5861906a775ea285baebabcbb897229d3ba1eefc1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:178-309 | crates/router/src/core/payments/operations/payment_attempt_record.rs:126-238 | crates/router/src/core/payments/operations/payment_capture_v2.rs:155-229 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:166-291 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:304-421 | crates/router/src/core/payments/operations/payment_get.rs:165-256 | crates/router/src/core/payments/operations/payment_session_intent.rs:129-158 | crates/router/src/core/payments/operations/payment_update_intent.rs:149-335 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:157-280 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d3785f876e5d681241d8cff814b189d6b3c1e93c803ebe744f83df5f4f4099"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (9 members, 50\u002B identical tokens): crates/router/src/routes/superposition_proxy.rs:23-60 | crates/router/src/routes/superposition_proxy.rs:67-104 | crates/router/src/routes/superposition_proxy.rs:111-148 | crates/router/src/routes/superposition_proxy.rs:155-192 | crates/router/src/routes/superposition_proxy.rs:199-236 | crates/router/src/routes/superposition_proxy.rs:243-280 | crates/router/src/routes/superposition_proxy.rs:287-324 | crates/router/src/routes/superposition_proxy.rs:332-372 | crates/router/src/routes/superposition_proxy.rs:379-416 \u2014 These 9 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 9 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 9 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/superposition_proxy.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf19e948c2f9f54d4f298005ee2d3a89ddd6e8a6977e051fa8fe5c13137da6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/analytics/src/active_payments/accumulator.rs:27-33 | crates/analytics/src/auth_events/accumulator.rs:43-49 | crates/analytics/src/auth_events/accumulator.rs:59-65 | crates/analytics/src/frm/accumulator.rs:34-40 | crates/analytics/src/payment_intents/accumulator.rs:75-81 | crates/analytics/src/payments/accumulator.rs:329-335 | crates/analytics/src/refunds/accumulator.rs:165-171 | crates/analytics/src/sdk_events/accumulator.rs:41-47 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/active_payments/accumulator.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b83643e464ed1868c1e2d663c91945a6f3992b86028cb1743518b504e0bc29"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/adyen.rs:575-593 | crates/hyperswitch_connectors/src/connectors/adyen.rs:947-965 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:443-467 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:625-649 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1083-1105 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1933-1948 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:283-298 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:736-751 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bfa2200e8b26be902c76749515f54378729e9d3d6f5390add61236c36701ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/archipel.rs:271-285 | crates/hyperswitch_connectors/src/connectors/archipel.rs:382-396 | crates/hyperswitch_connectors/src/connectors/archipel.rs:473-487 | crates/hyperswitch_connectors/src/connectors/archipel.rs:578-592 | crates/hyperswitch_connectors/src/connectors/archipel.rs:677-691 | crates/hyperswitch_connectors/src/connectors/archipel.rs:782-796 | crates/hyperswitch_connectors/src/connectors/archipel.rs:873-887 | crates/hyperswitch_connectors/src/connectors/archipel.rs:995-1009 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cce7df0cf12cb55e3afcadc03f98df592a55f61faeaf59b048a56cd411114a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1060-1076 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1285-1301 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1688-1704 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:210-226 | crates/hyperswitch_connectors/src/connectors/nmi.rs:466-482 | crates/hyperswitch_connectors/src/connectors/payme.rs:468-484 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:333-349 | crates/hyperswitch_connectors/src/connectors/redsys.rs:495-511 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d7a7f9e6659067c11a1e4350544fbd900c9c69b78fad74e4a72c3f3494cb02"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/billwerk.rs:224-236 | crates/hyperswitch_connectors/src/connectors/finix.rs:219-231 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:305-317 | crates/hyperswitch_connectors/src/connectors/mollie.rs:199-211 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:111-123 | crates/hyperswitch_connectors/src/connectors/square.rs:241-253 | crates/hyperswitch_connectors/src/connectors/stax.rs:300-312 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:113-125 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0757f55c12e259a8350dd8a61b956262cb6e8e04d1375e77866260cc13d169df"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): crates/router/src/core/user.rs:74-132 | crates/router/src/core/user.rs:317-446 | crates/router/src/core/user.rs:543-590 | crates/router/src/core/user.rs:860-1077 | crates/router/src/core/user.rs:1087-1250 | crates/router/src/core/user.rs:1258-1374 | crates/router/src/core/user.rs:2217-2266 | crates/router/src/workflows/api_key_expiry.rs:28-159 \u2014 These 8 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 8 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 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9159b841411fd69ae0ad468ba094fbfac5f15110523341acdba8c40d3a3f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/diesel_models/src/query/generics.rs:509-528 | crates/diesel_models/src/query/generics.rs:587-605 | crates/diesel_models/src/query/generics.rs:633-651 | crates/diesel_models/src/query/generics.rs:722-741 | crates/diesel_models/src/query/generics.rs:769-788 | crates/diesel_models/src/query/generics.rs:816-832 | crates/diesel_models/src/query/generics.rs:860-873 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe557341139758eba3099fd8b12063f6cc4e27252c1339447d990d845127faa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/aci.rs:472-482 | crates/hyperswitch_connectors/src/connectors/aci.rs:573-583 | crates/hyperswitch_connectors/src/connectors/adyen.rs:884-894 | crates/hyperswitch_connectors/src/connectors/adyen.rs:989-999 | crates/hyperswitch_connectors/src/connectors/bambora.rs:95-105 | crates/hyperswitch_connectors/src/connectors/checkout.rs:103-113 | crates/hyperswitch_connectors/src/connectors/square.rs:87-97 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d8da4d7504d016aed6df4f42ccfd624e6165cf63d40cf604f8ecfe9cad94a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/adyen.rs:551-561 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:335-345 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:360-370 | crates/hyperswitch_connectors/src/connectors/checkout.rs:451-461 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:448-458 | crates/hyperswitch_connectors/src/connectors/paypal.rs:947-957 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:405-415 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f375ce5fedc22cc2bf64c7a9f5d5e800895270cf62105a43e6ca7cdfb1ff0097"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:127-163 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:181-323 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:255-384 | crates/hyperswitch_connectors/src/connectors/payme.rs:137-174 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:158-224 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:162-288 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:171-228 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"286fa1ec02c1529d3d7bae8461f55846e5f197ade1f8385c8675860c642e0c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1546-1561 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2449-2464 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:723-742 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1319-1341 | crates/hyperswitch_connectors/src/connectors/nordea.rs:1143-1160 | crates/hyperswitch_connectors/src/connectors/redsys.rs:1028-1042 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:1456-1473 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"e442557db5d151f1b235521b9ab63aa0f487f43840d2ed181029877ae3d7b1aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1563-1586 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1588-1611 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2466-2489 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2491-2514 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:748-770 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:776-798 | crates/hyperswitch_connectors/src/connectors/redsys.rs:1044-1083 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1563}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d45b020f74d79bd30bd7c749b7e92b4a096896717f33488c29863bb44b60dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/facilitapay.rs:194-210 | crates/hyperswitch_connectors/src/connectors/finix.rs:131-147 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:213-229 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:298-314 | crates/hyperswitch_connectors/src/connectors/mollie.rs:279-295 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:370-386 | crates/hyperswitch_connectors/src/connectors/stax.rs:211-227 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/facilitapay.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe345a7a974dca194eec9a8e1c96b1c66c7168b6d2908e12eca351d77df43823"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/worldpay.rs:281-306 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:387-425 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:535-582 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:652-690 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:783-808 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:907-930 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1018-1047 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8a44927d8f0222aad0a9f2c3722e59bec55ba0cd37ef0db07ee17846efb99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/router/src/core/payments/helpers.rs:222-374 | crates/router/src/core/payments/helpers.rs:442-511 | crates/router/src/core/payments/helpers.rs:2126-2424 | crates/router/src/utils.rs:778-833 | crates/router/src/utils.rs:843-907 | crates/router/src/utils.rs:920-974 | crates/router/src/utils.rs:984-1047 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7c25083d62d5d93db1c1f3010c6b8626af0ffb604ee3acbb8d2458321e1d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:178-309 | crates/router/src/core/payments/operations/payment_attempt_record.rs:126-238 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:166-291 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:304-421 | crates/router/src/core/payments/operations/payment_get.rs:165-256 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:157-280 | crates/router/src/core/webhooks/incoming_v2.rs:610-702 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99ac4b8f62c1ca68f43eb4ecf4d103a8f1fada97168c75d55525afae591f35d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:178-309 | crates/router/src/core/payments/operations/payment_attempt_record.rs:126-238 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:166-291 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:304-421 | crates/router/src/core/payments/operations/payment_create_intent.rs:101-196 | crates/router/src/core/payments/operations/payment_update_intent.rs:149-335 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:157-280 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5815f6626b548a315266459371b504d4602ada7f606f88dd61d4e74cb7d1dc2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:602-651 | crates/router/src/core/payments/operations/payment_response.rs:4338-4386 | crates/router/src/core/payments/operations/payment_response.rs:4410-4553 | crates/router/src/core/payments/operations/payment_response.rs:4588-4658 | crates/router/src/core/payments/operations/payment_response.rs:4886-4934 | crates/router/src/core/payments/operations/payment_response.rs:4958-5005 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:484-531 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be897cacb79c1d69f3071691a03900cd5a47be8f536586e5b044340f561148c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/router/src/core/unified_connector_service.rs:4052-4066 | crates/router/src/core/unified_connector_service.rs:4082-4096 | crates/router/src/core/unified_connector_service.rs:4142-4156 | crates/router/src/core/unified_connector_service.rs:4172-4186 | crates/router/src/core/unified_connector_service.rs:4202-4216 | crates/router/src/core/unified_connector_service.rs:4232-4246 | crates/router/src/core/unified_connector_service.rs:4262-4276 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4052}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b1c195a7e5424b236c1a575c6967da46592a01c5b8d84dff2d0cfbdf816093"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/router/src/core/user.rs:727-850 | crates/router/src/core/user_role/role.rs:85-208 | crates/router/src/core/user_role/role.rs:215-359 | crates/router/src/core/user_role/role.rs:454-562 | crates/router/src/core/user_role/role.rs:568-743 | crates/router/src/core/user_role/role.rs:750-866 | crates/router/src/types/domain/user.rs:522-567 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"0515fdf7985efb16a5c3b9c5de07a1067b1ef15c0dcd978c659e190dd7b1c90a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/router/src/db/events.rs:336-365 | crates/router/src/db/events.rs:379-408 | crates/router/src/db/events.rs:417-441 | crates/router/src/db/events.rs:450-474 | crates/router/src/db/events.rs:484-509 | crates/router/src/db/events.rs:518-542 | crates/router/src/db/events.rs:590-621 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/events.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7380d9cafb3f20989ec696b17f06eaebb02a4653b1676f627ec4ec5aaee272f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/router/src/routes/payment_methods.rs:149-187 | crates/router/src/routes/payment_methods.rs:286-326 | crates/router/src/routes/payment_methods.rs:335-379 | crates/router/src/routes/payment_methods.rs:387-428 | crates/router/src/routes/payment_methods.rs:947-993 | crates/router/src/routes/payment_methods.rs:1739-1777 | crates/router/src/routes/payment_methods.rs:2138-2180 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5ba9d16cde915e1fc252dfa8933d9b9c9f09128cdcdaed45bf0d4aa6630e69"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/storage_impl/src/lib.rs:269-284 | crates/storage_impl/src/lib.rs:297-312 | crates/storage_impl/src/payments/payment_attempt.rs:102-124 | crates/storage_impl/src/payments/payment_attempt.rs:171-196 | crates/storage_impl/src/payments/payment_attempt.rs:276-294 | crates/storage_impl/src/payments/payment_attempt.rs:340-360 | crates/storage_impl/src/payments/payment_attempt.rs:527-544 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/lib.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c563fbee69978d8ca576c68da6b36812a5f244487f2411358b493ecd069b2e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): crates/storage_impl/src/payments/payment_attempt.rs:66-93 | crates/storage_impl/src/payments/payment_attempt.rs:134-161 | crates/storage_impl/src/payments/payment_attempt.rs:206-232 | crates/storage_impl/src/payments/payment_attempt.rs:242-267 | crates/storage_impl/src/payments/payment_attempt.rs:304-330 | crates/storage_impl/src/payments/payment_attempt.rs:371-399 | crates/storage_impl/src/payments/payment_attempt.rs:491-518 \u2014 These 7 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 7 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"833152cecba942ad42defc6be6bb3d611c8ca44f0e094f33f1f5271dcc804e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/analytics/src/api_event/core.rs:96-178 | crates/analytics/src/disputes/core.rs:32-137 | crates/analytics/src/frm/core.rs:29-111 | crates/analytics/src/payment_intents/core.rs:74-363 | crates/analytics/src/payments/core.rs:54-360 | crates/analytics/src/refunds/core.rs:53-277 \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":"crates/analytics/src/api_event/core.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0e91e1d50cfda4705594f245c9c02537065823bae0964fc0284f824d5e2396"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/diesel_models/src/query/blocklist.rs:115-139 | crates/diesel_models/src/query/blocklist.rs:145-165 | crates/diesel_models/src/query/blocklist.rs:301-328 | crates/diesel_models/src/query/blocklist.rs:335-358 | crates/diesel_models/src/query/blocklist.rs:806-824 | crates/diesel_models/src/query/blocklist.rs:829-843 \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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"330e946966c241e36d8dbcfdb32504a37e011d36b9b36347da20c441f5352ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/diesel_models/src/query/generics.rs:983-1007 | crates/diesel_models/src/query/generics.rs:1030-1065 | crates/diesel_models/src/query/generics.rs:1175-1196 | crates/diesel_models/src/query/generics.rs:1210-1243 | crates/diesel_models/src/query/generics.rs:1326-1359 | crates/diesel_models/src/query/generics.rs:1466-1490 \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":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"550ed0b65a552734bf77f2ffce73eb7c01c1b68dc48740226359d02e0799ecc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/archipel.rs:248-264 | crates/hyperswitch_connectors/src/connectors/archipel.rs:359-375 | crates/hyperswitch_connectors/src/connectors/archipel.rs:555-571 | crates/hyperswitch_connectors/src/connectors/archipel.rs:654-670 | crates/hyperswitch_connectors/src/connectors/archipel.rs:759-775 | crates/hyperswitch_connectors/src/connectors/archipel.rs:972-988 \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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"434fb25c7fdd5a19e63e91e5423730092fef085795f4d9e441957e0a05be0d6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/authipay.rs:299-311 | crates/hyperswitch_connectors/src/connectors/authipay.rs:381-393 | crates/hyperswitch_connectors/src/connectors/authipay.rs:472-484 | crates/hyperswitch_connectors/src/connectors/authipay.rs:562-574 | crates/hyperswitch_connectors/src/connectors/authipay.rs:652-664 | crates/hyperswitch_connectors/src/connectors/authipay.rs:734-746 \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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df091d632f25a34fbcc194344ec0e53681d248d47d3212173ba73fc2acb19fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:49-64 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:58-73 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3274-3289 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:76-91 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:735-750 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1604-1619 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed1355b94e16750738432591c239e45c2c75b95f59fc1b4cadaa83c0e7b4c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1570-1621 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2671-2711 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2498-2549 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4586-4663 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4684-4801 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4822-4939 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"a248a266541fd8bdd05679966dc8c8975b7766011cb8fbf4c9d321e0c74a6ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:315-338 | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs:303-326 | crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs:306-339 | crates/hyperswitch_connectors/src/connectors/payjustnow/transformers.rs:239-260 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore/transformers.rs:148-168 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:1023-1045 \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":"crates/hyperswitch_connectors/src/connectors/boku/transformers.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d755dd5859ddf33cc2bbc085a4bdaa445c3b304c066326e3747f590a2db4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/braintree.rs:362-372 | crates/hyperswitch_connectors/src/connectors/checkout.rs:353-363 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:410-420 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:396-406 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:160-170 | crates/hyperswitch_connectors/src/connectors/stripe.rs:527-537 \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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e918f04ea159a48755c613d7fe670308c4025428f282d3023db2168b8696f69"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/gigadat.rs:373-403 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:573-603 | crates/hyperswitch_connectors/src/connectors/loonio.rs:339-384 | crates/hyperswitch_connectors/src/connectors/loonio.rs:537-567 | crates/hyperswitch_connectors/src/connectors/loonio.rs:623-653 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:481-550 \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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5d1ccee65ce4183fe2a9e007b0fa92fb2041c80ac5c1b9b5d2e74132dd44e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/worldline.rs:249-264 | crates/hyperswitch_connectors/src/connectors/worldline.rs:340-357 | crates/hyperswitch_connectors/src/connectors/worldline.rs:426-443 | crates/hyperswitch_connectors/src/connectors/worldline.rs:520-535 | crates/hyperswitch_connectors/src/connectors/worldline.rs:603-617 | crates/hyperswitch_connectors/src/connectors/worldline.rs:681-695 \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":"crates/hyperswitch_connectors/src/connectors/worldline.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb0a953bf8f7bd09e83f7b4d239c3becfdc8cc15a956dbe45d6397ab5ae14a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_domain_models/src/router_data.rs:1281-1412 | crates/hyperswitch_domain_models/src/router_data.rs:1652-1741 | crates/hyperswitch_domain_models/src/router_data.rs:1973-2080 | crates/hyperswitch_domain_models/src/router_data.rs:2247-2378 | crates/hyperswitch_domain_models/src/router_data.rs:2510-2632 | crates/hyperswitch_domain_models/src/router_data.rs:2769-2824 \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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17677e4fea571e010794cbfbe00ee53bed855ce33334cd0e1ccf128f24fcce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/hyperswitch_domain_models/src/type_encryption.rs:152-186 | crates/hyperswitch_domain_models/src/type_encryption.rs:261-294 | crates/hyperswitch_domain_models/src/type_encryption.rs:391-424 | crates/hyperswitch_domain_models/src/type_encryption.rs:499-532 | crates/hyperswitch_domain_models/src/type_encryption.rs:864-897 | crates/hyperswitch_domain_models/src/type_encryption.rs:967-1000 \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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4853e480f4fd69255042fb616c8565423d534b29ae7d8de9b63877d65e8910"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/router/src/core/admin.rs:451-695 | crates/router/src/core/admin.rs:1164-1344 | crates/router/src/core/admin.rs:3564-3811 | crates/router/src/core/admin.rs:3819-3994 | crates/router/src/core/admin.rs:4197-4450 | crates/router/src/core/admin.rs:4479-4649 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"4425dfc70addf73fdffd7d1fb8a718883ecce56490bb2be23854482eccc59e3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/router/src/core/payment_link.rs:638-686 | crates/router/src/core/payments/transformers.rs:2085-2422 | crates/router/src/core/payments/transformers.rs:5786-6080 | crates/router/src/core/payments/transformers.rs:7401-7504 | crates/router/src/core/payments/transformers.rs:7876-8073 | crates/router/src/core/utils.rs:1791-1913 \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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c43e12a3843d3c2ddc36a110547d40bd7865df7f00cf4c3fba821647482e1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/router/src/core/unified_authentication_service.rs:1039-1352 | crates/router/src/core/unified_authentication_service.rs:1360-1518 | crates/router/src/core/unified_authentication_service.rs:1690-1734 | crates/router/src/core/unified_authentication_service.rs:2076-2382 | crates/router/src/core/unified_authentication_service.rs:2389-2494 | crates/router/src/core/unified_authentication_service.rs:2518-2581 \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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5fcb80e7cc7f9efb89a524198186a09b8862500ff8cf43657388bdc8663ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/router/src/core/user.rs:280-309 | crates/router/src/core/user.rs:1382-1530 | crates/router/src/core/user.rs:1537-1639 | crates/router/src/core/user.rs:2167-2209 | crates/router/src/core/user.rs:2301-2326 | crates/router/src/core/user_role.rs:449-520 \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":"crates/router/src/core/user.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dce4495f0e9c7373be0fcf085625f84475dc78d6e07c600cfe2b7de2b4051a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/router/src/core/user/theme.rs:25-54 | crates/router/src/core/user/theme.rs:119-175 | crates/router/src/core/user/theme.rs:182-233 | crates/router/src/core/user/theme.rs:254-331 | crates/router/src/core/user/theme.rs:372-441 | crates/router/src/core/user/theme.rs:575-607 \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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7681374702ef83e754fcdccd1861b6b4d24a5b17e86d79921bbf7e11d855f0c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/router/src/db/dispute.rs:432-498 | crates/router/src/db/dispute.rs:506-573 | crates/router/src/db/mandate.rs:137-187 | crates/router/src/db/refund.rs:574-641 | crates/router/src/db/refund.rs:1043-1113 | crates/router/src/db/refund.rs:1123-1196 \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":"crates/router/src/db/dispute.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf11cc75f310d0c69974dd87b21962ea1e894a878ccd7b78606e9ff2e0e7bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/router/src/db/events.rs:981-1037 | crates/router/src/db/events.rs:1153-1210 | crates/router/src/db/events.rs:1332-1352 | crates/router/src/db/events.rs:1365-1428 | crates/router/src/db/events.rs:1564-1584 | crates/router/src/db/events.rs:1596-1622 \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":"crates/router/src/db/events.rs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f165ec456fd4eefa6e89123ab125cb62e9375b18b0e70628fe90477bc2c52a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): crates/router/src/db/refund.rs:173-204 | crates/router/src/db/refund.rs:298-328 | crates/router/src/db/refund.rs:338-371 | crates/router/src/db/refund.rs:574-641 | crates/router/src/db/refund.rs:1043-1113 | crates/router/src/db/refund.rs:1123-1196 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64e65191695db4e0071cf2d89348b38423deae367fdfd6225881c1b83901a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/analytics/src/payment_intents/accumulator.rs:91-112 | crates/analytics/src/payment_intents/accumulator.rs:197-229 | crates/analytics/src/payments/accumulator.rs:352-384 | crates/analytics/src/payments/accumulator.rs:408-417 | crates/analytics/src/refunds/accumulator.rs:181-196 \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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41e0ae32b599031910fa0b3a16824fe33cd6f34f44c4837c9ef21b7db890ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/api_models/src/cards_info.rs:355-405 | crates/router/src/core/cards_info.rs:346-423 | crates/router/src/types/transformers.rs:898-936 | crates/router/src/types/transformers.rs:2893-2936 | crates/router/src/types/transformers.rs:2940-2983 \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":"crates/api_models/src/cards_info.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2847535ef053a5177e01898dc477945eda8f84f11933eb3d9b9ef372faacbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/diesel_models/src/query/user/sample_data.rs:77-95 | crates/diesel_models/src/query/user/sample_data.rs:101-119 | crates/diesel_models/src/query/user/sample_data.rs:123-141 | crates/diesel_models/src/query/user/sample_data.rs:146-164 | crates/diesel_models/src/query/user/sample_data.rs:169-187 \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":"crates/diesel_models/src/query/user/sample_data.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afa80d649f0a8fd0737b927d6a7a7448d857d9f6bb9655550ca3c5d0673bdf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/external_services/src/utils.rs:41-73 | crates/payment_methods/src/configs/settings.rs:163-195 | crates/router/src/configs/settings.rs:1883-1915 | crates/router/src/configs/settings.rs:1934-1966 | crates/router/src/configs/settings.rs:2000-2030 \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":"crates/external_services/src/utils.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5995a3ef73fd979f6f00da6f1599b8c88f06c01229950353ae1eb71e209d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs:90-139 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:1124-1177 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:1198-1251 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2312-2358 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2437-2489 \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":"crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6486fd4de6997ff524f0ae3c5b61397fbebacd7039cb78e6388adadd7f5970"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/adyen.rs:796-820 | crates/hyperswitch_connectors/src/connectors/braintree.rs:544-554 | crates/hyperswitch_connectors/src/connectors/payme.rs:660-670 | crates/hyperswitch_connectors/src/connectors/plaid.rs:300-310 | crates/hyperswitch_connectors/src/connectors/tsys.rs:259-269 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf8ce846002a0d21d328177990f09f76abfe0a30879050145be6b00a0eed171"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/adyen.rs:1938-1967 | crates/hyperswitch_connectors/src/connectors/payme.rs:1132-1176 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:805-836 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1308-1335 | crates/hyperswitch_interfaces/src/webhooks.rs:284-313 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"87669f4645371ca565fbd05be7c00edaffdaa86364736f7339846252fbb24ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:230-296 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:169-260 | crates/hyperswitch_connectors/src/connectors/redsys.rs:114-166 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:356-411 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:171-228 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73e280f973a7b73d83259622a78f16ef6145c90fcc69ac6aee9c140ca410096"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:105-137 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:99-131 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:115-157 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:92-134 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:96-138 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac017fec8fbe6218240a4df9e807c027c6953c7128671d531427011684ffb73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:154-202 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:165-213 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:336-387 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:165-218 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:301-352 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"66361392fea4e55cf2e30a78fb0d4d2b2ce34d90e319661edb85d68edaa5f33e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2753-2772 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3473-3492 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:5592-5611 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:293-312 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:2473-2492 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2753}}}],"partialFingerprints":{"codehealthFindingId/v1":"e110bf249fc1dc942f5eb2696e8e83cb21b39a6d66a4bbc57f1f6f73c7dc4de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1593-1685 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:145-503 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1704-1839 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1854-1961 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1976-2087 \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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bf544332c26dc47041ae0153da0edb886c10cdf8b21ae342543b938805c509"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/billwerk.rs:579-588 | crates/hyperswitch_connectors/src/connectors/celero.rs:494-503 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:490-499 | crates/hyperswitch_connectors/src/connectors/square.rs:636-645 | crates/hyperswitch_connectors/src/connectors/stax.rs:653-662 \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":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2f97bf2b85917ebdb05a2f169ffbb9193290e0ca4acb7588654411e5f55029"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/calida.rs:252-279 | crates/hyperswitch_connectors/src/connectors/calida.rs:343-370 | crates/hyperswitch_connectors/src/connectors/santander.rs:1267-1302 | crates/hyperswitch_connectors/src/connectors/santander.rs:1540-1589 | crates/hyperswitch_connectors/src/connectors/santander.rs:1977-2006 \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":"crates/hyperswitch_connectors/src/connectors/calida.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"1537b1cd6f33e0fce88c7e36b6806b1128bd4071a3fd2c10f7b4db2d9a070303"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs:58-75 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs:58-75 | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs:78-95 | crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs:56-73 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs:58-75 \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":"crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ccc61e23469068fcbf6232ba7a23427c83b23244a74aaeeb2816ca2f0ab1d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/fiuu.rs:241-291 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:168-204 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:150-214 | crates/hyperswitch_connectors/src/connectors/redsys.rs:114-166 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:356-411 \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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4478383c67f527d2de9a229e9bdf3c39e4a9b891976468f15e6eb177f012771"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/nomupay.rs:707-721 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:204-217 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:767-780 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1212-1225 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1137-1150 \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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b40b4b2ae8dcadb63bada56806ca28a18b5350939a78514958d544bcbe72c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/paybox.rs:318-328 | crates/hyperswitch_connectors/src/connectors/paybox.rs:399-410 | crates/hyperswitch_connectors/src/connectors/paybox.rs:480-490 | crates/hyperswitch_connectors/src/connectors/paybox.rs:554-564 | crates/hyperswitch_connectors/src/connectors/paybox.rs:662-672 \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":"crates/hyperswitch_connectors/src/connectors/paybox.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceb44de9bce52b778c5e79c648ba7c9a555c8fb1266bc55041ea133c8fc8b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/santander.rs:270-334 | crates/hyperswitch_connectors/src/connectors/santander.rs:1105-1207 | crates/hyperswitch_connectors/src/connectors/santander.rs:1338-1514 | crates/hyperswitch_connectors/src/connectors/santander.rs:1712-1793 | crates/hyperswitch_connectors/src/connectors/santander.rs:1892-1923 \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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf19bb5e63e693d80b1c956ecbdb89b9c43c149fd46aa38b71c5b7021dc6611a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:227-239 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:313-333 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:561-581 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:655-668 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:742-755 \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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8d83272e10c2171306863e29a2b2c5ea42d28d7cdc151eeacf7371abb2c91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/utils.rs:2967-2975 | crates/router/src/connector/utils.rs:870-878 | crates/router/src/connector/utils.rs:1136-1144 | crates/router/src/connector/utils.rs:1200-1208 | crates/router/src/connector/utils.rs:1226-1234 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2967}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c0e48b38ae202b0eecfbf118cee958f2cd66ddc85d38f4af11c11ca9068f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_domain_models/src/lib.rs:1133-1178 | crates/router/src/core/payments/transformers.rs:8450-8493 | crates/router/src/core/payments/transformers.rs:8528-8573 | crates/router/src/types/transformers.rs:2742-2775 | crates/router/src/types/transformers.rs:2781-2815 \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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1052b7245a879daa90b0f78d4f3159117a5552b15e770e617797c4f4eec9690d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/hyperswitch_interfaces/src/conversion_impls.rs:117-127 | crates/hyperswitch_interfaces/src/conversion_impls.rs:154-164 | crates/hyperswitch_interfaces/src/conversion_impls.rs:716-726 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1010-1020 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1049-1059 \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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"af701cd11e475c40626db266939d59299621ad7322a4c4a4c7206bf07e1abe05"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/core/payment_methods.rs:5590-5665 | crates/router/src/core/payment_methods.rs:5759-5824 | crates/router/src/core/payment_methods/vault.rs:2743-2816 | crates/router/src/core/payment_methods/vault.rs:3293-3357 | crates/router/src/core/payment_methods/vault.rs:3447-3508 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5590}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8220dfbf55259f62e25ac0d1f31a3600eac88e0edbe4c313de189424dfb69db"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/core/payments.rs:234-527 | crates/router/src/core/payments.rs:2177-2276 | crates/router/src/core/payments.rs:2296-2356 | crates/router/src/core/payments.rs:2376-2440 | crates/router/src/core/payments/session_operation.rs:138-225 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4b33ef7b4b3dfec59ba362cbf195f8a10f0f79e2dfca12e83bf56ced54a303"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:323-335 | crates/router/src/core/payments/operations/payment_capture_v2.rs:241-253 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:435-447 | crates/router/src/core/payments/operations/payment_get.rs:270-282 | crates/router/src/core/payments/operations/payment_session_intent.rs:240-251 \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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ccc90737588d695ba3f8f43c8d7fb7f59d11fb0773d9f35326d90e13a696a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/payment_complete_authorize.rs:718-754 | crates/router/src/core/payments/operations/payment_confirm.rs:3334-3397 | crates/router/src/core/payments/operations/payment_create.rs:1256-1386 | crates/router/src/core/payments/operations/payment_recurrence.rs:698-716 | crates/router/src/core/payments/operations/payment_update.rs:1015-1082 \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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"5964b869af4da13c8fd7f105126b53d6e44e182451af3e5df5e3a3876c185f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/core/refunds.rs:2712-2740 | crates/router/src/workflows/dispute_list.rs:185-208 | crates/router/src/workflows/payment_sync.rs:295-318 | crates/router/src/workflows/post_capture_void_sync.rs:185-206 | crates/router/src/workflows/process_dispute.rs:191-219 \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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2712}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e4b0cac029d64558c31970602fe1d29188b1d26e43e9dac7f22fc62a8b6a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/routes/admin.rs:214-249 | crates/router/src/routes/profiles.rs:18-68 | crates/router/src/routes/profiles.rs:76-125 | crates/router/src/routes/profiles.rs:231-301 | crates/router/src/routes/profiles.rs:310-360 \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":"crates/router/src/routes/admin.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adae6e9a6d9fc366f96e3c0c5549456bc7356b23d6a472d3f8e4c67a12b6760"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/routes/blocklist.rs:34-68 | crates/router/src/routes/blocklist.rs:93-127 | crates/router/src/routes/blocklist.rs:318-343 | crates/router/src/routes/blocklist.rs:388-430 | crates/router/src/routes/blocklist.rs:553-584 \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":"crates/router/src/routes/blocklist.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd234ac56cbcddbacd46fbdf6f49a9a12aceccd37f1abe5678ebad88d61ff1f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/routes/blocklist.rs:152-186 | crates/router/src/routes/blocklist.rs:211-242 | crates/router/src/routes/blocklist.rs:267-298 | crates/router/src/routes/blocklist.rs:450-477 | crates/router/src/routes/blocklist.rs:502-528 \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":"crates/router/src/routes/blocklist.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"28090e6e6277e8fba549994403649b911530c3250b54814ffe5f307bcd47de76"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/routes/blocklist.rs:211-242 | crates/router/src/routes/blocklist.rs:267-298 | crates/router/src/routes/blocklist.rs:502-528 | crates/router/src/routes/blocklist.rs:553-584 | crates/router/src/routes/blocklist.rs:606-632 \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":"crates/router/src/routes/blocklist.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9a943b627c2661149b901c3631700a56b76d4e97ddc53e7935ccd2e3aaaee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/routes/subscription.rs:97-125 | crates/router/src/routes/subscription.rs:133-161 | crates/router/src/routes/subscription.rs:169-197 | crates/router/src/routes/subscription.rs:384-418 | crates/router/src/routes/subscription.rs:467-495 \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":"crates/router/src/routes/subscription.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3bc5b910e780b60ccb80983764c07910a8082db43ac7b501c14dd3bae4fe8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): crates/router/src/types/storage/refund.rs:95-182 | crates/router/src/types/storage/refund.rs:191-263 | crates/router/src/types/storage/refund.rs:270-340 | crates/router/src/types/storage/refund.rs:349-415 | crates/router/src/types/storage/refund.rs:493-580 \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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f6411269311e6be523f31fd8b48d9a22d514d9a45b6b6462f0a8af376d7bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/analytics/src/payment_intents/accumulator.rs:158-184 | crates/analytics/src/payment_intents/accumulator.rs:288-307 | crates/analytics/src/payments/accumulator.rs:267-323 | crates/analytics/src/refunds/accumulator.rs:225-237 \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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"27bb4a43589cc76ed8fff92700f3f4ea5bf35cec930f95e63c5fb254583af6a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/api_models/src/payments.rs:12889-12913 | crates/api_models/src/payments.rs:12918-12942 | crates/api_models/src/payments.rs:13137-13161 | crates/api_models/src/payments.rs:13166-13190 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":12889}}}],"partialFingerprints":{"codehealthFindingId/v1":"43085eb6b3a707064f35c46921ccaf412b837daf246360abe4d2c8579ad1ca51"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/diesel_models/src/authentication.rs:442-649 | crates/diesel_models/src/payment_attempt.rs:2505-4731 | crates/diesel_models/src/payouts.rs:196-264 | crates/hyperswitch_domain_models/src/payouts/payouts.rs:265-333 \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":"crates/diesel_models/src/authentication.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dc12765969e8c74a4b30ac7e234a58f5f84e4b9d327ae785f81bd09437855e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/diesel_models/src/query/blocklist.rs:80-93 | crates/diesel_models/src/query/blocklist.rs:98-107 | crates/diesel_models/src/query/blocklist.rs:1022-1035 | crates/diesel_models/src/query/blocklist.rs:1041-1050 \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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a969a38cf131eccf49e1d6838336298d42f8f6fdfd64bb1825a855418990ea69"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/diesel_models/src/query/blocklist.rs:365-378 | crates/diesel_models/src/query/blocklist.rs:384-393 | crates/diesel_models/src/query/blocklist.rs:1103-1116 | crates/diesel_models/src/query/blocklist.rs:1122-1131 \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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb32591e9c4623a163491dde55716edaf812cd90e20a44fe1dba12f28ce1a2c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/diesel_models/src/query/blocklist.rs:447-467 | crates/diesel_models/src/query/blocklist.rs:475-491 | crates/diesel_models/src/query/blocklist.rs:500-525 | crates/diesel_models/src/query/blocklist.rs:534-555 \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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6502f3b94f5dcff4167c13e55f1a7c77c0bab1c300d26459592105eee73cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/diesel_models/src/query/blocklist.rs:561-578 | crates/diesel_models/src/query/blocklist.rs:584-597 | crates/diesel_models/src/query/blocklist.rs:644-666 | crates/diesel_models/src/query/blocklist.rs:673-691 \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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d888f939c15e81946077f5577000178576a41d8f571e627a35c9c22a0c32a332"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/diesel_models/src/query/customers.rs:172-195 | crates/diesel_models/src/query/customers.rs:202-225 | crates/diesel_models/src/query/customers.rs:232-273 | crates/diesel_models/src/query/customers.rs:280-321 \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":"crates/diesel_models/src/query/customers.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"94af5b680d08593b5c7c4ab5687ce401132fbb9b2978cf1cc9164e39a4cc34ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/diesel_models/src/query/generics.rs:933-967 | crates/diesel_models/src/query/generics.rs:1030-1065 | crates/diesel_models/src/query/generics.rs:1128-1162 | crates/diesel_models/src/query/generics.rs:1255-1287 \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":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b12716f5c334ff015e7ca716e04d462ad77587eb285b483cd4bca80aad5568"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/adyen.rs:1370-1380 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:197-207 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3209-3219 | crates/hyperswitch_connectors/src/connectors/wise.rs:612-622 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"892c053c7dd65f3a201a5fb3632ca80e389f0ea4b435e75e784779c9d3230239"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs:371-389 | crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs:178-205 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:371-389 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:405-423 \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":"crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80c26e64377a084220dbeb067327bd7e9af58aba2212539f7dc80ae317d74bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/airwallex.rs:95-118 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:98-114 | crates/hyperswitch_connectors/src/connectors/payu.rs:79-96 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:92-109 \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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9040cf08f9c07cd9387eb7e6eaf505903ddd8673efa6c1553ad2cd2e72ca309b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/airwallex.rs:244-256 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:182-194 | crates/hyperswitch_connectors/src/connectors/payload.rs:161-173 | crates/hyperswitch_connectors/src/connectors/stripe.rs:334-346 \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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f7e968504a6be82487a51374248cfce44d4c277ad7c4b6306516c0d8d1515a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/airwallex.rs:692-707 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:344-359 | crates/hyperswitch_connectors/src/connectors/paybox.rs:641-656 | crates/hyperswitch_connectors/src/connectors/shift4.rs:617-632 \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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c504e942f99c4d4185d24908a7bad084b4f417276269e07b9b21af71b96c954"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:966-1073 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1110-1167 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1182-1283 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1298-1390 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f32450f686a6968c547733a9961860c6ebdd2ccbae5f138acbca4e114493c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bambora.rs:594-604 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1858-1868 | crates/hyperswitch_connectors/src/connectors/redsys.rs:658-668 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:961-971 \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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"787f947d1e5af83f88bd293ec3e35047b5d89071e31b89575ef338fde29824b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:555-582 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:311-338 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:5613-5640 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:493-520 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3e841ab1b6a47849d6a8e86e55b71e9d23cc6bfc6f73c1cf212dc3618e8ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2044-2075 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3046-3077 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3229-3263 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1562-1593 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"31576d39c9558df13c1999b2ecf907c7fc79d34aef755175f884e162b4a7eb73"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2089-2101 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3089-3101 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:5028-5040 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:2185-2197 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2089}}}],"partialFingerprints":{"codehealthFindingId/v1":"016d80d73f3f9408847b9eba915f335306e03de8b27fe6037caed2801e154523"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs:246-289 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:687-732 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:766-807 | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs:222-278 \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":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e594c6d818b17c093534f950b6e474a0abb6f0a1ad62e67873c9ef7056e256"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:769-820 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:332-357 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:558-602 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:759-785 \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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6450f554f5db80785de2449e61dc657cd7c0caeb944165a356693e4d78dc97"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/coinbase.rs:233-244 | crates/hyperswitch_connectors/src/connectors/nmi.rs:389-400 | crates/hyperswitch_connectors/src/connectors/opennode.rs:235-246 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:416-427 \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":"crates/hyperswitch_connectors/src/connectors/coinbase.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0b36e3347da0619a8a9b7aadee81ab27d4161f88334f0388c7043aea693ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/cybersource.rs:2175-2191 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1512-1528 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1291-1307 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1246-1262 \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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc880e474fb8ee9ace006e2d208c5bc1eb0313010b834de7a74bbeae374e60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:492-502 | crates/hyperswitch_connectors/src/connectors/riskified.rs:251-261 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:200-210 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:374-384 \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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d793880773e22f89fbb905653d4e89e0705020316a42c66fc8e4f25eb804ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/flexiti.rs:246-260 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:248-262 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:256-269 | crates/hyperswitch_connectors/src/connectors/vgs.rs:211-224 \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":"crates/hyperswitch_connectors/src/connectors/flexiti.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ea6ca72b0e4a9437539ea0ca3bfcda8bf0cc7133e7265c52d6ea8af30c2b05"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/gigadat.rs:927-936 | crates/hyperswitch_connectors/src/connectors/loonio.rs:783-792 | crates/hyperswitch_connectors/src/connectors/paypal.rs:855-864 | crates/hyperswitch_connectors/src/connectors/wise.rs:456-465 \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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"4405547ea35905d0406c2c132ee45c10f4a309f23701e929cc154d274524b020"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/moneris.rs:235-246 | crates/hyperswitch_connectors/src/connectors/payu.rs:297-309 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:317-328 | crates/hyperswitch_connectors/src/connectors/volt.rs:250-261 \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":"crates/hyperswitch_connectors/src/connectors/moneris.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad7995bee966bdde2184509ab4686ad897071a1d24afa4cda71165b21f79b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:656-697 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:706-798 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:807-849 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:1000-1055 \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":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"965a728d467275a4f39e48cd3d1b4461639de0e3bd35053d8e700050ec238c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:2238-2252 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:991-1028 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1042-1102 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1116-1164 \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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":2238}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a8c5658c9894031f6bb08fe2a3ef860ec0bf44f97e05e30595c48180eab3fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1042-1102 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1116-1164 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1762-1798 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1834-1873 \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":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"200dd80953ba57192c77608c619b1f3c95e379e5fae0834c956d550dcf134a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:1314-1356 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:1363-1411 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2041-2079 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2084-2120 \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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6234d9ee4c440e9c52a5739a765d284406cfd14923245c7e316e22b7f386948c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2456-2574 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2792-2954 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3186-3272 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3287-3453 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0489be80cb4a5c6f13720cbc410f8a2cd0d9f77b04d49914ecd31563cfa40e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/utils.rs:2531-2539 | crates/hyperswitch_connectors/src/utils.rs:2916-2924 | crates/hyperswitch_connectors/src/utils.rs:3104-3112 | crates/hyperswitch_connectors/src/utils.rs:3190-3198 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dda680ed7c0978489d545ceccb7b17056dbc095b7853d2fcbe1230358f5f02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/utils.rs:2574-2586 | crates/hyperswitch_connectors/src/utils.rs:2947-2959 | crates/hyperswitch_domain_models/src/router_request_types.rs:2052-2064 | crates/hyperswitch_domain_models/src/router_request_types.rs:2081-2093 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b291935ec62f12425f6b73276347d410f9e6c5a10275cfd9b7f61b7928908117"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_connectors/src/utils.rs:2737-2750 | crates/hyperswitch_connectors/src/utils.rs:3233-3246 | crates/router/src/connector/utils.rs:1038-1051 | crates/router/src/connector/utils.rs:1178-1191 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b12f85776073ba2e1f16451d5a035bde81fb3f71a0669712aa9b9db97798dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_domain_models/src/business_profile.rs:285-357 | crates/hyperswitch_domain_models/src/business_profile.rs:433-505 | crates/hyperswitch_domain_models/src/business_profile.rs:763-828 | crates/hyperswitch_domain_models/src/business_profile.rs:897-962 \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":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b601511efc890fa04c9b9f7496ef77b84aece0d78936708ea24b33124191697"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_domain_models/src/payment_method_data.rs:655-691 | crates/hyperswitch_domain_models/src/payment_method_data.rs:745-781 | crates/hyperswitch_domain_models/src/payment_method_data.rs:850-884 | crates/hyperswitch_domain_models/src/payment_method_data.rs:956-991 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba56ef2285c326e91d94d5aa591ae942714df8e296d3c26dbdea808832ecbc71"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:942-1035 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1045-1133 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1143-1238 | crates/router/src/core/split_payments.rs:512-605 \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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3aecca15f0643817b6ec7516f7df905f4890392ed8808119371d7d99895c96"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_domain_models/src/router_data.rs:1438-1467 | crates/hyperswitch_domain_models/src/router_data.rs:1473-1510 | crates/hyperswitch_domain_models/src/router_data.rs:1895-1925 | crates/hyperswitch_domain_models/src/router_data.rs:1931-1966 \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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e99abc26fab099e78b7fd320a3e8aab6cc33b69c33b0d8b97dbb4b036181357"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/hyperswitch_interfaces/src/conversion_impls.rs:498-519 | crates/hyperswitch_interfaces/src/conversion_impls.rs:620-632 | crates/hyperswitch_interfaces/src/conversion_impls.rs:752-772 | crates/hyperswitch_interfaces/src/conversion_impls.rs:817-831 \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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b34606bd568733b40ff8c068ebb2123263463a7e1f082b2befadd41ed52f93b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/analytics.rs:1775-1819 | crates/router/src/analytics.rs:1827-1865 | crates/router/src/analytics.rs:2216-2254 | crates/router/src/analytics.rs:2290-2334 \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":"crates/router/src/analytics.rs"},"region":{"startLine":1775}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a717ae89c47e40338f72a050e40074309bed165bd4e7a7fb599d501f1a939dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/compatibility/stripe/refunds.rs:24-66 | crates/router/src/compatibility/stripe/refunds.rs:73-119 | crates/router/src/compatibility/stripe/refunds.rs:125-165 | crates/router/src/compatibility/stripe/refunds.rs:172-202 \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":"crates/router/src/compatibility/stripe/refunds.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e8fa06df32ba16af62c38b5f474eee676f6275fb2c0e80ffae241eafb5dfd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/conditional_config.rs:70-215 | crates/router/src/core/conditional_config.rs:229-261 | crates/router/src/core/surcharge_decision_config.rs:19-151 | crates/router/src/core/surcharge_decision_config.rs:166-199 \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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"929d8d279b3f612fa8695997e9c6667a53e4e0c24c31b5235a090513ec5f92a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/customers.rs:307-409 | crates/router/src/core/customers.rs:1440-1546 | crates/storage_impl/src/customers.rs:1539-1613 | crates/storage_impl/src/customers.rs:1788-1902 \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":"crates/router/src/core/customers.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed45b1e4b5b0043fdbf331e4a717593b5d7fed2e52b3322753c1b985b626121"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/files.rs:18-90 | crates/router/src/core/refunds.rs:1685-1945 | crates/router/src/core/refunds_v2.rs:1178-1361 | crates/router/src/core/routing.rs:549-571 \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":"crates/router/src/core/files.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4459c8a34ad4a69a6dc98b54478232e7159155f448873426e4003cfaee49d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/payment_method_balance.rs:201-328 | crates/router/src/core/payment_method_balance.rs:379-426 | crates/router/src/core/payment_method_balance.rs:436-479 | crates/router/src/core/split_payments.rs:77-223 \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":"crates/router/src/core/payment_method_balance.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2caa6f0ed911adc2351ad04c05acac8f5f9f48ecc93750fac89e268c6c37ce2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/payment_methods/cards.rs:5400-5858 | crates/router/src/core/payment_methods/client.rs:403-499 | crates/router/src/core/pm_auth.rs:53-212 | crates/router/src/core/superposition_sdk_config.rs:39-137 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5400}}}],"partialFingerprints":{"codehealthFindingId/v1":"945494df6d675ccd4cb510129f003263be97bb3acd20a5c83587fce6d7034288"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/payment_methods/utils.rs:998-1023 | crates/router/src/core/payments/helpers.rs:3769-3813 | crates/router/src/core/payments/helpers.rs:8870-8987 | crates/router/src/core/payouts/helpers.rs:67-221 \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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf00616ec602e3bbfd645a42a0d2a2d596c51692505e0548998843b086c77ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:192-539 | crates/router/src/core/payments/operations/payment_reject.rs:51-233 | crates/router/src/core/payments/operations/payment_start.rs:55-256 | crates/router/src/core/payments/operations/payment_status.rs:298-687 \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":"crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1f6df19c7a6428451461c9bbdde1a4adc6380856d138549c79bb1e4edf7792"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:307-320 | crates/router/src/core/payments/operations/payment_session.rs:309-322 | crates/router/src/core/payments/operations/payment_update_metadata.rs:330-348 | crates/router/src/core/payments/operations/tax_calculation.rs:492-505 \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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d544f2d2c0ecf6d1b3719d21d332c0a6a04ae2879f1ce795316ff4711f7f049"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/payments/operations/payment_response.rs:1093-1119 | crates/router/src/core/payments/operations/payment_response.rs:1430-1456 | crates/router/src/core/payments/operations/payment_response.rs:2376-2402 | crates/router/src/core/payments/operations/payment_response.rs:2544-2570 \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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ea57b793c3420605c6e6ff1a6ea97b3eee22f33455afae81aeccb4de1e7ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/payments/routing.rs:3800-3868 | crates/router/src/core/payments/routing.rs:3887-4059 | crates/router/src/core/payments/routing.rs:4071-4254 | crates/router/src/core/payments/routing.rs:4271-4471 \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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3800}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98c53a6c6c17a5e710292d23b47a5479d89be2a2c2544cfe222476c77550a14"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/relay.rs:164-185 | crates/router/src/core/relay.rs:296-317 | crates/router/src/core/relay.rs:432-456 | crates/router/src/core/relay.rs:568-589 \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":"crates/router/src/core/relay.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dfd6a68245ee0c92f86e7df0a44185900c847687f6ccc395d0eb2543011b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/relay.rs:192-234 | crates/router/src/core/relay.rs:324-369 | crates/router/src/core/relay.rs:463-506 | crates/router/src/core/relay.rs:596-640 \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":"crates/router/src/core/relay.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b69de746206259a737106d45c8b23008d5848aecd76f7f6b7d95583f39b57e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/relay.rs:236-261 | crates/router/src/core/relay.rs:371-396 | crates/router/src/core/relay.rs:508-533 | crates/router/src/core/relay.rs:642-667 \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":"crates/router/src/core/relay.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3731ff2c4f53d61afb973f960118b476dc892c423ec5993a7417c12af6dd15d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/core/unified_authentication_service.rs:144-177 | crates/router/src/core/unified_authentication_service.rs:190-215 | crates/router/src/core/unified_authentication_service.rs:229-290 | crates/router/src/core/unified_authentication_service.rs:369-402 \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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4dfe4c7fbe1344368d00c62ac272fcb5569246002d9a92d28c1384945b49039"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/db/blocklist.rs:244-298 | crates/router/src/db/blocklist.rs:307-361 | crates/router/src/db/blocklist.rs:525-579 | crates/router/src/db/blocklist.rs:588-640 \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":"crates/router/src/db/blocklist.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5aad379506fdcfe5100caa8d82eb871de794515e4ded5cb83f28bf332cde05"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/db/blocklist.rs:1078-1096 | crates/router/src/db/blocklist.rs:1106-1125 | crates/router/src/db/blocklist.rs:1134-1151 | crates/router/src/db/blocklist.rs:1160-1178 \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":"crates/router/src/db/blocklist.rs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97b3f3b0ca7a87f4e302c686d020a679bd7d36045e6f8b080cdbe27396efa3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/db/capture.rs:59-130 | crates/router/src/db/dispute.rs:308-423 | crates/router/src/db/refund.rs:649-800 | crates/router/src/db/reverse_lookup.rs:95-148 \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":"crates/router/src/db/capture.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce520483f60cf970b49209eb457b69416f6ca9c4fb17b523bf382c682838372e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/db/events.rs:1365-1428 | crates/router/src/db/events.rs:1436-1467 | crates/router/src/db/events.rs:1476-1514 | crates/router/src/db/events.rs:1596-1622 \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":"crates/router/src/db/events.rs"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"08637bd27fed4c317c495c3d4bdf9f5054c692f0ef329a8e6ec2327beebf3b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/db/refund.rs:400-411 | crates/router/src/db/refund.rs:422-433 | crates/router/src/db/refund.rs:1268-1279 | crates/router/src/db/refund.rs:1290-1301 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8babc26cd6135261cd294ae7cac1f1531204a0259874dee9348cddd0432c704b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/db/user/sample_data.rs:122-142 | crates/router/src/db/user/sample_data.rs:203-225 | crates/storage_impl/src/payments/payment_attempt.rs:454-481 | crates/storage_impl/src/payments/payment_attempt.rs:1716-1784 \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":"crates/router/src/db/user/sample_data.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ffab8a2fbe2dd27d97ae908d37beb32e5eebee29ea372a80167caef23a5cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/routes/disputes.rs:445-479 | crates/router/src/routes/disputes.rs:500-531 | crates/router/src/routes/disputes.rs:553-585 | crates/router/src/routes/disputes.rs:664-698 \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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a4c827f8d7fc4fdab32cdb3b1498950eb0dc863f45014baaf537da69cf19ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/routes/hierarchical_resources.rs:78-111 | crates/router/src/routes/hierarchical_resources.rs:119-158 | crates/router/src/routes/hierarchical_resources.rs:165-198 | crates/router/src/routes/hierarchical_resources.rs:206-242 \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":"crates/router/src/routes/hierarchical_resources.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7615b4e83b65ba07a18c7bd544612dc8b47b369ad8e8e6e440fe5890408e611"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/routes/payment_methods.rs:497-584 | crates/router/src/routes/payment_methods.rs:592-628 | crates/router/src/routes/payment_methods.rs:636-697 | crates/router/src/routes/payment_methods.rs:1694-1731 \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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce8bb7856fc4f224f252d463f4bb9decabfdaab06a0fbc7e94e6f25b3a4b9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/routes/payment_methods.rs:1875-1913 | crates/router/src/routes/payment_methods.rs:1941-1987 | crates/router/src/routes/payment_methods.rs:1998-2043 | crates/router/src/routes/payment_methods.rs:2054-2099 \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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"895df22201009314edaeeb35572f57df3d09390761fd7c0c0dfc21019984b7df"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/routes/refunds.rs:506-531 | crates/router/src/routes/refunds.rs:693-718 | crates/router/src/routes/refunds.rs:725-750 | crates/router/src/routes/refunds.rs:798-824 \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":"crates/router/src/routes/refunds.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff4937c4c27a3fa70f63afe6fb5066ee49cf1d5114b8cfb1c9ffa7af8a3f747"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/routes/routing.rs:1283-1318 | crates/router/src/routes/routing.rs:1328-1373 | crates/router/src/routes/routing.rs:1434-1479 | crates/router/src/routes/routing.rs:1488-1531 \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":"crates/router/src/routes/routing.rs"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e577ff89411c2879f2f5ff8e332dfd2b5f03dea46015aedce3641e26091d3f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router/src/services/email/types.rs:395-434 | crates/router/src/services/email/types.rs:448-488 | crates/router/src/services/email/types.rs:502-542 | crates/router/src/services/email/types.rs:557-596 \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":"crates/router/src/services/email/types.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022ca0a4886840cf1adaa01fdacfc18c55fed7cb388216a99f652743c9ed6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/router_derive/src/macros/api_error.rs:68-94 | crates/router_derive/src/macros/api_error.rs:99-122 | crates/router_derive/src/macros/api_error.rs:127-163 | crates/router_derive/src/macros/api_error.rs:170-276 \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":"crates/router_derive/src/macros/api_error.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced40a2926b7c31333cab007ace88ab54398729758192b6bf83f9c709a577cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/storage_impl/src/lib.rs:325-343 | crates/storage_impl/src/lib.rs:356-374 | crates/storage_impl/src/mock_db.rs:152-167 | crates/storage_impl/src/mock_db.rs:179-194 \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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28ccd2e372a3a7a25ddded96b41e2a576f66a08edc89fae068e6d773b2edf96"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/storage_impl/src/lib.rs:388-412 | crates/storage_impl/src/lib.rs:426-450 | crates/storage_impl/src/mock_db.rs:245-268 | crates/storage_impl/src/mock_db.rs:281-304 \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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be580158a8a3505f9ae0ab13fe29c3c9c27b9d562ac61b3e6432b5b151288a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): crates/storage_impl/src/merchant_connector_account.rs:427-474 | crates/storage_impl/src/merchant_connector_account.rs:483-530 | crates/storage_impl/src/merchant_connector_account.rs:556-604 | crates/storage_impl/src/merchant_connector_account.rs:612-652 \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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ba9f2c16edab861c405ce54dcbd668ecd7b28911b0b4065207f267e748aadc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (170 corresponding lines): crates/router/src/analytics.rs:2489-2658 | crates/router/src/analytics.rs:2665-2837 \u2014 These two members are one piece of code written twice and then edited apart: 170 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/analytics.rs"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e1d9766eebfc8eee54c82e6741739be4e4511243caabd4de6af13202db8138"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (163 corresponding lines): crates/router/src/services/kafka/payment_attempt.rs:232-394 | crates/router/src/services/kafka/payment_attempt_event.rs:234-396 \u2014 These two members are one piece of code written twice and then edited apart: 163 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ba5529f390cb70821aa956949ca1dacafbeed9fb758c6d6b2149d33d5e01b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (180 corresponding lines): crates/kgraph_utils/src/mca.rs:210-397 | crates/kgraph_utils/src/mca.rs:404-583 \u2014 These two members are one piece of code written twice and then edited apart: 180 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"837f44af929a8943a204ad1cc919ac5b937c92a9d9f8170338a953458c86ad4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (187 corresponding lines): crates/analytics/src/search.rs:45-231 | crates/analytics/src/search.rs:237-427 \u2014 These two members are one piece of code written twice and then edited apart: 187 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/search.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1531fdb1009e428685b380f089630fe55b692b0e47f46af641298fa645781d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (118 corresponding lines): crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs:353-470 | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs:639-756 \u2014 These two members are one piece of code written twice and then edited apart: 118 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"5852e9c5175eac2111a82b847529f7995ae654c01e630bfcd6b138e8877f2e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2802-2901 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:3046-3145 \u2014 These two members are one piece of code written twice and then edited apart: 100 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2802}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9edf25a153be9b8d99dd4a7cda8f5185634254f4dbb00b1f1aa14d365fa65e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (97 corresponding lines): crates/storage_impl/src/payments/payment_attempt.rs:2025-2135 | crates/storage_impl/src/payments/payment_attempt.rs:2289-2385 \u2014 These two members are one piece of code written twice and then edited apart: 97 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"58423662cff4fb9fef806c33d797cede59ffa0a224029fa7d9e1fb2d8ec0303d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (117 corresponding lines): crates/router/src/core/payment_methods/utils.rs:578-700 | crates/router/src/core/payment_methods/utils.rs:709-825 \u2014 These two members are one piece of code written twice and then edited apart: 117 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e5058ab42d7fa9d3445c27bb1c8eb88d3888e258cf079c82e824decd1fe1cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (136 corresponding lines): crates/router/src/workflows/batch_blocklist_upload.rs:160-298 | crates/router/src/workflows/blocklist_export.rs:310-445 \u2014 These two members are one piece of code written twice and then edited apart: 136 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/batch_blocklist_upload.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"456af6910afd6cd8a73c3dd48bffe3579b571b28829cdc4d4b725bc8d208a0f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (109 corresponding lines): crates/router/src/core/unified_connector_service.rs:3398-3510 | crates/router/src/core/unified_connector_service.rs:3517-3625 \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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":3398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f2cc16c7929a0384f1fe9734bf9408cfeaf605aa00daeef9360755cfd76c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (169 corresponding lines): crates/storage_impl/src/payments/payment_attempt.rs:2394-2578 | crates/storage_impl/src/payments/payment_attempt.rs:2726-2894 \u2014 These two members are one piece of code written twice and then edited apart: 169 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"243af1325918c9b32334320406442ba5dace6e8b1e0535e1e5ac252b5710138f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (118 corresponding lines): crates/hyperswitch_interfaces/src/api/gateway.rs:351-468 | crates/hyperswitch_interfaces/src/api/gateway.rs:496-613 \u2014 These two members are one piece of code written twice and then edited apart: 118 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/api/gateway.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb82588e49b0b97fde50bf020119812f8919c423667f3886de871d94219faf53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): crates/hyperswitch_domain_models/src/authentication.rs:176-255 | crates/hyperswitch_domain_models/src/authentication.rs:398-477 \u2014 These two members are one piece of code written twice and then edited apart: 80 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/authentication.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"684130125b43b89a5bdbe65eda1f6065d676f18c1276741b811c9a2f777c79c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): crates/router/src/types/transformers.rs:1679-1760 | crates/router/src/types/transformers.rs:1766-1851 \u2014 These two members are one piece of code written twice and then edited apart: 82 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/transformers.rs"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc51466454134dcdaa985db3d9781fa6c779806107cfabb48832f426acb017f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): crates/smithy/src/lib.rs:1137-1229 | crates/smithy/src/lib.rs:1231-1306 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy/src/lib.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"80eff59b110b4662def21c4ec0175f6d588b254e16188215d7a77e1b4edc6e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): crates/router/src/types/storage/dispute.rs:46-125 | crates/router/src/types/storage/dispute.rs:132-189 | crates/router/src/types/storage/dispute.rs:196-248 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 53 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":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f25993300828a4ebc42d68f3e31329bc8eb1cb6a800216165ae4d2bdbdc58bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 96\u002B corresponding lines): crates/router/src/services/authentication.rs:612-707 | crates/router/src/services/authentication.rs:720-830 | crates/router/src/services/authentication.rs:2998-3104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 96 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a13de1531286b067d3e9798370bda7db0b710428099d2b84a7424f615f0958"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): crates/storage_impl/src/business_profile.rs:1394-1480 | crates/storage_impl/src/business_profile.rs:1654-1729 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6a0d8f13405d942667c899e922728ef8ac2c39da078465300ca8acf93fce89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): crates/payment_methods/src/core/migration/payment_methods.rs:345-420 | crates/payment_methods/src/core/migration/payment_methods.rs:436-511 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"9062d87bdda2d27a7536501d9e9ca49f0085f51beaf3320fb1562e786f0ca43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (110 corresponding lines): crates/router/src/core/refunds_v2.rs:148-260 | crates/router/src/core/refunds_v2.rs:275-384 \u2014 These two members are one piece of code written twice and then edited apart: 110 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1cd09ef972812ad793d69bb3d1b60934da69a72e8b570bcaf417d357688f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): crates/router/src/core/disputes.rs:342-418 | crates/router/src/core/refunds.rs:2053-2128 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/disputes.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e39cf3a953201f42e0985367ff31b5ecb508158c65fa65c86f5267368a17365"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 68\u002B corresponding lines): crates/analytics/src/payment_intents/core.rs:369-436 | crates/analytics/src/payments/core.rs:366-455 | crates/analytics/src/refunds/core.rs:283-360 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 68 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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2678bcf3968040587ceaab1709666c78ae881765bb22754cd2c10d51cf4a581c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/api_models/src/payments.rs:4032-4071 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4014-4052 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":4032}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b2b19435dbca5480875415255caf1842a2b54da2eb4e6e031a738bfed61830"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (76 corresponding lines): crates/router/src/core/payment_methods.rs:4171-4257 | crates/router/src/core/payment_methods.rs:4280-4355 \u2014 These two members are one piece of code written twice and then edited apart: 76 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":4171}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1438fb24818505a2e4bc117749d1cc6d9c6c5dce00c3c3bc94d8deace82068"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (103 corresponding lines): crates/router/src/core/refunds.rs:2488-2597 | crates/router/src/core/refunds_v2.rs:1425-1527 \u2014 These two members are one piece of code written twice and then edited apart: 103 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/refunds.rs"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e49f9b0f35e47dd1982fc914effa40dce1ba3c62d3580849f61cf233f26c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): crates/router/src/workflows/network_tokenization.rs:84-183 | crates/router/src/workflows/network_tokenization.rs:194-298 \u2014 These two members are one piece of code written twice and then edited apart: 100 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/network_tokenization.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3827a20aface7f3cf26d6c5398afd352cf075fb21762bc6e2c6def7669f7373"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): crates/router/src/core/payments/transformers.rs:2773-2834 | crates/router/src/core/payments/transformers.rs:3172-3262 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2773}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fafb2ff5121c389112b6f9ed21ef80d6c713c095b1cb369cfc262b4c8b314c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): crates/router/src/core/payment_methods/cards.rs:645-699 | crates/router/src/core/payment_methods/cards.rs:714-769 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6313c8662aac06c7187780433d916e5700d858904764866e5f3a49115cf54c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 65\u002B corresponding lines): crates/hyperswitch_connectors/src/utils.rs:7776-7842 | crates/router/src/types.rs:1473-1541 | crates/router/src/types.rs:1556-1620 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 65 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7776}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eb9cc6e5e3fb4062996220cb23b9ce5007b77319453dc5e9acb99990efa6e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 92\u002B corresponding lines): crates/router/src/core/payment_methods/cards.rs:785-878 | crates/router/src/core/payment_methods/cards.rs:894-985 | crates/router/src/core/payment_methods/cards.rs:1000-1100 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 92 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"795c3ce16b114bf2358b13687aafad1cd029f923497314929080d52ebd376725"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 73\u002B corresponding lines): crates/router/src/core/unified_connector_service.rs:4935-5033 | crates/router/src/core/unified_connector_service.rs:5044-5131 | crates/router/src/core/unified_connector_service.rs:5142-5214 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 73 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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4935}}}],"partialFingerprints":{"codehealthFindingId/v1":"578ed7768e8d92490db14c7c3436f8b267b3c7439412a15048f3449a2096a96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): crates/storage_impl/src/business_profile.rs:2477-2559 | crates/storage_impl/src/business_profile.rs:2675-2745 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3606e5fe6cbcc394893a018883245bd051b24eabad8041040d01fbbf3e329519"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:758-847 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1241-1313 \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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c2c1a949363eb572d532e5d3da002bb43e7f35fa167a466419cadf1bcc8371"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:7705-7772 | crates/router/src/types.rs:1400-1467 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7705}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7be868c7553ad2eb256e1c5535de56874e6f0fde9521f2daa18b742985f3972"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): crates/payment_methods/src/core/migration/payment_methods.rs:523-620 | crates/router/src/core/payment_methods/cards.rs:2414-2498 \u2014 These two members are one piece of code written twice and then edited apart: 85 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a36d5d3c6c9595d7e17aa3b56822bb168c393e43bd35b7ac35201302c8eba16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (87 corresponding lines): crates/router/src/services/authentication.rs:950-1041 | crates/router/src/services/authentication.rs:1956-2042 \u2014 These two members are one piece of code written twice and then edited apart: 87 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"be08b26894b145f48aec442b661e1e7c5c646bb753ee92043d7f347131e0c30c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): crates/storage_impl/src/authentication.rs:392-481 | crates/storage_impl/src/authentication.rs:491-581 \u2014 These two members are one piece of code written twice and then edited apart: 90 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a95309fc98d1e854a1242f5d33fea07e9ad964a533a4f3799fa3087ec7cdc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2339-2403 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3340-3404 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0edd74abd7ae61356c7a84bc81d978944f6773606d227861f6477284d540fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): crates/router/src/db/user.rs:297-365 | crates/router/src/db/user.rs:371-439 \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":"crates/router/src/db/user.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9c97e3bf5c377a9d6fe76c6db5862392460427b036223358256c118c986cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (89 corresponding lines): crates/router/src/core/payment_methods/cards.rs:1272-1360 | crates/router/src/core/payment_methods/cards.rs:1370-1460 \u2014 These two members are one piece of code written twice and then edited apart: 89 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb323b4083571075c7552a76acaa4e4dffe484025cbb5d06e885e0fb90af651a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): crates/router/src/core/payments/flows/complete_authorize_flow.rs:363-440 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:450-534 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ff8abf339167b5e1cd7c7dfc28364844a0e404d74ad4f675a4a3439a48ff0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): crates/analytics/src/auth_events/core.rs:41-137 | crates/analytics/src/sdk_events/core.rs:50-133 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/core.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6260cf78ed489fe8058281fe25d175820a972e5b2ebeece82aa404c24fed59b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): crates/analytics/src/disputes/core.rs:143-216 | crates/analytics/src/frm/core.rs:117-192 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/core.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af4714ddabf228b89e68874b995c115ae516af64ae4f36e8fe180249af951ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): crates/router/src/routes/disputes/utils.rs:30-96 | crates/router/src/routes/files/transformers.rs:15-82 \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":"crates/router/src/routes/disputes/utils.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"932270e77fa76f511f366600d2ca9b85f6e290d7070a66f4505be0925ec6fd9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (70 corresponding lines): crates/analytics/src/api_event/metrics/api_count.rs:38-107 | crates/analytics/src/api_event/metrics/latency.rs:41-126 \u2014 These two members are one piece of code written twice and then edited apart: 70 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/metrics/api_count.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b61663b6d8f6eda9170f35731d917d504840f77804552ed7a7a4ae9a9f4697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): crates/router/src/core/payments/list.rs:169-237 | crates/router/src/core/payments/list.rs:385-447 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/list.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5147e40e97ec1bcd558916a69a85326c7a05cdf821461e75e354c7c1cd06b845"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): crates/router/src/core/payment_methods.rs:1854-1960 | crates/router/src/core/payment_methods.rs:1971-2048 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1fa063ecee1dfba519e119e8f2701e891b43605d884e7e0ccf54b1aa4d25be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): crates/router/src/core/fraud_check/operation/fraud_check_post.rs:104-162 | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:91-151 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"418d6f94c4b9d50fc5b29574fa803abc8af66e107108c7b1a41f1f8adf8da5a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (73 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4697-4769 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4777-4849 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":4697}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff89f8c3c9631d775b7e050013352b113ebe11731e6155879af756dfe631520"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (86 corresponding lines): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:493-578 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:375-460 \u2014 These two members are one piece of code written twice and then edited apart: 86 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"2774c265f549024df453ed379ad3f65b79ebc4ddf9033f2db5ac29c944525585"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): crates/hyperswitch_constraint_graph/src/graph.rs:211-262 | crates/hyperswitch_constraint_graph/src/graph.rs:270-324 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbef4552c8eacea982863f0ea50948910b79fa4f55a2d085907eb0c2689ce310"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): crates/router/src/core/payment_methods/tokenize/card_executor.rs:103-174 | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:127-182 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b4263e95c9f97a4f3da7b97dc4b1db727e4590575d86ec56b211aa687510ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4441-4510 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1979-2047 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":4441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62e79b6724a68eb0141765642bd338d4b8c91a87096fb6278db64e11bbd9f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): crates/router/src/core/payments/operations/payment_confirm.rs:1146-1213 | crates/router/src/core/payments/operations/payment_create.rs:802-858 \u2014 These two members are one piece of code written twice and then edited apart: 57 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad332ce868942d53d2c394432e80f564450bf4b0444b919d7e267a929ab6eaa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (58 corresponding lines): crates/smithy/src/lib.rs:1503-1560 | crates/smithy/src/lib.rs:1562-1619 \u2014 These two members are one piece of code written twice and then edited apart: 58 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy/src/lib.rs"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"996b296f6737fccdd7fb4b9b18dbf6436f1b89f3d225025a71ec5b7c99dad09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1784-1841 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1965-2020 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d17dae24e2cd523386c9c02d6e9a3e7bd6be3e8090c6a31780d59d6bb7cc9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): crates/router/src/routes/app.rs:1657-1701 | crates/router/src/routes/app.rs:1738-1791 | crates/router/src/routes/app.rs:2537-2586 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 45 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":"crates/router/src/routes/app.rs"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"782138cb8a97a7e92eff70a5670fcb14b1fdcf9ad067d1f5232e6e8d706b58ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/router/src/core/payment_methods/transformers.rs:348-389 | crates/router/src/core/payment_methods/transformers.rs:394-433 \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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f79a254a9ccdc1cdc3a0d6725d013cccbfa966294551db75d029068a2423deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): crates/router/src/core/payments/transformers.rs:6447-6507 | crates/router/src/core/payments/transformers.rs:6514-6577 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6447}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e22f248091de39067bb1e512bc01b340464fd9d71e9074c7b5649bcd5aa1c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/analytics/src/clickhouse.rs:541-615 | crates/analytics/src/sqlx.rs:1527-1586 \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":"crates/analytics/src/clickhouse.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"409d45590bd33121d163d94ce9d43823420b276dc3a9a6fad57cf51ea57cfa50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): crates/router/src/routes/payments.rs:2769-2832 | crates/router/src/routes/payments.rs:2841-2905 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":2769}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef39477e11e3d8c431277852a180a4d90ec6572a9c22f62a1967fbcb2a489d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (78 corresponding lines): crates/hyperswitch_connectors/src/connectors/nordea.rs:460-537 | crates/hyperswitch_connectors/src/connectors/nordea.rs:623-702 \u2014 These two members are one piece of code written twice and then edited apart: 78 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nordea.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"92085850deed59fe59e6dd77c9f9acef34b2f58d5406a7e22e2a0dd306a3e276"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1135-1185 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1192-1249 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d98272aa6aea267c66eeb61a7f114a7d8184879e5a1a16a880e9d3f303a52f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (97 corresponding lines): crates/hyperswitch_domain_models/src/router_response_types.rs:509-605 | crates/hyperswitch_domain_models/src/router_response_types.rs:609-711 \u2014 These two members are one piece of code written twice and then edited apart: 97 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_response_types.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2a224bc3e240108cdd5eb427c47cf7fd8254902d478ad3d8ee007e069053b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): crates/router_derive/src/macros/operation.rs:171-217 | crates/router_derive/src/macros/operation.rs:219-265 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/operation.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb29d6f145481be5710e7b5a122155a2a625fa9ffa730d4d7b9523adcd436e91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (84 corresponding lines): crates/router/src/core/refunds_v2.rs:860-956 | crates/router/src/core/refunds_v2.rs:971-1054 \u2014 These two members are one piece of code written twice and then edited apart: 84 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"086e18ca526fee751debb3e5d9b0c92555225a9d86e6b5b7592b78eca5f562fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): crates/router/src/utils/currency.rs:290-352 | crates/router/src/utils/currency.rs:356-432 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/currency.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caa79c687d701b228f199ba0144366756664b6104403b473c4cf1f5c995ae4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 71\u002B corresponding lines): crates/router/src/core/authentication/transformers.rs:155-225 | crates/router/src/core/merchant_connector_webhook_management/transformers.rs:66-143 | crates/router/src/core/merchant_connector_webhook_management/transformers.rs:151-225 | crates/router/src/core/unified_authentication_service/utils.rs:86-158 | crates/router/src/core/utils.rs:1582-1655 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 71 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":"crates/router/src/core/authentication/transformers.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd6abf38a358aad3514c112ba9f3aa41e7e7a82d54fbadbebae6524f93669fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): crates/router/src/core/user.rs:3274-3348 | crates/router/src/core/user.rs:3353-3428 \u2014 These two members are one piece of code written twice and then edited apart: 75 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user.rs"},"region":{"startLine":3274}}}],"partialFingerprints":{"codehealthFindingId/v1":"81802c59e436d5355ae5254f6519e81f41ff94ab7ac166de48493ed8e44a93f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/router/src/core/payment_methods/vault.rs:450-494 | crates/router/src/core/payment_methods/vault.rs:1675-1722 \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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3823c4e2a6ce8ab846a1a6a63630dbd009908377987eb11b43c3c59f139070"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): crates/router/src/core/user_role.rs:389-443 | crates/router/src/core/user_role.rs:449-520 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user_role.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"182e611c8d89bb43d4476b1cd3173f31832a2566b3426e554e86a987ec681c17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/router/src/routes/subscription.rs:205-267 | crates/router/src/routes/subscription.rs:274-333 \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":"crates/router/src/routes/subscription.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"67447662b4c62b709b159d5738623a0872fa34ee81f57cf492423e0a67dabdbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:499-566 | crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:1049-1107 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/zift/transformers.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fb53b0ddb78454e3ee072f80fab1c008bf52b2ce1a516efabbfea96813e7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): crates/router/src/core/payment_methods/network_tokenization.rs:639-703 | crates/router/src/core/payment_methods/network_tokenization.rs:710-784 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a00c42b130837d59e966573df606b3e2ac52ec3628ac809650e0229e52ea09e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): crates/router/src/db/refund.rs:1443-1495 | crates/router/src/db/refund.rs:1502-1549 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f14738b00f608aed236ebff44ec901b118b06970f19688603b0fe71e4e5994"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): crates/router/src/routes/app.rs:1556-1603 | crates/router/src/routes/app.rs:1796-1863 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad11b647a6b85bdcdc6cdf6564b15350b936c2602352ae629d99a7cdba3280b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 73\u002B corresponding lines): crates/router/src/compatibility/stripe/payment_intents.rs:286-363 | crates/router/src/compatibility/stripe/payment_intents.rs:373-458 | crates/router/src/compatibility/stripe/payment_intents.rs:543-615 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 73 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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83ebc865a33698de5d139a43ec78380da4c944ba7b8a2f72e25c62467b3e3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/router/src/events/outgoing_webhook_logs.rs:99-141 | crates/router/src/events/outgoing_webhook_logs.rs:146-183 \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":"crates/router/src/events/outgoing_webhook_logs.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3eebdbba1a4d90b22c2a8ac479777f8624e7f32c23fdeab244ae88875db529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): crates/router/src/core/payment_methods/access_token.rs:48-121 | crates/router/src/core/payouts/access_token.rs:60-143 \u2014 These two members are one piece of code written twice and then edited apart: 74 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/access_token.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a0d7b7ea592f113c5661c24bb51b1121477e386cb0ee6248b9d762721bbcad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2518-2576 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:721-770 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64c4588be98e41b26cd7c13cecf2a31b90f86d72132d2d0627fac37a401a0c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/router/src/services/api/generic_link_response/context.rs:24-60 | crates/router/src/services/api/generic_link_response/context.rs:62-104 \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":"crates/router/src/services/api/generic_link_response/context.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff34624e88530962c63535e3ba46cb8d525992e9be7882a6b35b249ebda7d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): crates/router/src/core/payments/transformers.rs:289-352 | crates/router/src/core/payments/transformers.rs:1465-1526 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d2b1fcbf0eede8e24be4b23175f4397d8a740ba3fb91406877a3b08386e8dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): crates/router/src/core/payments/flows/complete_authorize_flow.rs:544-597 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:607-660 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6b6455b9b538324208f37a8a2a35eafba2cc24328e978a95f787841dafe590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 57\u002B corresponding lines): crates/storage_impl/src/kv_router_store.rs:280-336 | crates/storage_impl/src/kv_router_store.rs:359-415 | crates/storage_impl/src/kv_router_store.rs:428-489 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 57 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":"crates/storage_impl/src/kv_router_store.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b575d5534af59907ee1ffdff3cd9e795823a7408fbdce9a48e24ed27b64c916d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 60\u002B corresponding lines): crates/router/src/routes/payments.rs:1123-1208 | crates/router/src/routes/payments.rs:1439-1526 | crates/router/src/routes/payments.rs:1598-1681 | crates/router/src/routes/payments.rs:3346-3405 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 60 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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f8243e81c09795435e01eb6ce35932d4e6900c4bcedf9ca9bf52201858c02a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/api_models/src/payments.rs:4149-4180 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4122-4153 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":4149}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d51280a4575298b20ec954b6a4adfb4b838e61b39f1d4f3f0f0ac4c14119c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1004-1056 | crates/router/src/core/webhooks/outgoing_v2.rs:304-362 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"7292c42cda2e1ef62f232072e508e2e85de4f1e07e1d0e6658601cba96b243cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2675-2719 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2727-2778 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"73633c50a35a5139f32cba5d665dbde9c26fbb3f23675e3cb1e5e94f9c4e3f55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): crates/router/src/core/routing/helpers.rs:2503-2583 | crates/router/src/core/routing/helpers.rs:2593-2661 \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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2503}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b565831a98914c1c80be6dce5cd05c0c2e6962cd693653a4158b7be27879d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:398-440 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:675-724 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"37209acbb33ed1d11b88bee43795ad449412c3efb37123f29853f30d2d566fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): crates/storage_impl/src/customers.rs:1649-1741 | crates/storage_impl/src/customers.rs:1940-2021 \u2014 These two members are one piece of code written twice and then edited apart: 82 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1649}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b9eeca0d94e4d3b5a98ee17aae5f6f9e05db2b84e5b1e7f1cbeb1071f85de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): crates/storage_impl/src/merchant_connector_account.rs:1928-1992 | crates/storage_impl/src/merchant_connector_account.rs:2067-2121 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6de444345a56f9f5ba065b6d4e92d000f6f61530d189b4859114f77740aa7b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/router/src/core/refunds.rs:992-1056 | crates/router/src/core/refunds.rs:1572-1631 \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":"crates/router/src/core/refunds.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff034a7e288b21f541df69bb55a75f1f628a632e73314eb9dc7a03918b0989e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (71 corresponding lines): crates/router/src/utils.rs:388-475 | crates/router/src/utils.rs:482-552 \u2014 These two members are one piece of code written twice and then edited apart: 71 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7a4d16946ec89409f3129ad39a75718118c56dfcb5c6b91398ecfe1f7e33bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): crates/hyperswitch_interfaces/src/conversion_impls.rs:277-346 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1175-1243 \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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3886398ba1bc6076779c2fc5022285f0abefa5663b50bfcb0b4e7759f94b849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): crates/storage_impl/src/payments/payment_attempt.rs:1248-1316 | crates/storage_impl/src/payments/payment_attempt.rs:1325-1391 \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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c4ba639a72db710a3fdc5f1d55421883e2f5eb4e7a22a621234c998f01cc59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): crates/analytics/src/auth_events/metrics.rs:117-180 | crates/analytics/src/payment_intents/metrics.rs:96-164 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"548fa7c4b1af7fbac9767ccfd4bc2c959ab1da119b6a09b36c28381491a0528c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/router/src/core/payments.rs:5346-5418 | crates/router/src/core/payments.rs:5557-5616 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":5346}}}],"partialFingerprints":{"codehealthFindingId/v1":"770802de10f094bdc1c308bceb318f664189a2c9b5c8e5151a8966f102b378de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): crates/hyperswitch_interfaces/src/conversion_impls.rs:38-107 | crates/router/src/core/unified_authentication_service/utils.rs:665-733 \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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"17954fe12e4478594388f6ed4f50a2f567057cf74841ff442f422d675c067f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): crates/storage_impl/src/merchant_connector_account.rs:1110-1184 | crates/storage_impl/src/merchant_connector_account.rs:1191-1255 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f451fd25c5fa6c35b508d52d6bc39553d482fb62928ab064b7a0f0a6d460f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1151-1214 | crates/router/src/core/webhooks/outgoing_v2.rs:441-501 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9938690ec9602917e52c864a19813d7329397a3d5ca191523e146ef1ba3edfab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/router/src/services/api/generic_link_response.rs:185-230 | crates/router/src/services/api/generic_link_response.rs:234-281 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/api/generic_link_response.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd507b36c626ba4ec61f282daa4b897327dbb817c161d4d168661f6ad6eacc22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): crates/router/src/compatibility/stripe/payment_intents.rs:30-105 | crates/router/src/compatibility/stripe/payment_intents.rs:468-533 \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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c247ff0c553c3fb90672b6889db9e74f8b7a777552e73ec32f7adce109f3c3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): crates/router/src/core/payments.rs:9531-9596 | crates/router/src/core/payments/vault_session.rs:431-504 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":9531}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9da0cf46ed74022327c2774fcebbd72b4ec55836750843620186a86da5a6ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/router_derive/src/macros/diesel.rs:7-42 | crates/router_derive/src/macros/diesel.rs:44-86 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/diesel.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1076264bda369d92ccef7545f2ba77056fef0f25151e418f97f4657b483f6fcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/router/src/core/superposition_proxy.rs:211-244 | crates/router/src/core/superposition_proxy.rs:280-314 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/superposition_proxy.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29019866082e6490da8ff8470b90279fa2f20d0c276c1cad083fa22448540ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): crates/router/src/utils/user/dashboard_metadata.rs:693-743 | crates/router/src/utils/user/dashboard_metadata.rs:893-944 \u2014 These two members are one piece of code written twice and then edited apart: 51 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ce17ec00f82435daedfb1d431632bf367e7d8380bc08799273cbb2aa765589"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): crates/router/src/core/payments/multi_currency_processing.rs:154-202 | crates/router/src/core/payments/multi_currency_processing.rs:210-261 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/multi_currency_processing.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6150ff833011b4df0af6d1650c59cb9b143b11520d3733f4cc4fa36ef8eb69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/analytics/src/opensearch/recording.rs:19-51 | crates/external_services/src/http_client/boundary.rs:124-163 \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":"crates/analytics/src/opensearch/recording.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45d08d6ef575f765c6047c6cbeabcc21973a0a02a9a54c9326629c8872d4cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 59\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1820-1887 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2286-2346 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1020-1078 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 59 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"7355ca89f6c0b89d0b9bea0a57e6dbae9ff0ae3be5b59d126a9810cd199ae366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/router/src/core/routing.rs:1945-2006 | crates/router/src/core/routing.rs:2014-2059 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing.rs"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbbebe50c5ba2840310c8a86c832cfc00781727796db1db5f1b7f2a0bd9a5704"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:177-218 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:405-447 \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":"crates/hyperswitch_connectors/src/connectors/boku/transformers.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3242fccb284db93711de04cde873d22b2701da22886084b0a6cea90c697ed0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/router/src/routes/pm_auth.rs:17-76 | crates/router/src/routes/pm_auth.rs:83-128 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/pm_auth.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0748f117234a4aaddee2389f3cb121a2b0dc852afa1f9bce11b15bb2ee3941a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/hyperswitch_domain_models/src/type_encryption.rs:680-714 | crates/hyperswitch_domain_models/src/type_encryption.rs:756-787 \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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"376f3fd172ad3265940878dd65480a26261dd0ae65da5abcaaad8555238bb4c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): crates/router/src/core/payment_methods/cards.rs:5937-5997 | crates/router/src/core/payment_methods/cards.rs:6007-6061 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5937}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4221c6378dab7e86ddf68a67f8154ed93529bedd283720e024d3aca460cd711"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:362-400 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:703-738 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2b398b685439f41d6db26ffdcaeaa55a7b1b9411a8a1cc1b8fbc5ab18ad9a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): crates/router/src/core/payments.rs:7082-7154 | crates/router/src/core/payments.rs:7812-7879 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":7082}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5be30a01a31879e2e488f1d75781d98e866ed854a4cb8c8b9f893fd16de4c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/drainer/src/health_check.rs:118-163 | crates/router/src/db/health_check.rs:20-66 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/drainer/src/health_check.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cc0742779df5840839b644ad727fd41f45c3367efe3c019165987a68c88a05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs:117-176 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs:182-241 \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":"crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b622e2e36526a4ec0caa25066b95b53f7d8cfb176f337b8da85a98038000c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): crates/kgraph_utils/src/mca.rs:589-648 | crates/kgraph_utils/src/mca.rs:654-709 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"2389968cdcaa3711cfe8975ddc896a25fb1c598ba2db94e33c189535d92a0c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): crates/analytics/src/auth_events/sankey.rs:39-97 | crates/analytics/src/payment_intents/sankey.rs:84-149 \u2014 These two members are one piece of code written twice and then edited apart: 59 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/sankey.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e5c6bf80f637b254228ec3274ec88e5d6afc7d7b3243b12fa3d02013bc998d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs:113-161 | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs:114-164 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"21fed9c7fae96933cb85095922a4edcf0cd5752ac324cc8f2ca734aa51da5dde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:561-619 | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:727-780 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d5492fee0620448a846ff724c0cc6aaf6d70085cc0ed6bc1d359259066d372"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/router/src/core/payments/flows/authorize_flow.rs:1374-1415 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1292-1333 \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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"d304b32a03fd0430d291105744c97ceae5bc46163d86a4c66bb3c75ebb75fa61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/router/src/routes/app.rs:2919-2958 | crates/router/src/routes/app.rs:2965-3007 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":2919}}}],"partialFingerprints":{"codehealthFindingId/v1":"3225a0f7bb192bd18028a5730db5589249ae9c8e359a87bd6497539e5a5b117a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): crates/storage_impl/src/customers.rs:436-496 | crates/storage_impl/src/customers.rs:505-558 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/customers.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"90be2065deeb185d733d86fd3272a4a704fc6864301480471bee702123578a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1261-1301 | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1313-1359 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfd4f8e07530bb07da16345a76879715d3123bc468fa27ed94bb36a7cd21251"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs:687-735 | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs:854-901 \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":"crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e565a401189364c1c2d0926014da3a7cda5d1a2cf0efba70ca3dfb42766242"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): crates/router/src/core/payment_methods/transformers.rs:1391-1454 | crates/router/src/core/payment_methods/transformers.rs:2154-2214 | crates/router/src/core/payment_methods/transformers.rs:2485-2537 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 53 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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aace414d6ca180d6e8e182b7ea54d2ce928177c251ef115e436995881fd90b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/router/src/routes/payment_methods.rs:706-747 | crates/router/src/routes/payment_methods.rs:1192-1234 \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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd004c361621144c60fdbcc66a04618f9f7c8936f8745da3be1ff5be75c7c8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/storage_impl/src/merchant_connector_account.rs:1472-1515 | crates/storage_impl/src/merchant_connector_account.rs:1522-1560 \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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15ab7afa223d362494b062f3c9db4f73bf72edaa8190eb0265dea5ccf116a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/router/src/analytics.rs:2013-2052 | crates/router/src/analytics.rs:2091-2138 \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":"crates/router/src/analytics.rs"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d78bbc31678872d41390e4088b6a1a3b0d7b68cbb60f5c34d92bf968fc9824"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): crates/router/src/core/unified_connector_service.rs:1088-1153 | crates/router/src/core/unified_connector_service.rs:1168-1232 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"6528afd8afc0e5af59e598f267b1263b26652cc1f2f9e0da867fc17f2b51a9e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:90-135 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:839-881 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ef4aac4193053dd0a2e239deb92892a45b7874607b54850dc144b70e3118c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1553-1595 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1601-1642 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e75968731ac7e06362bc33793065daeed13b9af01dba629f12067862a7fd56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): crates/router/src/routes/payments.rs:428-487 | crates/router/src/routes/payments.rs:495-547 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad3097422e03d2e5e9c685ff9c33b841ab258afad7aa3c3ab0c208cb62d2568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 51\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:161-218 | crates/hyperswitch_connectors/src/connectors/nmi.rs:124-174 | crates/hyperswitch_connectors/src/connectors/payload.rs:275-326 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 51 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ba76df6479b425826baf7e1f242e5865683edbd525e179174aa5c3bd9b2467"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): crates/router/src/db/user_role.rs:323-363 | crates/router/src/db/user_role.rs:422-477 | crates/router/src/db/user_role.rs:487-529 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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":"crates/router/src/db/user_role.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"657f72f32d415ecd43f6f809061d74cfe8671baf1878a37d9330121039a04184"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 52\u002B corresponding lines): crates/router/src/services/authentication.rs:1837-1888 | crates/router/src/services/authentication.rs:2367-2420 | crates/router/src/services/authentication.rs:2584-2639 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 52 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1837}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8173b52c9f6c4e33c0ee12bb0b7f6cb48938dd79cd124c3099861fc27dec100"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 41\u002B corresponding lines): crates/subscriptions/src/core.rs:503-543 | crates/subscriptions/src/core.rs:551-594 | crates/subscriptions/src/core.rs:602-645 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 41 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":"crates/subscriptions/src/core.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"75918626be3b903d5c195bbea6c83d2905952c2c4262a51d899a95329f83d72c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:506-552 | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:795-848 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"c146ab2b406ff339fb5bee56a2918b0e398ca496c1f2705e52779eb8d2d1c016"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): crates/router/src/core/payment_methods/access_token.rs:131-183 | crates/router/src/core/payments/access_token.rs:463-516 | crates/router/src/core/payouts/access_token.rs:156-209 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 53 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":"crates/router/src/core/payment_methods/access_token.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff163899316126d81ad527baa56b3784605d6faf66941ea90891c9eb2ca6c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 49\u002B corresponding lines): crates/router/src/routes/payments.rs:1690-1738 | crates/router/src/routes/payments.rs:1746-1795 | crates/router/src/routes/payments.rs:1804-1852 | crates/router/src/routes/payments.rs:1861-1910 | crates/router/src/routes/payments.rs:3414-3462 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 49 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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"343051554d40272d22e067a252187ed7bea0242f1f3ef4c8647ddc5c1ef64ac3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): crates/router/src/utils/user/dashboard_metadata.rs:641-684 | crates/router/src/utils/user/dashboard_metadata.rs:839-884 \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":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc9c71bbb7fc36b66050b207f1de0c7aa892ea1b9ee555de71eb7499ebe8d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:1119-1144 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:1198-1222 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:1243-1271 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"614b99000865a5e162d6f0a6cc84a3e21b093dd8c94c13349a9e4e37dcc55366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): crates/router/src/core/debit_routing.rs:287-351 | crates/router/src/core/debit_routing.rs:555-616 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a90bc788a49f0b4b2367d98695cdaaf16f6b41cfb662d54903ae3b2bf30e5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/router/src/services/kafka/deja_record_sink.rs:209-261 | crates/router/src/services/kafka/deja_record_sink.rs:263-304 \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":"crates/router/src/services/kafka/deja_record_sink.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"34efd6bac3ef007d8da9c36251c09818fba21a022444ee6bd7fc788ea3aa3480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 65\u002B corresponding lines): crates/storage_impl/src/payments/payment_attempt.rs:1426-1503 | crates/storage_impl/src/payments/payment_attempt.rs:1514-1578 | crates/storage_impl/src/payments/payment_attempt.rs:1588-1665 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 65 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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"0698197ffd01b3bae723de948b5441a072551cdf15ab8aa03e53b40cc344ec38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): crates/router/src/core/payment_methods.rs:4961-5016 | crates/router/src/core/payment_methods.rs:5129-5181 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":4961}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e0edfabf5c81e879d811b1b7fc47cda4e6468ee91dccea01cd0d5c4620273d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:820-860 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:985-1032 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"814444c829c9cfa101cb2c2709aff620ec88c85c3ffedc13e19b922dd6f43983"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:279-305 | crates/router/src/core/unified_connector_service/transformers.rs:5342-5368 \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":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"884e79217c8364e9e4132ad55800fcb41e78c02c7c05ff47d6529c4437d8d10c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): crates/router/src/core/webhooks/incoming_v2.rs:712-764 | crates/router/src/core/webhooks/utils.rs:170-226 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming_v2.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"6807d739c60a0f769085ceea5d7f4877c75822eab02de1e08cd9258af390bb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/core/payment_methods/tokenize.rs:267-299 | crates/router/src/core/payment_methods/tokenize.rs:305-334 \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":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44fae9d3bd0d359c8647016ea94f20f5f5e0ef1b0abb3e60bc664c896745bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/router/src/core/webhooks/recovery_incoming.rs:1384-1428 | crates/router/src/core/webhooks/recovery_incoming.rs:1550-1594 \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":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":1384}}}],"partialFingerprints":{"codehealthFindingId/v1":"337cf10b4a620e117f53bd7f76ed3bfe477170c01b680eb9c619801acd8cc880"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_connectors/src/connectors/fiuu.rs:295-318 | crates/hyperswitch_connectors/src/connectors/hipay.rs:58-82 \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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d417b621a820e03fbfe32464208d6fcf76b1f111fd764a90b55eef2afc0fbd71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/api_models/src/payments.rs:6873-6900 | crates/hyperswitch_domain_models/src/address.rs:78-105 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":6873}}}],"partialFingerprints":{"codehealthFindingId/v1":"a691236b6beb27e0ff806dffd2964bef30ac19fcb1f0fc02e61e41067a375cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 56\u002B corresponding lines): crates/router/src/routes/payments.rs:1535-1590 | crates/router/src/routes/payments.rs:2163-2231 | crates/router/src/routes/payments.rs:4418-4484 | crates/router/src/routes/payments.rs:4493-4564 | crates/router/src/routes/payments.rs:4853-4920 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 56 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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff519eed15b5c092ab3626847bb49de39ec756207fc664a10d049f58620e1b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:263-317 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:335-383 \u2014 These two members are one piece of code written twice and then edited apart: 49 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"500b8c561934336c3b4412ed1381e589df2fa921a942a633ce49b2ffd1b3fe19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/diesel_models/src/merchant_account.rs:106-146 | crates/hyperswitch_domain_models/src/merchant_account.rs:99-138 \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":"crates/diesel_models/src/merchant_account.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be966b2a11142a9e52055361f8ced7f5d0e3cf0310f41ac8c50608b4dff73d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2662-2701 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2803-2851 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":2662}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fb4e4f4eaae97b4edbc64f9c070eaaa7dbf8aec2943dda06e900108d99a233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/storage_impl/src/customers.rs:245-301 | crates/storage_impl/src/customers.rs:702-747 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/customers.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8a2c7b14a0df67a189f78d3a02f6e84cf84451f432a0840211150aa0409bdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs:147-193 | crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs:124-164 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2f7e79591693500def729c62646b8f904e399ebb12365014e1afd28f69a9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/router/src/services/authentication.rs:4416-4462 | crates/router/src/services/authentication.rs:4686-4728 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":4416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a10a3f0e1163601052a8c737512de833a45d5e3f8cadd639ffbe4acac1e67c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): crates/router/src/core/payouts/retry.rs:40-98 | crates/router/src/core/payouts/retry.rs:111-166 \u2014 These two members are one piece of code written twice and then edited apart: 56 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts/retry.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91067b98553d46d39581fb727ff6600b79b535fc8dd3c57eee4fb89ff8ff497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): crates/router/src/core/webhooks/recovery_incoming.rs:1281-1333 | crates/router/src/core/webhooks/recovery_incoming.rs:1449-1501 \u2014 These two members are one piece of code written twice and then edited apart: 53 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9463de58a898efab9d030482838a3b38a66b867746708a31fe5e55148e4649"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/router/src/core/customers.rs:696-736 | crates/router/src/core/customers.rs:743-788 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/customers.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02cc176483af169be34fc2e910d19417719786394e89f305b6f22e294360db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/router/src/routes/payments.rs:3632-3670 | crates/router/src/routes/payments.rs:3679-3712 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":3632}}}],"partialFingerprints":{"codehealthFindingId/v1":"b207c3bac41bd1854e57c82ee7bea0f757cd7ec466df409ef8362f8d0f4ba89f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1282-1328 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1548-1592 \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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6875e5a4381772395b25e92839954952ecf160481a4a81d70946127793f0907b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): crates/router/src/core/payments.rs:6675-6737 | crates/router/src/core/payments.rs:7317-7379 \u2014 These two members are one piece of code written twice and then edited apart: 63 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":6675}}}],"partialFingerprints":{"codehealthFindingId/v1":"4871adc0c121b50e901e2955bc0c8fdb498dc0301e362933d1e9b5c79e3ef10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:921-964 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:989-1042 \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":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"738fe20203fe896afe8b74a7c54522bd4d77627b430768a96a0c0aaa43bd806a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/storage_impl/src/customers.rs:1749-1778 | crates/storage_impl/src/customers.rs:1904-1935 \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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a87d8368275e99e1e06dc75c06d119ff1f5a7f50962a40739153566534ca8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:268-307 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:322-373 \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":"crates/hyperswitch_connectors/src/connectors/zen/transformers.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeeadee43573ee69d8b51629c479a716fbf6d51eef937e778c95db7e4a6b8e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/router/src/routes/payment_methods.rs:808-851 | crates/router/src/routes/payment_methods.rs:1368-1410 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"7632b1b0cadc516e7a7b216b1d86dc8ef7bd7b07b2e1d91322a6a2698ef24d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/router/src/routes/payment_methods.rs:755-796 | crates/router/src/routes/payment_methods.rs:862-913 \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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbe60146001559ecfb4c2ea5e7e93d0d5b8c2b4a0859c75c800c20b57b9fecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/router/src/routes/verification.rs:18-58 | crates/router/src/routes/verification.rs:67-107 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/verification.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2da533d5aabc0ff985200f84a3fe29a32052b26452cbda39bf0378b61bd8b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/router/src/types/domain/types.rs:14-36 | crates/router/src/types/domain/types.rs:39-64 \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":"crates/router/src/types/domain/types.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c514924a94b9e9c6f5fddf2f0e776db5f08fd742ff336cdc279735e23d7dd9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/router/src/core/disputes.rs:246-287 | crates/router/src/core/refunds.rs:2288-2323 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/disputes.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe8e6392b7cd33ce19360b77bd93a896517adca7425bde80482718378137a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:404-437 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:533-566 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26624f63cf1b30999916129f3bd534995a5ec6d972093b27025a6711e701d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:755-788 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1372-1405 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"0543c49e9a8dce197a5d14bedadd350b5eb966b30b36899f6b657d5c3c4a2701"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:448-481 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:871-904 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/wellsfargo.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbba82a4830550ff6b36a8836b243f8000e92924e0053db21b9581f20be28814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): crates/router/src/services/authentication.rs:2486-2526 | crates/router/src/services/authentication.rs:2858-2912 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":2486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6e283dc5cd3ceaf37f8b4c08d09b8614dcae0381d720d8406bd1ba11d29c8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs:100-142 | crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs:192-233 \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":"crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e948bf5af6ec342307ccc528940aa27cc7f60bc26075144c58f68d6201b9fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (52 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1421-1477 | crates/router/src/core/webhooks/outgoing_v2.rs:751-802 \u2014 These two members are one piece of code written twice and then edited apart: 52 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cafdb2348d5bae873aa3316e2c032b3e114b0178be22eeda76328326fce2a3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/router/src/services/api/generic_link_response.rs:104-139 | crates/router/src/services/api/generic_link_response.rs:143-180 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/api/generic_link_response.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"822bc3ca49d2bcc0ead31e1eb7291ef7f9701fd4429d47f26cd39db3d6749820"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/storage_impl/src/customers.rs:1500-1529 | crates/storage_impl/src/customers.rs:1615-1644 \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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"22944e5c297294e4036b6fe64ad9cf2801358337df82884dc917e844d696d469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:4384-4405 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:4409-4430 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":4384}}}],"partialFingerprints":{"codehealthFindingId/v1":"1515a3bbfdcd6090ea0e72cfdfba82dae48880c902c17ea5bbb0af99b5aef36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): crates/router/src/core/payments.rs:10917-10980 | crates/router/src/core/payments.rs:10992-11041 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":10917}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19aca59a9eb45a6bb0fed2befcb75080c1ac7be3a91362c1b92a7a0b8de35bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 43\u002B corresponding lines): crates/router/src/routes/payments.rs:1217-1270 | crates/router/src/routes/payments.rs:2240-2284 | crates/router/src/routes/payments.rs:2292-2334 | crates/router/src/routes/payments.rs:3242-3286 | crates/router/src/routes/payments.rs:3294-3337 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d936990e6c16c4db5a79c605682f9df9b104b0db53f7d3f1d3e6172fe9ac15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 44\u002B corresponding lines): crates/router/src/routes/routing.rs:104-151 | crates/router/src/routes/routing.rs:205-255 | crates/router/src/routes/routing.rs:434-479 | crates/router/src/routes/routing.rs:531-579 | crates/router/src/routes/routing.rs:625-668 | crates/router/src/routes/routing.rs:886-939 | crates/router/src/routes/routing.rs:990-1039 | crates/router/src/routes/routing.rs:1173-1223 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 44 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":"crates/router/src/routes/routing.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"137794483ae22e4e18fc512d627502fb8d5f3eca56ba275b1119e34decff0899"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:677-711 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:932-966 \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":"crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3e052718a39d24fc3cde1d8a869cd3420f747af419e00ff57200f278679ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 42\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1168-1209 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1289-1340 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1433-1474 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 42 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":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced2e260ae9bf13cc9e41acb1ec67636d0bf595ec1dd18b369c232d1470214c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/storage_impl/src/merchant_connector_account.rs:1887-1921 | crates/storage_impl/src/merchant_connector_account.rs:1994-2024 \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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6c0c151ccf3418ad01bcbf7e67ef115e99abc8b9543b15052f9afc5da21067"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2361-2407 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1093-1132 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56ffa5ce8c519c6310891530a56c1ea18b1c6bcccc8b69da570405d2255f742"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/storage_impl/src/business_profile.rs:213-266 | crates/storage_impl/src/merchant_account.rs:181-222 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"400ec0d5bd225afaf771b166b85c127435a2c4312c378ea3f4cf59d2308177ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 39\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:391-434 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:452-490 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:508-546 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 39 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":"crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"53584b5317577939daa337fbe4fc8c3552c5f3e9600151a3f7c1edf1e0477539"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2149-2212 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2217-2277 \u2014 These two members are one piece of code written twice and then edited apart: 61 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"120601ddb989be17d478ba0f8a1f10f427a90fd37641e21e985d38f85da26b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): crates/router/src/routes/payments.rs:4295-4355 | crates/router/src/routes/payments.rs:4364-4409 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":4295}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ad104e6c01d41029fb255dc32e005398d4722495b6d3a2ebdd0d6556b2fa1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/router/src/compatibility/stripe/customers.rs:26-68 | crates/router/src/compatibility/stripe/customers.rs:120-166 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/customers.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9088b4f67efac8afea030d1f526865f372eb435238def111832b29e46edd768b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/router/src/core/pm_auth.rs:626-672 | crates/router/src/core/pm_auth.rs:680-724 \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":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71648c4db3fbaef2bf11a4cd587a87f310dc3be9184e771e5ec2d87c9752225"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/router/src/db/api_keys.rs:72-113 | crates/router/src/db/api_keys.rs:120-156 \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":"crates/router/src/db/api_keys.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"748411896afbae36ccf6660f149e9acac4a5594f121f8d490ad1fa9550700af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): crates/router/src/db/user/theme.rs:125-179 | crates/router/src/db/user/theme.rs:184-230 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/user/theme.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33ac61577500d77f2516f13333e002a54c1a167f6daf597b600c74270dd092a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:263-308 | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:379-421 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41664bb26f51df3d096c2bc861d9725d55417b40e9c9c8f6ba1e9887518be43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:206-254 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:293-331 \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":"crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbc74cc3a40c07f48881b9ab3390ef17444d26769553d3c8e17ee04fe333488"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/router/src/core/hierarchical_resources.rs:637-669 | crates/router/src/core/hierarchical_resources.rs:816-861 \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":"crates/router/src/core/hierarchical_resources.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"090d48fe391a64f1aa98d0b66f4617f9bb7e0389fe24c82ccee952a1a5e8a942"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/hyperswitch_connectors/src/connectors/santander.rs:1229-1260 | crates/hyperswitch_connectors/src/connectors/santander.rs:1945-1970 \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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4aa43ce4b6d604df3cfa8c8da2c48126617fa192daa60e1077a351268003287"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:67-97 | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:236-266 \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":"crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a7d39448995463cb1b4d6422d67b18d0e002e559b4e473df341103f157a8ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/types/domain/address.rs:171-194 | crates/router/src/types/domain/address.rs:261-285 \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":"crates/router/src/types/domain/address.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f5e266f734f9c08bbce51547d772728728ad77c8cb302fa0c24599f0b911dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): crates/router/src/core/payment_methods/cards.rs:3720-3764 | crates/router/src/core/payment_methods/cards.rs:4103-4148 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3720}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a7c1bba9923fce294cc1e58777889e0f89ac36ca91bae16a7f803779655b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/router/src/core/refunds.rs:2358-2391 | crates/router/src/core/refunds.rs:2434-2467 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/refunds.rs"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5210f948d92ad081ff1f3fff9daf6adb8f8b44a0427adcc10b53bdcd0626c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): crates/router/src/routes/refunds.rs:196-241 | crates/router/src/routes/refunds.rs:250-292 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/refunds.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edc2f052dbca131bbbd57013863e03e7499017b17511bb5a7006e7045e315d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/hyperswitch_domain_models/src/relay.rs:73-110 | crates/hyperswitch_domain_models/src/relay.rs:302-345 \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":"crates/hyperswitch_domain_models/src/relay.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cab9066b01abf15afe0771dd5638db48a28f41b3e2de34e60786f9ad8a135e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/router/src/core/disputes.rs:296-334 | crates/router/src/core/payments/list.rs:107-162 \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":"crates/router/src/core/disputes.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9289ee1ab096dd30114d907cfa138a57669cc7f8eabfc6f6660b3d25cceea74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/analytics/src/api_event/core.rs:54-89 | crates/analytics/src/sdk_events/core.rs:140-182 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/core.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3da218ce40105e9abf69ea07cefadf8de8b8912172a3b613ebae116d09c001"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): crates/diesel_models/src/query/blocklist.rs:698-732 | crates/diesel_models/src/query/blocklist.rs:739-769 | crates/diesel_models/src/query/blocklist.rs:776-801 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c403ceb04605b37f98b6855dcd69e35d6db3857e483375836fde081610994ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/router/src/core/payments/flows/authorize_flow.rs:1468-1511 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:669-703 \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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64c7da5474515027b9558c9cc93f354de2c8eb695d871b273d5a7ccc517c901"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/external_services/src/superposition.rs:879-920 | crates/external_services/src/superposition.rs:933-971 \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":"crates/external_services/src/superposition.rs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ff0c2d38077107808956ec361f7862a88a95fe8e807f46bad8fc7976687ddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/router/src/core/payments/types.rs:375-405 | crates/router/src/core/payments/types.rs:414-446 \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":"crates/router/src/core/payments/types.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04f0df7deaac9590f48daaa9dea3daf7f29d9a5253acce36c9b905c44c0c3f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/core/payment_methods/tokenize.rs:416-442 | crates/router/src/core/payment_methods/tokenize/card_executor.rs:528-556 \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":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b8dde4e5626bc379ca7f7795e18667a480a84f2c1c72ecde70b47634bb2c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1227-1266 | crates/router/src/core/webhooks/outgoing.rs:1323-1363 \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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8a71cfb9fea163929200353903c7fa5806facb7086619e5ebbff28ce095375"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 39\u002B corresponding lines): crates/router/src/analytics.rs:577-622 | crates/router/src/analytics.rs:687-739 | crates/router/src/analytics.rs:748-794 | crates/router/src/analytics.rs:934-978 | crates/router/src/analytics.rs:987-1025 | crates/router/src/analytics.rs:1090-1134 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 39 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":"crates/router/src/analytics.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e89d4d0c5b48f9bcf286f364c1e28f335d92410a77bdad24d228565c208c2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/router/src/services/authentication.rs:4147-4174 | crates/router/src/services/authentication.rs:4280-4311 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39788609f62f3edb435e14872f10622cf13fa877f92b5d1bd23221da70fd33b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): crates/router/src/types/storage/dispute.rs:255-287 | crates/router/src/types/storage/payment_link.rs:87-121 | crates/router/src/types/storage/refund.rs:657-689 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 33 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":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"883ee49a3ff5b9440d94a9636a6d53ee3683e16205e5bd51aa83850b837d589d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/core/payments/transformers.rs:6198-6227 | crates/router/src/core/payments/transformers.rs:6236-6267 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c4558642f6c7ead22c6c590ff01d7f68f293cda7ad7d7c6e0bd68cb322dd53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/core/unified_connector_service/transformers.rs:5441-5467 | crates/router/src/core/unified_connector_service/transformers.rs:5549-5577 \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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":5441}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54b3d2d6bda3ed3579e678f2b014cb2341809f23bd4853c699cf8e6f821a0cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1035-1068 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1335-1372 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d05e798786e76982bbb5a53268862f18d5abf0270b800187d32c8afd83d498"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/router/src/core/payments/helpers.rs:8309-8344 | crates/router/src/core/payouts/helpers.rs:1312-1348 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8309}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cd6b4f2ac44ea97033560b5a60b2a36a07abe4700b8692dfa91b4a5876e463"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): crates/router/src/db/events.rs:1045-1072 | crates/router/src/db/events.rs:1080-1109 | crates/router/src/db/events.rs:1218-1247 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"crates/router/src/db/events.rs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"0359cd437583ad01873268702b9d2c681e57a798ae61f5df09c6129433c2d0e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1480-1510 | crates/router/src/core/webhooks/outgoing_v2.rs:720-747 \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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"df89a2761acb877626f3d6a8463c22eb84082260769af88393df56d7b85723cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/diesel_models/src/payment_method.rs:1915-1949 | crates/diesel_models/src/payment_method.rs:1958-1992 \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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3a5970d6aa3bd37d63f35a407384e2098161eaa735000e2ce160d5a4c5497e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/router/src/core/payments/routing.rs:2057-2098 | crates/router/src/core/payments/routing.rs:2330-2373 \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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf66c3183408e020466a2bb6ec96eca3915648427f0463d7db6ecef520b6a0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): crates/router/src/routes/subscription.rs:341-377 | crates/router/src/routes/subscription.rs:502-538 \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":"crates/router/src/routes/subscription.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2029ae5eaf81e1c01469b365c804d49ee8cddc162cb63009173775aa8f82ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/router/src/services/oidc_provider.rs:194-221 | crates/router/src/services/oidc_provider.rs:226-251 \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":"crates/router/src/services/oidc_provider.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cf0153e17a4d369279d033462d39c2b3c1aaabe6cc51e589a78bd12a81c20d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/analytics/src/payment_intents/accumulator.rs:133-156 | crates/analytics/src/payment_intents/accumulator.rs:254-286 \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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"765c4c6f8729ee08792a775a57b2e0ff4bd347dbc0c89cc20ce70d2e932cf35c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/diesel_models/src/query/customers.rs:53-80 | crates/diesel_models/src/query/customers.rs:88-119 \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":"crates/diesel_models/src/query/customers.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b879457bccb1ed2f84c843b11afedbd8cc8c9db022ff3012e575778037e01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/airwallex.rs:142-177 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:160-188 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1571-1603 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1608-1645 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8ff9154c48eff3faad88e04f33f70a133a5c6cae72f33acaa35cf47057457f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:190-216 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:881-906 \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":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c704ba3d7f41aa38b085e720c220ba656def0fa9631ef39140147c07bb7b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:881-927 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:940-972 \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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ababfa463ea39ec3597955b2fd8d007e2605e628b06d910cfa70736601cc4f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/router/src/core/refunds.rs:1958-1995 | crates/router/src/core/refunds_v2.rs:1126-1163 \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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"2310d4a794ae5cc4fa245f4011268bea444533761cefa8835d0c2e7698dff674"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:715-741 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1234-1260 \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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39515b20d4ec64394682540076cfdae5fec3b4e1896ba68f0807eeac2986e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/braintree.rs:641-670 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1307-1336 | crates/hyperswitch_connectors/src/connectors/payload.rs:407-444 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8455a5477bb23f718cd6fe95088f7573e47ae5801d73c01db3b20d3a8202eff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/hyperswitch_connectors/src/connectors/payjustnow.rs:97-135 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:98-131 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/payjustnow.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"218a70259746ed6d83ce6ce6c4ad10aa5d33c86786d3d8273942262480604656"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:370-389 | crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:421-440 \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":"crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb9f39da9e4efd599f35f287b897c3c51da72c9f4ee265aa7875d70d7a1467c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): crates/hyperswitch_domain_models/src/merchant_connector_account.rs:582-582 | crates/hyperswitch_domain_models/src/merchant_connector_account.rs:788-788 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/merchant_connector_account.rs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"048d2f4b3a09023fa7239d58e66dd9aad09d5fbf161d58b4602bc6dac49139eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/storage_impl/src/merchant_account.rs:713-743 | crates/storage_impl/src/merchant_account.rs:749-779 \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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e001214e08e00ea180e8e218fd21ebe14fa8e0a7663759ed9a740e50c492951"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): crates/storage_impl/src/payouts/payout_attempt.rs:267-324 | crates/storage_impl/src/payouts/payout_attempt.rs:390-443 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6647997697c548573148b7bec4add756cc821fecfd45b78fd54bdc91673b85c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/routes/admin.rs:450-479 | crates/router/src/routes/admin.rs:487-519 \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":"crates/router/src/routes/admin.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a44a09fa3e4d191d8112b6fa62301bb9d6a4a7cd343b567200aae14c6f9487a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/storage_impl/src/authentication.rs:100-141 | crates/storage_impl/src/authentication.rs:151-192 \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":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b4ffa690effbdd7724f149c0d93a7c7e7b7f2e8d23ec299c3bdc74cbb3176a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/hyperswitch_domain_models/src/gsm.rs:43-74 | crates/router/src/types/transformers.rs:2156-2185 \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":"crates/hyperswitch_domain_models/src/gsm.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a79471974551726f19b05cff1f808892cf106d1a88a1ea42a3d3425a89fd32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/hyperswitch_connectors/src/connectors/xendit.rs:433-459 | crates/hyperswitch_connectors/src/connectors/xendit.rs:557-583 \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":"crates/hyperswitch_connectors/src/connectors/xendit.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"9248625297e96e3b444c6eebc871216eb2af2860088ea58bd8f47b5eb8a9941d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): crates/router/src/core/payment_methods/cards.rs:7557-7592 | crates/router/src/core/payment_methods/cards.rs:7600-7635 | crates/router/src/core/payment_methods/cards.rs:7643-7678 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":7557}}}],"partialFingerprints":{"codehealthFindingId/v1":"b264df6b9605d9ee547c957e6c7392a7cbfda906183916be8b396825cd212534"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/router/src/workflows/payment_method_modular_backward_compat.rs:917-947 | crates/router/src/workflows/payment_method_modular_forward_compat.rs:595-625 \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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebf9ffeb577b728423457dd6629459bd93d20e29f33b308aabae3688fe40a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/storage_impl/src/merchant_connector_account.rs:2033-2060 | crates/storage_impl/src/merchant_connector_account.rs:2123-2148 \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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b84bf046602262414d86a7955e0c7671702e0f07ed0daae8225ccf303a7c5a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/external_services/src/http_client.rs:38-75 | crates/hyperswitch_connectors/src/utils.rs:8275-8305 \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":"crates/external_services/src/http_client.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f9056c006588ad6f1e2a1fae323a039aa779bc90d1b546199c17154acae431"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/router/src/core/disputes.rs:1135-1174 | crates/router/src/core/disputes.rs:1187-1221 \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":"crates/router/src/core/disputes.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7bd7f3e819030e1a6ef0240010530963111107beef0acd1e7719bad8fd7521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/router/src/core/webhooks/incoming.rs:86-119 | crates/router/src/core/webhooks/incoming_v2.rs:61-99 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3076a8f808fdce272738a04f67d1bf112f210ff23fedd39b89683b2ab4f407"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/storage_impl/src/merchant_connector_account.rs:1635-1661 | crates/storage_impl/src/merchant_connector_account.rs:1667-1695 \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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5ebc09bab7dccf0abd31d8045cce09285bfb1582f88963fe09be3a919dd0c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/core/payment_methods.rs:282-310 | crates/router/src/core/payouts.rs:4446-4472 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d8fb6f73278df62084029488cce73339e6574d242d1c91567f345bfd3df04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/router/src/core/user.rs:2331-2359 | crates/router/src/core/user.rs:2364-2397 \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":"crates/router/src/core/user.rs"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6eb039953d790939aad9f5adf68ed21d0d6263213e78ba98b915f5abe92647"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/router/src/db/events.rs:1286-1321 | crates/router/src/db/events.rs:1521-1554 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/events.rs"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a77cd67f6bb66f2fd0bcc7ceacc88ff6ac3b352cfcd94bbb849cd910bca9196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): crates/router/src/routes/customers.rs:62-97 | crates/router/src/routes/customers.rs:379-420 | crates/router/src/routes/customers.rs:506-542 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"crates/router/src/routes/customers.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca28c1edef9705657e9ac835b1164f32a2cc1e5053fc820d5111d010b04d8ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/services/authentication.rs:1548-1574 | crates/router/src/services/authentication.rs:1587-1613 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1548}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbecb4e3ea2298d803784ea16ee42b97d1d76dea1e06978e9b82e682d73f6ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/workflows/post_capture_void_sync.rs:146-175 | crates/subscriptions/src/workflows/invoice_sync.rs:435-467 \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":"crates/router/src/workflows/post_capture_void_sync.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f126ef78452efdf34e059fed26d7ca0cdda05b3280aa41c4233a22cba7ac7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/api_models/src/payments.rs:2963-3000 | crates/api_models/src/payments.rs:3004-3033 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":2963}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9fcda48e1d41f962727efdc70bb53b64e0e4af7fdaebad7f1317462d5fc515"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1523-1558 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1615-1652 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"0413d1f22199676c2e28e560fa527fd244fcfc67a14b3b29da88be8b4bd5bd69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): crates/router/src/core/payments/helpers.rs:4558-4615 | crates/router/src/core/payments/helpers.rs:4624-4678 \u2014 These two members are one piece of code written twice and then edited apart: 55 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":4558}}}],"partialFingerprints":{"codehealthFindingId/v1":"75093625473a7346ad9b634283fd350ca13954d4a614b133951569f89355049b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/hyperswitch_domain_models/src/payments.rs:795-828 | crates/hyperswitch_domain_models/src/payments.rs:849-882 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2aae076e9edf3f29937e3aeea027bfd141fea4c7bab88098993f04d99a7d3ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): crates/router/src/core/payments/helpers.rs:1561-1603 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:352-390 \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24515316463fc5d93538454ec2b7a1f4b94113be0446a9ed5aaefc4e53efd78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 36\u002B corresponding lines): crates/router/src/routes/payment_methods.rs:1278-1315 | crates/router/src/routes/routing.rs:714-750 | crates/router/src/routes/routing.rs:756-791 | crates/router/src/routes/routing.rs:798-833 | crates/router/src/routes/routing.rs:841-877 | crates/router/src/routes/routing.rs:946-981 | crates/router/src/routes/routing.rs:1047-1082 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 36 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d251f7e4c4fab658b514f280c6fc331e1ca099617f1babae730960dc1909746"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/api_models/src/analytics/payment_intents.rs:225-241 | crates/api_models/src/analytics/payments.rs:333-356 \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":"crates/api_models/src/analytics/payment_intents.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b849929b5dddf2714af0f2e38b6e1134b5b11db9e8336e1285938fb4d37d749e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:326-356 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:357-386 \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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"510dd5bfcb02c8d0a8efc1fa273bd9668a06b6148e39007cd9579155e85950ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): crates/hyperswitch_domain_models/src/router_data.rs:1557-1593 | crates/hyperswitch_domain_models/src/router_data.rs:2141-2181 | crates/hyperswitch_domain_models/src/router_data.rs:2423-2448 | crates/hyperswitch_domain_models/src/router_data.rs:2685-2719 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4db6905c4faa60d3c30b1a1afc45d1f602a3fe3eef85222088a593c8f60d6c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 40\u002B corresponding lines): crates/router/src/db/capture.rs:192-241 | crates/router/src/db/dispute.rs:581-622 | crates/router/src/db/mandate.rs:88-129 | crates/router/src/db/refund.rs:1205-1244 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 40 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":"crates/router/src/db/capture.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"601b62c6df27535e539ae2bfdc2e5d19455e5b01f44d171e3233e42bb85f53df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/router/src/core/admin.rs:2738-2777 | crates/router/src/core/utils.rs:2417-2447 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85a2eb6f4a17790d1309bfdd598cf9bb86aabf25f7bcce082a9111ac431bcc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/router/src/core/payment_method_balance.rs:335-373 | crates/router/src/core/payments/types.rs:305-339 \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":"crates/router/src/core/payment_method_balance.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a529af04661c3174d31fce24df14af06b421a4f4d167368207b820e9ec9e0c38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/router/src/db/authorization.rs:184-217 | crates/router/src/db/refund.rs:1577-1610 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/authorization.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0200f91b99303ebc1635621b5f660dd9c8e754d463af00c4737b6d7f1fcb2bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/router/src/routes/profile_acquirer.rs:17-50 | crates/router/src/routes/profile_acquirer.rs:62-97 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/profile_acquirer.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a38110b01d22e917171e5b7366ef91896dbd3f3bff62dff9eef6b14b2dc28c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/boku.rs:683-715 | crates/hyperswitch_connectors/src/utils.rs:381-411 | crates/router/src/utils.rs:668-698 \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":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"840e941dcd8ba0c6e4cf27ddfac9ffe429749bb89fa8d76308e20339f87e692c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 34\u002B corresponding lines): crates/router/src/routes/payouts.rs:143-182 | crates/router/src/routes/payouts.rs:237-270 | crates/router/src/routes/payouts.rs:277-311 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 34 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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"425ef49e174009dc4ae5e7e70dd8cb4440fa6c38ebcf09fd41bc3584efceffc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:453-479 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:487-513 \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":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd0ae4bf7e84f9cba6c39b8ebebb5dc1dcba734fc57223d9995ce58fd6fdd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 32\u002B corresponding lines): crates/router/src/routes/authentication.rs:56-90 | crates/router/src/routes/authentication.rs:99-135 | crates/router/src/routes/authentication.rs:144-180 | crates/router/src/routes/authentication.rs:224-260 | crates/router/src/routes/authentication.rs:297-328 | crates/router/src/routes/cards_info.rs:33-65 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 32 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":"crates/router/src/routes/authentication.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c524eabc208ea31dbc6a4addf2a4a2f910064c1d490de987682471b9a4bf790f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2168-2202 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2234-2267 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77e3a260a5ac6ae53337f7a405d2098f213680778cdc8cde39f1cb00ea6b197"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/router/src/db/dashboard_metadata.rs:222-252 | crates/router/src/db/user_role.rs:281-313 \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":"crates/router/src/db/dashboard_metadata.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b9f76ab4a74f2933070eca4d593fc2b6e35444b7dc103c4544233fb32151e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1568-1598 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:877-906 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0a130d41f5c04913697d779a7658fddfc6c3e6a500ee1527a9db9ae728ba77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/hyperswitch_connectors/src/connectors/netcetera.rs:217-244 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:763-790 \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":"crates/hyperswitch_connectors/src/connectors/netcetera.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1c697b1e63ec0367f066f6bf37f62e087ec4af155bf44ef17069d901d96edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/router/src/services/authentication.rs:3961-3988 | crates/router/src/services/authentication.rs:5441-5466 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3961}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4664c6f6b1df28e432a07e08cd5a5f54487727e6dde77893de68124e1edfd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): crates/router/src/services/authentication.rs:4059-4085 | crates/router/src/services/authentication.rs:4098-4122 | crates/router/src/services/authentication.rs:4474-4498 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4059}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca09b6e46914c7c5ff609c6c614cba60c8d4258d5c2603b5e7c11dc0290f2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): crates/router/src/core/fraud_check/operation/fraud_check_post.rs:183-215 | crates/router/src/core/fraud_check/operation/fraud_check_post.rs:359-386 | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:182-209 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7d7c9e96c935ef41a96bdc5c3fd542f0ec09d439641a22de32452fca85b5d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/euclid_wasm/src/lib.rs:399-420 | crates/euclid_wasm/src/lib.rs:525-542 \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":"crates/euclid_wasm/src/lib.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ff35ff8ba875480c16794bc933d1f584df3a4cde0a95a45be3a253f46e98e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:2616-2645 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:5605-5624 \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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b654ba717006489dc22b1f22b9be2fbb7ed69a3bf9d1b3eacabc1deb6c280f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/router/src/core/payment_methods/vault.rs:1625-1645 | crates/router/src/core/payment_methods/vault.rs:1650-1670 \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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2275b73ee37a1ad282d88c17e56d2550dcfa77045651517858f9925e291bf40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/router/src/db/batch_blocklist_job.rs:162-202 | crates/router/src/db/batch_blocklist_job.rs:259-292 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/batch_blocklist_job.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f67d5fa4bea916722cb443de19e311304758fd0bb427678a25e2939d7315286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/routes/relay.rs:55-81 | crates/router/src/routes/relay.rs:90-119 \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":"crates/router/src/routes/relay.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3516827cc8f8bdcb6335c575eabdcbb3dbf2139732c882005fd03ceccf9b7d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/types/domain/event.rs:148-171 | crates/router/src/types/domain/event.rs:226-249 \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":"crates/router/src/types/domain/event.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbce7b75a3a8edea3ac6201db4b5db36e702e6869806056fec6060e0fc40e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/analytics.rs:3122-3151 | crates/router/src/analytics.rs:3193-3222 \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":"crates/router/src/analytics.rs"},"region":{"startLine":3122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb562153a34b6dbb8f277b4290892f2be2e9cc35077da9cee52e92d42e6e43b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): crates/router/src/core/payments.rs:4311-4366 | crates/router/src/core/payments.rs:4404-4445 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":4311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e091d3cea5b529b9bcdef994c89801ac3d3ff049d0c721e246907167d6ea05d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/router/src/core/payments/operations.rs:874-907 | crates/router/src/core/payments/operations/payment_complete_authorize.rs:558-595 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a327315379ee1151cde78bb83717e05ac97c6d8a5cbc4355d49a0e864b44d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/router/src/core/admin.rs:1641-1672 | crates/router/src/core/admin.rs:2962-2995 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccf06be802ccfa664e095777c66e291f7608730513ffe12ceac749a2621a83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/core/payment_methods/vault.rs:398-419 | crates/router/src/core/payment_methods/vault.rs:424-445 \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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0ba4d25226374a8b2bc1b9118276fbb38177393400b2e904420b0de0799c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/hyperswitch_domain_models/src/lib.rs:150-174 | crates/hyperswitch_domain_models/src/lib.rs:774-801 \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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d346dd92ea52af5068fc7f285c532a65dbe2df7a08b4f9ad7ac8525ada3f85e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/router/src/core/payments.rs:8445-8479 | crates/router/src/core/payments.rs:8553-8587 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":8445}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd2284692c773d7f4d564fdc0cc58b544792c3d96fe261eb8ee7b5037feb194"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/router/src/services/authentication.rs:1902-1937 | crates/router/src/services/authentication.rs:2434-2469 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":1902}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b3c63732161c5d225e2469c03e352277b0d1c4e7d154779653058dc64e4a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/storage_impl/src/customers.rs:1294-1319 | crates/storage_impl/src/customers.rs:1326-1354 \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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d65eabc6abbc48b260c2245366bb8f9a345111a628fafa8a41676f31cad52c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 27\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:737-763 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:865-891 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:960-986 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1086-1112 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:679-705 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1004-1030 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 27 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"efafa810514ebc05d01dcdfbd355cdfc6b6b9660dd022d72f57af13176ba5548"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/coingate.rs:139-165 | crates/hyperswitch_connectors/src/connectors/moneris.rs:159-190 | crates/hyperswitch_connectors/src/connectors/volt.rs:170-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 27 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":"crates/hyperswitch_connectors/src/connectors/coingate.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b166f71f1f85570ac013551b435aea24749b24d2af958dbfc19fd202cc259e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:286-304 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:936-953 \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":"crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"98390005a7aee12b953e99af4bf6062c8791d4992477615e66758e9aec9b206a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:732-758 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:831-873 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55ddae6332ee7d3fd41bb908b4eca55e4239ef72c39e5337e97d1be48bed196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/core/unified_connector_service.rs:5468-5496 | crates/router/src/core/unified_connector_service.rs:5506-5530 \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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":5468}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bde91183c4f31dc7cfb1db102e90902556203b1fb6f750dcf148cf8bfe7915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 28\u002B corresponding lines): crates/router/src/analytics.rs:1306-1340 | crates/router/src/analytics.rs:1481-1508 | crates/router/src/analytics.rs:1550-1577 | crates/router/src/analytics.rs:1681-1708 | crates/router/src/analytics.rs:2871-2898 | crates/router/src/analytics.rs:2980-3014 | crates/router/src/analytics.rs:3158-3186 | crates/router/src/analytics.rs:3229-3257 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 28 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":"crates/router/src/analytics.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee5b8986d6ccabe700ef75befeae032f112422108f5441c09d4bb32bc7c6f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/hyperswitch_connectors/src/connectors/stripe.rs:280-307 | crates/hyperswitch_connectors/src/connectors/stripe.rs:457-482 \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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a01cfc092e598560e4ae9f59b59ce67a88dd8a95209c40bbbe6f9e82010e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/router/src/routes/payment_methods.rs:435-468 | crates/router/src/routes/payment_methods.rs:1602-1633 \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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"95da1675a79b1909e4ced95d26aa17e6627c822ee9f7aa49d6aa6a61377563a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/router/src/types.rs:1252-1293 | crates/router/src/types.rs:1297-1334 \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":"crates/router/src/types.rs"},"region":{"startLine":1252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9457bad7b77a8bb03560cdf8f4184b0529be52159aebd31181563080c7dc13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): crates/storage_impl/src/business_profile.rs:496-534 | crates/storage_impl/src/merchant_account.rs:587-617 | crates/storage_impl/src/merchant_account.rs:624-649 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"0061cae128d30f89d6c50f90d779a06ee24ba1b9455ff1f544f7949f9361d01c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): crates/analytics/src/payments/accumulator.rs:124-143 | crates/analytics/src/refunds/accumulator.rs:97-117 | crates/analytics/src/refunds/accumulator.rs:139-159 \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":"crates/analytics/src/payments/accumulator.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c7901235c1ce0dd8daf6ec02ee43bbdbc5956266350055247513c1e8d4db94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3171-3205 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1509-1538 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":3171}}}],"partialFingerprints":{"codehealthFindingId/v1":"531a02340fbffe7395a306b0fb33cfb8c4f57c27eb3e6503f8096b0863c53de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/router/src/core/payment_methods/cards.rs:1216-1236 | crates/router/src/core/payment_methods/cards.rs:1242-1262 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cbb0b53756075a94d188e4f0f3025abc3891b881c394da3b13e2be20ef02e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 25\u002B corresponding lines): crates/router/src/services/kafka.rs:414-442 | crates/router/src/services/kafka.rs:449-473 | crates/router/src/services/kafka.rs:495-523 | crates/router/src/services/kafka.rs:531-555 | crates/router/src/services/kafka.rs:578-602 | crates/router/src/services/kafka.rs:624-648 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 25 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":"crates/router/src/services/kafka.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd884d7382bf81502206e5d5c9e3c848a2b896ea90f142f42c7d4709e2c22f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3124-3162 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1468-1500 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":3124}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb87eac8c6f389e2a031b1420fe569e445eafdcac48b6216def3bad959801c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpay.rs:166-203 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:491-528 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:110-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 26 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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0e13232f83bda4f0976e580dedb7fbd1d4eaa34dce6cde09cc190d90fe5190"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_domain_models/src/type_encryption.rs:724-748 | crates/hyperswitch_domain_models/src/type_encryption.rs:795-812 \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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"394fcde0f9ffc8f2ce748441aea3fc6096feca261bd83de2a8b660a6bf21ab98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/router/src/core/payments/filters.rs:165-197 | crates/router/src/core/payouts.rs:1461-1492 \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":"crates/router/src/core/payments/filters.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6043b621074deabec7e8bb2de816968514fe6655caed961930308c19253ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): crates/diesel_models/src/organization.rs:246-282 | crates/diesel_models/src/organization.rs:287-320 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/organization.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b110f3099c6b5943c081f77308a85f707c39032ae0320dd56d3ec85e375fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal.rs:1033-1058 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1144-1178 \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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"402270e6f90ca66dcc6402ad1249d1702f120dff27c97eebc118e01372cec18b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/router/src/core/payment_methods.rs:2324-2352 | crates/router/src/core/payment_methods.rs:2360-2398 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":2324}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb4c991479ab0c9dd220c24de118a49a1c9d202dc151c381411dba029c628b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): crates/router/src/analytics.rs:1143-1174 | crates/router/src/analytics.rs:1184-1215 | crates/router/src/analytics.rs:1225-1257 | crates/router/src/analytics.rs:2147-2178 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 32 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":"crates/router/src/analytics.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"03795a368a6c05771e501955291904f228374a519eb2a302f3d1fbf4020b98b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/compatibility/stripe/payment_intents/types.rs:426-449 | crates/router/src/compatibility/stripe/setup_intents/types.rs:315-339 \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":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b01861ede32f140cdbd91a07e1aa83e74eb5d2c14911b44e2888c717d703243"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/router/src/analytics.rs:1584-1612 | crates/router/src/analytics.rs:1646-1674 \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":"crates/router/src/analytics.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ac8e7dec73b46c0da6b7bb2aaa3532006b7680a4dccd2e17d46b88634b5ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 32\u002B corresponding lines): crates/router/src/routes/payments.rs:2531-2562 | crates/router/src/routes/payouts.rs:380-412 | crates/router/src/routes/payouts.rs:457-489 | crates/router/src/routes/payouts.rs:534-566 | crates/router/src/routes/refunds.rs:651-682 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 32 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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"4272e7c5eb8c3e3283048468b7514f67a6442eac457ab554f0d0cf54724f88a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/types/transformers.rs:759-788 | crates/router/src/types/transformers.rs:793-822 \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":"crates/router/src/types/transformers.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dce962c508319b8ff97b1b23752fb9a57e0772bdd4ea33eb4c8674f4d507cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:251-274 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:308-333 \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":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fd64f03be82514f31f0f7f96ad95828dc83cc8273a3c3633a8b9d7a4e42588"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): crates/router/src/routes/payment_link.rs:73-98 | crates/router/src/routes/payment_link.rs:107-133 | crates/router/src/routes/payment_link.rs:224-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 26 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":"crates/router/src/routes/payment_link.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"54415bb2be20b39ddc1ee2fb853d619587a62c5fdda4cd7cbfc2d29cedd22bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/api_models/src/payments.rs:4075-4089 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4056-4070 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":4075}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c34fe09c0ba457ef1899e06bd6677886571b1ac728af1465181d4d949c41657"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1650-1689 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2578-2602 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d934ce8f179f312735583196f01190cf035ef90f448ce2dae75c8794b719a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_connectors/src/connectors/cryptopay.rs:288-311 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:385-408 \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":"crates/hyperswitch_connectors/src/connectors/cryptopay.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cf553383295d27807f6346c19e2016c58dd7a4f8c6b0ceedb905021831a3f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 24\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/rapyd.rs:226-256 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:340-363 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:432-460 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:530-562 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:664-689 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/rapyd.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f2c2bf9e79bae4a58fe64df779d15a78e6af03b21863e1e412c99e529b7b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 29\u002B corresponding lines): crates/router/src/analytics.rs:1350-1385 | crates/router/src/analytics.rs:1446-1474 | crates/router/src/analytics.rs:1515-1543 | crates/router/src/analytics.rs:2905-2933 | crates/router/src/analytics.rs:3024-3059 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/analytics.rs"},"region":{"startLine":1350}}}],"partialFingerprints":{"codehealthFindingId/v1":"3066aafbe529a557e0e0a98dece97c4ad0e8f0ae508689f3cf3334a26559262f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/core/webhooks/network_tokenization_incoming.rs:104-123 | crates/router/src/core/webhooks/network_tokenization_incoming.rs:155-174 \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":"crates/router/src/core/webhooks/network_tokenization_incoming.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"357b6a80ff03292cdcef3eb1fa3045d14c22a6eaa30dcf882a6ec5c1a3893661"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/db/events.rs:1116-1140 | crates/router/src/db/events.rs:1254-1278 \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":"crates/router/src/db/events.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6aa6e0980b04b737d747831cfb8541ad41a04fa177d316316d9e9d43585cd93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/payment_methods/src/controller.rs:363-386 | crates/router/src/core/payment_methods/cards.rs:7776-7799 | crates/router/src/core/utils.rs:3251-3274 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/payment_methods/src/controller.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d1988e120ababc68fe404c19f0834200b634176e95c77a45821357dfbd77c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 38\u002B corresponding lines): crates/router/src/core/payment_methods.rs:717-761 | crates/router/src/core/payment_methods.rs:768-805 | crates/router/src/core/payment_methods.rs:812-849 | crates/router/src/core/payment_methods.rs:914-960 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 38 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad69210ef2fd926be8ed8be2179430b01a820e7114cfa681c0aa78ff603e6c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/db/events.rs:550-576 | crates/router/src/db/events.rs:662-690 \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":"crates/router/src/db/events.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f96740f631cce10c3156fa2b9883f2b29e8fb51f1ac7b61c3d2ff9a80e2896"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/utils/user/dashboard_metadata.rs:45-71 | crates/router/src/utils/user/dashboard_metadata.rs:79-105 \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":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"58270e56a22348ebad66f03c0ba8121ba110fe51d9e3aae96c210177eb32d99b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/router/src/core/payment_methods/transformers.rs:2230-2268 | crates/router/src/core/payment_methods/transformers.rs:2282-2317 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0241a955bf34883e5d15e6989c90efba3092813c659eb62cdb6276ec56bd12a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/core/payments/flows/session_flow.rs:191-214 | crates/router/src/core/payments/flows/session_flow.rs:225-251 \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":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd31c0581af4930d99cd508da244126a95d1a6353139800ae08fb181b07d44b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): crates/router/src/core/payments/operations/payment_cancel_v2.rs:281-307 | crates/router/src/core/payments/operations/payment_capture_v2.rs:280-306 | crates/router/src/core/payments/operations/payment_get.rs:309-342 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"crates/router/src/core/payments/operations/payment_cancel_v2.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52336859fc129db0aa20355b2c1d3263b5fd47df7a04c09a238ba8f621dad19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/hyperswitch_connectors/src/connectors/helcim.rs:164-194 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:172-199 \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":"crates/hyperswitch_connectors/src/connectors/helcim.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6ed4231fa01d6b03710836ea998f6461f10e3b5ace89eac7180d1667a8553b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/hyperswitch_domain_models/src/lib.rs:118-148 | crates/hyperswitch_domain_models/src/lib.rs:741-772 \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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc866568ed286078e793f46bac18c6e98e0f287519b9331ad6e2a04221ef5c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/analytics.rs:65-96 | crates/router/src/routes/app.rs:3419-3440 \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":"crates/router/src/analytics.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5279064ce51fddad64bbd200a1cb3a0cd1478a93fddd0b48755160bf6074024d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): crates/router/src/db/reverse_lookup.rs:155-190 | crates/storage_impl/src/lookup.rs:125-159 \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":"crates/router/src/db/reverse_lookup.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5ec1e5292f8b0847d2f1522b7e80934ca975ed163201a9eca659fb96b4618d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/router/src/routes/app.rs:2503-2514 | crates/router/src/routes/app.rs:2519-2530 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":2503}}}],"partialFingerprints":{"codehealthFindingId/v1":"c531641cc5dfe99c2889fb1038467b4590d5cb9557e498bc0e633283248e09df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 31\u002B corresponding lines): crates/router/src/routes/routing.rs:61-95 | crates/router/src/routes/routing.rs:263-295 | crates/router/src/routes/routing.rs:392-425 | crates/router/src/routes/routing.rs:488-522 | crates/router/src/routes/routing.rs:676-706 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/routing.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b73e5a6789be8f41224f11939077a60f8401107469f8b3eab172dcc309dadff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): crates/storage_impl/src/merchant_connector_account.rs:1327-1353 | crates/storage_impl/src/merchant_connector_account.rs:1567-1598 | crates/storage_impl/src/merchant_connector_account.rs:1702-1729 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c22e88586def4941419d0f96ac0699c9c8f4eed2c5b3cb8dd2595fec0026c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/drainer/src/settings.rs:162-192 | crates/router/src/configs/settings.rs:2043-2078 \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":"crates/drainer/src/settings.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"20538321c0e76e0b1788d4b9a3fca28bcc3ec10ffd192ac889410e1173ddefc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): crates/hyperswitch_connectors/src/connectors/authipay.rs:111-142 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:95-126 \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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce438b5494563f95e0601b9e8b630880fdbb1cdeea7ee8b9aa0f08e02197eae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:303-326 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:365-386 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:508-529 \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":"crates/hyperswitch_connectors/src/connectors/forte/transformers.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d00d83eef53003af18162e1e78703cc65b4c3da7f16fa29d819dc7791ef178e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_domain_models/src/mandates.rs:153-183 | crates/hyperswitch_domain_models/src/mandates.rs:186-208 \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":"crates/hyperswitch_domain_models/src/mandates.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4653f44e63ed184a63cd3a3ea9b6d46c6abf6cbb836e2a5d89366a3849195d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/core/utils.rs:3092-3118 | crates/router/src/core/utils.rs:3120-3146 \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":"crates/router/src/core/utils.rs"},"region":{"startLine":3092}}}],"partialFingerprints":{"codehealthFindingId/v1":"c547ca52f432b8ac9ad0d1f084c1967c349685ead0fe637a53264d2a9ce6231b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 30\u002B corresponding lines): crates/router/src/routes/admin.rs:580-612 | crates/router/src/routes/admin.rs:665-703 | crates/router/src/routes/admin.rs:822-851 | crates/router/src/routes/admin.rs:866-897 | crates/router/src/routes/profiles.rs:136-176 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 30 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":"crates/router/src/routes/admin.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"6345cc8f8cc58fe0add34bf239946552900c290aaf87643c5c14789683df064b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/cards/src/validate.rs:217-240 | crates/cards/src/validate.rs:246-269 \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":"crates/cards/src/validate.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"903d9f30a8d64bc8054f2c391d4248c7f1eedbc628c269105457b70558d75e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:855-884 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:957-980 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"e011e35bd67e4ef0083446b8fea9ff6ad6835b3ab7e90959b3ea914d43d5c366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/hyperswitch_connectors/src/connectors/payload/transformers.rs:706-734 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:780-813 \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":"crates/hyperswitch_connectors/src/connectors/payload/transformers.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7ee4585cac7eaa6b88c433c8c67ba5ba08aa83041bc68d1922efd13cb43b3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_constraint_graph/src/builder.rs:198-215 | crates/hyperswitch_constraint_graph/src/builder.rs:223-240 \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":"crates/hyperswitch_constraint_graph/src/builder.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"289a924888ab3dc8fb5a5cf6935194c0e5239f056a73a8897291d7e510e69ec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/core/payments/transformers.rs:6616-6640 | crates/router/src/core/payments/transformers.rs:6656-6685 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6616}}}],"partialFingerprints":{"codehealthFindingId/v1":"2342d80bd90ec9556e8b59bdf51d96921e92b7d8e6e1db50275c834de868a8ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/router/src/routes/tokenization.rs:39-69 | crates/router/src/routes/tokenization.rs:78-105 \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":"crates/router/src/routes/tokenization.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a251a0ad50547e8626d733efcc9655931176d1d9d316b5e6526f43a7ce83360b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/euclid/src/frontend/ast/parser.rs:146-172 | crates/euclid/src/frontend/ast/parser.rs:174-197 | crates/euclid/src/frontend/ast/parser.rs:228-251 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/euclid/src/frontend/ast/parser.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ff7dfca2058d00bf5261eeb2c78b2e852bd09098be5200a7d1be89c8e90b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/hyperswitch_connectors/src/connectors/calida/transformers.rs:265-285 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:628-654 \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":"crates/hyperswitch_connectors/src/connectors/calida/transformers.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"46da99b07b28c4c5874a00bffa76742bf4795535a5b55e087d56f582306a3d29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs:224-244 | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs:318-338 \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":"crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f141fac757314cec52898b709013075926a3f26ebf58ca395a862514db474d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/hyperswitch_connectors/src/connectors/stripe.rs:2744-2767 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:982-1000 \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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcfe76611f8b2de7afbcc181f8695b5d40e3165e882e4bc6f3b134f4babef26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): crates/router/src/core/refunds.rs:2952-2983 | crates/router/src/core/refunds_v2.rs:1548-1579 | crates/router/src/core/refunds_v2.rs:1587-1620 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5846452d12ebf96fd6b3b87573dfa994b6ff04b5de66188a2ba02e583c7cba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 29\u002B corresponding lines): crates/router/src/db/address.rs:770-798 | crates/router/src/db/address.rs:807-835 | crates/router/src/db/address.rs:893-926 | crates/storage_impl/src/merchant_connector_account.rs:1737-1772 | crates/storage_impl/src/merchant_connector_account.rs:1780-1815 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/address.rs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bc6872600879cda114902d875cbfb9c4e1ed666bb3dcd3725776d31feb8a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:1145-1163 | crates/router/src/core/payment_methods/transformers.rs:1995-2012 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"498aa4a72ed9a041999800310a5a9781351e1762bdc68e860bb56af8dc194d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/core/admin.rs:1966-1990 | crates/router/src/core/admin.rs:1994-2020 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":1966}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d0b7e698ba9970d76e4291c8664de6f5f337359dfb87b2508c6424e860f859"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/core/payment_methods/transformers.rs:880-907 | crates/router/src/core/payment_methods/transformers.rs:913-937 \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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf06c9ae461294d4d38f67370ec8e20d17436c373b1009571890b771c31ed1d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/diesel_models/src/payment_method.rs:1720-1751 | crates/hyperswitch_domain_models/src/mandates.rs:361-381 \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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1720}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6d18957358c09a7167472e882e23d32afc11244e080836fa3e037a7da755cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/hyperswitch_connectors/src/connectors/klarna.rs:380-402 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1361-1382 \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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8214802274c571676c5ac44103dac388dc061b554de528abf8e99eafeb1d152"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_domain_models/src/platform.rs:373-395 | crates/hyperswitch_domain_models/src/platform.rs:403-426 \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":"crates/hyperswitch_domain_models/src/platform.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"143608b52786f542f491fa938464de5376caf71e98a8d7401d231ee9e30530f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 36\u002B corresponding lines): crates/hyperswitch_interfaces/src/integrity.rs:299-334 | crates/hyperswitch_interfaces/src/integrity.rs:344-384 | crates/hyperswitch_interfaces/src/integrity.rs:394-429 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 36 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":"crates/hyperswitch_interfaces/src/integrity.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ee969cefb5be47128a751e98bb72f9eb122214086751765f5bdb90b7b5a93d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): crates/router/src/db/authorization.rs:83-115 | crates/router/src/db/file.rs:55-85 | crates/router/src/db/file.rs:92-122 \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":"crates/router/src/db/authorization.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c38e206e43bcc4f69cbd6470dd40b8280bd6ee71e2f5ec462f940e70f0d9af6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 30\u002B corresponding lines): crates/router/src/routes/disputes.rs:38-69 | crates/router/src/routes/disputes.rs:78-113 | crates/router/src/routes/disputes.rs:393-422 | crates/router/src/routes/disputes.rs:608-642 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 30 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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f7e805e2016ef544d71748faf880557ff4e074119598aa98a573b677b686b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 27\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:334-365 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1040-1071 | crates/hyperswitch_connectors/src/connectors/riskified.rs:580-606 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:690-716 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 27 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":"crates/hyperswitch_connectors/src/connectors/adyenplatform.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a9812f2d25eee2ad2b81c2f0556a71a20d7359e8f18150e5cec773bc0d1740"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:711-730 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:800-819 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"457bf776808fa665d54000422cdc9fd3ddf4d30d8ee5edfc6b135906cad01469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): crates/router/src/core/payments.rs:3196-3235 | crates/router/src/core/payments.rs:3268-3299 | crates/router/src/core/payments.rs:4013-4044 | crates/router/src/core/payments/session_operation.rs:76-108 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 32 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":"crates/router/src/core/payments.rs"},"region":{"startLine":3196}}}],"partialFingerprints":{"codehealthFindingId/v1":"322f6853f23028e15a92b5f85c2f104fe6387e32df2c611070524d2ffecb95cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 28\u002B corresponding lines): crates/router/src/routes/files.rs:37-66 | crates/router/src/routes/files.rs:91-118 | crates/router/src/routes/files.rs:144-172 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 28 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":"crates/router/src/routes/files.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"323eaa1be83434235a0918fc9f41d78d49349a346ef00a92612b9f9b37a4217f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): crates/router/src/routes/profiles.rs:392-421 | crates/router/src/routes/profiles.rs:462-491 | crates/router/src/routes/profiles.rs:568-597 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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":"crates/router/src/routes/profiles.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59ea443228f8dbb062555ae2a1f516172adf5240dd5754a552b8bf1eb46c44d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/api_models/src/payment_methods.rs:2262-2287 | crates/api_models/src/payment_methods.rs:2292-2317 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f89957ec57303487a628e37289689ba4f2dc05f236c4802701abc0bea460a56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:230-253 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:258-288 \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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed228fdc425283819880fac4bbd67d441a48cc49c741a2b2af51143102fe89a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): crates/router/src/core/payment_methods/cards.rs:3345-3372 | crates/router/src/core/payment_methods/vault.rs:2621-2647 | crates/router/src/workflows/payment_method_modular_forward_compat.rs:375-400 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3345}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea72c9db24600853bd3719929e08eb766fbaa0d20b2f6c5a1d69a9625d68e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/router/src/routes/app.rs:2130-2146 | crates/router/src/routes/app.rs:2151-2167 | crates/router/src/routes/app.rs:2174-2194 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19d38e726adf8a34d5fafcda781719a3f26c75c2fc443e8ac9e10a7787d24b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/drainer/src/settings.rs:308-343 | crates/router_env/src/logger/config.rs:130-159 \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":"crates/drainer/src/settings.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c645fd5ba5028070b19f54972b6339fd1724ae51de40ddae54ecfd17b41bddb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/hyperswitch_connectors/src/connectors/fiuu.rs:946-975 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:1011-1036 \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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"819a7bafed6becf170d8d93a328cf9b06b549060f948de7821e9e5aab800188c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/core/payment_methods/cards.rs:2318-2345 | crates/router/src/core/payment_methods/cards.rs:2381-2405 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae9de0d358808722676440a7642245d72a66385d3764af6abb9e08fc26244e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/core/routing/helpers.rs:2911-2932 | crates/router/src/core/routing/helpers.rs:2938-2963 \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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2911}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f26abc2c96efe67ebb4aaac4d283babbfb910d99793844798fdc88eb27786a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 28\u002B corresponding lines): crates/router/src/routes/customers.rs:429-463 | crates/router/src/routes/customers.rs:471-498 | crates/router/src/routes/payment_methods.rs:1001-1036 | crates/router/src/routes/payment_methods.rs:1045-1079 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 28 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":"crates/router/src/routes/customers.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2529dfa5b2c2b83ef895d8824983ec52ffec82460a9af6300680535f777f73a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/routes/routing.rs:350-383 | crates/router/src/routes/routing.rs:588-617 \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":"crates/router/src/routes/routing.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"935deb9edd51ddc6ad66b205d3b11356090311d4c73cb7d626a3be0e6d961a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:294-313 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:364-395 \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":"crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1013d872de7fc22c4ba957d89866669b7683ef000e43aa93f028933acb70e283"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:320-354 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:530-554 \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":"crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7e01b17a7a1ff1863000389f19a6eda2254fcaf97db10381d4352348b5d514"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:4827-4841 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4846-4862 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4866-4885 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":4827}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d2f5c75b39a2177a1233a09347fa3ffff6fc2e53c15bee5867e466152b4ce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): crates/router/src/compatibility/stripe/customers.rs:76-110 | crates/router/src/compatibility/stripe/customers.rs:174-208 | crates/router/src/compatibility/stripe/customers.rs:217-251 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 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":"crates/router/src/compatibility/stripe/customers.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e276549ab6f8c903956720e2c28adc454369a8da0f810a7ed8fb68dd243e992"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/router/src/core/refunds.rs:1639-1671 | crates/router/src/core/refunds_v2.rs:668-695 \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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1639}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73bd0c65866eb27b30392fa022fc571bb8c56371eceff0aefd50369b86e1a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): crates/router/src/routes/admin.rs:713-738 | crates/router/src/routes/admin.rs:947-975 | crates/router/src/routes/admin.rs:985-1010 | crates/router/src/routes/admin.rs:1215-1250 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 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":"crates/router/src/routes/admin.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fef3fd236d47a6c1c6be0902464642b180522eb4163c6d213abf45bcf845ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): crates/router/src/routes/payment_link.rs:143-174 | crates/router/src/routes/payment_link.rs:184-215 | crates/router/src/routes/refunds.rs:539-569 \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":"crates/router/src/routes/payment_link.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ce195fab0fa4362c7ff4c079be1e805cc317a8b3a47330d2f114352d6e9ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/analytics/src/routing_events/events.rs:24-53 | crates/analytics/src/sdk_events/events.rs:28-54 \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":"crates/analytics/src/routing_events/events.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"325c6bfd5d2969fc75bd420fe866a6ed249bb682b9f2771345b7e947d1e14b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): crates/euclid/src/dssa/analyzer.rs:72-102 | crates/euclid/src/dssa/analyzer.rs:109-141 \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":"crates/euclid/src/dssa/analyzer.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab621a3686797c1f2afa59aec8dbcbf62d4566e0e3f295cab0e39d57482b537a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:1402-1431 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:1435-1465 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:1469-1503 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08c7c398cea8605303dfd3fdf67b70bf4611fd015a8e5dbcf23379ffe61a0f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/hyperswitch_domain_models/src/merchant_key_store.rs:42-67 | crates/router/src/types/domain/user_key_store.rs:41-66 \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":"crates/hyperswitch_domain_models/src/merchant_key_store.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d772644e771678d4743eb7933772e330446c863abc92e9876ba1fbdeefe837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_domain_models/src/router_request_types.rs:886-910 | crates/hyperswitch_domain_models/src/router_request_types.rs:937-959 \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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"086038c2466cc1db87264c002792a46f926c93869f1c864d333665f30cac9165"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2578-2592 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3411-3430 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c614a205867bd69a1bea57ca38f9e325452d0193338cf754046912c16a3096b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/peachpayments.rs:150-172 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:765-787 | crates/hyperswitch_connectors/src/connectors/xendit.rs:150-171 \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":"crates/hyperswitch_connectors/src/connectors/peachpayments.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"132ee4dba4e42fffd4e0d62b4c781fc08c0823e10bf7c144d02b87ec3b1f8fa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/router/src/core/revenue_recovery/external_triggers.rs:1079-1106 | crates/router/src/workflows/revenue_recovery.rs:205-238 \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":"crates/router/src/core/revenue_recovery/external_triggers.rs"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a46bf6e784176965a9e3a46f41d4d5897a383c89d5618483fcbc8035b9c0ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/core/unified_connector_service.rs:894-923 | crates/router/src/core/unified_connector_service.rs:927-960 \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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3b601ee77556db03d0502ec08b32d4518b6aae51d5ea7bfeff00a279e159f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 25\u002B corresponding lines): crates/external_services/src/grpc_client/unified_connector_service.rs:710-739 | crates/external_services/src/grpc_client/unified_connector_service.rs:822-849 | crates/external_services/src/grpc_client/unified_connector_service.rs:893-917 | crates/external_services/src/grpc_client/unified_connector_service.rs:927-951 | crates/external_services/src/grpc_client/unified_connector_service.rs:961-989 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 25 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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11d6e176e711da46bdf02899efb501e8ce53a62d886f6f89b6671e7a82d2fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_connectors/src/connectors/billwerk.rs:142-166 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:140-162 \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":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d229ec0ca3954888d47df31fb9e7cf7c927dc6f813afb80dfe3a0debd01e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs:112-135 | crates/hyperswitch_connectors/src/connectors/payload/transformers.rs:352-371 \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":"crates/hyperswitch_connectors/src/connectors/cashtocode/transformers.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d8f54abff1b551f4ca32952bc0b41f94a1d07f3251e26e6833c5d649a62ea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/finix/transformers.rs:456-479 | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs:309-338 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:3054-3081 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/finix/transformers.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cc1c5d5fdd25056790e7f6b79d19858eb545d67b1bf843a443b32984e8b592"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_connectors/src/connectors/itaubank.rs:289-315 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:187-209 \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":"crates/hyperswitch_connectors/src/connectors/itaubank.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e9b78370ee763ad9256b08270ce5fd61936037a89497fb980f06a7616dd2b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_connectors/src/connectors/prophetpay.rs:133-155 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:153-175 \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":"crates/hyperswitch_connectors/src/connectors/prophetpay.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"46edd9449f2718cf07585540253eb822d5b5072e84a64f75e1c676af402fe08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:235-257 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:234-259 \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":"crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbeebb19c931033a8008dfbf6914afb78a5bfc3232854804c25fc1f30a2e535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_connectors/src/connectors/klarna.rs:112-141 | crates/hyperswitch_connectors/src/connectors/paystack.rs:136-159 \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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"396fc8562731a6818a67a9bd60a72ff7f59a6fbdb1fd4085a5c47b773e7c6e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/router/src/routes/payment_methods.rs:1155-1183 | crates/router/src/routes/payment_methods.rs:1242-1270 \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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af4df538c2d242f6b6ce9114cb7a5fc914b4fd93da9e6039407f3f06b38a063"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 19\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:470-488 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:564-582 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:772-790 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:866-884 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:854-872 | crates/hyperswitch_connectors/src/connectors/redsys.rs:315-333 | crates/hyperswitch_connectors/src/connectors/redsys.rs:634-652 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"5736eb6be0f26f6cb18a8d921b394795d86684e185e8a4dbd4dc200249ee66d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:150-177 | crates/hyperswitch_connectors/src/connectors/loonio.rs:154-179 | crates/hyperswitch_connectors/src/connectors/plaid.rs:141-163 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:118-146 \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":"crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"6308a82305df85e98761bb7c8a90266b99ebbfadce8a712f08f4b90b070addc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:957-976 | crates/hyperswitch_connectors/src/connectors/payme.rs:832-849 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0e580c2ebea332d24b852dd8e8eb133d7a7bcbe64b446d646688553c9f954b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/router/src/db/address.rs:270-293 | crates/router/src/db/address.rs:668-696 | crates/storage_impl/src/payments/payment_attempt.rs:553-581 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/address.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c23411c80fa8f161da51683fddecd058442194829de6ea9e678b00bb5db476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/routes/admin.rs:301-333 | crates/router/src/routes/admin.rs:344-373 \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":"crates/router/src/routes/admin.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c2bf6e7b572759c000a22e9d7670fc4a5e7aa0b858ba90f48ca1af6b0cf549"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/router/src/routes/customers.rs:23-54 | crates/router/src/routes/payment_methods.rs:1086-1115 \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":"crates/router/src/routes/customers.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5212bc370c489ce99273a5d269cead2e9f2b9006bd0198d606a594a17325c538"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 30\u002B corresponding lines): crates/external_services/src/grpc_client/unified_connector_service.rs:1240-1269 | crates/external_services/src/grpc_client/unified_connector_service.rs:1321-1350 | crates/external_services/src/grpc_client/unified_connector_service.rs:1360-1389 | crates/external_services/src/grpc_client/unified_connector_service.rs:1398-1427 | crates/external_services/src/grpc_client/unified_connector_service.rs:1436-1465 | crates/external_services/src/grpc_client/unified_connector_service.rs:1474-1503 | crates/external_services/src/grpc_client/unified_connector_service.rs:1513-1542 | crates/external_services/src/grpc_client/unified_connector_service.rs:1552-1581 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 30 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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1e7eacfd409558cda2da48fadce5a0369d6f0eac5da058a9cf842c12fc87c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1344-1381 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2308-2346 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6f34c3f19fe7390f71af9e9c75d4c3b540ed6555322cc757302405f60ebfc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:437-455 | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs:247-269 | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs:378-400 \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":"crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"c758bbc1c4fa93e9cb64c246bdeabe77e2c3c358d1e0e553377c627d6fd20513"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 23\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/iatapay.rs:288-310 | crates/hyperswitch_connectors/src/connectors/taxjar.rs:134-156 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:277-302 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:296-321 | crates/hyperswitch_connectors/src/connectors/zen.rs:135-163 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/iatapay.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f638b7b06901628dc4d1dedce4c971b1e04a7524ce676ab25f74cf46f4ea74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 27\u002B corresponding lines): crates/router/src/routes/api_keys.rs:18-53 | crates/router/src/routes/api_keys.rs:137-163 | crates/router/src/routes/api_keys.rs:175-204 | crates/router/src/routes/api_keys.rs:255-283 | crates/router/src/routes/api_keys.rs:327-358 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 27 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":"crates/router/src/routes/api_keys.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b363390fa1557328580ee061f377ad8b7bae25d7efaa8997f7fc8567dc4040b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 27\u002B corresponding lines): crates/external_services/src/grpc_client/unified_connector_service.rs:566-592 | crates/external_services/src/grpc_client/unified_connector_service.rs:637-663 | crates/external_services/src/grpc_client/unified_connector_service.rs:858-884 | crates/external_services/src/grpc_client/unified_connector_service.rs:998-1024 | crates/external_services/src/grpc_client/unified_connector_service.rs:1033-1059 | crates/external_services/src/grpc_client/unified_connector_service.rs:1137-1163 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 27 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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"131f9bd3a64ec6061ad6dabcfe2a91dde6396efe0cba0c291a7864b12f6cc097"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/external_services/src/grpc_client/unified_connector_service.rs:673-700 | crates/external_services/src/grpc_client/unified_connector_service.rs:785-812 \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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c96861c2cbf9a0abae5698a24798e94534b8a4ac66e0c6b6bb1c7d40e02925"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/external_services/src/grpc_client/unified_connector_service.rs:1171-1197 | crates/external_services/src/grpc_client/unified_connector_service.rs:1205-1231 \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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0dd3e8f8640269da3967c0ed707f659e4cad8a84df0e4d68b2421c0ce8a903b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_connectors/src/connectors/breadpay.rs:313-338 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:699-721 \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":"crates/hyperswitch_connectors/src/connectors/breadpay.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"adad44529a166ccfc5ca6807872753a38bca1e9fd872d7aba9b9d114f92d2b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 23\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/calida.rs:140-162 | crates/hyperswitch_connectors/src/connectors/chargebee.rs:347-369 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:160-182 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:157-179 | crates/hyperswitch_connectors/src/connectors/tokenex.rs:147-171 | crates/hyperswitch_connectors/src/connectors/volt.rs:288-311 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/calida.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6cee07feb224b2b7003285299c9f20b480c13b36cb982eb222f0d11d36cdeb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:884-907 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:931-954 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:1023-1047 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"3226b02d3377758f0bd51878140a13aa88c445023f033e2d175725de99bc2882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/analytics.rs:1714-1738 | crates/router/src/analytics.rs:2184-2208 \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":"crates/router/src/analytics.rs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"03559dfb88ef2a197df0170de52558b492f7cc63b9eaef66de9bfc3c21ddffe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): crates/router/src/core/payment_methods/cards.rs:270-292 | crates/router/src/core/payment_methods/transformers.rs:485-503 | crates/router/src/core/payment_methods/transformers.rs:511-529 | crates/router/src/core/payment_methods/transformers.rs:537-555 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"232dd51515750363ae983f88d2c9a0aee66d8a713e3b64996d8a144e2c67733c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): crates/router/src/core/relay.rs:133-149 | crates/router/src/core/relay.rs:265-281 | crates/router/src/core/relay.rs:400-417 | crates/router/src/core/relay.rs:537-553 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/relay.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b9d6baacb085e50c31a110fbd54e358738727153c312330aa72e7a50feeaf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): crates/router/src/routes/webhook_events.rs:24-55 | crates/router/src/routes/webhook_events.rs:110-140 | crates/router/src/routes/webhook_events.rs:148-178 \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":"crates/router/src/routes/webhook_events.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aa53fc37b0b0f570298d13cb04fd3bebfa6f60a58f3b646d2041713276b01c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): crates/external_services/src/grpc_client/unified_connector_service.rs:530-556 | crates/external_services/src/grpc_client/unified_connector_service.rs:749-775 | crates/external_services/src/grpc_client/unified_connector_service.rs:1284-1312 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf63c10fa874452724eaa0f2a141969a4cecb2d5042f98fd4685e0b2a2d42dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/hyperswitch_connectors/src/connectors/calida.rs:655-682 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:895-915 \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":"crates/hyperswitch_connectors/src/connectors/calida.rs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0f6a67157551a72842d992bc8c2395acd2a9d78b3ebdd470ff08f9f2311aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1628-1640 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1724-1736 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1741-1753 \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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a3912be79b20e9191b8f204b880669fbb27fa13691ce5a4434096afb8cfa04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:472-501 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:503-534 \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":"crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fc87f05b9e34503e7b891786acb1317388e95d7344d8631d805593642e3132"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/core/admin.rs:3465-3489 | crates/router/src/core/merchant_connector_webhook_management.rs:587-621 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":3465}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8af6cd832008c2646eddd36ea93abb316a8c947beadf8a0dae7010806fd9d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): crates/router/src/db/role.rs:319-347 | crates/router/src/db/user_authentication_method.rs:227-259 \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":"crates/router/src/db/role.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5261230f942e25ec225e02c9bc81ef9b664402297bfa6a81b5ec03af1e5d0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/storage_impl/src/merchant_account.rs:382-411 | crates/storage_impl/src/merchant_account.rs:502-529 \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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e5b89242cebab82bcd267245a8e3a7be6c6d39d60db8b4933fc745b3521bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/subscriptions/src/core/billing_processor_handler.rs:390-416 | crates/subscriptions/src/core/billing_processor_handler.rs:423-454 \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":"crates/subscriptions/src/core/billing_processor_handler.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb4d2963c8f9200f07c905c38bb10f021a1dd173bca3cfdc9757dbf28040ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): crates/api_models/src/payment_methods.rs:2389-2408 | crates/api_models/src/payment_methods.rs:2413-2440 | crates/api_models/src/payment_methods.rs:2445-2464 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4604-4625 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4687-4704 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f07369e26d5b02854bfefabce7027daaebedd571d5cc7562a0ece14883df41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2207-2229 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:4165-4191 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9182d6d4e2b47b2a6b09d2b0a43f9720f2de1fd2a69353e5371f266d0122768"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/storage_impl/src/business_profile.rs:335-358 | crates/storage_impl/src/merchant_account.rs:230-253 | crates/storage_impl/src/merchant_account.rs:261-284 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc39331dc6f2b5a25aadbaa19606c15673f266eb6fad48fdf1aa3e281cbd2b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/diesel_models/src/customers.rs:50-75 | crates/diesel_models/src/customers.rs:119-146 \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":"crates/diesel_models/src/customers.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c075b63fa11c4b1f54794044b5f84b22ccd34cf7eb9266787cdde4c405f15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 18\u002B corresponding lines): crates/diesel_models/src/query/blocklist.rs:852-874 | crates/diesel_models/src/query/blocklist.rs:883-901 | crates/diesel_models/src/query/blocklist.rs:911-928 | crates/diesel_models/src/query/blocklist.rs:937-960 | crates/diesel_models/src/query/blocklist.rs:969-988 | crates/diesel_models/src/query/blocklist.rs:998-1016 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"804331d1bc0f0b4428610423a2b62ac967afe783e5c4a37953fbd8d874af47c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs:276-299 | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs:158-182 \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":"crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3287eaea436c5f1f883e597ad91f62e317da237501b4c018bea4553596e17f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_connectors/src/connectors/gpayments.rs:146-168 | crates/hyperswitch_connectors/src/connectors/netcetera.rs:132-154 \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":"crates/hyperswitch_connectors/src/connectors/gpayments.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b97338331f823aed91dfb84717d2b5fb4a6b22c227be3fc0d460bf856c1d542"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:902-914 | crates/hyperswitch_connectors/src/utils.rs:2155-2167 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b211085eb532c228bf2bfbcc5ae5577a98be0c8456ae03ef311eaffebff3e03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/router/src/core/admin.rs:1061-1081 | crates/router/src/core/admin.rs:1416-1442 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdc302133eeff0a441104986764d03e9917d23902e9d3a2871ca49eb67a2b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/router/src/core/payment_methods/vault.rs:96-112 | crates/router/src/core/payment_methods/vault.rs:502-518 \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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d581725986559f1da538e1f4f7c664cc29280bc53660db9b35f763e13016ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 26\u002B corresponding lines): crates/router/src/db/events.rs:872-897 | crates/router/src/db/events.rs:904-929 | crates/storage_impl/src/business_profile.rs:425-454 | crates/storage_impl/src/business_profile.rs:461-489 | crates/storage_impl/src/business_profile.rs:592-621 | crates/storage_impl/src/merchant_connector_account.rs:1278-1310 | crates/storage_impl/src/merchant_connector_account.rs:1397-1429 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 26 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/events.rs"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e9e4f7ff628c64fd78c53c548f4522bad4d208971e3f97cb71a898616f6b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/db/refund.rs:1416-1436 | crates/router/src/db/refund.rs:1642-1661 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9e0194d482d2e59a4fe5e93583f5c5f05ce3b380e92cf54eb23a1ccc1c1b37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 26\u002B corresponding lines): crates/router/src/routes/customers.rs:550-577 | crates/router/src/routes/disputes.rs:203-229 | crates/router/src/routes/mandates.rs:75-101 | crates/router/src/routes/payouts.rs:344-371 | crates/router/src/routes/payouts.rs:421-448 | crates/router/src/routes/payouts.rs:498-525 | crates/router/src/routes/refunds.rs:580-605 \u2014 These 7 members are one piece of code written 7 times and then edited apart: every two of them correspond over at least 26 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/customers.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d1082f5d274915f570c94f0a17e083711fececd78a8d4b736ca946d6f18e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/router/src/routes/offer_engine.rs:35-53 | crates/router/src/routes/refunds.rs:362-392 \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":"crates/router/src/routes/offer_engine.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"00049926c8b49a7c07ea8fee1e1dc8550cb5a1a79c1438b0fa54bc79e3f33a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): crates/storage_impl/src/customers.rs:70-106 | crates/storage_impl/src/customers.rs:367-403 | crates/storage_impl/src/customers.rs:762-796 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb8a7ece4f4c01bef9ca5aa4c283f96280c871c0f601c8e083881376c96f3ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 18\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:229-246 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:323-340 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:406-423 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:498-516 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:592-610 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:676-693 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a41865194bfc9acae2c862e90f43e098b51a61fa0cc7fb76d2e3b65f8d0cef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/trustpay.rs:691-705 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:795-810 \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":"crates/hyperswitch_connectors/src/connectors/trustpay.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bcbdaa2b05acf10c8cdda0d1505b8a03fa8479719c7e6f2123f124d7bb51f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1730-1756 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:1119-1148 \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":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0137f1baf344a1f52de62770ff705d8cd832fd05de796b5cbf21fab89a11769"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:806-825 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:861-880 \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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8b13e52234d8a73b490c07c98abcff3f9b86e5bf691775e1887d48e6bbaf65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/core/payments/operations/payment_cancel_v2.rs:215-239 | crates/router/src/core/payments/operations/payment_capture_v2.rs:324-343 \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":"crates/router/src/core/payments/operations/payment_cancel_v2.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64d941ca143c2d6346d21b3333540c72f5977d05fc5e275d88e05cafd4cf839"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/core/payments/routing.rs:1227-1255 | crates/router/src/core/payments/routing.rs:1265-1291 \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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6412d7d32c9ec9879cc5a85619823da32a6177c2af0d98d2ac9b986a2657e043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/db/user/sample_data.rs:88-114 | crates/router/src/db/user/sample_data.rs:176-195 \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":"crates/router/src/db/user/sample_data.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1673e3865fcc2e3075867b2b2a404386bd29b1a69b47d47ff3ee4b360ac5bab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/router/src/routes/user/theme.rs:59-79 | crates/router/src/routes/user/theme.rs:251-275 \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":"crates/router/src/routes/user/theme.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"47db41bacc77ec2d66915835327122b92bad198b5a13a0ab5f15fd4c8caa6e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:218-243 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:439-462 | crates/hyperswitch_connectors/src/connectors/payu.rs:336-358 \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":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e0db2908ef04d4005b00e7b82d2ee621748e4f247bd2a52ae6a2583fa143b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/hyperswitch_domain_models/src/router_request_types.rs:290-306 | crates/hyperswitch_domain_models/src/router_request_types.rs:534-550 \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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"856c47ff5abfd34cdb67592185171426fa535650b4834833854d0d76a54cb59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/core/conditional_config.rs:267-293 | crates/router/src/core/surcharge_decision_config.rs:212-231 \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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"1819754b942542a7cd1d712bf705fa99e98ef4afd97055ae663a22225c125ce3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/router/src/core/payments/operations/payment_approve.rs:311-328 | crates/router/src/core/payments/operations/payment_start.rs:287-306 | crates/router/src/core/payments/operations/payment_status.rs:699-716 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e137f38d3960792a0d3a96ef0b04d2fd5720f07d1d6c26083c5fe84b5872d8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/router/src/db/blocklist.rs:204-236 | crates/router/src/db/blocklist.rs:898-920 \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":"crates/router/src/db/blocklist.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"186aedbd241b784e78b5f4eed98be0dadac8c17d7756912af64f93d0a9c64b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/router/src/db/events.rs:214-231 | crates/router/src/db/relay.rs:49-65 | crates/storage_impl/src/tokenization.rs:52-70 \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":"crates/router/src/db/events.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9bdc5842ea70a9187a5ad08ce18a175b52ba7c06ecaff80620878c5ef61105"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/router/src/types/domain/user/decision_manager.rs:356-380 | crates/router/src/types/domain/user/decision_manager.rs:471-493 \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":"crates/router/src/types/domain/user/decision_manager.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1331cb5f719b61e9ee846fb4e4039f9e01dc8aa3b44c7d0ee071ab2ef40e1689"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/affirm.rs:150-172 | crates/hyperswitch_connectors/src/connectors/bambora.rs:142-165 | crates/hyperswitch_connectors/src/connectors/bitpay.rs:143-165 | crates/hyperswitch_connectors/src/connectors/hipay.rs:241-263 \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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8b3fb7fad6a62925ca72d3ab1d3a0376f890e9d9f24af918b7e84068b153ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3589-3613 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4322-4346 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1863-1886 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":3589}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4ec8ab1ad79de7b0224426b740fdd54a107217cd592cafd7bc9425a6199afb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_connectors/src/connectors/getnet.rs:798-827 | crates/hyperswitch_connectors/src/connectors/inespay.rs:654-677 \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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2b9cbd83d2255392de72239b0f873ed24de72d8e34851566a926fc5808ea9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/inespay.rs:146-168 | crates/hyperswitch_connectors/src/connectors/payu.rs:129-151 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:123-145 \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":"crates/hyperswitch_connectors/src/connectors/inespay.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9241a391f7fd49c97a8f68c5d26bfe57d2e3a37b23dc88cb319c615a6cecb50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1610-1648 | crates/router/src/core/webhooks/outgoing_v2.rs:883-918 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"5509b512d896ad0c755f2c5475c4c17fb3dd249c9c3c68cf07c5af39226667ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): crates/router/src/routes/admin.rs:56-82 | crates/router/src/routes/admin.rs:90-113 | crates/router/src/routes/admin.rs:120-147 | crates/router/src/routes/admin.rs:155-179 \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":"crates/router/src/routes/admin.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5ec8d72d8f93532aa90382b3cf223d7b2df94a0a42c71e697b0b6781ed0e9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/router/src/routes/app.rs:2593-2600 | crates/router/src/routes/app.rs:2831-2838 | crates/router/src/routes/app.rs:2843-2850 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a5a5a9544430695a6bd3f30d917cce93b223199a504edfc8abff37d38f39c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 26\u002B corresponding lines): crates/router/src/routes/disputes.rs:247-272 | crates/router/src/routes/disputes.rs:350-375 | crates/router/src/routes/payouts.rs:582-608 | crates/router/src/routes/refunds.rs:615-640 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 26 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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0173ff0a07a0d7df1b12ca99066abe187f757c3d7d7bb06327490093977f4b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/routes/payments.rs:3470-3491 | crates/router/src/routes/payouts.rs:786-807 \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":3470}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c4a771d2389e270be61090fb349c74c1c8c4ef664c5a5bf10fce133aba64a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/routes/payments.rs:4170-4194 | crates/router/src/routes/payouts.rs:736-760 \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":4170}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d88ad9bd0159cea36c20bfd45955d6d93d9102b1ea8dc5f8a3ea6df462452e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/diesel_models/src/query/blocklist.rs:171-190 | crates/diesel_models/src/query/blocklist.rs:245-266 | crates/diesel_models/src/query/blocklist.rs:273-290 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9675ebe14c3668be189a069e7cec9291702d64a763a941f7d9825069b3b661a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_connectors/src/connectors/shift4.rs:399-416 | crates/hyperswitch_connectors/src/connectors/square.rs:558-575 \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":"crates/hyperswitch_connectors/src/connectors/shift4.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceab430d2cd2b01a1c11d55ce462208311dd80268bfb9caae94a0601d9d7a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/stripe.rs:1057-1076 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1844-1871 \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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a914b54ee0acf0829926ba883de031eb2b5335d7bc9dd90740da5fe93401a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 29\u002B corresponding lines): crates/hyperswitch_interfaces/src/conversion_impls.rs:388-420 | crates/hyperswitch_interfaces/src/conversion_impls.rs:460-488 | crates/hyperswitch_interfaces/src/conversion_impls.rs:526-558 | crates/hyperswitch_interfaces/src/conversion_impls.rs:779-807 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b593009ae771d304e4ceec591d20c99cc8968b6db0be47916f686d3c6678fb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 22\u002B corresponding lines): crates/router/src/analytics.rs:1267-1296 | crates/router/src/analytics.rs:1391-1412 | crates/router/src/analytics.rs:1418-1439 | crates/router/src/analytics.rs:2843-2864 | crates/router/src/analytics.rs:2942-2970 | crates/router/src/analytics.rs:3065-3087 | crates/router/src/analytics.rs:3093-3115 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/analytics.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ff98404e571bb657b3d68a45d7e72dcbb36c68c0a884f71c9f7d36aed7bb23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/router/src/compatibility/stripe/payment_intents/types.rs:38-60 | crates/router/src/compatibility/stripe/payment_intents/types.rs:196-216 \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":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"144d62776b83c3a9205f6cbd3ab1ce0d546afc17e414aebdc9914fcc9a63ac37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_connectors/src/connectors/gpayments.rs:389-406 | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs:481-498 \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":"crates/hyperswitch_connectors/src/connectors/gpayments.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"864bbd9f386c1d63a3b6b863b8f2086dc1fcaa6a133579e59f18992763064d93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/santander.rs:1029-1048 | crates/hyperswitch_connectors/src/connectors/santander.rs:2921-2947 \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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7abfa3aeaa3df06667cf22b08794b423504c8ec67134f18df66f3ca5c72219c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): crates/router/src/core/disputes.rs:883-908 | crates/router/src/core/payments/filters.rs:295-317 | crates/router/src/core/payouts.rs:4501-4523 | crates/router/src/core/refunds.rs:2332-2355 \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":"crates/router/src/core/disputes.rs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9084a1d6ccbc14e8f4820411675059a8cae2a469c1383f8b9b95babf49f14f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/core/revenue_recovery/external_triggers.rs:924-937 | crates/router/src/core/revenue_recovery/external_triggers.rs:944-957 \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":"crates/router/src/core/revenue_recovery/external_triggers.rs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"698d541c15d15fc85aec58c5cf1f69cae9f78e7b3349afb15a740beb30ca2e5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): crates/router/src/db/api_keys.rs:174-198 | crates/router/src/db/organization.rs:47-70 | crates/storage_impl/src/merchant_connector_account.rs:85-108 | crates/storage_impl/src/merchant_connector_account.rs:119-146 \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":"crates/router/src/db/api_keys.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3aeb5051eb5e546112176b8684dc931d35161139e3b1a55936453c980e20b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 25\u002B corresponding lines): crates/router/src/routes/api_keys.rs:61-85 | crates/router/src/routes/api_keys.rs:93-126 | crates/router/src/routes/api_keys.rs:212-244 | crates/router/src/routes/api_keys.rs:365-395 | crates/router/src/routes/profiles.rs:184-219 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 25 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":"crates/router/src/routes/api_keys.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"959773d87c0e33663592e9c7bda60a1d32c97685d95c67a4f4f618055e108b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/common_utils/src/new_type.rs:257-273 | crates/common_utils/src/new_type.rs:285-300 \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":"crates/common_utils/src/new_type.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd9124b39dea62342c322a6ce7809c09fcf0e3ac1718b0ecd90ef5c31e219e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1018-1037 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:936-955 \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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"13460d70b79512040dae537e6dd5aed10d693d9ba8d3a73d1deb54fdf620f693"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/boku.rs:277-291 | crates/hyperswitch_connectors/src/connectors/boku.rs:361-375 | crates/hyperswitch_connectors/src/connectors/boku.rs:441-455 | crates/hyperswitch_connectors/src/connectors/redsys.rs:826-841 | crates/hyperswitch_connectors/src/connectors/redsys.rs:903-918 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5085f5cbb44d50d9615fe43772dd18fc928925d0aa0986cdf37ace75c97c2ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 52\u002B corresponding lines): crates/hyperswitch_domain_models/src/lib.rs:1022-1073 | crates/router/src/utils/user/dashboard_metadata.rs:470-533 | crates/router/src/utils/user/dashboard_metadata.rs:538-601 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 52 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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"6576ccc4c641a8810cf99eb5ac46b3f2334d67d91ff7ef156fc52bc40634cd36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs:1025-1045 | crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs:1053-1073 \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":"crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5eea5d601c4a69431fe71e22491648b6dd1c27da1687f6a6918c56e6505f84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/core/admin.rs:1002-1021 | crates/router/src/core/admin.rs:1028-1055 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"f436e5fc5d5134640d30aa378e3011bdc4c6b2dbb4fa753f054865d8898129af"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): crates/router/src/core/analytics_report.rs:478-499 | crates/router/src/workflows/blocklist_export.rs:245-275 | crates/router/src/workflows/blocklist_profile_clone.rs:162-187 \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":"crates/router/src/core/analytics_report.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d397476d8ffeb29799e470d507105d5a2216166ed65add50ee761dacaabf31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/router/src/core/payment_methods/vault.rs:1930-1960 | crates/router/src/core/payment_methods/vault.rs:1988-2014 \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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":1930}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69581af06760e1b65e16cabfd8dceae9d86fc76c4a0e555f21db317eda46f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/router/src/core/unified_connector_service/transformers.rs:11042-11060 | crates/router/src/core/unified_connector_service/transformers.rs:11280-11298 \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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":11042}}}],"partialFingerprints":{"codehealthFindingId/v1":"86bda635eb3dcda4c5d0d82bc15195908533cddfd2f647af209a289a1f1ddec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/airwallex.rs:986-1000 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:1058-1072 \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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"52de80074ab8dc73288c105470428bed7272d54e38068d00c6e502134fda707a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1683-1708 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:1033-1058 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"216b7c9bd682350cb7831f7f16b399a3f95bbafb1b8eac21c6a9bb96fe91832c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/santander.rs:811-825 | crates/hyperswitch_connectors/src/connectors/santander.rs:934-949 \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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7f45c4061ade6575293c835124b115b5a7a37307721b8ac6824d1a245f1233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/api_models/src/payments.rs:6780-6790 | crates/hyperswitch_domain_models/src/address.rs:28-47 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":6780}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f1da2cd4757b3993354d0b82fb3105770d8bf8ac78f434cb791a7e031bc6a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 16\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:398-421 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:501-516 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:597-619 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:693-709 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:779-801 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:874-890 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:995-1018 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayxml.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0577a273d0a136c89ba47041b5572ae6b041a5e8294aad0e04fe8080aeff92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:7246-7262 | crates/router/src/connector/utils.rs:1643-1660 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7246}}}],"partialFingerprints":{"codehealthFindingId/v1":"35234575ded7edb0760676bb46e84fd94993757b80d77a1c9bd6800a5d40ec68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/router_env/src/logger/formatter.rs:322-341 | crates/router_env/src/logger/formatter.rs:351-367 \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":"crates/router_env/src/logger/formatter.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf7a309d7f5f02b6332c83bb652f93309d51bcd6bd693946f467cbebb8a287b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/api_models/src/payment_methods.rs:2471-2490 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4640-4660 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2471}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a14d89d0035d346c3ba21c71940a644399f631b688c45a36db10d6434c2da80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/external_services/src/aws_kms/core.rs:33-50 | crates/external_services/src/aws_kms/core.rs:56-73 | crates/external_services/src/gcp_kms/core.rs:32-47 | crates/external_services/src/gcp_kms/core.rs:50-65 \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":"crates/external_services/src/aws_kms/core.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3270599fdc5273fd47b03323032185c1a4d319f3fd10539b37d28d4e636f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2417-2441 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2512-2531 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2417}}}],"partialFingerprints":{"codehealthFindingId/v1":"829985ed50512714a29daa8360655a5ae2dc9b89eb4295bf74eafa1d768ae351"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:668-686 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:721-740 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1195-1211 \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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"208f267293260d65f3e476e2914d49848bc8bba0b2509e9bdfd5c3bf523fb470"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 19\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs:120-138 | crates/hyperswitch_connectors/src/connectors/d24/transformers.rs:147-165 | crates/hyperswitch_connectors/src/connectors/interpayments/transformers.rs:117-135 | crates/hyperswitch_connectors/src/connectors/payconex/transformers.rs:120-138 | crates/hyperswitch_connectors/src/connectors/paynearme/transformers.rs:122-140 | crates/hyperswitch_connectors/src/connectors/worldpayraft/transformers.rs:121-139 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6845f8f8bc0976c901f7ff5526c0544e2298170e0a1a88f6da1638c7419976ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/db/events.rs:698-711 | crates/router/src/db/events.rs:720-733 \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":"crates/router/src/db/events.rs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4964413a3f118c640b82ead187a7de8965a7a359ad6cbd67f7fbfcefd28802"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/api_models/src/payment_methods.rs:2332-2354 | crates/api_models/src/payment_methods.rs:2359-2384 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb153175b73d560041d3e60d789a6b737f7e66af4f9ee2a1d206513275beb0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs:365-387 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1466-1487 \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":"crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a91d0de8e46b529505e9d915fd68f9e816c206fb1bed27f1b5760a340c18c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:7198-7218 | crates/router/src/connector/utils.rs:1668-1688 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ce4bbb37d5603f33c915704941873ee43f7bfc8a73d75ba0e66fa7c035a0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:361-374 | crates/hyperswitch_domain_models/src/payment_method_data.rs:377-390 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5264e8b3f716ca9a5d5e78c8ae514fcdc26c92c313ca3167148872cce9cf16d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): crates/router/src/db/events.rs:840-865 | crates/storage_impl/src/merchant_connector_account.rs:1436-1465 \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":"crates/router/src/db/events.rs"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e07c15194170cef301abb8b3b90510788d3bb2dbf3342451e70bda4a46ff1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/router/src/routes/payments.rs:2710-2733 | crates/router/src/routes/payouts.rs:616-646 | crates/router/src/routes/refunds.rs:760-790 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":2710}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f629e91e1dac385e6e48d94c15f6f2e58eaa998c37622b582c70c062d31d7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/storage_impl/src/business_profile.rs:187-206 | crates/storage_impl/src/merchant_account.rs:157-174 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5531e938a370da3290d497738190a114bd5cb3f7b02d3ff552b255b83211f9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): crates/storage_impl/src/customers.rs:332-356 | crates/storage_impl/src/customers.rs:579-599 | crates/storage_impl/src/customers.rs:609-633 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/customers.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d33f6cadce6deacaaf3f2b59ecfd0fbad31ab901c94c1565fb70634e7151a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/hyperswitch_domain_models/src/router_request_types.rs:837-855 | crates/hyperswitch_domain_models/src/router_request_types.rs:861-880 \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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca8990b83dc274fc4f173abe81269dbdbcd377e064152878b951653b1ba6642"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/router/src/core/payment_methods/vault.rs:2821-2837 | crates/router/src/core/payment_methods/vault.rs:3363-3382 | crates/router/src/core/payment_methods/vault.rs:3512-3534 \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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2821}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1c90e757883147fbae786db8ec74fcd7190e9d5d17ab0b31023c0d1e183f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): crates/router/src/core/payments/operations/payment_session.rs:275-298 | crates/router/src/core/payments/operations/payment_session_intent.rs:181-203 | crates/router/src/core/payments/operations/payment_update_metadata.rs:296-316 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_session.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"474601b83ec6a5e8e7f7435e9d5f8360a48c6411b21ff6ec604248b691f5fe9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/core/payments/routing/utils.rs:385-406 | crates/router/src/core/payments/routing/utils.rs:422-444 \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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b292afb58babae55aef3164439a98e2b172ae9f61fe3b52a82bb1d679c4d941b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/euclid/src/dssa/state_machine.rs:354-370 | crates/euclid/src/dssa/state_machine.rs:374-390 | crates/euclid/src/dssa/state_machine.rs:486-502 \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":"crates/euclid/src/dssa/state_machine.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a530dd5d447db6ff0bdcfc263fda2d8b3a8a8b7ada4b0e2e3e4207b78e09fa45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/itaubank.rs:245-262 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:379-398 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:537-554 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:654-670 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:740-755 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/itaubank.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"830c1ceec51ef555d6bb8dbdde6cb8626f14de9407e24bb7fca3405dc9cd1034"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_connectors/src/connectors/netcetera.rs:384-401 | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs:261-279 \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":"crates/hyperswitch_connectors/src/connectors/netcetera.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"775075418ff5ab46295fe288d70d32a9ac5125c2a93152521303ab54b302b6d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/hyperswitch_connectors/src/utils.rs:1629-1644 | crates/hyperswitch_connectors/src/utils.rs:1738-1753 | crates/hyperswitch_connectors/src/utils.rs:7405-7420 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9047d5e49bf7fab7d32eae7c8c770f9fa1d3b770617b808baa4b0b714ccd6d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/analytics/src/payments/accumulator.rs:427-440 | crates/analytics/src/sdk_events/accumulator.rs:57-73 \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":"crates/analytics/src/payments/accumulator.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"668cf8c0e7af479db9b0d200868c4d9a7e2fbc597f689b4d262439c33f1000cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/archipel.rs:537-549 | crates/hyperswitch_connectors/src/connectors/archipel.rs:741-753 \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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb843eab7d94f51e14513ee5daf09d7c5fd4b37c7c8e6cc8a24805c7b5401d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs:196-214 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:582-600 \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":"crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e63ef2e1b1ed8bbc2421ab3314282f9057ad214e59b7d55201658fb58ee71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:168-189 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:108-126 \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":"crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef460ee2de9ceb24a1e268b7295c77ce52c49586bc4b8762f7b9cb308063d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/core/payments/routing.rs:740-759 | crates/router/src/core/payments/routing.rs:1545-1565 \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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"826fd450afcf79c0e433daa7dfc444328a468e5036113891bc6e864874fa42dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/db/relay.rs:97-110 | crates/router/src/db/relay.rs:117-134 \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":"crates/router/src/db/relay.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c41f584e09db5f0d5fb8fcaa35f79366d0b5842ebbe5ee415862ed17ea5782"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/router/src/routes/app.rs:2430-2440 | crates/router/src/routes/app.rs:2445-2455 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":2430}}}],"partialFingerprints":{"codehealthFindingId/v1":"3979a1710ed784b714310ccb24b6d4662b5d536553313fc7142b0a10f4f634f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 27\u002B corresponding lines): crates/router/src/routes/recovery_webhooks.rs:21-49 | crates/router/src/routes/webhooks.rs:18-44 | crates/router/src/routes/webhooks.rs:56-83 | crates/router/src/routes/webhooks.rs:96-127 | crates/router/src/routes/webhooks.rs:140-170 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 27 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":"crates/router/src/routes/recovery_webhooks.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5d1ea3c2943ede710eace21c570761fda7394f8169ee18d6d8f556abdc2297"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/diesel_models/src/query/customers.rs:126-142 | crates/diesel_models/src/query/customers.rs:356-376 \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":"crates/diesel_models/src/query/customers.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c90a386b127c854e8e52cf439146d22f498effa6a4c691e383981e7f279d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/hyperswitch_connectors/src/connectors/gpayments.rs:366-382 | crates/hyperswitch_connectors/src/connectors/gpayments.rs:547-566 \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":"crates/hyperswitch_connectors/src/connectors/gpayments.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0434a9cc2c2bec2c8062ca8e57cc0457a10cd94a4839fa000a345722317ccba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/santander.rs:194-211 | crates/hyperswitch_connectors/src/connectors/santander.rs:349-368 | crates/hyperswitch_connectors/src/connectors/santander.rs:1520-1533 | crates/hyperswitch_connectors/src/connectors/santander.rs:1808-1827 | crates/hyperswitch_connectors/src/connectors/santander.rs:2066-2081 | crates/hyperswitch_connectors/src/connectors/santander.rs:2783-2800 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f29dabbf9d392e9433bdef61c255305cbdc8829b345f4e145b8c8a5c06660f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/router/src/routes/card_issuer.rs:77-100 | crates/router/src/routes/currency.rs:11-33 \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":"crates/router/src/routes/card_issuer.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"4766e808ac4309ad5cb3e769dc47b28ef2f18f78a1cb05bfd84d3b4d8297686a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/api_models/src/payment_methods.rs:1248-1276 | crates/api_models/src/payment_methods.rs:1298-1319 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfb1225b680c5284902a1f115d080cf15d3659925a19ac01d9d43cc436e3932"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1189-1215 | crates/hyperswitch_connectors/src/connectors/payme.rs:1246-1268 \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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5779c934f5e56c4a11be44f06a10cc32f6b53754b1cea70ed579b458c47862c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:318-337 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:2178-2196 \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":"crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d4ed6540e8cdd740685a82b0e205eee7730d1ddc608693388d50bf2fe894f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1480-1497 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1501-1518 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1657-1675 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0ecdca1e38a68752028d8cc57f6b2e3b3b1ed8c1765139572e155c191d1516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/core/user/theme.rs:337-365 | crates/router/src/core/user/theme.rs:448-471 \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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad51484cfacf0f9a74f9140a6f03a0b1fc8f2713d7d7b41d25395c79ebca835"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/db/user_role.rs:222-238 | crates/router/src/db/user_role.rs:258-273 \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":"crates/router/src/db/user_role.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4a8cfd680d385a27b3b7b227c1be6fcf5f16fa2553da546769e1fe7ffb0e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:1244-1257 | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:207-220 | crates/hyperswitch_connectors/src/connectors/checkout.rs:313-326 | crates/hyperswitch_connectors/src/connectors/wise.rs:86-99 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f19a7fd987b00c56757224644fb9c5387bdedc1ba2ca92b38073a1d969174c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:146-162 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:418-433 \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":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd64faa7220c66b5fb16d884afbea76f39cfc6f5ebabf0fd926a383769266d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:75-88 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:363-379 \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":"crates/hyperswitch_connectors/src/connectors/forte/transformers.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d25a7fa54a151e54ed8e5d4440747ce151e2317750afd817af310979ce27849"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:729-755 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:279-305 \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":"crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a4de348d6f3eb4e87f16d3bbe724ea5dc74b47ee442bb763951e44c6fea7f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/stripe.rs:646-666 | crates/hyperswitch_connectors/src/connectors/stripe.rs:835-854 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1502-1522 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1668-1687 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2040-2058 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab3e04419979fa707a36599477aeef8f5e6d0825b8768b659ce8b214fdb324c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpay.rs:1112-1126 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:640-654 \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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c516045bdfc3b1bc3d1a6cf65c9615b3db985fa17cc2c07d82f5c068282e83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): crates/router/src/core/payment_methods/cards.rs:2504-2526 | crates/router/src/core/unified_authentication_service/utils.rs:489-513 | crates/subscriptions/src/core/subscription_handler.rs:219-243 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9e61fe6c2fce085a85a2e4f2e854448f0b98f5ea48ed976a075b83b734d0ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/router/src/routes/user/theme.rs:281-301 | crates/router/src/routes/user/theme.rs:307-327 \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":"crates/router/src/routes/user/theme.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb57300cf4eac98b4e7e28498e7089c09a598b93666946cc078d1e57f761684"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/utils/user_role.rs:240-261 | crates/router/src/utils/user_role.rs:267-290 \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":"crates/router/src/utils/user_role.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d58b73958536953b657377cfc6a8cbb3b7ff917017e85f67fb5b662c082a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/common_types/src/payments.rs:798-813 | crates/common_types/src/payments.rs:954-969 | crates/common_types/src/payments.rs:973-988 \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":"crates/common_types/src/payments.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1582b2c096f49ec38a4455d1bff7842656fc80402a6e3b7f3d3bd2b3fbfd651"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bambora.rs:569-588 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:795-816 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1833-1852 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:691-711 \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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f20185b422716e4cde68d0ebfdddbd9b09dce4aaaef77c594418c699abb30b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/datatrans.rs:513-528 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:597-612 \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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf1f976c3642ed4df20c0fc49de04cafa30e187320a3c917e53db2a46be9bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei.rs:644-660 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1192-1207 \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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b6185337ef998b86229b6c14bcd48cb2b5c41854bef963a032c2c148bc1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:4884-4908 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:4912-4934 \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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":4884}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e886a35e3102a57c247a4ccb77199437960d6307db36fc8683a488ea212ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_domain_models/src/mandates.rs:819-842 | crates/router/src/types/storage/revenue_recovery_redis_operation.rs:60-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":"crates/hyperswitch_domain_models/src/mandates.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"9112275bc90a4f2c8ec0cedfea8b985416fa965dfc142d3de141ccc851ab119f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/router/src/core/utils.rs:2207-2227 | crates/router/src/core/utils.rs:2233-2253 \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":"crates/router/src/core/utils.rs"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2d6fbe42757f078da4cd5fe67ab45ecd6a42d9f0153a51d9256a67801f6590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 20\u002B corresponding lines): crates/router/src/routes/payments.rs:2342-2368 | crates/router/src/routes/payments.rs:2428-2454 | crates/router/src/routes/payments.rs:2463-2483 | crates/router/src/routes/payments.rs:2570-2589 | crates/router/src/routes/payments.rs:2630-2649 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c607d2a675f24bb06cf9873f7a7f3744f38c42c765babe010bb6e57ccbbf7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/router/src/routes/user.rs:510-529 | crates/router/src/routes/user.rs:537-556 | crates/router/src/routes/user_role.rs:213-231 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"21de41e378f673c6860b2565ab82cc3fdb344c81895dedf2c4606e5ddc4d922d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/drainer/src/lib.rs:66-76 | crates/router/src/bin/scheduler.rs:140-161 \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":"crates/drainer/src/lib.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cc5bb6353c1060b7b94b9c4a674d606848d6495a04010fb1e15faaee768ac9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4531-4549 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:2068-2086 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":4531}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc21e8283c7a141cf73865f4550f847ebb5bd66dd4ec70e228eb0137df40b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/stripe.rs:2559-2574 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2651-2665 \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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":2559}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ff07d9ba2f983479278d43570105230cde3f8518df58816ef52ec570a0f497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/router/src/core/cards_info.rs:163-177 | crates/router/src/core/payment_methods/migration.rs:27-42 \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":"crates/router/src/core/cards_info.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8894d5ff9ed99f8ec7f137d75d2b4ae7b1fd975e26d17eba9b15190ffb6765a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/router/src/db/dashboard_metadata.rs:297-322 | crates/router/src/db/dashboard_metadata.rs:381-403 \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":"crates/router/src/db/dashboard_metadata.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"145c8106dfaa6d295f0883170247d458140940bcad7fdae5f939717eac361755"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/types/api/mandates.rs:153-170 | crates/router/src/types/api/mandates.rs:175-197 \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":"crates/router/src/types/api/mandates.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6683f77c8123009c2d3dd8fb6112b140c4d371104bfab9c4945c300f27e34373"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_connectors/src/connectors/inespay.rs:682-699 | crates/hyperswitch_connectors/src/connectors/paystack.rs:618-635 \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":"crates/hyperswitch_connectors/src/connectors/inespay.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"db53adf7e98f7e5e6e6e7895b9237ee8e05cedc3551514356f6f58021fbf0440"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/nmi.rs:874-893 | crates/hyperswitch_connectors/src/connectors/nmi.rs:900-920 \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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8ca8fd00842f76df1d377daf564f53a208a7c26554efd672056dbc232bc8e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:3872-3885 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:625-640 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:645-659 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":3872}}}],"partialFingerprints":{"codehealthFindingId/v1":"587892a73086396acfa30120112e5570d2023fb5fa82820ed73b918482aec8c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:821-840 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:846-865 \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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cfcc8cfe6d64121a9e974dace48fb9efc1d3e90412a282ea12622da37f3c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1270-1292 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1296-1317 \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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a104fe3382610a509aa377bba977630f164da421f165231ba4d79a2f4e2d8fb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/tokenio.rs:159-178 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:184-203 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:209-225 \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":"crates/hyperswitch_connectors/src/connectors/tokenio.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"02006f49b2d087afff7144ed69e2439bf4ec12030d1b7692c29c7b9923e2b73a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/core/payment_methods/cards.rs:1116-1139 | crates/router/src/core/payment_methods/cards.rs:1146-1169 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"752d047221df4d0a8fcde926808f265d93ff5862aba6223223c5d1a86bd985d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/router/src/core/payments/transformers.rs:6096-6115 | crates/router/src/core/payments/transformers.rs:6584-6600 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6096}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede26fb9d8ceb03bc244d00e93203d3a6df9a2964ab7991b88d95df7dbd68540"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 19\u002B corresponding lines): crates/analytics/src/api_event/filters.rs:26-46 | crates/analytics/src/auth_events/filters.rs:32-51 | crates/analytics/src/disputes/filters.rs:30-48 | crates/analytics/src/frm/filters.rs:32-52 | crates/analytics/src/payment_intents/filters.rs:31-49 | crates/analytics/src/payments/filters.rs:31-49 | crates/analytics/src/refunds/filters.rs:33-51 | crates/analytics/src/sdk_events/filters.rs:26-47 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/filters.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0432117a6f96ec74c56ad1de8b985b6ca0de0a4960991435f7e6a7a0dd312e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): crates/external_services/src/grpc_client/unified_connector_service.rs:1068-1094 | crates/external_services/src/grpc_client/unified_connector_service.rs:1108-1129 | crates/external_services/src/grpc_client/unified_connector_service.rs:1723-1748 \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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1d8a7e79dd8f2b101d8b7ae2942e0e0749601649ab5699e8b21842a3d4f95c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/aci.rs:442-455 | crates/hyperswitch_connectors/src/connectors/aci.rs:543-556 | crates/hyperswitch_connectors/src/connectors/aci.rs:627-640 \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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e5f630ba62c33bb79d5d66e51d5b697e0121a5708cc68996a09c4826736e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/airwallex.rs:801-814 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:874-887 \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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d46e455164e7e3cc7ded7574cea1afa0163ddc61d8f2267861edc0bd9ebd36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/bambora.rs:430-445 | crates/hyperswitch_connectors/src/connectors/bambora.rs:611-626 \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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d7afc7673968a739c81376492ba7783fb5f76d42733158de736da22e871991"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:381-394 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:480-493 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:898-911 \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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"169e8759a31f56695be95975f4e5cb4ddfe527af333075500d76e8d8f7801f95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:892-915 | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs:247-267 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:392-412 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:155-175 \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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"50be36392e8e20d49033425e375e410f3abf4473d1414c4e1e43c30b77fc8196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/payeezy.rs:239-254 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:340-355 \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":"crates/hyperswitch_connectors/src/connectors/payeezy.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f556e6ceb38d670ab9eea0543bb798bf3faa9fdb97901fd8ad508db3a4c68f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_connectors/src/connectors/payone.rs:93-111 | crates/hyperswitch_connectors/src/connectors/worldline.rs:71-88 \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":"crates/hyperswitch_connectors/src/connectors/payone.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"900c322bbcf6e32d7314bebeb92b97515f16db82e429a85978038f5234389a5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/rapyd.rs:263-276 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:370-383 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:475-488 \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":"crates/hyperswitch_connectors/src/connectors/rapyd.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e68b8262e810cea8e937106454e7960fa266b62097267d5de6000bc1296de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/shift4.rs:264-279 | crates/hyperswitch_connectors/src/connectors/shift4.rs:363-378 | crates/hyperswitch_connectors/src/connectors/shift4.rs:423-438 | crates/hyperswitch_connectors/src/connectors/shift4.rs:639-654 \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":"crates/hyperswitch_connectors/src/connectors/shift4.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"284ce7fb409a3bdc976778d06db7f9911f93d79f19a13c26e1a98c8f2be465dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1215-1229 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1311-1326 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml.rs"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"df75ceacfaa9b3477350dd50dc0896990d1d2b532afae558ba28f0a60a540546"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/router/src/core/customers.rs:622-640 | crates/router/src/core/customers.rs:648-666 \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":"crates/router/src/core/customers.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad3b7f70d885c086852e4e63a3f1f8cc2661d9bf3f11e9c5a9c612064b18faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/core/payments.rs:8516-8540 | crates/router/src/core/payments.rs:8606-8630 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":8516}}}],"partialFingerprints":{"codehealthFindingId/v1":"a650c3cc2c32ca8fb483fb1551072412546eb5bb2f7126a0010b81eb4e105e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/router/src/core/payments/gateway.rs:79-106 | crates/router/src/core/payouts/gateway.rs:43-70 \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":"crates/router/src/core/payments/gateway.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6341eda948c73558ff57a59c36f3e7ae5af88552221f7dd9664e707c457dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): crates/router/src/core/unified_authentication_service.rs:478-514 | crates/router/src/core/unified_authentication_service.rs:544-568 \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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"4690215c78be5e6a3a6d57b37fc979e0c46a78be99c91ffe0de72c8e3b7cc785"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): crates/router/src/routes/payments.rs:2376-2395 | crates/router/src/routes/payments.rs:2741-2760 | crates/router/src/routes/payouts.rs:709-728 \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba7c7b67f06771608043fe7deec05fedc0b918e8fee6b917fc325db7cad10ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): crates/router/src/routes/user.rs:69-90 | crates/router/src/routes/user.rs:140-161 | crates/router/src/routes/user.rs:464-484 | crates/router/src/routes/user.rs:633-653 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f1b6f8c81c464fbeec8caa3fff53a57cf8e219dfcc782b95a7fa46b585ca85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): crates/router/src/routes/user/theme.rs:146-165 | crates/router/src/routes/user/theme.rs:170-190 | crates/router/src/routes/user/theme.rs:197-218 | crates/router/src/routes/user/theme.rs:224-244 \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":"crates/router/src/routes/user/theme.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"045957ec2c0a7dd0b4154292be3af80b223b889f4e04647e8f1fdb0ef6308239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/storage_impl/src/payments/payment_attempt.rs:597-622 | crates/storage_impl/src/payments/payment_attempt.rs:636-657 \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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"8180f4a61608678eaf2199f7dccc2d9bc0437e41bf2de2bf06dd60b68fc40218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:439-451 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:584-596 \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":"crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"222fdb0ef06617ffbd83b138198bf5740611b20d0108a7ab8f331339940830d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/bambora.rs:721-736 | crates/hyperswitch_connectors/src/connectors/bambora.rs:795-810 \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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"2621be8685c10996c87d27e5ccbe38dfb3e21daa4158db1a1b5eeba8f9a4d8d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/elavon.rs:166-179 | crates/hyperswitch_connectors/src/connectors/elavon.rs:332-344 | crates/hyperswitch_connectors/src/connectors/elavon.rs:428-441 \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":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1078f1ed49477ea1eff87ce7ccf7a8ecb88a92bad460b120cd4f3dd70aec3f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/rapyd.rs:696-709 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:727-740 \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":"crates/hyperswitch_connectors/src/connectors/rapyd.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cf3afc32aedf750e93443b8be09c129f263a59980c6bfa5a156e1cbdd724dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/compatibility/stripe/app.rs:66-78 | crates/router/src/routes/app.rs:3384-3399 \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":"crates/router/src/compatibility/stripe/app.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efc5436f72bdfc114f61b3cbfd78bce4c0b870e3eb202566e2e6b85269664a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1849-1868 | crates/router/src/core/webhooks/outgoing_v2.rs:695-717 \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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"092bc94122f03accb6df792b480da53b53ce136c9c3d50e46e4ff428ed88c9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 19\u002B corresponding lines): crates/router/src/routes/mandates.rs:20-40 | crates/router/src/routes/mandates.rs:48-68 | crates/router/src/routes/refunds.rs:405-424 | crates/router/src/routes/refunds.rs:436-456 | crates/router/src/routes/three_ds_decision_rule.rs:16-34 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/mandates.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa626b62d586c7917465b43bf2c3b909f8fde6cad6d1713f68d058f7648116f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/routes/routing.rs:1581-1596 | crates/router/src/routes/routing.rs:1603-1619 \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":"crates/router/src/routes/routing.rs"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"1031fd48ca4dd07b6e0ebd5817688bdd35dec1b8171263f746e5d071cf0abd9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/types/domain/user.rs:60-73 | crates/router/src/types/domain/user.rs:226-240 \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":"crates/router/src/types/domain/user.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a563296b13d2e0a52cfee1cc4aba12b41d08f950817795851758f9977befc05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/api_models/src/payment_methods.rs:2495-2514 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4580-4599 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4665-4682 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2495}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b1a06116820b3b41c832fa476069f5b62795b3f33c2b7d284d3c995f3dca81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/api_models/src/payment_methods.rs:4905-4922 | crates/hyperswitch_domain_models/src/payment_methods.rs:394-411 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":4905}}}],"partialFingerprints":{"codehealthFindingId/v1":"01adf841b0b5663fa9fbcc1ac16e6d094148a0d02c9065de3ba4bf8bdceea44c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1295-1309 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2893-2907 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb278bd1a66c3fedcaf652d0c09e382c12742f583dda3258be84a42949abdbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/core/refunds.rs:2197-2219 | crates/router/src/core/refunds_v2.rs:705-724 \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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a702abacc9a5389981064ce335e7f09bd79a2dfb27bfd5ea2d9eb4bc61d5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/api_models/src/routing.rs:1395-1409 | crates/api_models/src/routing.rs:1558-1570 \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":"crates/api_models/src/routing.rs"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcc47f3ceb06e7d1f01131118ef3dfd13611135c8950a42d833bc74a1bab76a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/aci.rs:725-739 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:427-440 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:501-514 \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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"710e1921b05103e2ce209bc08ef2e2db4482ab66b0a53c4c9c855b30a76e414b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/authipay.rs:69-80 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:71-83 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:74-85 \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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abe3693ebb3e53c7c90343147dbc5bebe8139485332e2d566e57cec310ec4f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/globalpay.rs:898-913 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:971-986 \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":"crates/hyperswitch_connectors/src/connectors/globalpay.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7045abfaa75018a0343170d3f76c79f654c335c7b46e8700c963f38b8975ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/hyperswitch_connectors/src/utils.rs:2755-2770 | crates/hyperswitch_connectors/src/utils.rs:2771-2786 | crates/router/src/connector/utils.rs:923-937 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"698b5c58eb04c8b9606d3f2728f7d6cb1655c349244d2276f76dc74208987837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/encryption.rs:28-41 | crates/router/src/core/encryption.rs:46-58 \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":"crates/router/src/core/encryption.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"214a57e05b1d53133924c034cbe1990b718dea441bf1b7c8cb3c0bdb19e622fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): crates/router/src/core/payment_methods/vault.rs:206-225 | crates/router/src/core/payment_methods/vault.rs:258-277 | crates/router/src/core/payment_methods/vault.rs:310-329 | crates/router/src/core/payment_methods/vault.rs:362-381 \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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fd3b54636aad2b704d7e2b778652a979fc5fcf41edf8a35f9a162b58be10f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/router/src/core/payments/operations/payment_confirm.rs:1223-1241 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:456-477 \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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd9cfb256c2e2b75d3ce0532e8504c01b3d886901ba19aaa63c0c30afe179d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): crates/router/src/core/unified_connector_service.rs:3630-3650 | crates/router/src/core/unified_connector_service.rs:3842-3866 | crates/router/src/core/unified_connector_service.rs:3883-3903 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":3630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe6c9d2c2baa01412ba708ad94a02240dba94a0d0e4d17e4d80b995cecc1d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/core/webhooks/utils.rs:414-436 | crates/router/src/core/webhooks/utils.rs:442-463 \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":"crates/router/src/core/webhooks/utils.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2ee5374fb0212c16a8913ee96df84797a4be7c999a0410f2e3b47f5b2e11ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/routes/customers/migrate.rs:37-54 | crates/router/src/routes/payment_methods/migrate.rs:39-56 \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":"crates/router/src/routes/customers/migrate.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"272a00d0af46ec2b29da4709a012e534b6773b4aba1ddf19c5f7ce0d7335fd06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/api_models/src/routing.rs:1207-1228 | crates/api_models/src/routing.rs:1234-1255 \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":"crates/api_models/src/routing.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"58069706e28bcf2347d98af9bc9f2741d82b24dadca4f08b36ca48c0ed514885"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/external_services/src/managers/encryption_management.rs:53-74 | crates/external_services/src/managers/secrets_management.rs:60-72 \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":"crates/external_services/src/managers/encryption_management.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eca8107730369aa9877a0806d1aa4fbd3150d2f8727120f49a06e0f55a9ab98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs:241-263 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:957-977 \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":"crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"599f5b74d2659f831c3b56df711e967f381108f9050a502a75e75667c2d84e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/checkout.rs:1084-1103 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2207-2225 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1654-1678 \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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc749ab11f9e5bddb39996cb95866ae7622fdd1be8e8d7f5838eae903f85455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 16\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/globalpay.rs:319-334 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:532-547 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:616-638 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:713-728 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:806-821 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/globalpay.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5e3dbb695641086c2785242516e771ef6035c53b848e21adfb863d2c919574"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/hipay.rs:492-504 | crates/hyperswitch_connectors/src/connectors/hipay.rs:566-578 \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":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2346527cfeac4a1ee0338b34f93d27fe215119bb792648f67a66cc8b47aa58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nmi.rs:1143-1160 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1711-1728 | crates/hyperswitch_connectors/src/connectors/shift4.rs:1006-1021 \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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e75262dc0fc49c937b942f67d665c4ae8ed3671211449acf6ea3ac5f4ba31ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/stripe.rs:1321-1336 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1570-1585 \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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b83cf27446a9aea16bf10e418361e11fc2c55f0892a582478e87ac6f8cbd24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpay.rs:741-754 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1194-1206 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:447-459 \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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d0e1ca89733ec493f8371272bb13255b624692f03e921e3c6238d2a61d353e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/api_models/src/payment_methods.rs:2143-2160 | crates/api_models/src/payment_methods.rs:4810-4829 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b49ddf0c3f24ab7b9d6f1bdc4aed759203ef28564bcb56511bd9a861d8ba75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:470-486 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:269-280 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:357-368 \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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a53f4f9b3901080ea9410627a16ccc40d50013c25bc91cdf8f90de4513ae42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/utils.rs:1307-1322 | crates/hyperswitch_connectors/src/utils.rs:1414-1429 | crates/hyperswitch_connectors/src/utils.rs:1521-1536 | crates/hyperswitch_domain_models/src/payment_method_data.rs:727-740 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecefb8389e282ca1e635291e5006892d70143f42e06d479313c23a1ffa043e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/core/payment_methods/batch_retrieve.rs:51-64 | crates/router/src/core/payment_methods/tokenize.rs:84-97 \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":"crates/router/src/core/payment_methods/batch_retrieve.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"de77a598c05e4e5fd9194b7abc4b1a96164d1c080c1013455705606807538c53"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/routes/user.rs:1150-1171 | crates/router/src/routes/user.rs:1177-1200 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8476625a979e1860b96928e8a23d0f5e79c5108e801162bb90835f40707e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/router/src/types/domain/user.rs:1039-1054 | crates/router/src/types/domain/user.rs:1060-1075 | crates/router/src/types/domain/user.rs:1100-1115 | crates/router/src/types/domain/user.rs:1146-1161 \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":"crates/router/src/types/domain/user.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded20906df30eb83b528cbc7489e41c509abbc9bc23b4cd28c8ac36e22a03d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/api_models/src/admin.rs:986-1005 | crates/router/src/types/transformers.rs:2661-2678 | crates/router/src/types/transformers.rs:2684-2700 \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":"crates/api_models/src/admin.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"e936c17a865ed57e02fa6a394d4dbf3d8b39d56f6355c4265210e200e7b2af6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/diesel_models/src/merchant_connector_account.rs:270-290 | crates/diesel_models/src/merchant_connector_account.rs:298-314 \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":"crates/diesel_models/src/merchant_connector_account.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be317b4ab6153e5747f681d95139cd027424bbaf302e2aa00deb18da4eabadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2105-2125 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3105-3125 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9aa8c6d8a6be67adec3d76a4cb9c09371052277864a4dea63b3b8982afdf4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/nomupay.rs:96-107 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2660-2671 \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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa14ccd80d1bc5db31be9ca3135827420bc042bb3a1dcb0a15a2ba5cac00c80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1855-1873 | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs:300-319 | crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs:302-320 \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":"crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b71890cf7005e69d130e2a71e5235bde8ae2338304d6bf25990174bfd84096"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2579-2601 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3746-3764 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:4059-4081 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2237d84068f31b065407465d64df9d55c4fc1182fece23f958f556acb9dc8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:1189-1206 | crates/hyperswitch_domain_models/src/payment_method_data.rs:5100-5119 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":1189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef082b920eabba3b4dff71ce532d0f36c1cda6b59e2776362e3c46930578dffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_domain_models/src/type_encryption.rs:324-338 | crates/hyperswitch_domain_models/src/type_encryption.rs:561-575 | crates/hyperswitch_domain_models/src/type_encryption.rs:1027-1038 \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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f073ff763da6e8b7c4639e9593f0aefaf81e09e6bb52cb32728d75b6c7fd6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/core/routing/transformers.rs:25-38 | crates/router/src/core/routing/transformers.rs:42-55 \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":"crates/router/src/core/routing/transformers.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a571735ea12b375101c9d16a0361e34fd0934388915ce7db74d0d5868d742d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/routes/admin.rs:530-545 | crates/router/src/routes/admin.rs:553-568 \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":"crates/router/src/routes/admin.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a774fe98c9fd6e5c8157ab9dc14338c7b37ae759bed73ad685c06756f78204"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/routes/authentication.rs:24-47 | crates/router/src/routes/authentication.rs:188-212 \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":"crates/router/src/routes/authentication.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2b27b471e73f816d4795cb9657fd09fcf2ea3ee84220d54ad1678a00745315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/routes/user.rs:96-111 | crates/router/src/routes/user.rs:117-132 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a203fbffc13380ee6cde4b894d8a450aecf4ad959197a63eb24daeeb7208d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/api_models/src/webhooks.rs:226-237 | crates/api_models/src/webhooks.rs:265-275 \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":"crates/api_models/src/webhooks.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7192084c660262afe1ac68c426a03be76171c4fcdeea1983299ddd2fc142e29c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/common_utils/src/id_type.rs:197-211 | crates/common_utils/src/types.rs:970-984 \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":"crates/common_utils/src/id_type.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c05ba4a63d839f98198474e831f8a94a87d0fd2e05823ad4e4342c414bebad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/external_services/src/grpc_client/unified_connector_service.rs:1630-1647 | crates/external_services/src/grpc_client/unified_connector_service.rs:1657-1674 \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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"72372d81bf67f6e5895ce2a0d2bed75f843bc968eaa0c8bfe2e52804b41ebe2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:650-670 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:400-416 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:474-490 \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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62ffd6d0a7d049ca48b8d431baf5b19243e347bfb0155326094bb8b0f458f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/datatrans.rs:579-590 | crates/hyperswitch_connectors/src/connectors/hipay.rs:540-550 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:368-379 \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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"efacf601fbe0bd1be3f27ab7bbd664e5defb6cbebe058e69721081d58187e5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei.rs:386-399 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:469-482 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:555-568 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:814-829 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:902-917 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1078-1091 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1160-1174 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"639c733d3625dff44797f625ae8497384fc6cfecd6bcbafd302f8b0a5aac4ecc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/router/src/configs/secrets_transformers.rs:34-46 | crates/router/src/configs/secrets_transformers.rs:55-72 | crates/router/src/configs/secrets_transformers.rs:228-245 | crates/router/src/configs/secrets_transformers.rs:290-303 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/configs/secrets_transformers.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c09e06e6299e75b4754c89a6d426e139adf3e027c65ffe95ddb78c01565f3f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/router/src/routes/authentication.rs:271-288 | crates/router/src/routes/payment_methods.rs:1124-1147 | crates/router/src/routes/payout_link.rs:21-39 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/authentication.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"448f1bc78686f5773183204324df9c41270c2046467dae4558b8f36e3401f7e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/router/src/routes/payments.rs:2402-2420 | crates/router/src/routes/payments.rs:2656-2674 | crates/router/src/routes/payments.rs:2681-2703 \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"1503d375af6443a08a26dbf638513c3d0f39ba35b69ca978429b010f24681b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/router/src/routes/user.rs:299-317 | crates/router/src/routes/user.rs:324-342 | crates/router/src/routes/user.rs:1125-1144 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"257e879894f6f4e30d6a3d2bd4e2743cd62e1a25959364a133deaea3aff3bee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/router_derive/src/macros/xss_validation.rs:86-102 | crates/router_derive/src/macros/xss_validation.rs:104-120 \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":"crates/router_derive/src/macros/xss_validation.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea89041fd7d954bef6ab3777df36248def36a3b1d974899f23fc6db6d75c2d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/common_utils/src/types.rs:471-486 | crates/common_utils/src/types.rs:682-698 | crates/common_utils/src/types.rs:715-733 \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":"crates/common_utils/src/types.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03b6689ef09b9a9a7c87d3b533f5b6ba926bc8a0ec856e7457b798650df9dcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:128-139 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:237-250 \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":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffcdf3793e040eb749c964946ee0b40a3452219f247565317c713cad9dafa41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/hipay.rs:296-307 | crates/hyperswitch_connectors/src/connectors/hipay.rs:454-465 | crates/hyperswitch_connectors/src/connectors/hipay.rs:607-618 \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":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9d72f56c956dfbc0ed4b45de8b21b9c7ccddc5935207a07343d32fbc24bdec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/nomupay.rs:621-637 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3444-3458 \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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa0e866e3ed371bf6e636341ef2033299fb55c4a4629a163f47ef994fea1084"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1157-1168 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1350-1361 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ba4b335e9672e6f88ec092cc4be796a3788eeed175b1e5220af0bc11ff8182"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:4783-4800 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4805-4822 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":4783}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4fb90c8623009b2ae68bff7e2a1cc2f2f0aca15905fda97b2321540ac5c1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/core/customers.rs:498-522 | crates/router/src/core/customers.rs:547-568 \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":"crates/router/src/core/customers.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab80cb4d8f647cf6b3c29a8c24cb0a0725a181ed0ee588c1db4b8091573df8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/core/routing/helpers.rs:131-148 | crates/router/src/core/routing/helpers.rs:154-171 \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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e130074f43c3f9afc59626615511366b34aa88bf79f73a217d37e6dd2165b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1782-1803 | crates/router/src/core/webhooks/outgoing_v2.rs:1014-1034 \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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"014fd09a5b8369abfba377cc3d9e0ee2df90164eb941cba2c1e5a8704829e9ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:1290-1302 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1388-1400 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1489-1501 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1725-1737 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f850a0074906459d8546f92b3b24cf4309fc99b81da7e81a4722a1c0c73990"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:711-723 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:839-851 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"a415cc486af9b7cc9afd3445b8f1c169e56dca022d392af2ca0c704a720cf091"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:514-526 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:610-622 \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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"8041cc97ec729e148e2935de484410d3e166d4fcd16c9ff4896057d7360d1c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1060-1072 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1346-1358 \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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e82a576d923c09e1d3ba644f4428eff6a4cebb2aca7db33184213ed8bc9d3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource.rs:816-828 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:912-924 \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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb0762f4aaaffe30dad34417068d84ba367b7ae498adc22aa8302e2e1cad212"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/datatrans.rs:252-264 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:353-365 \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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8769886e5375ada1e7aef2e1754ae7c8e1bc8a54c4772a08ba9ba4f0d141c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/datatrans.rs:424-436 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:757-769 \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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4649ca983327df7272052764d620bc78298a7fbbabc2d6035a9b4fd518fbf65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/deutschebank.rs:893-905 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:962-974 \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":"crates/hyperswitch_connectors/src/connectors/deutschebank.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7939b9d4168c1e2aaa8097115dfe2697afca3f069a097c578cc60faf68eb81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/fiservemea.rs:504-516 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:585-597 \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":"crates/hyperswitch_connectors/src/connectors/fiservemea.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f597326c77f299d3fc8588813d9aec6e3fefa4b1de73121b1ca829566663b27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/gigadat.rs:788-802 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:871-885 \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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db29be701c6c95eaf6e157455925d5e3d2b6b0a0743271da3aa3eecec2011d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/globepay.rs:449-463 | crates/hyperswitch_connectors/src/connectors/globepay.rs:523-537 \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":"crates/hyperswitch_connectors/src/connectors/globepay.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c758b66cf372738f198270b42170919080a065579dcddcb734cce3cf37852d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/gocardless.rs:510-524 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:584-598 \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":"crates/hyperswitch_connectors/src/connectors/gocardless.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"a017af9603d2b33d565ee486b8ee24bf0aba998edbce2af284ae19694f1e688b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:247-261 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:324-338 \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":"crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ef1d5838ab880a1e25cbd2caf8d66a986890242f43578ee21e1bbc4c1de16b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/helcim.rs:275-287 | crates/hyperswitch_connectors/src/connectors/helcim.rs:364-378 \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":"crates/hyperswitch_connectors/src/connectors/helcim.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d3e22540f4b1001cb6b1c5ecbcd9d0fa582a6b93a610bf1aab539b56619d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/itaubank.rs:677-689 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:762-774 \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":"crates/hyperswitch_connectors/src/connectors/itaubank.rs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fd06c853db0f6c9dab66d4f6bcec2050ba76651abfab21237a5c04d2f7b064"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/mollie.rs:380-394 | crates/hyperswitch_connectors/src/connectors/mollie.rs:466-480 \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":"crates/hyperswitch_connectors/src/connectors/mollie.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"2734008952ae3dc3ad35f641a04fbf06e79ad89c35225299f133f90016537686"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexinets.rs:431-445 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:514-528 \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":"crates/hyperswitch_connectors/src/connectors/nexinets.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde2b5de45d48a916364219efac134807578f71869c62545e4c97c8bcbf5c846"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:515-527 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:700-712 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"c274abab886ae681cf2ff7066626592d24348cc5444959ec7ba4973074e1fdd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:894-906 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1001-1013 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"a381bb302660a5a99ff960bffc64ec9ae240b5a5465a1c1efef8689a089e437c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/nomupay.rs:459-473 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:728-742 \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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"9764ad684378599e79118a98feac9146b6d65b4b74b82a3befc04200da671c25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/novalnet.rs:313-325 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:404-416 \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":"crates/hyperswitch_connectors/src/connectors/novalnet.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08fa35694dd5c8fdd12f71678024af9b7366455353bcea510cee104e4a46155"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/placetopay.rs:552-566 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:631-645 \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":"crates/hyperswitch_connectors/src/connectors/placetopay.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fda12b190464de317c463fad6e44fecd9fea0744aebbb493166427fff93e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/razorpay.rs:610-622 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:687-699 \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":"crates/hyperswitch_connectors/src/connectors/razorpay.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b579e57bb4e4af6a92a027bddbac5ee9a194ff128c551f50807d850eab6b4ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys.rs:263-275 | crates/hyperswitch_connectors/src/connectors/redsys.rs:355-367 \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":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc02777f73a4441d37869abc1ca64ae53911646a503659637daa350cc4045d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys.rs:437-449 | crates/hyperswitch_connectors/src/connectors/redsys.rs:518-530 | crates/hyperswitch_connectors/src/connectors/redsys.rs:592-604 | crates/hyperswitch_connectors/src/connectors/redsys.rs:675-687 | crates/hyperswitch_connectors/src/connectors/redsys.rs:750-762 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ec6e18658d01ab0ba5a0f38f75792b66f9f37e269897f5c5a17bec1ab596e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/tesouro.rs:532-544 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:857-869 \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":"crates/hyperswitch_connectors/src/connectors/tesouro.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"381244b623ecc74488c1be3a93e768fc68923332177c7e0eff981cac560d0890"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:432-444 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:512-524 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:945-958 \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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f25c05d544f09e4c1f27eec762661b654cdba61e033f18f266d0c040d7e9a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:2722-2735 | crates/hyperswitch_connectors/src/utils.rs:2792-2805 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2722}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4e9dbd809c9de91570080c2d18a9d8ba4d174bf934e1f582639e47cadca621"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/hyperswitch_domain_models/src/router_request_types.rs:602-617 | crates/hyperswitch_domain_models/src/router_request_types.rs:645-660 | crates/hyperswitch_domain_models/src/router_request_types.rs:666-686 \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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad334f12c8d8599c002341070e29ea87aec57a8fdebffa7fecbf5d40d424ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/redis_interface/src/module/fred.rs:395-405 | crates/redis_interface/src/module/redis_rs.rs:523-533 \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":"crates/redis_interface/src/module/fred.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78639b03f1a345cb0c191484f7900b51cf086ffaa87cf0a0e1f0b3132afb870"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/router/src/core/payments/transformers.rs:5455-5473 | crates/router/src/core/payments/transformers.rs:5478-5498 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5455}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea8cc12659989bd73b15f9d0c2cfb982f810246939a01261a98cfc32900bddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/router/src/db/user_key_store.rs:46-64 | crates/router/src/db/user_key_store.rs:71-85 \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":"crates/router/src/db/user_key_store.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f4d366564c75dbe756746ee91b66288d14af4eebc435163be76470c81c3470"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/euclid/src/frontend/ast/parser.rs:88-99 | crates/euclid/src/frontend/ast/parser.rs:129-137 \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":"crates/euclid/src/frontend/ast/parser.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"55508818732dfcd5c5c81f8d521f2f3a6dd76ad99871ca8850f412a2485d1aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:1272-1282 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3135-3145 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e2ea835382d57b2cd69cea6fa7695350169222e63ecc253cccbc1f8636277b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:2379-2388 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2634-2643 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2379}}}],"partialFingerprints":{"codehealthFindingId/v1":"17de0581dc70cc3b0a3148663841cc071f117b811d7fcc06f2eff39f168eada1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:384-394 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:687-696 \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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d85a8a00ab66d7dc8876799367e9a030ce2781a4616f08c0c95e36c85098544"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/checkout.rs:1159-1172 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2283-2296 \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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"039a9b40847b164f27e4a66835dd89baf2faa2a969a2cbff42068acd0963caec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/coingate.rs:435-449 | crates/hyperswitch_connectors/src/connectors/coingate.rs:507-521 \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":"crates/hyperswitch_connectors/src/connectors/coingate.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"14659ff428a09115e42b7fbdace0cadfd929ab3e2848b090a38efd3d44b8eb44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource.rs:1001-1013 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1403-1415 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1711-1723 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1875-1887 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2204-2217 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"92956757db85c3235206c18250ac16f82f32442d2b6327e2b2de233b62355589"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/finix.rs:889-902 | crates/hyperswitch_connectors/src/connectors/finix.rs:967-979 \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":"crates/hyperswitch_connectors/src/connectors/finix.rs"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2c0543e895d4a96012cb1544e774d611cffac6d511192c12518a4057ead25e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/hipay.rs:644-656 | crates/hyperswitch_connectors/src/connectors/hipay.rs:713-725 \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":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1d4e143868b9090f3292cacb6c916b8daa98ff3e7b994d96e79b6fb08fb015"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:474-488 | crates/hyperswitch_connectors/src/connectors/riskified.rs:232-245 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:181-194 | crates/hyperswitch_connectors/src/connectors/shift4.rs:506-519 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"101ca6942aa677012caccb74fa1dd75dc5ff6976bae6931b8f6607e3efbc24bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1100-1112 | crates/hyperswitch_connectors/src/connectors/shift4.rs:726-741 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f918b15e31bfa60a5833b54975b42c1d0df5c14f98ebb456f1e71b4ed9789431"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/prophetpay.rs:600-614 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:683-697 \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":"crates/hyperswitch_connectors/src/connectors/prophetpay.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8570073a4f40eacb27db2463d06215006ae819af51cc8cecab0af1323ea1c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:654-666 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:845-857 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:978-990 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1275-1288 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/wellsfargo.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60f6b1dbe617cb9e39534466908687b9fd03b9d1bd72bb1e6a9c15265df7fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/core/admin.rs:3062-3075 | crates/router/src/core/admin.rs:3081-3103 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":3062}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a16ecb92df4e2235a552e9a1124004d00c80d39780c62b62a7b03b1da91cf2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/core/webhooks/utils.rs:264-280 | crates/router/src/core/webhooks/utils.rs:284-299 \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":"crates/router/src/core/webhooks/utils.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"767b523ae856566d92cfcbd42f709073b49c8cf2bf9be6e4ae277f4ba7c28cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/router/src/routes/payment_methods.rs:195-219 | crates/router/src/routes/payment_methods.rs:227-251 | crates/router/src/routes/payment_methods.rs:921-938 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5fa8bd45e23bc7e3120ab39626e84ef2e9f94258983601f607b4a827351ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/storage_impl/src/customers.rs:936-964 | crates/storage_impl/src/customers.rs:973-989 | crates/storage_impl/src/customers.rs:1111-1123 | crates/storage_impl/src/customers.rs:1133-1145 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/customers.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"963c6209b21432adcccbc5428b86c3426a27ed0be5f27bdb3084b170ed4aa2bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/storage_impl/src/merchant_connector_account.rs:1822-1839 | crates/storage_impl/src/merchant_connector_account.rs:1845-1859 \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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"619ab7271812eb104fd71e4d8061c8fb25309c078b20c5bd7d1954bef8fc21ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/api_models/src/payment_methods.rs:1683-1701 | crates/payment_methods/src/client/create.rs:378-394 | crates/payment_methods/src/client/update.rs:179-195 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"c944ac918d68226a61a6c1afe952ff8fdea95a1d8da2e59f8433e729d1fa4f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/diesel_models/src/query/blocklist.rs:603-614 | crates/diesel_models/src/query/blocklist.rs:621-637 \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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8767827acf42329ec413fcd95fcbe0b79f174651badce1e9137f6b886a4e8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/affirm.rs:589-603 | crates/hyperswitch_connectors/src/connectors/getnet.rs:524-538 \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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"03abaeb1655e66db95051fe108ff28d6918e9894accf7e0aaef5952d930c86d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bambora.rs:256-269 | crates/hyperswitch_connectors/src/connectors/checkout.rs:471-484 | crates/hyperswitch_connectors/src/connectors/checkout.rs:736-749 \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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"345a4f4d84cb2614e84c79032ddf17bd1e9b74881ef5c79d2f9db6a6e71c9303"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/bambora.rs:325-340 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:886-900 \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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a10252083a6296e0b1f1213abd253b310a829d67503908c1c8e76500762397"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/billwerk.rs:343-355 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:518-530 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:595-607 \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":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b64be45f4a200e85cba39cf3055845891a126e2965e52cf19d256cca0f9ee49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/breadpay.rs:366-378 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:438-450 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:523-535 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:606-618 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/breadpay.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6076719fa51faf6d2228a09dcf2c553839473cd138e8b23d65dbf10350cce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nmi.rs:250-260 | crates/hyperswitch_connectors/src/connectors/nmi.rs:332-342 | crates/hyperswitch_connectors/src/connectors/nmi.rs:407-417 | crates/hyperswitch_connectors/src/connectors/nmi.rs:489-499 | crates/hyperswitch_connectors/src/connectors/nmi.rs:631-641 | crates/hyperswitch_connectors/src/connectors/nmi.rs:698-708 | crates/hyperswitch_connectors/src/connectors/nmi.rs:772-782 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f332b9e739cddc4e001fb1e8456b361227cd8cef6f6c7f94ef9fe0feda0df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal.rs:2101-2113 | crates/hyperswitch_connectors/src/connectors/payu.rs:227-242 | crates/hyperswitch_connectors/src/connectors/tsys.rs:442-456 \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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b87bd12aa743db8c4fc1312168d9b43f95e51046f3037e010d0684bebb6aadb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:217-231 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:304-318 \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":"crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0966f3c06432eb5b0f8302e685d1526ee64a0ebd2454c311d1de13749d45510f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/wise.rs:288-302 | crates/hyperswitch_connectors/src/connectors/wise.rs:630-644 \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":"crates/hyperswitch_connectors/src/connectors/wise.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2305bcf4dada225d6b6ae61d8834ccb12aec3a2974f8461b7bc04973a8d0100b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:7230-7237 | crates/router/src/connector/utils.rs:1627-1634 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7230}}}],"partialFingerprints":{"codehealthFindingId/v1":"e797778a7b7b4bf4b3ed6046dab2389f04b6f8c94e6d1360cc248ce514c5d0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): crates/pm_auth/src/connector/plaid.rs:137-153 | crates/pm_auth/src/connector/plaid.rs:223-239 | crates/pm_auth/src/connector/plaid.rs:305-321 | crates/pm_auth/src/connector/plaid.rs:389-407 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pm_auth/src/connector/plaid.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ba1da240f6684a48262c99f318d00e1d73a7d1863cc903bfb4c57adddab1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router/src/core/payment_methods/cards.rs:6313-6321 | crates/router/src/core/payments/payment_methods.rs:697-705 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45353ba8c24a825ec5c0d73b51f52c135b45fba9287e91a74cd3d623f79d579"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 17\u002B corresponding lines): crates/router/src/db/address.rs:843-861 | crates/router/src/db/address.rs:867-885 | crates/router/src/db/events.rs:816-834 | crates/storage_impl/src/business_profile.rs:400-419 | crates/storage_impl/src/customers.rs:1401-1419 | crates/storage_impl/src/merchant_account.rs:540-556 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/address.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39f015e16ffe1095bb19e6816aeb900ae02e6ef32bb7142b3924d0905936460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:2159-2172 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:861-872 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"039e68b077d1b10bb3ed988466544e24d06e3b1939bb77911a4c1b274bd701de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:420-432 | crates/hyperswitch_connectors/src/connectors/shift4.rs:548-563 \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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bea237126df8072cd381e18df6dabda2b3e44a37243a95879186f50d795fdfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/finix.rs:438-450 | crates/hyperswitch_connectors/src/connectors/finix.rs:531-546 | crates/hyperswitch_connectors/src/connectors/finix.rs:712-727 | crates/hyperswitch_connectors/src/connectors/finix.rs:797-812 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/finix.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"1384e9706af1a48565ac2e05ad57a5bc29611e3daff32870cef97a221fbaa949"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:254-268 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:272-296 \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":"crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b9ff7f5f7a3ce8eb35df01086fb3a3408a23518e999f544ef5f389c5a4a2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/zift.rs:130-141 | crates/hyperswitch_connectors/src/connectors/zift.rs:340-351 | crates/hyperswitch_connectors/src/connectors/zift.rs:415-426 | crates/hyperswitch_connectors/src/connectors/zift.rs:499-509 | crates/hyperswitch_connectors/src/connectors/zift.rs:574-584 | crates/hyperswitch_connectors/src/connectors/zift.rs:657-667 | crates/hyperswitch_connectors/src/connectors/zsl.rs:208-220 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/zift.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"364923173be9b06dc988cb93057bbce36340e7c6cf2c6e78778c5f6c91cd2b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_domain_models/src/type_encryption.rs:206-216 | crates/hyperswitch_domain_models/src/type_encryption.rs:446-454 \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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e934029831fc3dd630f74723d684122190c727000621722d63ce05c972939c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/compatibility/stripe/payment_intents/types.rs:670-682 | crates/router/src/compatibility/stripe/setup_intents/types.rs:637-650 \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":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d81a09845d3a4c9bef27c77821cb02b535dffd0c3c2543bb248be8e1495c342"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/core/payment_methods/utils.rs:1058-1073 | crates/router/src/routes/payment_methods.rs:1547-1565 \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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"2444854fbada48bd8c0a296ae59962a137535ad46d0786142041617b23d0afc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/db/user_key_store.rs:181-199 | crates/storage_impl/src/merchant_account.rs:563-580 \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":"crates/router/src/db/user_key_store.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b9f41852f338da94d4ad3d9d71183ba00c168b734a2e6d8d5dbadf76d307d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/common_utils/src/types/keymanager.rs:351-358 | crates/common_utils/src/types/keymanager.rs:367-374 \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":"crates/common_utils/src/types/keymanager.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ba7735ad49459f811e2abf5a59ba0c54abead0c15793af3f0d3ee148b863d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs:523-555 | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs:681-716 \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":"crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc4590e61a613f8970f1e739f359566e1034e351d6ecd77ff01edbe978cdbae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/cryptopay.rs:461-475 | crates/hyperswitch_connectors/src/connectors/loonio.rs:840-860 \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":"crates/hyperswitch_connectors/src/connectors/cryptopay.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"284489c9d087abf60875bd4df7cbf45e83e2a5da2d8ee3a277eb5755f0496d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:509-521 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:604-617 | crates/hyperswitch_connectors/src/connectors/riskified.rs:268-280 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:303-317 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:391-403 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:471-483 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:633-645 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"027c5959a6c9367fe851efcef7cb941ad528f9b7e510c4186cc459b360f0d70d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:719-735 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:779-795 \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":"crates/hyperswitch_connectors/src/connectors/noon/transformers.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a530a334f51c6af6858dfcabfaff4aa9f434f9eb723bc63b6b979c9824077b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal.rs:765-775 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1386-1398 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1496-1506 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1994-2004 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2158-2168 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"53000af9ed91de59fd04857464d29a6ec94f8067d7a9f5eab7bd462f0cc9bd1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3770-3788 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3794-3814 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3820-3838 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":3770}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e455d99e79417f4ba5a72b525fb0d222c93f943a6732aa222956e228df0ca45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 24\u002B corresponding lines): crates/hyperswitch_interfaces/src/integrity.rs:141-166 | crates/hyperswitch_interfaces/src/integrity.rs:179-202 | crates/hyperswitch_interfaces/src/integrity.rs:215-243 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/integrity.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c1b6440f2e399599cfff4e60c566f754517839295b2bfb98502c5dfb7d19eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/core/payment_methods/cards.rs:6335-6348 | crates/router/src/core/payments/payment_methods.rs:759-773 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5a07a1cfe18b5320395bf68727b4a3f9e9c7fbca41926a1ab112d5ac64efeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 28\u002B corresponding lines): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:47-74 | crates/router/src/core/payments/operations/payment_attempt_record.rs:74-109 | crates/router/src/core/payments/operations/payment_cancel_v2.rs:314-347 | crates/router/src/core/payments/operations/payment_capture_v2.rs:35-67 | crates/router/src/core/payments/operations/payment_update_intent.rs:49-78 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 28 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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"febb921a52b20a011af77597072e9720ab1b51b0ab2664cc19a1865e02d3d47c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): crates/router/src/routes/connector_onboarding.rs:15-32 | crates/router/src/routes/connector_onboarding.rs:38-55 | crates/router/src/routes/connector_onboarding.rs:61-78 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/connector_onboarding.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c9a338ea34e22af53a26f36911ada648fce111c41287b4aea11d5839e25762"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/workflows/payout_sync.rs:317-340 | crates/subscriptions/src/workflows/invoice_sync.rs:474-499 \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":"crates/router/src/workflows/payout_sync.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc77f178016352537542d85944c26ae8b6b598b6891e461d92834c5648563ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/router_derive/src/macros/api_error/helpers.rs:30-40 | crates/router_derive/src/macros/diesel.rs:140-150 \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":"crates/router_derive/src/macros/api_error/helpers.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a5e995105461914393161d4ac348e59277130c309c8eeb9751d1f54d2e2c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/common_utils/src/link_utils.rs:68-78 | crates/common_utils/src/link_utils.rs:118-128 \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":"crates/common_utils/src/link_utils.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa082a09d7cd1dc8a6b2846d768ba77910b9fcb4b2c1801fdb80001abd17a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/drainer/src/health_check.rs:257-269 | crates/storage_impl/src/errors.rs:251-263 \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":"crates/drainer/src/health_check.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"498574b3f0d66c9a7e655a43d3cccf1502abcfd2ca61c653eaa503c6d7608aa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:1827-1827 | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:1843-1843 | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:1859-1859 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 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":"crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d9e8a5526649e37d1d75db32d60aadb9e0047bb76e080e488f9d7365b56b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/deutschebank.rs:266-280 | crates/hyperswitch_connectors/src/connectors/paypal.rs:531-547 | crates/hyperswitch_connectors/src/connectors/paypal.rs:668-682 \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":"crates/hyperswitch_connectors/src/connectors/deutschebank.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d602bc1d5fececddb6b24cb880c090a2b0c3ed22d1710e50b4bc2a5988812e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/payeezy.rs:510-518 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2174-2183 \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":"crates/hyperswitch_connectors/src/connectors/payeezy.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3a96bf93081b0f5a5f89a67dd2cd3ee720f094645abbf3000654687ef544a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/recurly.rs:436-452 | crates/hyperswitch_connectors/src/connectors/recurly.rs:532-544 | crates/hyperswitch_connectors/src/connectors/recurly.rs:614-630 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:710-728 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:818-832 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/recurly.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f8ee52ec3ee1e99cc85361be5dbe70d76c3fb176ff3dac9bf8d17d8ce88dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/riskified.rs:474-488 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:551-563 \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":"crates/hyperswitch_connectors/src/connectors/riskified.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"42288d92510aa7ecbde47947924bf2f7251096cac9345129d1ba0a4af2d51b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/core/blocklist/batch.rs:269-285 | crates/router/src/core/blocklist/export.rs:49-62 \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":"crates/router/src/core/blocklist/batch.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abc006a0ec97c37f0df369c41e458e974f1de4f2bed646ca9b2706826160f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/router/src/db/dashboard_metadata.rs:329-349 | crates/router/src/db/user_authentication_method.rs:184-200 | crates/router/src/db/user_authentication_method.rs:205-221 \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":"crates/router/src/db/dashboard_metadata.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b69f03383f9ddb1aaf60bd5dc365bc2a1ede207436b96e725a8b635d57e8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/router/src/db/dispute.rs:871-884 | crates/router/src/db/refund.rs:1556-1569 | crates/router/src/db/refund.rs:1706-1719 \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":"crates/router/src/db/dispute.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"44713080d8544f0e2353e85a9d3f02d7753a080666cf083b8b3d95b5a3380b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): crates/router/src/db/kafka_store.rs:2738-2756 | crates/router/src/db/kafka_store.rs:2763-2781 | crates/router/src/db/kafka_store.rs:2840-2863 \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":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"392177fdae10682dec8b698c8d1ada705cff72ea247f1771c5dadadf47072321"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router/src/routes/app.rs:1256-1264 | crates/router/src/routes/app.rs:3477-3493 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"915c8eb3f43b0c57ecfbf6ef4e9b211456b196de6e21e7c2019215ce02098f64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/routes/payment_methods.rs:58-79 | crates/router/src/routes/payment_methods.rs:89-106 \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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ec9096e99e79bf78c2607e6888ffee2c890fe75a85cfc0ddb6a47c7904abf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/router/src/services/authentication/blacklist.rs:24-38 | crates/router/src/services/authentication/blacklist.rs:41-58 \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":"crates/router/src/services/authentication/blacklist.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cc91e44d062edc1b20a796812b5a793d0d6150e76e44d6b680683d70015edd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/storage_impl/src/merchant_connector_account.rs:746-760 | crates/storage_impl/src/merchant_connector_account.rs:767-784 | crates/storage_impl/src/merchant_connector_account.rs:791-809 \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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a06f634290f08a17d3ccf436a8e4f0b5d659d94e6157ca10b9807a04a6454eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:1763-1781 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions/transformers.rs:75-87 | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs:835-847 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:894-912 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae453c5d07f84394a37e41b9033e1e9a168ecb1b8cd8102711c13cc4df56987"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/airwallex.rs:506-516 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:950-960 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:896-907 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1144-1155 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1306-1318 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2156-2170 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:721-732 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7ee72e5f9970696e89f29cb4c9fee0a1c46b848d92ba4ab98331820741b30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): crates/router/src/core/card_testing_guard/utils.rs:156-177 | crates/router/src/core/payouts.rs:4788-4808 | crates/router/src/core/unified_connector_service.rs:1809-1835 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/card_testing_guard/utils.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"175454f8b22af67244a8b701e348e741898c6a55a51bd9ec30a469d3c9e115c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/router/src/core/payment_methods/cards.rs:3917-3932 | crates/router/src/core/payment_methods/cards.rs:3944-3957 | crates/router/src/core/payment_methods/cards.rs:3970-3991 | crates/router/src/core/payment_methods/cards.rs:4083-4095 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3917}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc69698d3b9ca698814e5023a07ff8aa4e5fd9d69456b3c81e9ff815189b5334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/router/src/services/authentication/blacklist.rs:74-83 | crates/router/src/services/authentication/blacklist.rs:89-98 \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":"crates/router/src/services/authentication/blacklist.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea450b8659adc8e1cf378b230f9cd567ec56d5e06cd7028c79064d63b614abd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): crates/analytics/src/api_event/core.rs:34-48 | crates/analytics/src/connector_events/core.rs:16-34 | crates/analytics/src/outgoing_webhook_event/core.rs:12-26 | crates/analytics/src/routing_events/core.rs:12-26 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/core.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3640cfae358b35fc2e336cd770fa69ce8d2033b04afdd25afb74c41b40d6dbcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:2509-2524 | crates/hyperswitch_connectors/src/connectors/payload.rs:1092-1108 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50ba50073c58fe3e8bdac865aed63bef0844f643c8a539ae9b4ae5bfc0e2695"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/noon.rs:465-474 | crates/hyperswitch_connectors/src/connectors/noon.rs:706-715 \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":"crates/hyperswitch_connectors/src/connectors/noon.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda135cd935dbea462f0b96fea73037e5b3e64b3fa6bb14d8d27db7c09f9d401"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:200-216 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:287-310 \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":"crates/hyperswitch_connectors/src/connectors/payme/transformers.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb90119fd7540346c53c5989f53da157610ca7d2d95df3d8df316cb05e340ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal.rs:508-521 | crates/hyperswitch_connectors/src/connectors/paypal.rs:650-661 \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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e460926d0a2e257bc2ed2c6a902f207270ba9ca19756898cbddb7454a37a8b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:616-628 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:811-822 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1067-1077 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1228-1241 \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":"crates/hyperswitch_connectors/src/connectors/wellsfargo.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cbb605b497925df1d196381390e336310771576b366a135721f709ce95e3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpay.rs:1277-1288 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:678-689 \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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6e2616401d7d149b20c619f1a777d83fdc501578dc71d875009d26ca4f5dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_domain_models/src/revenue_recovery/retry_stats_cluster_key.rs:68-80 | crates/payment_link/src/meta_tags.rs:3-16 \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":"crates/hyperswitch_domain_models/src/revenue_recovery/retry_stats_cluster_key.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d3033fe54c9642c5650a88f844cb747bc21f7a2b60350ca52fee325d687750"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/router/src/compatibility/stripe/payment_intents/types.rs:126-144 | crates/router/src/compatibility/stripe/setup_intents/types.rs:95-113 \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":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a541edd2ea63e695bd55d1b21e802407f5e0b4d0ba0cf8465cf5c8b9f95b3cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/offer_engine/notify.rs:93-107 | crates/router/src/core/offer_engine/notify.rs:113-125 \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":"crates/router/src/core/offer_engine/notify.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f98f2b33971b34e2ee638abc0db9476119958506f4978c071d27a4efc50382"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/router/src/core/payments.rs:9786-9806 | crates/router/src/core/payments.rs:9830-9855 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":9786}}}],"partialFingerprints":{"codehealthFindingId/v1":"420e8f4dfad09944cfd4a662f306e51f549aefd775a5e64adcda4f58bfe4cb66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/routes/process_tracker/revenue_recovery.rs:50-67 | crates/router/src/routes/revenue_recovery_redis.rs:17-34 \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":"crates/router/src/routes/process_tracker/revenue_recovery.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b7773068c8d5458d7342f8826e83f30b4bb64e5bb6c0217b136ca9e47ddeb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/router/src/routes/user.rs:564-584 | crates/router/src/routes/user.rs:590-604 | crates/router/src/routes/user.rs:611-625 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"2760530f46cf335f7d673a2bf63a55348ef0ec45888605bc1569a8ce36413454"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 20\u002B corresponding lines): crates/router/src/routes/user_role.rs:158-179 | crates/router/src/routes/user_role.rs:185-206 | crates/router/src/routes/user_role.rs:324-343 | crates/router/src/routes/user_role.rs:349-368 | crates/router/src/routes/user_role.rs:398-417 | crates/router/src/routes/user_role.rs:423-447 | crates/router/src/routes/user_role.rs:453-477 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/user_role.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7119bc827494db0ed88cbfa2677f41cc8087c7db4b354f7ec8200dde401cee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/router/src/utils/user/dashboard_metadata.rs:180-201 | crates/router/src/utils/user/dashboard_metadata.rs:209-230 \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":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8d57253ef3a682e957546b50e8a775147506ca094e069f44a4e7d8b440ce2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/api_models/src/payments.rs:4134-4145 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4107-4118 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":4134}}}],"partialFingerprints":{"codehealthFindingId/v1":"188da647d330c7c05532251be4267e5126d6c1a8e74b07a25cf0e5bc14f84d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/airwallex.rs:1096-1110 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1129-1145 | crates/hyperswitch_connectors/src/connectors/calida.rs:633-646 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:724-737 \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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5c5fb9444a99de8dfb98c68bd36430926076a4d86b6cfda7b51d44683901d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:777-793 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:533-548 | crates/hyperswitch_connectors/src/connectors/payload.rs:841-857 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:761-777 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c089e35755cd0844d4840bd58229ca32ef3decac9358fdaa556856782f7dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/elavon.rs:208-218 | crates/hyperswitch_connectors/src/connectors/elavon.rs:371-381 | crates/hyperswitch_connectors/src/connectors/elavon.rs:467-477 \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":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"674ebb266020c664a28de9cb24e846fefce2320558e6e8581ead2ebfa468e8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/elavon.rs:286-295 | crates/hyperswitch_connectors/src/connectors/elavon.rs:544-553 \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":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ecf5435d40d6cd0271f524ae6f76d7bbf3ec3e97fec422453702027fda7336"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/hyperswitch_connectors/src/connectors/trustpay.rs:433-451 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:876-894 \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":"crates/hyperswitch_connectors/src/connectors/trustpay.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"314d30bd0f7f2f67469b928198d165731932bddfa1258a58d50adca7bb01fbb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:264-274 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:362-372 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:608-618 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:693-703 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:784-794 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:878-888 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"813d38d332e206cb9019c748b9d190b43aa74238255703a770dc5edf12eca6e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1045-1055 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1124-1134 \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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a893faae0ca1c00f6c0b7d0841609d9cf0b1a284b77becf76922295d44ce77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:1064-1081 | crates/hyperswitch_domain_models/src/payment_method_data.rs:2670-2686 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbaea576a982261bf9f2c6507c73f095005494d507f6697948d5071a5212391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/payment_link/src/template_renderer.rs:18-32 | crates/payment_link/src/template_renderer.rs:37-51 \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":"crates/payment_link/src/template_renderer.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d4d3cf07192fd9b72b443853b15a38bc02d31f8b430cc2bb1124f3d4f365e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/payment_methods/src/core/migration.rs:204-215 | crates/router/src/core/cards_info.rs:135-146 | crates/router/src/core/payment_methods/migration.rs:449-460 \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":"crates/payment_methods/src/core/migration.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"271f97f64ba96d802fe27e20ab3704a37ca2709475da0e2225f84ceb0912e1e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/router/src/core/authentication/utils.rs:563-582 | crates/router/src/core/unified_authentication_service/utils.rs:57-73 \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":"crates/router/src/core/authentication/utils.rs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce608e30dfc87c85be9e429b7c8ff927fe687f91b308b399f2cdf82ede6b36c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/payments/types.rs:86-98 | crates/router/src/core/payments/types.rs:99-111 \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":"crates/router/src/core/payments/types.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3bea0f6e0f9b306c21574e98e733ff7c2d4fcc79869661cdbc8aea07e0366e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 20\u002B corresponding lines): crates/router/src/db/blocklist.rs:370-391 | crates/router/src/db/blocklist.rs:400-423 | crates/router/src/db/blocklist.rs:430-449 | crates/router/src/db/blocklist.rs:459-486 | crates/router/src/db/blocklist.rs:494-517 | crates/router/src/db/blocklist.rs:715-740 | crates/router/src/db/blocklist.rs:751-778 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/blocklist.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07dae993db078028ea5ba12ee9c5b92267e64f017fd8d63c5859e6b28af8090"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): crates/router/src/db/kafka_store.rs:703-717 | crates/router/src/db/kafka_store.rs:1775-1798 | crates/router/src/db/kafka_store.rs:1807-1827 | crates/router/src/db/kafka_store.rs:3198-3212 | crates/router/src/db/kafka_store.rs:4525-4546 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b7206ccf534d12eec4dd731187413e08dc983b2bfca8e1f3225da54b3ca1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 18\u002B corresponding lines): crates/router/src/routes/user.rs:1012-1030 | crates/router/src/routes/user.rs:1035-1053 | crates/router/src/routes/user.rs:1101-1118 | crates/router/src/routes/user_role.rs:43-61 | crates/router/src/routes/user_role.rs:66-84 | crates/router/src/routes/user_role.rs:89-107 | crates/router/src/routes/user_role.rs:374-392 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/user.rs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"733cd397d672973b552cd59b78f6874eb7984170d734bf300563477f538af103"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/storage_impl/src/revenue_recovery_retry_stats.rs:139-149 | crates/storage_impl/src/revenue_recovery_retry_stats.rs:155-165 \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":"crates/storage_impl/src/revenue_recovery_retry_stats.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8f0b2fdf4b9624e8ed23aecbbd57d275e3a3728c818f325df0654790544f25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 24\u002B corresponding lines): crates/subscriptions/src/core/billing_processor_handler.rs:269-292 | crates/subscriptions/src/core/billing_processor_handler.rs:300-323 | crates/subscriptions/src/core/billing_processor_handler.rs:329-352 | crates/subscriptions/src/core/billing_processor_handler.rs:359-383 \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":"crates/subscriptions/src/core/billing_processor_handler.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3418dd0d2594d624e321617ca0000b96df19bfe382240110b61eccbaab05fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/common_utils/src/types/list.rs:105-118 | crates/common_utils/src/types/list.rs:184-197 \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":"crates/common_utils/src/types/list.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d94c9d0fdeb4634eeceb0c7f43be0020ab937f1f339c1ede3b6b889ee422d3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/celero.rs:229-239 | crates/hyperswitch_connectors/src/connectors/celero.rs:403-413 | crates/hyperswitch_connectors/src/connectors/celero.rs:567-577 \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":"crates/hyperswitch_connectors/src/connectors/celero.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41f5d427f8446bd2930a45ee10429a65d71a47eef2799689ac34e1cdcc81f66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/finix.rs:492-502 | crates/hyperswitch_connectors/src/connectors/finix.rs:676-685 | crates/hyperswitch_connectors/src/connectors/finix.rs:853-863 \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":"crates/hyperswitch_connectors/src/connectors/finix.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"f629c5cb81eaeae29b7911c9297770aee7fea734987a7255df144680bda53ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:228-241 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:466-479 \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":"crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58d7d5a973e2ec2ad4d312a151d7ff38ecaa9f8d1d1a7432846d3353a8bfcf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/hipay.rs:146-155 | crates/hyperswitch_connectors/src/connectors/payme.rs:237-250 \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":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ee8588239a847981d189d76fee3d61bca595623954e385c9a4a2b08d9a1e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:262-275 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:500-513 \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":"crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3b8878d0caf0b76fa6042e4543ddd017102a03d7629d747074fee17c93a971"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/nordea.rs:801-809 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:589-599 \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":"crates/hyperswitch_connectors/src/connectors/nordea.rs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b4ad5f161640b9a6cb8d6dccb436f75e1591795fc3e9c2ffe698a7801a23a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/payu.rs:561-572 | crates/hyperswitch_connectors/src/connectors/payu.rs:657-667 \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":"crates/hyperswitch_connectors/src/connectors/payu.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf76330f03ba150bb57ce9274f348536b2b64e17bf7b8dec6ce03f0c79b1b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/shift4.rs:115-126 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:134-146 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:148-165 \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":"crates/hyperswitch_connectors/src/connectors/shift4.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb124808c91ee96c3dc46f32a1225d6d17f937c2c515f32de695aefa4cb7bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/redis_interface/src/module/redis_rs.rs:240-254 | crates/redis_interface/src/module/redis_rs.rs:256-270 \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":"crates/redis_interface/src/module/redis_rs.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cf89462b321889bd8bfd3701097fd1407cad192e07b3a772fa02449613939f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): crates/router/src/core/webhooks/outgoing.rs:564-593 | crates/router/src/core/webhooks/outgoing.rs:611-637 | crates/router/src/core/webhooks/outgoing_v2.rs:209-238 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 27 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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"074f37d8f57fc37e0be0836d23c2f91b72248e9f61f17c8abbdc1c6d481c2302"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/router/src/routes/user.rs:373-391 | crates/router/src/routes/user.rs:398-416 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede538300c09377de65393a037b830f7398982b2f5e3f3f2e51e9811b4181e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/routes/user_role.rs:260-276 | crates/router/src/routes/user_role.rs:282-297 \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":"crates/router/src/routes/user_role.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ac21018c09137f28508ca6d4a13eb1124f366c132cafdb7b5f51a86b25e676"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/router/src/types/api/connector_mapping.rs:46-58 | crates/router/src/types/api/connector_mapping.rs:66-79 | crates/router/src/types/api/connector_mapping.rs:86-101 \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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a4cb0090cba30ecb14893b289d1c285d681470cfcca9bebd3a46457c10ffbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/storage_impl/src/authentication.rs:764-780 | crates/storage_impl/src/authentication.rs:789-807 \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":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c65860a4e3977561e0584dc3fb269d4587959e3f6e21c4a7202c1820c44373"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:1182-1193 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:1227-1238 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:2376-2410 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"366a7f3caf6358cfeb359ecdf51cd9f19b86b72c1b6a653c4681c2b938301963"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/affirm.rs:223-233 | crates/hyperswitch_connectors/src/connectors/affirm.rs:473-483 | crates/hyperswitch_connectors/src/connectors/affirm.rs:645-655 \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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5e9bb6b80d9aefe4fe56a725637b9dfaae8b2196efdc3e7e6a12921407a2bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/amazonpay.rs:413-423 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:592-602 \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":"crates/hyperswitch_connectors/src/connectors/amazonpay.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65ddf27aa06544d47803bf10f264b36a7a0cb530fbcedbc9650f3f4f6a1eea1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/archipel.rs:342-353 | crates/hyperswitch_connectors/src/connectors/archipel.rs:641-648 | crates/hyperswitch_connectors/src/connectors/archipel.rs:951-966 \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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0add26693af12923be2e4edde84f9b96322341fb3b32fddc6565c6c73438f0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/archipel.rs:432-446 | crates/hyperswitch_connectors/src/connectors/archipel.rs:832-846 \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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"769e671ab5be052f9991be9183c7ad19243af3a8ab9a3831f2b1e53dbb333a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/authipay.rs:260-270 | crates/hyperswitch_connectors/src/connectors/authipay.rs:435-445 | crates/hyperswitch_connectors/src/connectors/authipay.rs:616-626 \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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"49486a9845a3912ea8b3ac0b0bfd0b73dc30aede9adc426e91033f7ac64cbdf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:259-272 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:229-240 | crates/hyperswitch_connectors/src/connectors/worldpay/payout_transformers.rs:50-66 | crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs:226-242 \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":"crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"928ece9e2b518b5708415e7ef8712306b427d93bce086d2577fb24a7e4b7e147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/boku.rs:238-248 | crates/hyperswitch_connectors/src/connectors/boku.rs:499-509 \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":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"3888e179363ee4e5e23089ffa4324690bf9036068fe6a38b5bc768420fac1caf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/breadpay.rs:218-228 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:654-664 \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":"crates/hyperswitch_connectors/src/connectors/breadpay.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"3483ecde82ab5fea18e6c4925b35030eae50d8b147ea189059c99bcb775ffad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/checkout.rs:430-445 | crates/hyperswitch_connectors/src/connectors/checkout.rs:519-529 | crates/hyperswitch_connectors/src/connectors/checkout.rs:702-712 | crates/hyperswitch_connectors/src/connectors/checkout.rs:871-881 \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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbcf2c9b1476be016c3c157cee007f7815d830aa8e5411f435b9553880ccbf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/citigate.rs:211-221 | crates/hyperswitch_connectors/src/connectors/citigate.rs:444-454 \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":"crates/hyperswitch_connectors/src/connectors/citigate.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f39ab96161b074c97fdff5b3d72cfd54cb244999fd77920b9ac0ce5f77fda2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/coingate.rs:205-215 | crates/hyperswitch_connectors/src/connectors/coingate.rs:400-409 \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":"crates/hyperswitch_connectors/src/connectors/coingate.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb6ef7ec1a86bf763f7f1d8e0db8e8dd8667a7a8276c0a69317718c5f4c419c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/custombilling.rs:195-206 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:429-441 \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":"crates/hyperswitch_connectors/src/connectors/custombilling.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bd8732d1bceefbf6613e2f8c92d6a9f1b72608537330c4cf3bbf9d0d3fb792"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/deutschebank.rs:381-392 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:515-525 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:681-692 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:855-867 \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":"crates/hyperswitch_connectors/src/connectors/deutschebank.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6b280019b1490f2066241b1e93cb1507c31082bc44546fd8af99c37e5585fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:240-250 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:473-483 \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":"crates/hyperswitch_connectors/src/connectors/elavon_pg.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc6b72b77c3dc2c0f91cb2d4fbcd1f3234fd2772c614a56a2b7ed2e67d45d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/envoy.rs:314-324 | crates/hyperswitch_connectors/src/connectors/envoy.rs:547-557 \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":"crates/hyperswitch_connectors/src/connectors/envoy.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"6757596ea0b9704b3d12166b735f13fbbf8a8535e4b44b119fd0e17a6f228177"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/etisalat.rs:230-240 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:463-473 \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":"crates/hyperswitch_connectors/src/connectors/etisalat.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0bbff93da314a275aaa3194c5e102a677422f1217bb53c14b7e09481932621"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:216-228 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:453-465 \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":"crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5542eff9f7ad4ead265edc44cfe37e72763601e884fdbacacd54db8957c31d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/fiservemea.rs:297-308 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:467-477 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:638-648 \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":"crates/hyperswitch_connectors/src/connectors/fiservemea.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed674f4b0c55dc3ba6ac10a4a5a344d9f6d872bd061ddbfe6871d6ffa43f9c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/flexiti.rs:329-339 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:573-583 \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":"crates/hyperswitch_connectors/src/connectors/flexiti.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"263148bc7aed152df38b7a53cffe39584e83d78503a404f33b882278f80c36dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/gigadat.rs:149-162 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:500-519 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:243-252 \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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8d06835128c29e192dc7f75ec0d591721e334b2eb950de6834d716da0b9d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/gigadat.rs:259-269 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:537-547 \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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e70e7b33cc06217a3457a43e8a354c1f9bf8ca387fd30e8cf07ac4f2ce4b3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/givepayments.rs:210-221 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:444-456 \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":"crates/hyperswitch_connectors/src/connectors/givepayments.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8b4360f0e12206d33800bb473c26ac58f89d5acadb2efb0a64768ab7669396"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/globepay.rs:432-442 | crates/hyperswitch_connectors/src/connectors/nmi.rs:756-765 \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":"crates/hyperswitch_connectors/src/connectors/globepay.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"026508d5e380e7bd15c184b4f233091eeaf4ed8e4585986d86b8338e9f4b2f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/gocardless.rs:470-481 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:639-650 \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":"crates/hyperswitch_connectors/src/connectors/gocardless.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aba68713542c13f65276422686c0861b3829d463abfb0083b441aafffdd2152"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/hyperpg.rs:201-211 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:434-444 \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":"crates/hyperswitch_connectors/src/connectors/hyperpg.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"078d1a1dadac7ba583585be12800751cea298e6d5ca9899db759d22d0eb0667a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:209-220 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:443-454 \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":"crates/hyperswitch_connectors/src/connectors/hyperwallet.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f08341d180573f893ae91619891cf18b67f7dc4294434aedfa72f96c7bf8aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/ilixium.rs:211-221 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:444-454 \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":"crates/hyperswitch_connectors/src/connectors/ilixium.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f2846d1e8a37eeb7243707d1a6abc7f6eb973d5c065b032b787c746db05da0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:227-240 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:471-483 \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":"crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6b06c665cb674c4728febb41e9e813ce40b9f91bfb11f5888db191fe28365d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:249-261 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:484-496 \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":"crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c772589765654ce259df732a757eb90dd5f4ba9c0ea1f358786b1b485920bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/katapult.rs:212-222 | crates/hyperswitch_connectors/src/connectors/katapult.rs:445-455 \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":"crates/hyperswitch_connectors/src/connectors/katapult.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77bd0a05da615d03a9efd47405c625bce2181a8669a15ae4399f5c34f340519"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/loonio.rs:231-241 | crates/hyperswitch_connectors/src/connectors/loonio.rs:501-511 \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":"crates/hyperswitch_connectors/src/connectors/loonio.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"28830c41dff3f7e5df44dd0f1a86c785919bbaa3c745b99d2bfa829f26454780"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/merchante.rs:230-240 | crates/hyperswitch_connectors/src/connectors/merchante.rs:463-473 \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":"crates/hyperswitch_connectors/src/connectors/merchante.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5309369a18d43191b9775e7148764da14bcb9236cbebdc11b460972394069c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/moneris.rs:337-347 | crates/hyperswitch_connectors/src/connectors/moneris.rs:502-513 | crates/hyperswitch_connectors/src/connectors/moneris.rs:662-672 \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":"crates/hyperswitch_connectors/src/connectors/moneris.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"426487bc13629bfee767f7e17ef270ebb7f0fdb3359a1310853bd4e4b8421452"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/mpgs.rs:209-219 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:442-452 \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":"crates/hyperswitch_connectors/src/connectors/mpgs.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"600e0cbf2ae1980ff31e953df5be60d3c146eb4b802b4fa5fb6d0aeea0671fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:297-312 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:569-579 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:661-671 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:857-867 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1064-1074 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b5e3255417e5d5fe190b36cac34ac0fb3ced934faef1f10ea6b93079b276db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/novalnet.rs:365-375 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:532-542 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:619-629 \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":"crates/hyperswitch_connectors/src/connectors/novalnet.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2f647f778195f123c2297bbf899dd78d0100b6a37fdf3f8a1b6425ac3561f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/payconex.rs:211-221 | crates/hyperswitch_connectors/src/connectors/payconex.rs:444-454 \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":"crates/hyperswitch_connectors/src/connectors/payconex.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42a32b437bd058121531ad830f1e36ab499f525ce028f7aa7863ede8e2eb06f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:249-261 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:434-446 \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":"crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f44796b1a7885e7bbd5d9c8159ff96b7967213c7007081b89c2dc2f5fbadee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/payload.rs:481-492 | crates/hyperswitch_connectors/src/connectors/payload.rs:650-661 | crates/hyperswitch_connectors/src/connectors/payload.rs:915-925 \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":"crates/hyperswitch_connectors/src/connectors/payload.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd103f72d92cd0e2055c1633111ac3e3017a004d84177abb424fb8bb9a5486d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/paynearme.rs:212-222 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:445-455 \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":"crates/hyperswitch_connectors/src/connectors/paynearme.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d63e17f5da0f51bd4820b5dd3ab3d5312d0eca18f0385608229a29e748a67a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/paysafe.rs:598-608 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:767-777 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:951-961 \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":"crates/hyperswitch_connectors/src/connectors/paysafe.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ef4c6ac137116b4c4009bfd94e0b6c15bdf23a62019af083944b63c5415847"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/paystack.rs:203-213 | crates/hyperswitch_connectors/src/connectors/paystack.rs:446-456 \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":"crates/hyperswitch_connectors/src/connectors/paystack.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a04b187a2606dabcd5f587416a37162c8303fd30207141edbe3f48c7b33add9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/paytm.rs:201-211 | crates/hyperswitch_connectors/src/connectors/paytm.rs:434-444 \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":"crates/hyperswitch_connectors/src/connectors/paytm.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7a5fd907c829483b900a726b9ab03254957d076ad8b2be339daef6c254cd43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/peachpayments.rs:360-371 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:532-543 \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":"crates/hyperswitch_connectors/src/connectors/peachpayments.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5b920753e50b7a711127155c36fe93426060639b79cff68ca5a71f5bbd670b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/phonepe.rs:201-211 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:434-444 \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":"crates/hyperswitch_connectors/src/connectors/phonepe.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"223e6648038481dc86104dadf25205ec17e64b67650d7348fdfde24b0000b113"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/sift.rs:209-219 | crates/hyperswitch_connectors/src/connectors/sift.rs:442-452 \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":"crates/hyperswitch_connectors/src/connectors/sift.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05596b037847484070a52b1fef438d9acdf0613d0b7df38909e4d074997535a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/stripebilling.rs:288-299 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:522-534 \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":"crates/hyperswitch_connectors/src/connectors/stripebilling.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23484e3513983693c44b067db5a9ef7965f581a34abf3633063f0bc751e28de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/tesouro.rs:416-426 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:581-591 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:744-754 \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":"crates/hyperswitch_connectors/src/connectors/tesouro.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"280497bdd0bcd95f8df0b21f0b5046ab0804fd20dfc35ead9ef55dbc6e95ae00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/thunes.rs:198-208 | crates/hyperswitch_connectors/src/connectors/thunes.rs:431-441 \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":"crates/hyperswitch_connectors/src/connectors/thunes.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"06626d1a40b4b135e67ffeb665c42eba94775d218677fda56d7d347a4ceace29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/truelayer.rs:355-365 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:588-598 \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":"crates/hyperswitch_connectors/src/connectors/truelayer.rs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc36024b975d2c17c29f358d3803ea0fb1d8b33d4b70bc170aff80d399d22e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/trustly.rs:213-223 | crates/hyperswitch_connectors/src/connectors/trustly.rs:381-391 \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":"crates/hyperswitch_connectors/src/connectors/trustly.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"36caa66f57a16d599175267fdf82c4de1ec0e603669c3b8099283a88a71cbd74"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:407-424 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:430-445 \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":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fdcd0b6a1f69fb283a3bfdb9218c623a627c7a16d8719e8d87245a9eb0ea7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/trustpayments.rs:286-297 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:452-463 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:616-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 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":"crates/hyperswitch_connectors/src/connectors/trustpayments.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"85924d51ef703d3c79d58578ddedf7ea79fc70d7486eb6164e98791722d4177a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/tsys.rs:161-171 | crates/hyperswitch_connectors/src/connectors/tsys.rs:330-339 | crates/hyperswitch_connectors/src/connectors/tsys.rs:495-505 \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":"crates/hyperswitch_connectors/src/connectors/tsys.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c3d7284a7e3e6fd460c6a246c10c39bec74a66a52f98493f5a3bb8cb10cdd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/volt.rs:353-362 | crates/hyperswitch_connectors/src/connectors/volt.rs:602-611 \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":"crates/hyperswitch_connectors/src/connectors/volt.rs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4dcf41524cacaf1f01c3ff0fb75bcf1ad8970f98706591942a7842f73009ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:210-221 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:444-456 \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":"crates/hyperswitch_connectors/src/connectors/worldpayraft.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"81503f67065d4c1d3c0b303e86045baf3ad51fe9cd1cff143e1413bbb077fa87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:342-352 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:450-464 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:646-656 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:732-742 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:827-837 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1047-1061 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1253-1264 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayxml.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"677e3cc149ceed89d1f5a4a49b049ec730c6c2730a6db36b337cb719bdc87915"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/zift.rs:301-311 | crates/hyperswitch_connectors/src/connectors/zift.rs:463-472 | crates/hyperswitch_connectors/src/connectors/zift.rs:621-631 \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":"crates/hyperswitch_connectors/src/connectors/zift.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d942b1791b215fa35ebbd0d63e2f9ef4d9feecdc16e221cd668fab0b839280"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:7978-7988 | crates/hyperswitch_connectors/src/utils.rs:8329-8339 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7978}}}],"partialFingerprints":{"codehealthFindingId/v1":"e225d2171ba42d024f446d0af2b048b9f7677b641abd6467b6cd380bfb15354f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_domain_models/src/lib.rs:1407-1419 | crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs:361-375 \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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df679d5c33fb91f5f43042ea81a079532ae446e97b20859ec157e793bf4cab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/router/src/core/payment_methods/vault.rs:1911-1920 | crates/router/src/core/payment_methods/vault.rs:1968-1977 \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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":1911}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c1ce743bbb96fd450ac27d27c7d5120dec44037420682c01732ba5bbb6c05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/router/src/core/payments.rs:15316-15332 | crates/router/src/core/unified_authentication_service.rs:1659-1681 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":15316}}}],"partialFingerprints":{"codehealthFindingId/v1":"697235137dc79838603339ee8d8cb9910547a084e3293f5e8c8a68a56fcfb042"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): crates/router/src/core/payments/flows/authorize_flow.rs:165-187 | crates/router/src/core/payments/flows/session_flow.rs:92-114 \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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"adce42115248844c705a36ad2766e66d25eee6a170a371714c3d6123961b911e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/core/webhooks/recovery_incoming.rs:1345-1370 | crates/router/src/core/webhooks/recovery_incoming.rs:1513-1536 \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":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":1345}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7eab761963cc0f5b7857c04884d49f85a8b9e972146896810bcc5359798e568"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/router/src/db/gsm.rs:60-72 | crates/router/src/db/gsm.rs:99-109 | crates/router/src/db/gsm.rs:120-139 \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":"crates/router/src/db/gsm.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b83dd3c5ae34930c492dd7004d7f2966f18e37117ff81a56ba52b6d674f73a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/router/src/utils/user/two_factor_auth.rs:53-64 | crates/router/src/utils/user/two_factor_auth.rs:107-118 \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":"crates/router/src/utils/user/two_factor_auth.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8c025f628db857c14ebb1ce28619112751eefa53edaf1e297b2ae33390e98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): crates/euclid/src/frontend/dir/lowering.rs:343-359 | crates/router/src/core/payments/routing/utils.rs:2025-2042 | crates/router/src/core/payments/routing/utils.rs:2156-2172 \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":"crates/euclid/src/frontend/dir/lowering.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22dce67e4ec64860853168b1335e27b80019c551e26e78b9412204d0a7489eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connector_relay/fiservcommercehub.rs:32-47 | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs:513-528 \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":"crates/hyperswitch_connectors/src/connector_relay/fiservcommercehub.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b19eddce1c8e7428a387ea0a747ef91572d4f192b00bb303d19485b5b6a2cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:527-537 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:861-871 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:957-966 \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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed54e960795d11f285b01544af8914a9c1b9fec511472839afb0ee6f4bd233eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/chargebee.rs:389-399 | crates/hyperswitch_connectors/src/connectors/chargebee.rs:451-461 | crates/hyperswitch_connectors/src/connectors/chargebee.rs:519-528 \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":"crates/hyperswitch_connectors/src/connectors/chargebee.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3c15e49c3d320c5e94c5f0ddedf2ed1e3e346b6af7c27df15b2e4d95e1dc8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/datatrans.rs:315-324 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:477-486 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:651-660 \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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4ea409888de8a0956f2f5ef434c2fd562ee862f5437720e38ac66acc6d9bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/fiserv.rs:465-474 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:600-609 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:719-728 \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":"crates/hyperswitch_connectors/src/connectors/fiserv.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"1290bcfea5cd47c1ee2a16f296d2edb41c03a34a2d0b7d87797415ada17a9d1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/getnet.rs:321-336 | crates/hyperswitch_connectors/src/connectors/getnet.rs:653-663 \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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ce9454be1e8d90b227070868df424e72a57ce54706f374395f6af971ec3de3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/iatapay.rs:352-362 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:536-546 \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":"crates/hyperswitch_connectors/src/connectors/iatapay.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9a0eafab0be529b57f53b6bf4ddd8c576219ec791cee559ee99b344d1dccd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:348-358 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:440-450 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:595-605 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:679-689 \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":"crates/hyperswitch_connectors/src/connectors/jpmorgan.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"949c6179998da44167f5f6c421c2456079d9cfcd01b4eaa2a041a73121de537d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:342-354 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:458-470 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:623-635 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:654-666 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee736f35c6b0349908c541c6c5887ab4699218aa0edbe57b9d1395d2abe5cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/xendit.rs:267-276 | crates/hyperswitch_connectors/src/connectors/xendit.rs:710-719 \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":"crates/hyperswitch_connectors/src/connectors/xendit.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d46582a05c85b92dac613ebce8930cd9eb75a3d6659877187fdae9a1e17c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:2630-2642 | crates/hyperswitch_connectors/src/utils.rs:2844-2855 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"941dfc28c17e5c0cc3fa949d1b60f909fc782fc1c69fdc6e5a6edd6e0f59e822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/hyperswitch_domain_models/src/router_data.rs:174-193 | crates/hyperswitch_domain_models/src/router_data.rs:213-234 \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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a256d614f46b7cbadd49a14a99b518782fd777da26b264d0c70c9677fcd00539"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/router/src/services/authentication/decision.rs:84-104 | crates/router/src/services/authentication/decision.rs:111-130 | crates/router/src/services/authentication/decision.rs:166-179 \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":"crates/router/src/services/authentication/decision.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e53f14fd83d17d32356abb5e476899fca26e1d8ad376e95666c5742fd3ef723"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/router_derive/src/macros/diesel.rs:115-128 | crates/router_derive/src/macros/operation.rs:328-341 | crates/router_derive/src/macros/operation.rs:345-358 \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":"crates/router_derive/src/macros/diesel.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b65e19cd8ad38265b76818b6449451903dadd963f9f913b6af85adb90be55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/aci.rs:321-330 | crates/hyperswitch_connectors/src/connectors/aci.rs:507-518 | crates/hyperswitch_connectors/src/connectors/aci.rs:692-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 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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"182eb8868dfe92e1f26481c0c518dc410ec6a9a296346dbe93dcf9b266ebb8f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:651-661 | crates/hyperswitch_connectors/src/connectors/adyen.rs:913-922 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1355-1364 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1453-1463 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1562-1573 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1691-1701 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1795-1805 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a394be602aa1f2e30644821e45caa41960cf29352ea333cc8fccc6372cf9455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:588-600 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1041-1054 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"e223e7c7479e0d735b9f4098ae9fe2a44d8691c2351bcf4598561c2479536777"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/braintree.rs:141-150 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:134-143 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:148-160 | crates/hyperswitch_connectors/src/connectors/forte.rs:127-146 | crates/hyperswitch_connectors/src/connectors/hipay.rs:226-235 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:116-127 | crates/hyperswitch_connectors/src/connectors/saferpay.rs:115-124 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:145-154 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d871562d61d2ac7bf3bbc2bef75404f659264624f22a97270e5360bf31640b63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/braintree.rs:449-460 | crates/hyperswitch_connectors/src/connectors/braintree.rs:624-634 | crates/hyperswitch_connectors/src/connectors/braintree.rs:856-865 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1268-1279 \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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"c221e4c6f09eb78dd40f9da598e9dee1b5bb4e53b3872400d0a890845bf62bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:253-264 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:504-515 \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":"crates/hyperswitch_connectors/src/connectors/dummyconnector.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bab57ca2d1fa1a665cb70bf988f348c71462db6ecf5d91c6a22b41dedfaae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/dwolla.rs:308-325 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:286-300 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:372-385 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:480-495 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:615-633 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:833-846 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:668-681 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/dwolla.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd58bd3af8e4e9824ad66ca566643ee470562bf8cbecaf5d6311d06609fc4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/forte.rs:232-242 | crates/hyperswitch_connectors/src/connectors/forte.rs:574-584 \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":"crates/hyperswitch_connectors/src/connectors/forte.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7737389a39924c60e43ff3a167c51e5b39a36cc3bdc7087c976b7f5a134838"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/getnet.rs:240-251 | crates/hyperswitch_connectors/src/connectors/getnet.rs:408-418 | crates/hyperswitch_connectors/src/connectors/getnet.rs:576-586 \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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0cc4e238c078d85b16f38618ccce2139ae909671ef83266144a5605d8550a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/globepay.rs:234-244 | crates/hyperswitch_connectors/src/connectors/globepay.rs:416-426 \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":"crates/hyperswitch_connectors/src/connectors/globepay.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6676639981e3aa756ffd84b15bdfdef3e09c4bd9028cee75c696eb19ddd3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/itaubank.rs:363-373 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:638-648 \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":"crates/hyperswitch_connectors/src/connectors/itaubank.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0085d205ac083155cab4356cdb6d3b728f349c5dae22931380f2f262f10c5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/klarna.rs:233-244 | crates/hyperswitch_connectors/src/connectors/klarna.rs:345-354 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1155-1165 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1326-1335 \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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"074f9122ffe6f5c3b9a28ec372740340cfcbf4024e546ee92ba3cef3c25b85c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/mollie.rs:427-437 | crates/hyperswitch_connectors/src/connectors/mollie.rs:592-602 | crates/hyperswitch_connectors/src/connectors/mollie.rs:699-709 \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":"crates/hyperswitch_connectors/src/connectors/mollie.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bd21a5bcb573ee7a71853f8f8f526ed5981ff4506a02a93afa088b5c3e50e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/multisafepay.rs:287-297 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:390-401 \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":"crates/hyperswitch_connectors/src/connectors/multisafepay.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79ce9531cf814a121a145aa5bc2ad31ceaf77949f2011922b58d358a3e8e727"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nmi.rs:301-310 | crates/hyperswitch_connectors/src/connectors/nmi.rs:374-383 | crates/hyperswitch_connectors/src/connectors/nmi.rs:452-461 | crates/hyperswitch_connectors/src/connectors/nmi.rs:598-607 | crates/hyperswitch_connectors/src/connectors/nmi.rs:740-750 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5274d523a146ade772a8414beaf74556e4b92588a32631b52b6497b979786a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/opayo.rs:217-226 | crates/hyperswitch_connectors/src/connectors/opayo.rs:449-459 \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":"crates/hyperswitch_connectors/src/connectors/opayo.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bc8ab4b69b46b035222566118063636526f55f80c91510dee8574ca1b6eb00"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/paybox.rs:210-220 | crates/hyperswitch_connectors/src/connectors/paybox.rs:365-375 | crates/hyperswitch_connectors/src/connectors/paybox.rs:447-457 | crates/hyperswitch_connectors/src/connectors/paybox.rs:626-636 \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":"crates/hyperswitch_connectors/src/connectors/paybox.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a468ad8ea4228997626c2cc6fd223a74a29f9c1dfedb488d5f02e94b7418da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/rapyd.rs:211-220 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:515-524 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:648-658 \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":"crates/hyperswitch_connectors/src/connectors/rapyd.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff208a7e7b5ee52e20344127766485847ec32794e5cc6c7192e1f0734b87bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:207-219 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:433-445 \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":"crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e728e66fdfbd8dca2a6643a33f46090cb8acdca6e9af815b54c4dbfe36b601c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1190-1202 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1293-1305 \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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ce0a5d57ed611bf4b3f8c8cfc30afefba701b5daa27219fdf640338bf44abd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:4248-4261 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:4263-4278 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":4248}}}],"partialFingerprints":{"codehealthFindingId/v1":"13622b367c14ca022ad9b8c1eb99ed4694f2b17fb92012201dc920d783eead73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): crates/router/src/core/payments.rs:5695-5722 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:45-72 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":5695}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9d32257e7455ecd2c9c2f42998492784c19ce281d298c580a8b6253e66686a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/core/routing/helpers.rs:2668-2692 | crates/router/src/core/routing/helpers.rs:2774-2793 \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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2668}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c9b008b25a52e80f1fa22b9ccebb98183d862f16af3947d73a05a73c0a6a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 16\u002B corresponding lines): crates/router/src/routes/user.rs:25-40 | crates/router/src/routes/user.rs:46-61 | crates/router/src/routes/user.rs:709-724 | crates/router/src/routes/user.rs:817-832 | crates/router/src/routes/user.rs:991-1007 | crates/router/src/routes/user.rs:1291-1306 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/user.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9072cbb50394548597b496ef1ea3251f7d1c67450d066d5dc830ca093502aa20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/routes/user.rs:1206-1220 | crates/router/src/routes/user.rs:1226-1239 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4fdac244b54fdb0f705f2912a48b73ae683defc902e082b9d1bb507d4f097c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/common_types/src/payments.rs:779-789 | crates/common_types/src/payments.rs:932-942 \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":"crates/common_types/src/payments.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2167e1f8c479084a022ef1cdb652562a5c7455b8b837717b2097e8f9c33e661"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/airwallex.rs:339-350 | crates/hyperswitch_connectors/src/connectors/xendit.rs:379-396 \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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd347d83a325d9de0b51f9a2c2e8dff49b41ad299c40e193b3a4f8a1003f5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersource.rs:965-975 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1518-1528 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1994-2004 \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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a6d94a49e7776f8f41aac41b320e4ac4247e2874812c007870a4515321812f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/envoy.rs:130-140 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:677-687 | crates/hyperswitch_connectors/src/connectors/loonio.rs:694-704 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:749-761 \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":"crates/hyperswitch_connectors/src/connectors/envoy.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a77603722dcc9e0c83f4b8012e88c33c2d27be6b74146f330b1e3f28a1379e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nmi.rs:823-832 | crates/hyperswitch_connectors/src/connectors/redsys.rs:887-897 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:515-525 \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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2819bd8948502b7dbd16d2be47d4d98c725699cac5073652e6aaf94cbc04a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/truelayer.rs:864-872 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1235-1246 \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":"crates/hyperswitch_connectors/src/connectors/truelayer.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d2e68b43221111c1266afe9f1ea5902abd1aa45cadd094e3ff79829181e030"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:2910-2926 | crates/hyperswitch_domain_models/src/payment_method_data.rs:2931-2946 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":2910}}}],"partialFingerprints":{"codehealthFindingId/v1":"915dc1467098aebe230ad3d857aa43aae0fd8aff64830fe68acf185d8253d307"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/configs/secrets_transformers.rs:80-93 | crates/router/src/configs/secrets_transformers.rs:180-193 \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":"crates/router/src/configs/secrets_transformers.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca85054df6428484ab340390917392d86a33ac9bac197df0f07a2b1f2e63008f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): crates/router/src/core/payment_methods/cards.rs:4614-4633 | crates/router/src/core/payment_methods/cards.rs:4639-4658 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4614}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9950e2e3dde0798c2ca8556e9249585b45f140162aad54b5f68408ce76f9772"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/router/src/core/payments/flows/session_flow.rs:779-802 | crates/router/src/core/payments/flows/session_flow.rs:819-842 \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":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"097d404d5b244f40ac87a085be3010b7c702f11fd33bcd6e531cd9d8b15dd434"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/router/src/db/mandate.rs:528-537 | crates/router/src/db/mandate.rs:544-556 \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":"crates/router/src/db/mandate.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c60e412592359123196abad9131e098168b0e54f739a8752eb7f8ed518870e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/router/src/routes/app.rs:2885-2896 | crates/router/src/routes/app.rs:2901-2912 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":2885}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49b65115685bb76f6d4f7a9c5c10e7a7a74e9a304884f0b7477149ac092f147"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/routes/user.rs:695-707 | crates/router/src/routes/user.rs:798-812 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea284024e0c0653ccf192c087eca5e8b4d9a3d9d3b618c53296edb6ea7aa4b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/routes/user.rs:780-792 | crates/router/src/routes/user.rs:837-849 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"630dd7a4525fc97b5112b3f355dc0f45ea8e89187fcbdd4cf99eeaf9c9d850ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/api_models/src/payments.rs:4190-4198 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4163-4171 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":4190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dca10c6cc47cef3f7d3c826af83dac70ccec8e74357d08e8c4db28526676fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/api_models/src/routing.rs:1847-1855 | crates/router/src/core/payments/routing/utils.rs:2721-2730 \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":"crates/api_models/src/routing.rs"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a1ddb41732dfa484620134e6e98dc54b5d3f2a2edc2a3e7034c478c254863c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/common_utils/src/types/keymanager.rs:209-225 | crates/common_utils/src/types/keymanager.rs:232-246 \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":"crates/common_utils/src/types/keymanager.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"444d6e8b370b89c74de6ae796e9efe2ac9a7932cb0de679b5a1b8e3d79964bed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/euclid/src/dssa/graph.rs:141-152 | crates/euclid/src/dssa/graph.rs:178-189 \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":"crates/euclid/src/dssa/graph.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efb2e3b1d65ee18499a1e0e1fa90545cc957ac5abae4e6ab5cbcf8703900c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/external_services/src/file_storage/file_system.rs:35-53 | crates/external_services/src/file_storage/file_system.rs:77-90 \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":"crates/external_services/src/file_storage/file_system.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"132c8c5f804250cd7ccfeda1f250c498e26ee10fb5e90cba97f91351f1f87127"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:514-523 | crates/hyperswitch_connectors/src/connectors/nmi.rs:540-549 | crates/hyperswitch_connectors/src/connectors/redsys.rs:810-820 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"26838929a96b76fc53bdc0ea2eddf20ab52e4481c8641e7ce8755e94505326c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs:766-789 | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs:1006-1030 \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":"crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb89c1128745a88bb654ea66ae2679742478b4aaa2be417e90571c7b12bfe25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/ebanx.rs:182-191 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:261-270 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:213-224 | crates/hyperswitch_connectors/src/connectors/trustly.rs:537-547 | crates/hyperswitch_connectors/src/connectors/trustly.rs:621-631 | crates/hyperswitch_connectors/src/connectors/wise.rs:368-377 | crates/hyperswitch_connectors/src/connectors/wise.rs:520-529 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/ebanx.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e7cdcf17969d0f46bf202c7a4b4ffbf7ff697b781eec31cbba8834658ff767"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs:396-405 | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs:409-422 | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs:426-436 | crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs:441-451 \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":"crates/hyperswitch_connectors/src/connectors/elavon/transformers.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b796a00b336f86df3ae66acaa777b2174df0a80c7ec46e5ea40c059b8c61e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/globalpay.rs:678-688 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:771-781 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:866-876 \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":"crates/hyperswitch_connectors/src/connectors/globalpay.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d06f04c37479c3ecfdbd6e09ccc929eef8c23fec1b7dd9ad610319b6f4194a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_domain_models/src/hierarchical_resource.rs:55-67 | crates/hyperswitch_domain_models/src/hierarchical_resource.rs:108-122 \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":"crates/hyperswitch_domain_models/src/hierarchical_resource.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4020821a2c3fb4f8a2a9a3ea23cf16f448a9782cbb705e15673c352527a53475"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/hyperswitch_domain_models/src/type_encryption.rs:1167-1184 | crates/hyperswitch_domain_models/src/type_encryption.rs:1269-1286 \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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e3a0117255b503b6203f1dee265c9c59cb2f66d8536ff25dea7012a1dd9744"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/core/payments.rs:15121-15134 | crates/router/src/core/payments/helpers.rs:9816-9831 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":15121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfe0a4cd6338a66874c2de8dc438ceee37103a0ffb7f507a37538fd7744222f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/routes/card_issuer.rs:17-30 | crates/router/src/routes/card_issuer.rs:59-74 \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":"crates/router/src/routes/card_issuer.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e0643033f22c2c2e4fbf5469924103c031082d9846e33b216528aac584052a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 17\u002B corresponding lines): crates/router/src/routes/client_secret.rs:16-39 | crates/router/src/routes/client_secret.rs:47-63 | crates/router/src/routes/fraud_check.rs:15-32 | crates/router/src/routes/payments.rs:331-355 | crates/router/src/routes/proxy.rs:16-34 | crates/router/src/routes/revenue_recovery.rs:15-39 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/client_secret.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f19583678febf3851719b0b0ac9c1f0c0f9c70c38ed204aab94fe50edaacc2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): crates/router/src/routes/external_service_auth.rs:15-27 | crates/router/src/routes/hypersense.rs:41-55 | crates/router/src/routes/hypersense.rs:61-79 | crates/router/src/routes/user.rs:681-693 | crates/router/src/routes/user.rs:938-951 | crates/router/src/routes/user.rs:1273-1285 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/external_service_auth.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e55d9b174b7fa4dce02108da8295ddc51ee42f5f266ce4e97a9a0dc1502939e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 13\u002B corresponding lines): crates/router/src/routes/user.rs:181-196 | crates/router/src/routes/user.rs:491-503 | crates/router/src/routes/user.rs:730-742 | crates/router/src/routes/user.rs:748-760 | crates/router/src/routes/user.rs:766-778 | crates/router/src/routes/user.rs:957-970 | crates/router/src/routes/user.rs:1059-1074 | crates/router/src/routes/user.rs:1080-1095 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/user.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a819b6fb091608c45fc0b1b367be7c62b2318f3057dcd40b7e2b48a334e1516a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): crates/router/src/routes/user/theme.rs:18-32 | crates/router/src/routes/user/theme.rs:38-52 | crates/router/src/routes/user/theme.rs:85-99 | crates/router/src/routes/user/theme.rs:106-121 | crates/router/src/routes/user/theme.rs:127-141 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/user/theme.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f3931c240a8498a1d89d13ac638fc77cd14e824a430464bbd41a69029621f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 17\u002B corresponding lines): crates/subscriptions/src/core/payments_api_client.rs:117-133 | crates/subscriptions/src/core/payments_api_client.rs:140-156 | crates/subscriptions/src/core/payments_api_client.rs:164-180 | crates/subscriptions/src/core/payments_api_client.rs:208-224 | crates/subscriptions/src/core/payments_api_client.rs:232-248 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/subscriptions/src/core/payments_api_client.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6416d4cdc2eae14c1dfe7288355419cf9f5dbad019aee8748e91c0c98d7cd7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:7259-7271 | crates/hyperswitch_connectors/src/connectors/payload/transformers.rs:1067-1079 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":7259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d9ccef2019fa15cfcae723f56899a3a98c4d27fbc957c6e93249fcf56edb61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:392-408 | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:434-452 | crates/hyperswitch_connectors/src/connectors/wise.rs:821-839 | crates/hyperswitch_connectors/src/connectors/wise.rs:872-886 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyenplatform.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9d6154fc499f843fe3e5b7335bd29d344b92a2c01c63ea9ea8ceb45ac0d2ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:406-418 | crates/hyperswitch_connectors/src/connectors/bambora.rs:478-489 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:674-686 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:399-409 | crates/hyperswitch_connectors/src/connectors/helcim.rs:505-514 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:411-421 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ee983d00c65509ed359ef34d78acd0aca985b1956af6a31b9a1a49f593f9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:860-871 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:949-961 | crates/hyperswitch_connectors/src/connectors/bambora.rs:685-695 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:923-935 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:557-567 | crates/hyperswitch_connectors/src/connectors/helcim.rs:672-681 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:570-580 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f127f2eaa4e2587314d125ff2eb8fb5b86cda26bc59568284bb093e11c4573"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/billwerk.rs:304-314 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:481-491 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:652-662 \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":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fcda74110ea9778f3bf7d94b1c789e4fe692dddb75d11f40e50d0ee9f97fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei.rs:706-722 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:492-505 \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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cf3f743e14ddc89a83b583a540a6ce78bff3c36ab3a3dafc3a63828d66a2cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei.rs:968-984 | crates/hyperswitch_connectors/src/connectors/square.rs:330-343 \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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"1672c73e5abfb457de90b98b7a432952ceef8698f4bfb49cd2bcf953c417b8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:364-374 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:379-393 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:506-516 \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":"crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e505c8f635df62355bdc458850a5fd3fb5fbcd5cc3c033c9145f52dc6ff629"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:341-355 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:561-571 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:718-727 \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":"crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7e0c96bed5e63aed2cd127e3da5f038cf836aa5160d7b308306b099d6e5d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys.rs:230-238 | crates/hyperswitch_connectors/src/connectors/redsys.rs:407-415 | crates/hyperswitch_connectors/src/connectors/redsys.rs:480-490 | crates/hyperswitch_connectors/src/connectors/redsys.rs:557-567 | crates/hyperswitch_connectors/src/connectors/redsys.rs:718-728 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c8f47c9065640800c367e770e30b5be49983f4bac6426a7fa9c3b2d3d0d31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs:2188-2200 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:844-856 \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":"crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"096706dc6beccf6908444b4b224dddc5200c3798f6dc2097eb5466319f94f90e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/tokenex.rs:311-327 | crates/hyperswitch_connectors/src/connectors/vgs.rs:395-408 \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":"crates/hyperswitch_connectors/src/connectors/tokenex.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56488d75c22d21f9b0c475d7b739c1df12d69ffbd2dc64a2f81bf6b31090445"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:2520-2553 | crates/hyperswitch_domain_models/src/payment_method_data.rs:2579-2616 | crates/hyperswitch_domain_models/src/payment_method_data.rs:2630-2666 | crates/hyperswitch_domain_models/src/payment_method_data.rs:2727-2758 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 32 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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"972778f4f6a43310c2c7ea3d46e970f732d3f479f8e6b37a73080db22f0b833d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_domain_models/src/type_encryption.rs:302-316 | crates/hyperswitch_domain_models/src/type_encryption.rs:540-553 | crates/hyperswitch_domain_models/src/type_encryption.rs:1008-1019 \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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2e3327da359fd7207961ea44f45e3980670b498c00eebf9374f3cea9597511"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router/src/core/blocklist/batch.rs:61-69 | crates/router/src/core/blocklist/batch.rs:71-79 \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":"crates/router/src/core/blocklist/batch.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bb76a58c4ddef2088f66ad8a252004fd28ac286638d4af919d79ec8a0018d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): crates/router/src/core/payments/operations/payment_cancel.rs:377-387 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:427-437 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:343-353 | crates/router/src/core/payments/operations/payment_reject.rs:329-339 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:329-339 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:332-342 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"67fcfc4c03b056d6d941e0ca5bbffb567c27a4a7d479688e1579fcf18ec19da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/router/src/routes/app.rs:2002-2013 | crates/router/src/routes/app.rs:2324-2329 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"4909c7cb708fa80111d57a51b4e327eaa16ffc3b2ed84e4f9dc3352a8aef9181"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): crates/router/src/routes/user.rs:262-274 | crates/router/src/routes/user.rs:280-292 | crates/router/src/routes/user.rs:900-913 | crates/router/src/routes/user.rs:919-932 | crates/router/src/routes/user.rs:976-989 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/user.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a8bc5c6fbafaf05ad1aac0bfdbf68bbfb49bd04cee5be986a63ee2ed69da91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/storage_impl/src/payouts/payout_attempt.rs:494-503 | crates/storage_impl/src/payouts/payout_attempt.rs:512-525 \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":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adece4b00604457e973852ef1997b8119f5f983ec25d9b9d88c6b06cc783173"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/diesel_models/src/payment_attempt.rs:329-344 | crates/diesel_models/src/payment_attempt.rs:349-364 | crates/diesel_models/src/refund.rs:916-931 \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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"569954f83f164fc6e13bf4c1208c9f2dd98bc83b4357e9a881a0ecb22c7e4f0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 6\u002B corresponding lines): crates/drainer/src/health_check.rs:22-28 | crates/router/src/bin/scheduler.rs:166-172 | crates/router/src/routes/app.rs:830-835 | crates/router/src/routes/app.rs:840-845 | crates/router/src/routes/app.rs:2811-2820 | crates/router/src/routes/app.rs:3406-3411 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 6 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":"crates/drainer/src/health_check.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b93008e25ff116bdb267e39068c52caf680c60445804a9d46c536ec7ae36a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/aci.rs:385-393 | crates/hyperswitch_connectors/src/connectors/adyen.rs:723-731 | crates/hyperswitch_connectors/src/connectors/helcim.rs:395-405 \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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b37c19d02e5e128e283f75db9fdaf418cd4da1089891a9d7786cefb35f257fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/aci.rs:661-669 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1764-1772 \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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f174ca81c17908ead1b6442c6daf0b5d1ed75ba6f9592ae34ddc7dd253845c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:2261-2269 | crates/hyperswitch_connectors/src/connectors/checkout.rs:1269-1277 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62f644cd742c95d458c942ef7140b2ba0ef66ccc31105af5cae26568859a049"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:226-236 | crates/hyperswitch_connectors/src/connectors/payone.rs:314-323 \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":"crates/hyperswitch_connectors/src/connectors/adyenplatform.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e11333ba9912abb1051ee6538a11aedf0dde3f303d74d1b8beb89ca516a0187"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:458-471 | crates/hyperswitch_connectors/src/connectors/wise.rs:846-866 \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":"crates/hyperswitch_connectors/src/connectors/adyenplatform.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3fb692db5b5c51df73fa50bfce77b4b0464ed5efa0ed1b18defdc9f8780964"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/fiuu.rs:586-598 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:723-733 \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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4babbfd1f9b72d75ae4bd98dd827c6dce70485edee6b32050c64ba7ca80334"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1227-1237 | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1239-1249 \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":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":1227}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c9e969db0dfbf8031eeaaeb560caf96d591435f66136995aa8c39523c680b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/recurly.rs:414-426 | crates/hyperswitch_connectors/src/connectors/recurly.rs:592-604 \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":"crates/hyperswitch_connectors/src/connectors/recurly.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfe11c923955acf2bd6ba6a86f0c964474998f327534878272011ed832f4a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/santander.rs:1213-1223 | crates/hyperswitch_connectors/src/connectors/santander.rs:1929-1939 \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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"35357d52ed72cf9293c8110955c8604b8da39403b34b7f8c6e3a70498c4b6a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/stripe.rs:3152-3163 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3226-3237 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3307-3318 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3383-3394 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3465-3476 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":3152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57ef88d9d0a31507e1a01ecb4096169611471f3c3df04e32c1862ac21ae03e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/router/src/core/payment_methods.rs:504-513 | crates/router/src/core/payment_methods.rs:525-534 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"821b75d0cf826b0b83488d3ba432215803f1557e1c5066eb6cbcdb3804d11dfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/core/payment_methods/access_token.rs:24-41 | crates/router/src/core/payouts/access_token.rs:27-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":"crates/router/src/core/payment_methods/access_token.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa9959cecbd7fae43044c2f2c341746f78a7905dcb5cf639939525269ad2afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/core/payments/routing/utils.rs:997-1012 | crates/router/src/core/payments/routing/utils.rs:1017-1032 \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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec4191ebca89190568f213586a709c7e8308c92a36d30be613f9c40fc135584"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/core/webhooks/network_tokenization_incoming.rs:130-147 | crates/router/src/core/webhooks/network_tokenization_incoming.rs:181-198 \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":"crates/router/src/core/webhooks/network_tokenization_incoming.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcd80b18fd1f61ed9e2da2609d6c257b6d7d7552ae9e004811bf7f106ab0b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/db/kafka_store.rs:4227-4245 | crates/router/src/db/kafka_store.rs:4318-4335 \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":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":4227}}}],"partialFingerprints":{"codehealthFindingId/v1":"819349784ce92582c3c7456f407a8d7fc581c11016da472f1aad0b1cf531f2dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): crates/router/src/routes/dummy_connector.rs:22-36 | crates/router/src/routes/dummy_connector.rs:45-62 | crates/router/src/routes/dummy_connector.rs:70-83 | crates/router/src/routes/dummy_connector.rs:91-105 | crates/router/src/routes/dummy_connector.rs:114-128 | crates/router/src/routes/dummy_connector.rs:136-150 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/dummy_connector.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3a0355db255fd5f7b1c2d83e275af9c39bd818f65260687aa952cabb6915b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/router/src/services/openidconnect.rs:164-176 | crates/router/src/utils/user.rs:282-292 \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":"crates/router/src/services/openidconnect.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f034e3ae43939eff5479ede30cef6b2712aa8a7c4acedad66b136c924c05b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/affirm.rs:131-144 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:128-136 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:134-143 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:137-149 | crates/hyperswitch_connectors/src/connectors/chargebee.rs:333-341 | crates/hyperswitch_connectors/src/connectors/getnet.rs:133-143 | crates/hyperswitch_connectors/src/connectors/klarna.rs:97-106 | crates/hyperswitch_connectors/src/connectors/xendit.rs:136-145 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"693896172e8457888c734ab929e04c118b567f02a25afaea31ad587c230751a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/authipay.rs:210-220 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:252-262 | crates/hyperswitch_connectors/src/connectors/noon.rs:222-232 \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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2af71b8915f9f7a525c029d32051fd3995b96c5244215b2f68d7538a2b0b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs:792-833 | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs:961-998 \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":"crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"af882bdefb2cf85f02dad819c1cb10fa7a2b176cc533f61c208c595145a68a54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:1201-1215 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:1220-1235 \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":"crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b140a0310eb9246d54e7434afd410c475292100930cf0efe8f1af1371e288d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:823-831 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:923-931 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1030-1038 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"0490e4d3972b607bfb424d498a1bbc39eb6b516d92203c777cd51ac5d8274b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/payme.rs:322-329 | crates/hyperswitch_connectors/src/connectors/payme.rs:557-566 | crates/hyperswitch_connectors/src/connectors/payme.rs:737-746 | crates/hyperswitch_connectors/src/connectors/payme.rs:931-940 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"57411b8d105ac9263e8df088e3305a4dc352b18872691e7517bc6ef386f5e6ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1791-1805 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1811-1825 \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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a7c972dd00dbbad6a2088dd08fd4f0f0daaa8bd65ac43ce50d130827bc3372"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_domain_models/src/router_data.rs:1131-1145 | crates/hyperswitch_domain_models/src/router_data.rs:1149-1163 \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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb565afc8b7f825111e590f586c6141b6fcb4c344e8876a34595526fb91e1604"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): crates/router/src/core/admin.rs:4833-4849 | crates/router/src/core/admin.rs:4856-4873 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":4833}}}],"partialFingerprints":{"codehealthFindingId/v1":"6828700112f347189c3328cd504952ad28c3240e3c86531ff60ead08c41d2997"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/configs.rs:171-183 | crates/router/src/core/configs.rs:346-358 \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":"crates/router/src/core/configs.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"27220ac0932f3257cae9f1ee9b7f0dab00257ebffea61720e103df87392e3501"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router/src/core/payments/flows/session_flow.rs:1527-1535 | crates/router/src/core/verification/utils.rs:142-150 \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":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bfc70111a2080eb833db2a1b20c866bc01965b32ee4000f9f073b21181db4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): crates/router/src/db/dashboard_metadata.rs:118-129 | crates/router/src/db/dashboard_metadata.rs:157-169 | crates/router/src/db/user_role.rs:130-143 | crates/router/src/db/user_role.rs:154-167 | crates/router/src/db/user_role.rs:179-193 | crates/router/src/db/user_role.rs:204-217 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/dashboard_metadata.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"351f8eb5af2e1a9469bcc50123e0413ec3a2fa904056c747a3a8272a73b3caef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/router/src/routes/feature_matrix.rs:24-40 | crates/router/src/routes/user/theme.rs:333-347 \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":"crates/router/src/routes/feature_matrix.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4640770316fb23c99ede285606bf7f74ca39a3de87c20db716ac3be2f05bf3a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): crates/analytics/src/lib.rs:870-899 | crates/analytics/src/lib.rs:912-926 | crates/analytics/src/lib.rs:936-958 | crates/analytics/src/lib.rs:968-987 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/lib.rs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25a8ad317dbe07341df27c3b7018c99382512f56bda9a66611d4e15ce152333"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/api_models/src/payments.rs:2946-2959 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4230-4243 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":2946}}}],"partialFingerprints":{"codehealthFindingId/v1":"8783cfe16ab1b1c4f2e874d1c49ae20434a29958437ef6e7e841d042b959ffa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/aci.rs:238-248 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:278-290 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:355-365 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:508-518 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:583-592 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:657-667 \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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dc504539d64109175d50917f984450d3cbe506dfac190ae58b9f986673c0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:2603-2615 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:688-700 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1028-1038 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2603}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfcf2ff491027a274b13102fd7ee6208a85d317541c633be38bc7eb8fabc20a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1193-1205 | crates/hyperswitch_connectors/src/connectors/checkout.rs:1397-1410 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d713ae9fe13d86172de37ca0f10253f808fc28ac5122322c3fc323969d2412"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:283-294 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:460-471 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:555-566 \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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e61ff9839b9bba467ec23aca572b1164eef65a0c87773849f591e0a856a17b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/bitpay.rs:292-306 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:409-422 \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":"crates/hyperswitch_connectors/src/connectors/bitpay.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a2bc07a2eda724b4d0dff8741e7f9f50fc66e46d94c79d96e8980aa65d0218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:363-374 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:543-556 | crates/hyperswitch_connectors/src/connectors/checkout.rs:1229-1238 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:350-360 | crates/hyperswitch_connectors/src/connectors/wise.rs:271-280 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c92543d874beb9c6a39d6b5880e969a0263f5bc85c3bec2afcc89cab521e05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:400-410 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:545-558 \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":"crates/hyperswitch_connectors/src/connectors/forte/transformers.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61e4b95df2e81462effe0ac447815c7189167c88c972080e7eb980949bb3d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:494-508 | crates/hyperswitch_connectors/src/connectors/nmi.rs:226-243 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1607-1623 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"5136286ce63ccbe4a8d04a465c4dfc66ef7e5b8ecf506be378fde4b45d88b9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1013-1030 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1421-1436 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1506-1521 \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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6bcdcdb4ae27a23ec276adfe9fcace540e6f068a30ca351214575ca4aa2132"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/payload.rs:220-228 | crates/hyperswitch_connectors/src/connectors/stripe.rs:123-131 \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":"crates/hyperswitch_connectors/src/connectors/payload.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8e4b4a4c3b018dff27a2d2674d1d22b02c7b972a7dedca2b6225ddaa9b4b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:172-191 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:920-933 \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":"crates/hyperswitch_connectors/src/connectors/payme/transformers.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9b26f5d8d1909016c6e96912641322ff865ae4d060fc1cfa559ce19ea20c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/razorpay.rs:253-260 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:341-350 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:575-584 \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":"crates/hyperswitch_connectors/src/connectors/razorpay.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18e065e508b3adce0b84898bd54f39ff56a58600dcb5a8e0e99d7b98ae925a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/recurly.rs:512-522 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1208-1222 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1311-1325 \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":"crates/hyperswitch_connectors/src/connectors/recurly.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e753415d44c9c505ff50c206c0f1cd5944cfe657d37d72c39b249542366eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_domain_models/src/lib.rs:1354-1367 | crates/router/src/core/payments/transformers.rs:8429-8443 \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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bf89df7af05c51e669be6ce9ed9caa775503d0a12ad0174d861de2d106bb480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/redis_interface/src/module/redis_rs/types.rs:147-161 | crates/redis_interface/src/module/redis_rs/types.rs:165-177 \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":"crates/redis_interface/src/module/redis_rs/types.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7453227f320a69f664de49d9b533e5d67ff56cd4c9655dda9d20c29a74f307ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/router/src/core/payment_methods.rs:8445-8461 | crates/router/src/core/payment_methods.rs:8467-8481 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":8445}}}],"partialFingerprints":{"codehealthFindingId/v1":"937e14c882331d0c9fa8a836dd61a6d460ce58ae1593f6bf5526ccaac0f9d2f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): crates/router/src/routes/user_role.rs:114-130 | crates/router/src/routes/user_role.rs:136-152 | crates/router/src/routes/user_role.rs:237-254 | crates/router/src/routes/user_role.rs:303-319 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/user_role.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"149a464d50c4b6c3b8975561f7baa6ae60cbc2e07da2b51babd6296664e276d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/services/authentication.rs:6035-6048 | crates/router/src/services/authentication.rs:6104-6120 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":6035}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fbad9c52b8ca5c817b25387b0857016952fb64777d5533e8f57e12cc99c286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router_env/src/request_id.rs:483-491 | crates/router_env/src/request_id.rs:493-503 \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":"crates/router_env/src/request_id.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9fbbb98fd2f26926cdb4cd940aced491be60cb3e99b5309f65eccf050cf4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/analytics/src/payments/accumulator.rs:112-122 | crates/analytics/src/refunds/accumulator.rs:85-95 | crates/analytics/src/refunds/accumulator.rs:123-137 \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":"crates/analytics/src/payments/accumulator.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f109b9be540d9530c730a0d58f0e9aadcf4ce999592b3b18ec1435e8023a7103"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/common_types/src/payments.rs:724-734 | crates/common_types/src/payments.rs:738-748 \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":"crates/common_types/src/payments.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"59793f0f6572009ac7f5a369e6bdacb6a88ccfee90626b382a584aa79f308589"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:1130-1146 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:301-314 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f49ef70e6cc6ebbc79174fef5312d6fe6713a363083336e63733b6ed162afb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:671-686 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:234-249 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:68-83 | crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:41-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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5590c6cccc33c0e6c322e5ce0bf484abb18572ea33bc5a8c7bcc89c9ee95700"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:338-353 | crates/hyperswitch_connectors/src/connectors/payload/transformers.rs:252-266 \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":"crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f018272a760a7949e2976fd2c83e490daaa7488073bd53cddfdfdceb266e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/helcim.rs:933-943 | crates/hyperswitch_connectors/src/connectors/helcim.rs:949-966 \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":"crates/hyperswitch_connectors/src/connectors/helcim.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d51184904468da67d107e80b53e0fa7e8454a8e6f78e89cbda34f667d57882"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexinets.rs:388-397 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:474-483 \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":"crates/hyperswitch_connectors/src/connectors/nexinets.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe0fd5e96741e652ba8b29124c246d3dfaeef4954611a066d2fe83c4f951883"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:400-416 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1707-1720 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41fff90e1bd032e71e34f09df0092ffd848fdf765b91f83b9d2a05586da4f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/payeezy.rs:306-316 | crates/hyperswitch_connectors/src/connectors/stax.rs:562-571 \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":"crates/hyperswitch_connectors/src/connectors/payeezy.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da0e828e3396be9ee4b248908b74abf5a31f8ef8df486a104dee1d6f24ccd24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/payeezy.rs:495-504 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:565-574 | crates/hyperswitch_connectors/src/connectors/stax.rs:732-741 | crates/hyperswitch_connectors/src/connectors/zen.rs:433-442 \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":"crates/hyperswitch_connectors/src/connectors/payeezy.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f25e640a00d37d01cabb4342f887536da53e668672b22852ffcb13aef6f1c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal.rs:1368-1380 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1478-1490 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1976-1988 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2068-2080 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4b71f0e6f90bc9f4f2bee721e52df192908e2c8a6a08052dbbd9f87ff3f70c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:513-526 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:532-545 \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":"crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"429368a36ca9d027ab221dc57ce3198ad7ec717ef2e6e0ea15cc20a79c704332"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys.rs:339-348 | crates/hyperswitch_connectors/src/connectors/redsys.rs:421-430 \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":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6b3b13c702366c3bb0a5ec68f79b4eeaf82b8d6110bb8175b9c2035801ecb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/stripe.rs:2797-2810 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:870-881 \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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":2797}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f80229964cbc3b123ddda765090e5e02f6769d6c60cea6315ad1ff3c5448847"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/hyperswitch_domain_models/src/type_encryption.rs:620-626 | crates/hyperswitch_domain_models/src/type_encryption.rs:651-656 \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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8476eb44352a8d787dc47bcf6e16a7aa4404c1b74b9e34edd53670e48c4a80f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_interfaces/src/micro_service/executor.rs:30-45 | crates/hyperswitch_interfaces/src/micro_service/executor.rs:176-190 \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":"crates/hyperswitch_interfaces/src/micro_service/executor.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8502e77891384ec6fe6684c1a6336aa1e902912bcd0af8d55818774b0ae39466"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): crates/router/src/core/payment_methods/tokenize/card_executor.rs:81-95 | crates/router/src/core/payment_methods/tokenize/card_executor.rs:210-224 | crates/router/src/core/payment_methods/tokenize/card_executor.rs:231-245 | crates/router/src/core/payment_methods/tokenize/card_executor.rs:252-266 | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:215-229 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb3345951c06de6d31dca3cb70e7f4ed4169e436722264f6568f09aaed9aab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/routes/unified_connector_service.rs:19-32 | crates/router/src/routes/unified_connector_service.rs:41-54 \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":"crates/router/src/routes/unified_connector_service.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5b63f718cab4eec08dbf1cba722e45b0ce1b032b9967de721340930ed069fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/utils/user/theme.rs:254-269 | crates/router/src/utils/user/theme.rs:274-289 \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":"crates/router/src/utils/user/theme.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"30398bf47ac1a4af6e2af6e7f5804e73fe40f828ca63ac263f316a507a2c7a7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/router_env/src/request_id.rs:950-965 | crates/router_env/src/request_id.rs:981-995 \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":"crates/router_env/src/request_id.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"59950e6ee54ec93841a502649d5ce7c9fda80c3ba6aca7a76c64073c2faf52e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): crates/smithy/src/lib.rs:1321-1334 | crates/smithy/src/lib.rs:1353-1365 | crates/smithy/src/lib.rs:1367-1379 \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":"crates/smithy/src/lib.rs"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"344021b3067a965211bab53b500dd42014c6722086cd80c1385e051bb58f4176"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/analytics/src/query.rs:625-634 | crates/analytics/src/query.rs:771-781 \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":"crates/analytics/src/query.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc30a60c39a329f500e4ab1fc39039f163239a50ffccc7371ccbf6621bcaa15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/diesel_models/src/kv.rs:204-210 | crates/diesel_models/src/kv.rs:226-232 \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":"crates/diesel_models/src/kv.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f374cf436eaaf7b89a1b5a6e5ec1c2dcd7cdf21ceae48e95d7d13fb6ccfd4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/euclid/src/dssa/graph.rs:306-320 | crates/euclid/src/dssa/graph.rs:329-343 \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":"crates/euclid/src/dssa/graph.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"6557301dba0187f7c0c04a98acb94a9237fb139d0f0b8982e92806d6a0969264"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:2290-2300 | crates/hyperswitch_connectors/src/connectors/checkout.rs:1295-1304 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efaf89fb29016234eb1e845ab80ae2d2b0fd368eca04b29ad4afbef76d93ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs:189-202 | crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:98-111 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:437-450 | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs:174-187 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:302-317 \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":"crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2defc7eedddabd64df97f711d0cbbd99baf1e68f6c519ec738cce417f1cf80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:142-156 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:209-220 | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs:326-337 | crates/hyperswitch_connectors/src/connectors/riskified/transformers/api.rs:412-427 \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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5a90a22bfc6bd059f2d7ef963588fd556a3e1562df709fbc207cbb86243d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:235-244 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:225-234 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"981c81af53acc9db18ff7a4e3526bcae561954927e364218705ad5d9e5f4186d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/payeezy.rs:400-410 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:212-222 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:310-321 | crates/hyperswitch_connectors/src/connectors/stax.rs:392-402 | crates/hyperswitch_connectors/src/connectors/worldline.rs:487-496 | crates/hyperswitch_connectors/src/connectors/zen.rs:246-255 | crates/hyperswitch_connectors/src/connectors/zsl.rs:170-179 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/payeezy.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd71c46e5617d2fe6a4044dcbe4149e1fd45b5b7baf2a1b1a96465c3777d5810"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/stripe.rs:2399-2408 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1490-1499 \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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":2399}}}],"partialFingerprints":{"codehealthFindingId/v1":"240aebeda3f5777828a70c03b7738d490f15c7ede310d10783a18ed6bf131b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:375-388 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:449-458 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:484-495 \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":"crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ef07a5e07ac2827aa8d82dfd46ff96081e1ecbaa5c51b6d08de449762ddd49"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:2925-2936 | crates/router/src/connector/utils.rs:1209-1218 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2925}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab90475101dc9307e6cd6a8643ca06adcb5d20e8a638d07aa9806aaf6d7c239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_domain_models/src/merchant_account.rs:260-268 | crates/hyperswitch_domain_models/src/merchant_account.rs:271-279 \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":"crates/hyperswitch_domain_models/src/merchant_account.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6108185d758cd21b51a3eaaab6a21ec73e42ee55db9b21d8091cb963f2521ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_interfaces/src/disputes.rs:34-48 | crates/router/src/types/transformers.rs:866-882 \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":"crates/hyperswitch_interfaces/src/disputes.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9038371d7cccaf75d1f582060d13e74bf7cbf1050ad136f071ac0dc838adc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router/src/core/cards_info.rs:59-67 | crates/router/src/core/gsm.rs: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":"crates/router/src/core/cards_info.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a927c9b3187663755cc1a65b46f10c20e794c6ad2b455f6400f64c27dde7593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/core/payments/callback_urls.rs:180-196 | crates/router/src/core/payments/callback_urls.rs:312-327 \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":"crates/router/src/core/payments/callback_urls.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef84158366aa8fd27049291585211ef07b1624f0c2a3572f44fc38020dc372f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/payments/transformers.rs:7069-7081 | crates/router/src/core/payments/transformers.rs:7086-7100 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":7069}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a2c81ad88db2b7ecf6a046e52ee77a73278000a5118759f3afcab4b6e33eb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): crates/router/src/core/superposition_proxy.rs:396-411 | crates/router/src/core/superposition_proxy.rs:439-452 | crates/router/src/core/superposition_proxy.rs:479-492 | crates/router/src/core/superposition_proxy.rs:521-534 | crates/router/src/core/superposition_proxy.rs:563-576 | crates/router/src/core/superposition_proxy.rs:784-799 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/superposition_proxy.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe0392296fbc20288cd9ebc78688f6a5e0c264efb751c8467e6214a376423c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): crates/router/src/db.rs:479-489 | crates/router/src/db.rs:494-507 | crates/router/src/db.rs:511-521 | crates/router/src/db/kafka_store.rs:597-612 | crates/router/src/db/kafka_store.rs:3244-3255 | crates/router/src/db/kafka_store.rs:4454-4469 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e956b0982ebf5ec905d0c61a7228ff3128bf797271514ad24923ef3d207524e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/routes/admin.rs:17-29 | crates/router/src/routes/admin.rs: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":"crates/router/src/routes/admin.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a00cb04fcc0b151e1e4d4e3925e42b7d23f9cc0575bd99c8eb8984570f9018"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): crates/router/src/routes/cache.rs:15-30 | crates/router/src/routes/configs.rs:41-55 | crates/router/src/routes/configs.rs:62-78 \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":"crates/router/src/routes/cache.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7dfafb93c062f8eb4f8f333c105fafc6da73fffa83d2a34a11e8bc990f6dab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 14\u002B corresponding lines): crates/router/src/routes/cards_info.rs:72-85 | crates/router/src/routes/cards_info.rs:92-105 | crates/router/src/routes/gsm.rs:36-50 | crates/router/src/routes/gsm.rs:74-87 | crates/router/src/routes/gsm.rs:111-125 | crates/router/src/routes/user.rs:856-869 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/cards_info.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0328c9e603bc7cb7e4a4af471ef823d9ae8123b18e1737592831d86b7df7a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/routes/user.rs:422-438 | crates/router/src/routes/user.rs:659-674 \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":"crates/router/src/routes/user.rs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6be1a3bcd7b9cdf8296015678fc242c78dc6a1a6ec54f547e6da2551331e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): crates/storage_impl/src/payouts/payout_attempt.rs:533-546 | crates/storage_impl/src/payouts/payout_attempt.rs:555-569 | crates/storage_impl/src/payouts/payout_attempt.rs:577-590 | crates/storage_impl/src/payouts/payout_attempt.rs:640-653 | crates/storage_impl/src/payouts/payout_attempt.rs:660-674 \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":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5a44034d285691e20871998f6c82d93b2a78193ad7d01b8d1f2d2e6dddbf64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/common_utils/src/link_utils.rs:241-251 | crates/common_utils/src/link_utils.rs:254-264 | crates/common_utils/src/validation.rs:98-113 \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":"crates/common_utils/src/link_utils.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e797e4a8f0646771b248a395074f63777dbdf2f808faa16f64a8c8f56923b18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1027-1040 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1047-1060 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1102-1116 \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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"18743afdd96e8efb9136ed599f9a5efccb73a2d93196299f8cb31df8b2e59dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/facilitapay.rs:622-630 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2086-2094 | crates/hyperswitch_connectors/src/connectors/payu.rs:213-221 \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":"crates/hyperswitch_connectors/src/connectors/facilitapay.rs"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca4cb35c9fdf244a10a1d146a88bc9540431cee704a88f8c54964931a1f8de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/finix/transformers.rs:720-727 | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs:729-736 \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":"crates/hyperswitch_connectors/src/connectors/finix/transformers.rs"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e1c0338aa59f42d38ffdec55aada815e320f498e082e860498fe4bda9fb1c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1687-1702 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:477-492 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0c7601f784c5af2f45dfd2fddb3e02ae38706db0e8eee9d24b322cd7982de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:1050-1058 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:1144-1152 \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":"crates/hyperswitch_connectors/src/connectors/payme/transformers.rs"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"3910fc0d7af322d958b117c94848ad724eba4bb0794dcae79b62c8654643a8ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpay/response.rs:411-424 | crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers/response.rs:393-406 \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":"crates/hyperswitch_connectors/src/connectors/worldpay/response.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0800ba2782239b7d258238e4469aa27a06a19e0d96707a22b98834aee813c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_domain_models/src/mandates.rs:84-90 | crates/hyperswitch_domain_models/src/mandates.rs:94-102 \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":"crates/hyperswitch_domain_models/src/mandates.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc2cf936439b7f081901293df97c19ddb2ab2cdecac92a9389d024d37c4b9ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 15\u002B corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:1212-1226 | crates/hyperswitch_domain_models/src/payment_method_data.rs:1231-1246 | crates/hyperswitch_domain_models/src/payment_method_data.rs:3892-3907 | crates/hyperswitch_domain_models/src/payment_method_data.rs:5125-5141 | crates/hyperswitch_domain_models/src/payment_method_data.rs:5145-5160 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98d3953ccf1767f789e8ce27101c838918732aca027b4eb687a4fb641316c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_domain_models/src/router_request_types.rs:733-745 | crates/hyperswitch_domain_models/src/router_request_types.rs:751-763 \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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1db59deab7eb7326e2bf69c70cfeddb485c96fe91dfd96fc2c8108d87535a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/router/src/core/unified_connector_service.rs:723-734 | crates/router/src/core/unified_connector_service.rs:740-754 \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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd668c4624c375c03d39037fbac473aef14b6aacd239d338d18f2129157563f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/router/src/db/events.rs:768-782 | crates/router/src/db/events.rs:793-807 \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":"crates/router/src/db/events.rs"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60df469cdee700de1fcc43f322d4dd144138579a9647a35e22d2eaa99d1087b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/router/src/routes/payments.rs:3806-3819 | crates/router/src/routes/payments.rs:3906-3919 | crates/router/src/routes/refunds.rs:69-80 \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":3806}}}],"partialFingerprints":{"codehealthFindingId/v1":"edaf4607a6b85a2c13dadc621693873347b7f3b304d6828b8b7ecd3bf1b8b6f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:273-281 | crates/hyperswitch_connectors/src/connectors/payload.rs:1054-1062 \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":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"266a02eec0cb2249ab81bb4916c8d3386eb318fb62dc0e799c5bf23f35206499"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs:184-191 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:1419-1436 \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":"crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1164f4ebb495fd845cb82a8bb1488d1e4c0f0969b9c034a80b3b7d1781a6d45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs:437-448 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:869-881 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:1002-1014 \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":"crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"21783901cf29ec524bd96553b522a8d0de3de981d514f1d714c168a1806b9263"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_connectors/src/connectors/saferpay/transformers.rs:25-40 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2328-2341 \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":"crates/hyperswitch_connectors/src/connectors/saferpay/transformers.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe874d0f8c1edb3f41bd3d8cfb86f5b248c7af745717770d33c0f100270007f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/utils.rs:2587-2595 | crates/hyperswitch_connectors/src/utils.rs:3154-3162 | crates/router/src/connector/utils.rs:939-947 | crates/router/src/connector/utils.rs:1164-1172 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"389b9b58e6f2559ae72cf0ece175fd2c4cf6a4bc737d08fc9914b3b22a03fdcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:8157-8167 | crates/hyperswitch_connectors/src/utils.rs:8173-8185 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":8157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e231a28b4b534fb47a98394f4a3355bbc2eb9b8823e414c0ff2e58fbf5a7b91"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/types/domain/address.rs:90-105 | crates/router/src/types/domain/address.rs:136-153 \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":"crates/router/src/types/domain/address.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"21585172cff6d4429c6168b303138399b01c4b75a5bf51cdf18c1d2603cfd8c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:349-357 | crates/hyperswitch_connectors/src/connectors/hipay.rs:198-206 \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":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9419590cf5d20b35298213fc1d57aaccb422735a1a7d4ccecc3eca532e74ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:715-732 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:542-556 \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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c44087b99b072665ea0204c6fb3cfbb462e62bcc43dfa0ae5978f3df474da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_domain_models/src/relay.rs:414-423 | crates/hyperswitch_domain_models/src/relay.rs:425-434 | crates/hyperswitch_domain_models/src/relay.rs:451-460 \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":"crates/hyperswitch_domain_models/src/relay.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e87ef70ead04d905c9dff31b06a65eaf54735d712b737651090d40cfd61c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/hyperswitch_interfaces/src/webhooks.rs:114-127 | crates/hyperswitch_interfaces/src/webhooks.rs:132-145 \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":"crates/hyperswitch_interfaces/src/webhooks.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa497e507c8566210ce4aeb7c40f80adc5bf7119be3523784aff8a8cddfc3412"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): crates/storage_impl/src/authentication.rs:41-55 | crates/storage_impl/src/payments/payment_attempt.rs:1931-1947 | crates/storage_impl/src/payments/payment_attempt.rs:1958-1974 | crates/storage_impl/src/payouts/payout_attempt.rs:931-947 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd19ad03d6afc7f3328620c0e62745ec9f8ea6d89b2d11be0f09190c35bef0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/subscriptions/src/core/subscription_handler.rs:92-108 | crates/subscriptions/src/core/subscription_handler.rs:172-187 \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":"crates/subscriptions/src/core/subscription_handler.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ee5a57b3fb0d1a893b2d757d18fa1f4e8de49fce923f7ee58e925cb7c755ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/analytics/src/frm/accumulator.rs:59-68 | crates/analytics/src/payments/accumulator.rs:181-190 \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":"crates/analytics/src/frm/accumulator.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c06ac8a9129b005f71eb6464bdcadba7043c139ea203682ead66a28ac2bf79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/cloud_services/src/storage/s3.rs:117-127 | crates/cloud_services/src/storage/s3.rs:179-192 \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":"crates/cloud_services/src/storage/s3.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6ca160a0a5bb68baf69437925abd97967d0cfb123a285e78ef8b108df36a2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/d24/transformers.rs:76-93 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub/transformers.rs:77-92 | crates/hyperswitch_connectors/src/connectors/ilixium/transformers.rs:82-95 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:515-528 | crates/hyperswitch_connectors/src/connectors/payone/transformers.rs:79-92 \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":"crates/hyperswitch_connectors/src/connectors/d24/transformers.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c34c7132a1f2be94592ff2013211e5f82ecee016225b04f721a51e35ff2566c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/nmi.rs:556-566 | crates/hyperswitch_connectors/src/connectors/nmi.rs:839-850 | crates/hyperswitch_connectors/src/connectors/paybox.rs:246-256 \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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"467b096ebf5e04edfca1c91cc70fa174150dd401826577f20fc4c206ceffc613"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/worldline.rs:298-310 | crates/hyperswitch_connectors/src/connectors/worldline.rs:375-383 | crates/hyperswitch_connectors/src/connectors/worldline.rs:564-572 | crates/hyperswitch_connectors/src/connectors/worldline.rs:650-659 \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":"crates/hyperswitch_connectors/src/connectors/worldline.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1625c7e0e2a5c66a93443b5de402155f05bb834c6588fee4a8b2f08f81e599"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/payment_methods/src/client/list.rs:33-43 | crates/payment_methods/src/client/update.rs:202-212 \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":"crates/payment_methods/src/client/list.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"312b602d8770a79b439c53aef8839e1d695f8d0bbabc0e865ebb76a7e8707a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/payment_methods.rs:4834-4846 | crates/router/src/core/payments/payment_methods.rs:120-135 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":4834}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dbcbe8ddf7da69df6d97f217c9b7407ca4f0c22d86c92bde973b4d5086b144"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/verification/utils.rs:211-223 | crates/router/src/core/verification/utils.rs:231-244 \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":"crates/router/src/core/verification/utils.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dd95a2a451043718fca35a4f7ad653533f828c60a713a661c0fa4f7c25fdd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/router/src/db/role.rs:352-362 | crates/router/src/db/user/theme.rs:373-384 | crates/storage_impl/src/business_profile.rs:540-553 \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":"crates/router/src/db/role.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdd14572a8194f1bdaf8c9ea08027a9e1fcbdc1491f85fb5e3d41a11571834c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 15\u002B corresponding lines): crates/router/src/routes/admin.rs:1021-1036 | crates/router/src/routes/admin.rs:1045-1060 | crates/router/src/routes/admin.rs:1069-1083 | crates/router/src/routes/admin.rs:1094-1108 | crates/router/src/routes/admin.rs:1116-1130 | crates/router/src/routes/configs.rs:21-35 | crates/router/src/routes/configs.rs:85-99 | crates/router/src/routes/profiles.rs:370-384 \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":"crates/router/src/routes/admin.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dad715c61329d9b544517568cc9762bcafa8e7878730f0e580376ab09ca150"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/router/src/utils/oidc.rs:59-69 | crates/router/src/utils/oidc.rs:92-103 \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":"crates/router/src/utils/oidc.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2b2d10c1f0b2f796c05ac008a617d7a830c48783860cbef740885d73ca3583"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 14\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs:49-63 | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs:261-274 | crates/hyperswitch_connectors/src/connectors/moneris/transformers.rs:202-215 | crates/hyperswitch_connectors/src/connectors/nordea/transformers.rs:59-72 | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs:222-235 \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":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff1b5020f027493b4cdd193b8198ea36ee739cb246438f641d9901f175d35fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/flexiti.rs:105-116 | crates/hyperswitch_connectors/src/connectors/vgs.rs:75-85 \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":"crates/hyperswitch_connectors/src/connectors/flexiti.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"447bc82428a0f396155d87ed16461832c147dc217969633fcc93f25ec52249bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/forte.rs:314-325 | crates/hyperswitch_connectors/src/connectors/forte.rs:653-662 \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":"crates/hyperswitch_connectors/src/connectors/forte.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e40732a554aaac4b0c1c565699a6490fe82431d0f7d87098cb0ccd9e9cb038"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal.rs:1185-1198 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1474-1486 \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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"08de9534e8fdb352b88be51595331e84a864112712aec3949525066025bee391"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1973-1987 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:3944-3955 \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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee714befe702ea90c92af4e59916fc1aeecf64c3910f6162781520c8e03061e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/router/src/core/payments/transformers.rs:4909-4921 | crates/router/src/core/payments/transformers.rs:4951-4961 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":4909}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfdee9217f64b762f3bfc4b64803f69a8c6f0cb0f638d7a268be962bf111ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router/src/core/refunds.rs:2871-2880 | crates/router/src/core/refunds_v2.rs:1532-1540 \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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2871}}}],"partialFingerprints":{"codehealthFindingId/v1":"47414483f0722cb8a2e836f72d0b4a75f437435ab8c1a3952451002fba1d5181"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/db/dashboard_metadata.rs:96-109 | crates/router/src/db/events.rs:743-756 \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":"crates/router/src/db/dashboard_metadata.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e712b4ebc9a3ffc3a715a9e9d6c4c295c2042092c0f82d8080a8f34ccfc0bb77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): crates/router/src/services/authentication.rs:306-319 | crates/router/src/services/authentication.rs:343-356 | crates/router/src/services/authentication/embedded.rs:30-42 | crates/router/src/services/email/types.rs:340-350 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d18266f8bf23fb0609a86cdf2edb5ad1ba5e3bad7e2e8bc350aae3e07f90584"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/common_utils/src/types.rs:130-144 | crates/common_types/src/payments.rs:1679-1694 \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":"crates/common_utils/src/types.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3865680ab6e912498245e714f6951a9ef08ec8c31d1448578d79dc67ed529c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): crates/router/src/db/organization.rs:127-140 | crates/router/src/db/user.rs:228-240 | crates/router/src/db/user.rs:245-257 | crates/router/src/db/user.rs:262-274 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/organization.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ccead62b1817ed6084d3b91bdead04982e57ac2503beaf3d633d18acb2ad03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/routes/offer_engine.rs:15-27 | crates/router/src/routes/webhooks.rs:179-194 \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":"crates/router/src/routes/offer_engine.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cca8d2e24dd64b75616f63b93b5e3de264c860b5bd8523b2ab82c24015f8035"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs:862-871 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:1003-1011 \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":"crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba4178ddeaa5c8b632ed3987d4ad6702d5f4b55674c5553431ab4457ee634bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:864-878 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:4627-4641 \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":"crates/hyperswitch_connectors/src/connectors/noon/transformers.rs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b18a49aa7b4bda1c82db9a63483592a84799ca6970e501a4656b7a1f0ddba47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): crates/router/src/types/storage/revenue_recovery_redis_operation.rs:892-908 | crates/router/src/types/storage/revenue_recovery_redis_operation.rs:937-952 \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":"crates/router/src/types/storage/revenue_recovery_redis_operation.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"89148caec0881c0e7de230fae005d54bee05c14835907f567465c4df036c113c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs:29-37 | crates/hyperswitch_connectors/src/connectors/worldpayraft/transformers.rs:75-85 \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":"crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae27165cc93d6ff3b77e2cd5285e6419a0a11a1b5952fed38a3d289a21c54e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:227-235 | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs:61-69 \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":"crates/hyperswitch_connectors/src/connectors/boku/transformers.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af7c3122c5a07b7a7d60977aea70abbb8bc0e1516ab3e4aeaa05a335107049e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/cashtocode.rs:260-268 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:692-701 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:617-625 \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":"crates/hyperswitch_connectors/src/connectors/cashtocode.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"877399cdfe9a64584d1e2b7df0685514145c640df846b4e85dc43e834a254c1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:1005-1014 | crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs:404-413 \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":"crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc20fef7355b4cbed755b89e0ca7af3ebf5f1b6d501f1a904166026a6582db97"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/zen.rs:89-99 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:79-86 \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":"crates/hyperswitch_connectors/src/connectors/zen.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d602f48d553181bc757a78b3976d75624e43c66e21911fc3eb37227b004389d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/router/src/services/authentication.rs:2231-2241 | crates/router/src/services/authentication.rs:2243-2253 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"35934db77008ecb2d7234d3adc3c3961426dbce539adc39102b9546a2935357e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/router_env/src/logger/storage.rs:128-137 | crates/router_env/src/logger/storage.rs:140-147 \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":"crates/router_env/src/logger/storage.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa4faa46ab832a498c090b5217d97921ff0c65c5a0633abba4a30f8ee08c9cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/analytics/src/frm/accumulator.rs:50-57 | crates/analytics/src/payments/accumulator.rs:172-179 \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":"crates/analytics/src/frm/accumulator.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f6d02d71413599dcc9f8c0af17cbe038d1bc43544f06049cbbf0ce3830b52e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): crates/api_models/src/analytics/auth_events.rs:261-293 | crates/api_models/src/analytics/payments.rs:306-329 \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":"crates/api_models/src/analytics/auth_events.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33dbdd992c58f6d0099aa37e1c7732defdf1429af82a7dcac96e7a3be89593c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): crates/common_utils/src/id_type/api_key.rs:9-9 | crates/common_utils/src/id_type/client_secret.rs:9-9 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/id_type/api_key.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e760b4e53fc550e04adb6c33a3af630a3f2a05bea9702c8ced30c8882ee3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:2183-2191 | crates/hyperswitch_connectors/src/connectors/checkout.rs:1010-1018 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2513-2520 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a9fc592619dc4d122886492e28a2f290cfe393aa39a34a7031d73b265fb26d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/elavon_pg/transformers.rs:87-95 | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs:158-166 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:75-88 \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":"crates/hyperswitch_connectors/src/connectors/elavon_pg/transformers.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b6f9b788644d0097f235af76efef292fbc1bc553e18f5fa938af9d49fbc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1551-1561 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:815-825 \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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76127693da041044947f555c46bb773204898fdc8a1e303da12f1647057550c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_connectors/src/connectors/plaid.rs:125-135 | crates/pm_auth/src/connector/plaid.rs:64-74 \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":"crates/hyperswitch_connectors/src/connectors/plaid.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa674b484a6a0bc5a1ab45a8a4d710945b5e66aeefa86b66fceb6a4b2e035fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/square/transformers.rs:350-366 | crates/pm_auth/src/connector/plaid/transformers.rs:482-490 \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":"crates/hyperswitch_connectors/src/connectors/square/transformers.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"5585489a5afd2a783b38c62a913f2006758987685a1e55f472e906586c379df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/router/src/db/blocklist.rs:788-800 | crates/router/src/db/gsm.rs:82-89 | crates/router/src/db/role.rs:106-118 \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":"crates/router/src/db/blocklist.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"466f6b5c2de20af8614cf5cd91b9365cbb1e22cf39dfce63f68ef57e66e59042"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/router/src/db/dashboard_metadata.rs:137-147 | crates/router/src/db/dashboard_metadata.rs:193-203 | crates/router/src/db/user_role.rs:244-253 \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":"crates/router/src/db/dashboard_metadata.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b1da9958584d644c137ba78fc5b6dc7aa38ee8c3055539ccb3389670b14d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:451-459 | crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs:338-346 | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs:74-87 | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs:159-172 | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:59-67 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d7687a34e0d5eebafdb25ea88ca80f32b7b8104247e126af79b68d5161264e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:471-478 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:1059-1066 \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":"crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b60a8868e8c13724419fa107a3295b7a521be3b7b22a033bf0e3a16962ea50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:988-1000 | crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs:418-430 \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":"crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32e887b9d8e1e18e5f2659399d7432af058e607be343f8a6ebd7cc49c9363ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/router/src/compatibility/stripe/payment_intents/types.rs:165-173 | crates/router/src/compatibility/stripe/setup_intents/types.rs:125-132 \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":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab40efca9009aa2ce1d89f0f0fa4490fe1acdef199a194538cd891de827f3c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/euclid/src/frontend/ast/lowering.rs:347-357 | crates/euclid/src/frontend/dir/lowering.rs:361-371 \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":"crates/euclid/src/frontend/ast/lowering.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66eeeaa7f0d5ede930c7bf457f2ec75a45a2145132617081fd2998b7272a2a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/hipay.rs:183-186 | crates/hyperswitch_interfaces/src/api.rs:277-280 | crates/hyperswitch_interfaces/src/connector_integration_v2.rs:186-189 \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":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55d62607b3268597f5c63776d8490383e6b4cf81d018e1837dcafacdc787e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/diesel_models/src/invoice.rs:84-105 | crates/diesel_models/src/subscription.rs:80-100 \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":"crates/diesel_models/src/invoice.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e70b921d8e0ccfecc3a36f806fd2d22a759256cf166d56d7f6a6701db0d4261"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:778-787 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:301-316 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:503-518 \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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19bad050d0ec0a49a38c999419c4de66f43e6c0a56a45f6f5a33cdf9476a492"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/gigadat.rs:902-912 | crates/hyperswitch_connectors/src/connectors/loonio.rs:758-768 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:818-829 \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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"711a14e654e17277bd8bc0cb0564d89d433cb2693e572326252556073fa8d083"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/mollie.rs:853-859 | crates/hyperswitch_connectors/src/connectors/opennode.rs:422-428 \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":"crates/hyperswitch_connectors/src/connectors/mollie.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"9497b9c2314284e0eef8889bd36f5222366402cfa530d157935c9176c5729064"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:8052-8060 | crates/router/src/connector/utils.rs:2290-2298 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":8052}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd74ce818b3a6a4f452bbd0aeb229576d5da3242d28d3095605b5a7a0d18c07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/router_derive/src/macros/generate_schema.rs:75-83 | crates/router_derive/src/macros/to_encryptable.rs:14-19 \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":"crates/router_derive/src/macros/generate_schema.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e29502c64b31a17b048ffe8a279752ce107d4671dd9fbeb21de4282463ffc73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): crates/external_services/src/superposition/types.rs:224-234 | crates/payment_methods/src/configs/settings.rs:62-73 | crates/router/src/configs/secrets_transformers.rs:327-343 \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":"crates/external_services/src/superposition/types.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"91242e858aca5df49a5c9005c7d10d4234a680dfe25db2201e9e8d89e63bc1d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/calida.rs:687-694 | crates/hyperswitch_connectors/src/connectors/recurly.rs:686-692 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:887-895 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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":"crates/hyperswitch_connectors/src/connectors/calida.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"388474674f8f3a489f2b77f279f62f7ad442238b25d5ff4a7fd80dc759fadc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/iatapay.rs:138-145 | crates/hyperswitch_connectors/src/connectors/moneris.rs:146-153 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:174-181 \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":"crates/hyperswitch_connectors/src/connectors/iatapay.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa10e9f2a4eb27c81a3c54002df4628936afa145f309f2c55cdbd788872fa4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1667-1676 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:567-576 \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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77bd4694aa83a2edb65688609d5f510fc9c50525c9ae62e9dc1c548df5f1fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/square.rs:116-123 | crates/hyperswitch_connectors/src/connectors/zen.rs:123-129 \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":"crates/hyperswitch_connectors/src/connectors/square.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a9f4132805a30d4a54816dc0bfb17450b5099bcc40aaff70ba741473e1efb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): crates/router/src/db/batch_blocklist_job.rs:210-215 | crates/router/src/db/dynamic_routing_stats.rs:68-73 | crates/router/src/db/refund.rs:499-504 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 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":"crates/router/src/db/batch_blocklist_job.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f357a2c0e1d0a7ef7f422d75ca798b1a69456ba8f2df0423aadc641c1a190c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/storage_impl/src/customers.rs:893-901 | crates/storage_impl/src/lookup.rs:40-46 \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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c4b9ac97a3929480a87f49c6330e2292b5f3c474fda8331491a8a049341bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/gotyme_sanlam/transformers.rs:43-51 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs:41-53 | crates/hyperswitch_connectors/src/connectors/merchante/transformers.rs:77-85 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:54-67 | crates/hyperswitch_connectors/src/connectors/wise/transformers.rs:51-59 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gotyme_sanlam/transformers.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9aad175e0f0a02a8280f3c46c0e30e42568c504b74b7b63ac98c8c215b76aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_domain_models/src/bulk_tokenization.rs:236-247 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:201-211 \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":"crates/hyperswitch_domain_models/src/bulk_tokenization.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcfa4ae146c451a8063353e1fa6fe797adffcab1545826fd5bdfd48e0cc1985"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): crates/router/src/core/fraud_check/flows/po_frm_flow.rs:165-182 | crates/router/src/core/fraud_check/flows/record_return.rs:184-202 \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":"crates/router/src/core/fraud_check/flows/po_frm_flow.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d99b0de2547b9febcebf6d7dab9255cbfe2cc57939f36df364b729d4889b6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/router/src/core/payments/retry.rs:370-379 | crates/router/src/core/payouts/retry.rs:217-224 \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":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a25da87acba7d11dcc82407b73fcbc280461ffe70b9560802cc48dfe220f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/payload.rs:1206-1215 | crates/hyperswitch_connectors/src/connectors/recurly.rs:655-663 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:857-863 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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":"crates/hyperswitch_connectors/src/connectors/payload.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8040a9d4320f9555fa1930963adffa23f2515e4e1277f13d8836d429486435d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/router/src/core/payment_methods/utils.rs:66-76 | crates/router/src/core/routing/helpers.rs:681-691 \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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e412bf070b6443afb0aaeee8d2b4672212f6efe47c8640065df4b9f0b05de810"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/router/src/db/mandate.rs:467-472 | crates/router/src/db/refund.rs:240-245 \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":"crates/router/src/db/mandate.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de5bc1df664a7bf31ac644da7dfb44edadc063ba887f03d036087a5d32a4a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router/src/utils/user/theme.rs:56-65 | crates/router/src/utils/user/two_factor_auth.rs:120-128 \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":"crates/router/src/utils/user/theme.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfac3c395855de53ec0e045a10305c23babfe13f42bddcca95cc96a6129058be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/api_models/src/payment_methods.rs:832-844 | crates/cards/src/validate.rs:120-130 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"def6f57c82785a8f230812aa7d65d273c420b86fe7faf7a2f4e7cde81b4606c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/api_models/src/payment_methods.rs:846-858 | crates/cards/src/validate.rs:201-211 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"774ad69d0a7ffa47ae177d23fb1f8d927069baa79fef14c3bec721688f1d98f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): crates/router/src/core/payments/operations/payment_confirm_intent.rs:686-695 | crates/router/src/core/payments/operations/payment_get.rs:350-362 \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":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a75593f52c4380cc0576c22d009f0213bf0140a6b2a2dbe85c71ecaf812865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router/src/core/telephone_order.rs:322-332 | crates/router/src/routes/payouts.rs:327-335 \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":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4248a0e11b9a730ab73c4be14cc5ea1842c3e83e1d5038f93c7bf818f5f2daed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/router/src/workflows/payment_method_modular_backward_compat.rs:102-112 | crates/router/src/workflows/payment_method_modular_forward_compat.rs:89-99 \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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d417f59484dc481f56ac845d540f48f1c7ed63a02c39adc6ba55faf3f1c8559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): crates/diesel_models/src/organization.rs:101-124 | crates/hyperswitch_domain_models/src/mandates.rs:517-538 \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":"crates/diesel_models/src/organization.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d127075c5e286de2adfea778f60b0e15207308bfe9f79cb08bcad6aa2fec4cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/airwallex.rs:588-600 | crates/hyperswitch_connectors/src/connectors/inespay.rs:299-311 | crates/hyperswitch_connectors/src/connectors/nordea.rs:979-991 | crates/hyperswitch_connectors/src/connectors/paystack.rs:283-295 | crates/hyperswitch_connectors/src/connectors/payu.rs:380-392 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c25afa39f703695183af10f2b7859f7a425ce284026ea0ee82167f65ff1ddac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/paysafe.rs:81-88 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:78-84 \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":"crates/hyperswitch_connectors/src/connectors/paysafe.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9ec52c25849bf0c429ac1be307672c6499d59dd4e1bcc9b9bb24672bac53ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:105-112 | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs:125-132 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:97-104 \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":"crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"30966b82675871096df70efe44db5e37218edf8b581e207de4c253dbb46586e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/common_types/src/payment_methods.rs:50-56 | crates/common_utils/src/link_utils.rs:89-96 \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":"crates/common_types/src/payment_methods.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"264d5bcee2ec91d8ffa1e725a77110a5c1e90772b813370814a9becf1de6f4aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/common_types/src/payments.rs:791-795 | crates/hyperswitch_connectors/src/utils.rs:1368-1372 \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":"crates/common_types/src/payments.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb21bfc20faefcfdca1a1dd5e711cc1733b240ef5460909354cb91d5018534f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/euclid/src/frontend/dir.rs:832-839 | crates/euclid/src/types.rs:319-325 \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":"crates/euclid/src/frontend/dir.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"67af2a9fb82e1044488a9f83bc60e2e3516e11cbd369d6a3681b71eab48ae61a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/bambora.rs:765-773 | crates/hyperswitch_connectors/src/connectors/coingate.rs:478-485 \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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c89fcb507278151d0d2be7cdc9dea28d5cae7a64f6df9e88ab78cc60a5f53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:365-372 | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:266-273 \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":"crates/hyperswitch_connectors/src/connectors/celero/transformers.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e268e5e84200341dacfbdc31c446d58d57fdecd7b01cd3834ffd89a2fc36fe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/datatrans.rs:394-402 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:483-491 \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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a22d711ace659351aa19ac352dd6373c1c793227f0ce16c419e6b69608eaaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs:278-286 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:244-251 \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":"crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75e30dacf0792dea7d232a80a81a1a52daf4213ee217da4a62e470c113ad18c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): crates/hyperswitch_domain_models/src/payment_method_data.rs:4423-4441 | crates/payment_methods/src/types.rs:179-197 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":4423}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3593902299d53b83ff91e7358533d7cebfd071c9a854fdcf1f4d89abaf42609"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1716-1728 | crates/router/src/core/webhooks/outgoing_v2.rs:950-962 \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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c920409d3de8335706975b9be176dd95602ed6af71bcdd0a357bda5720db455"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1761-1773 | crates/router/src/core/webhooks/outgoing_v2.rs:994-1006 \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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a519605900cdd545599d8e6e0c98cdc8a1bbd2063f2d086dd80ddb3df9c46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/api_models/src/payments.rs:13255-13260 | crates/router/src/core/payments/retry.rs:34-39 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":13255}}}],"partialFingerprints":{"codehealthFindingId/v1":"045ace2c8402f14758cc046e47f29eb0ec7f69c67c000ee56c70d9f79c1080de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/common_utils/src/id_type/global_id/payment.rs:57-64 | crates/common_utils/src/id_type/global_id/refunds.rs:31-38 \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":"crates/common_utils/src/id_type/global_id/payment.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"834254d26512230773cf694dfe65c8906aac7b72c0555e23628f854b019896ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): crates/hyperswitch_connectors/src/connectors/coinbase.rs:293-304 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:395-408 \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":"crates/hyperswitch_connectors/src/connectors/coinbase.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38e025554d0f534dbf376a32e1ea9afd24eab78e8a202f910a912c9a90993db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/rapyd.rs:756-762 | crates/hyperswitch_connectors/src/connectors/worldline.rs:725-731 \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":"crates/hyperswitch_connectors/src/connectors/rapyd.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e78aac805120672b8a9c5440876d9dbee031a682aa5586c05734c7d5a746700"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): crates/openapi/src/openapi.rs:1284-1333 | crates/openapi/src/openapi_v2.rs:1073-1108 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openapi/src/openapi.rs"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1daffc5845528302664420b9587b7c9b97d6f2ce4b8f5a783fe87d4e169f4754"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_domain_models/src/lib.rs:854-864 | crates/router/src/core/payments/transformers.rs:7565-7576 \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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cbcaa573a690d1bc2e76e1f8a29e65aa952c577125719886db2dcd58317427"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): crates/common_utils/src/id_type/global_id/payment.rs:102-109 | crates/common_utils/src/id_type/payment.rs:16-16 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/id_type/global_id/payment.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2379e76e3150dff7b5d1107e70b6b8564eb3e04a3bb288b90ef56a4f5fcad6c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs:93-99 | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:56-62 \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":"crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4c66f74afa31450d03ff9daa16652fae4b61e8297f5d46e7283de9dcf98012"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/checkout.rs:1342-1346 | crates/hyperswitch_connectors/src/connectors/paystack.rs:596-602 | crates/hyperswitch_connectors/src/connectors/volt.rs:679-686 \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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f050b1066381bf3a8ba943412f87986fe3bd13f5b4acacbc82b66310a6d4c0b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/noon.rs:900-910 | crates/hyperswitch_connectors/src/connectors/zsl.rs:381-387 \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":"crates/hyperswitch_connectors/src/connectors/noon.rs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"270a240708d052a67abc897cda9a23f19d88cd7f428a6dca6d3c3cbf9ff73090"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/payjustnow.rs:771-780 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:580-587 \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":"crates/hyperswitch_connectors/src/connectors/payjustnow.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d2198ab4d12c63cd6b0810fab7ec9b2b3d5941c0359ac869c1f1152136d5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): crates/hyperswitch_domain_models/src/payments.rs:1117-1127 | crates/router/src/workflows/revenue_recovery.rs:1230-1241 \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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a1c6f6626d4e403d1780c22e1ad76d821dad19083464dc2e41b01714b71702"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyen.rs:1899-1905 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1024-1031 \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d5e1b5d3c0d762ff8dff1924fc980b875fb7cd3015bc4b8656553187211645"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 12\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/authipay.rs:693-704 | crates/hyperswitch_connectors/src/connectors/finix.rs:931-942 | crates/hyperswitch_connectors/src/connectors/helcim.rs:758-769 | crates/hyperswitch_connectors/src/connectors/inespay.rs:539-551 | crates/hyperswitch_connectors/src/connectors/mollie.rs:778-790 | crates/hyperswitch_connectors/src/connectors/paystack.rs:523-535 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"d715551489db15079002cba69cce1f3d10d250d4acc2a8620e6a3cf3d0f3ac95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/globalpayments_heartland/transformers.rs:24-31 | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs:195-203 \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":"crates/hyperswitch_connectors/src/connectors/globalpayments_heartland/transformers.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c568993fb16458f28cf86590b7529b69a61060fe0a084366962d4d0661341fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/payme.rs:107-113 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:195-203 | crates/hyperswitch_connectors/src/connectors/tsys.rs:90-96 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4737b7e6830df151f0df4552f73890a6d86381e23342e823d27f5492cead3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1737-1749 | crates/router/src/core/webhooks/outgoing_v2.rs:970-982 \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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee393737d94a3551bfa893130afbf14854fcd7ebe681795ec76b61bc9599ba7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): crates/router/src/core/webhooks/outgoing.rs:1827-1839 | crates/router/src/core/webhooks/outgoing_v2.rs:1059-1071 \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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10736c16b7a276a3c9417ed5efd19f7ccb495ba05f1b8fd436d66e03de082e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/common_utils/src/id_type/global_id/customer.rs:61-65 | crates/common_utils/src/id_type/global_id/payment_methods.rs:53-57 \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":"crates/common_utils/src/id_type/global_id/customer.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f87daac497935c8dbb82efcde788c8168cb9a286e95b746a0677c3f7236715a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:499-507 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1504-1512 \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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"1536153c8e2921604bc7568d6d58ad538652ef7c724f896f7c528c17c1437028"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/hyperswitch_connectors/src/connectors/inespay.rs:640-645 | crates/hyperswitch_connectors/src/connectors/payme.rs:1099-1104 \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":"crates/hyperswitch_connectors/src/connectors/inespay.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d543f80cc5c7ea96790e5e4cd9c58cb8251b527e7ef5e9183d12abf825b7366"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1689-1697 | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs:331-337 \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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"2779864b7dc92cf50c9913a0733ad5309f6d50f0e22b0d0e85144840463bbdd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:806-814 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:124-132 \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":"crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac6dbdbc68174e6321b9350db07e03842543b6b9f66ced8640b84af1e8aad08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): crates/hyperswitch_connectors/src/connectors/tokenex.rs:88-110 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1168-1188 \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":"crates/hyperswitch_connectors/src/connectors/tokenex.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"437f64b61c9cc0ef1ab463c085ac93e445a4a144d7ce22f2b7d88c4390f5a5f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): crates/router/src/core/payments/helpers.rs:4998-5006 | crates/router/src/core/payouts/helpers.rs:1365-1373 \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":4998}}}],"partialFingerprints":{"codehealthFindingId/v1":"611a86b0e9f9d9228846f8ad6eee1e371fc338571c9d8c5c191df2dedfe6cc66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs:27-31 | crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs: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":"crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfc6570100049f0cedefc4673d87015ed283a716da54e2744fa49df59b094ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/airwallex.rs:1190-1197 | crates/hyperswitch_connectors/src/connectors/shift4.rs:885-893 \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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed10f679d7a0ed69f9af84822e6e4a4aa6b42ec7d6c5db1cc79629020286ff3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 10\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/breadpay.rs:406-416 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:318-327 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:577-586 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:553-562 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:446-455 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/breadpay.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f75f21685f6974dcddb60ce398e47f42d406d07c07e51056e2a9f40d8671fa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs:90-96 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1596-1602 \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":"crates/hyperswitch_connectors/src/connectors/netcetera/netcetera_types.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"18870b7404cd9e56871f46c4830493f637ae3966202c2fb7b62f9ff8029d4125"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/razorpay.rs:846-853 | crates/hyperswitch_interfaces/src/api.rs:651-657 \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":"crates/hyperswitch_connectors/src/connectors/razorpay.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e2693bdc3ad3a2de863daccf4e55c78ab2be33af281670f8e062247ad7d67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/redsys.rs:1103-1111 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1826-1832 \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":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"382ebb3f4e7828fd2e57bdd3ba6411ed301ed5d237337f06dcc3b1eeaf36a5f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:429-432 | crates/router/src/connector/utils.rs:1922-1925 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc043f1ea0d58032fb4dd629f3cb478c2210668e4cce9a93464245ad4945ad47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:2561-2566 | crates/router/src/connector/utils.rs:896-901 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"675584232b4215008d94a9b9c66aaf953d880df8197172293652a6f91f7efb85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_interfaces/src/types.rs:553-562 | crates/injector/src/injector.rs: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":"crates/hyperswitch_interfaces/src/types.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"f223bcf3f7b418336c3e54a99642691b247647ec7dc036360366788ec8245471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/inespay.rs:705-711 | crates/hyperswitch_connectors/src/connectors/payme.rs:1210-1217 \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":"crates/hyperswitch_connectors/src/connectors/inespay.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a72327770dc56bc3b8686c4140c9a1f219017a9f7189dd2ff56fb27cca06da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): crates/router/src/core/payments/flows/authorize_flow.rs:81-94 | crates/router/src/core/payments/flows/external_proxy_flow.rs:102-117 \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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceebe8449b4f2ad2967cedeaae95cfa23440c43f04430a2813c8bd9a09d4b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/common_utils/src/id_type.rs:101-104 | crates/common_utils/src/types.rs:997-1000 \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":"crates/common_utils/src/id_type.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1bd07dffbc93db197fbbce093d73b5662ada58c4d870aae853f55fcc17b59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/api_models/src/payments.rs:1795-1801 | crates/api_models/src/payouts.rs:227-232 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a668f679fba3974535a70500a1987ffd555ac1d1870eec6653b1365443310f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/drainer/src/settings.rs:294-300 | crates/scheduler/src/settings.rs:45-51 \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":"crates/drainer/src/settings.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d84846a6f69a5ec33b791251f9446caff1ed309dd27b7272b236b2f5d60a5bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/hyperswitch_connectors/src/utils.rs:7241-7244 | crates/router/src/connector/utils.rs:1638-1641 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7241}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d7f5806c75a3416ce900d22349a89dc5924221f18f8bd09b5943aaf79b3a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/hyperswitch_interfaces/src/api.rs:267-270 | crates/hyperswitch_interfaces/src/connector_integration_v2.rs:176-179 \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":"crates/hyperswitch_interfaces/src/api.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"250598103e16e722d8759170d7547c7d9eceaa6920d24c792f843864307a3087"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): crates/common_utils/src/id_type/merchant.rs:70-77 | crates/common_utils/src/id_type/payment.rs:92-97 \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":"crates/common_utils/src/id_type/merchant.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"896a9257e5f980563cbd870aa8e4de963695015c2a6625d809ed55d04bddb94e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_connectors/src/connectors/riskified.rs:645-651 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:749-755 \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":"crates/hyperswitch_connectors/src/connectors/riskified.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e7854290a3abc17693292c43a9aa1b0c037b6cf3219b50a78992eab8488bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_domain_models/src/lib.rs:880-887 | crates/router/src/core/payments/transformers.rs:7550-7557 \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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"969f2e2f54445f8c672cbe9cd5fbe668f782b783033e2a09538b156dc86fc9d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/billwerk.rs:202-209 | crates/hyperswitch_connectors/src/connectors/mollie.rs:178-185 | crates/hyperswitch_connectors/src/connectors/vgs.rs:170-180 \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":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c066bb7d78ab53f4f73d377eb607c783c81d05bdab26d82db128891c8c9a9daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1221-1227 | crates/hyperswitch_connectors/src/connectors/recurly.rs:734-738 \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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7967715971ad1c28cca25d2b6bf375335dbbe045504b30238b4027d8e1b3bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): crates/hyperswitch_connectors/src/connectors/facilitapay.rs:456-467 | crates/hyperswitch_connectors/src/connectors/payload.rs:567-574 \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":"crates/hyperswitch_connectors/src/connectors/facilitapay.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"951ae9002ec81ce493b4a1cc76de38dbd16e65d7359855358753df33f96ee7f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/hyperswitch_connectors/src/connectors/paysafe.rs:1028-1035 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2068-2071 \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":"crates/hyperswitch_connectors/src/connectors/paysafe.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"f650eb074a91cb9a0952f700a607e4575d5ea8dc1cd8d605c462fab44230b76b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/bambora.rs:315-319 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2354-2357 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:493-496 \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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b08d208b988bbb4a194440dbd4b813900a4db3f12761b6176978c27039210d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:4142-4145 | crates/hyperswitch_connectors/src/utils.rs:2692-2695 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":4142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0649bf7586c7acd6e0c1d27a495a87465ba12588e84bb1dfb6866bb67a087d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:4212-4215 | crates/hyperswitch_connectors/src/utils.rs:2751-2754 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":4212}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd679410b6e8ced6b3680dd8c735960fb9c302fc656183a8089cc77c1804c503"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 5\u002B corresponding lines): crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:314-318 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1116-1121 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:396-401 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:440-445 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"3171a5c8243ecc25ed7647ed942d8e36e6a2f2931be849f65f0a4da0aa4eb239"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:682-688 | crates/router/src/types/transformers.rs:978-986 \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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25155e1d0b64a180342fa846f30c29eed75b4a4ac5dbe9c010ac03a238f5e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (148 lines \u00D7 2): crates/router/src/services/kafka/payment_intent.rs:199-346 | crates/router/src/services/kafka/payment_intent_event.rs:213-360 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/payment_intent.rs\u0060 and \u0060crates/router/src/services/kafka/payment_intent_event.rs\u0060 as WHOLE FILES: 90% 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 2 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. 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":"crates/router/src/services/kafka/payment_intent.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"976df7f0f355f91efa2bfc9add92cbec40d2a22d2d8d222ad11015485cf71713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (141 lines \u00D7 2): crates/router/src/analytics.rs:2496-2636 | crates/router/src/analytics.rs:2677-2817 \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 \u0060crates/router/src/analytics.rs:2496\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":"crates/router/src/analytics.rs"},"region":{"startLine":2496}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53a0e1113d6f08c35346a9eb28cf81002b5fa10ea45629293dd4623e88e49dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (139\u2013140 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:4433-4572 | crates/router/src/core/unified_connector_service.rs:4678-4816 \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 \u0060crates/router/src/core/unified_connector_service.rs:4433\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, \u0060crates/router/src/core/unified_connector_service.rs:4674\u0060 calls \u0060clone\u0060, \u0060now\u0060 and \u0060crates/router/src/core/unified_connector_service.rs:4433\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4433}}}],"partialFingerprints":{"codehealthFindingId/v1":"5727627fe89183d7177e52d4b4ddb290d5cef42ad67e3e794b3fdec588b9d062"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (119 lines \u00D7 2): crates/analytics/src/sqlx.rs:265-383 | crates/analytics/src/sqlx.rs:438-556 \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 \u0060crates/analytics/src/sqlx.rs:265\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69387b2bb250b729596b70cb60e1331a21c1ca30882a12d31df4a001aa07098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (118 lines \u00D7 2): crates/kgraph_utils/src/mca.rs:280-397 | crates/kgraph_utils/src/mca.rs:466-583 \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 \u0060crates/kgraph_utils/src/mca.rs:280\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 \u0060pm_types\u0060 to \u0060common_types::payment_methods::RequestPaymentMethodTypes\u0060 in one and \u0060RequestPaymentMethodTypes\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":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"632369cf159b430c109c4cf4fa29441bc78ef29fbba58127e3a8585929abf5c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (127 lines \u00D7 2): crates/router/src/services/kafka/payment_attempt.rs:233-359 | crates/router/src/services/kafka/payment_attempt_event.rs:235-361 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/payment_attempt.rs\u0060 and \u0060crates/router/src/services/kafka/payment_attempt_event.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 232 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 \u0060crates/router/src/services/kafka/payment_attempt.rs:233\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":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae45a7da1c36a679daf1f9e46041f4f4942fdf8ae6bfab9e1169655ca0df414"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (93 lines \u00D7 2): crates/router/src/types/api/connector_mapping.rs:192-284 | crates/router/src/types/api/feature_matrix.rs:104-196 \u2014 before extracting anything, compare \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 426 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, \u0060crates/router/src/types/api/connector_mapping.rs:191\u0060 calls \u0060Ok\u0060, \u0060Old\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs:103\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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6b43b61ae1b1b5aee9027379a6737edfb5362159c58a52fdc8f9167790e40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2793-2881 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3288-3376 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2793\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, \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3380\u0060 calls \u0060get_mandate_reference\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2883\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac76cd0d47ac3d88aa89b6f426f229e7a4af203e14df08010fd3490cc6f6606b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (85 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents/types.rs:876-960 | crates/router/src/compatibility/stripe/setup_intents/types.rs:425-509 \u2014 \u0060crates/router/src/compatibility/stripe/payment_intents/types.rs\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents/types.rs\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 125 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. 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":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"964002106f11859055323227686d957aea8c84a52aafdda468473876f3b53704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (84 lines \u00D7 2): crates/router/src/services/kafka/refund.rs:132-215 | crates/router/src/services/kafka/refund_event.rs:134-217 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/refund.rs\u0060 and \u0060crates/router/src/services/kafka/refund_event.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 134 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":"crates/router/src/services/kafka/refund.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"edbda0cdfb8cf077ee67924f385f18776d0cf06683da0d9a678e8f813045c032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2): crates/diesel_models/src/payout_attempt.rs:209-291 | crates/hyperswitch_domain_models/src/payouts/payout_attempt.rs:253-335 \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":"crates/diesel_models/src/payout_attempt.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb012f99a831f770b3684a7cb12e7a592c821071bf656ba467738177133251dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): crates/analytics/src/search.rs:105-183 | crates/analytics/src/search.rs:302-380 \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 \u0060crates/analytics/src/search.rs:105\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":"crates/analytics/src/search.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69a2b9254512d67afc9b74a9a26b49a593687b6a9f70ff80d05c5966d47ddb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:3596-3671 | crates/router/src/connector/utils.rs:1942-2017 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":3596}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0ee6527ce865f525335f779366180703385b4d5aabb2488cc364d5674e9bb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 2): crates/router/src/core/user.rs:1392-1465 | crates/router/src/core/user.rs:1545-1618 \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 \u0060crates/router/src/core/user.rs:1392\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, \u0060crates/router/src/core/user.rs:1389\u0060 calls \u0060check_email_token_in_blacklist\u0060 and \u0060crates/router/src/core/user.rs:1542\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":"crates/router/src/core/user.rs"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ad42225b4d3dde07a26cda6e4bcd4e47738747ca0c5dc3b47c5fcb1c71904d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (117 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4685-4801 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4823-4939 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":4685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8dc2b15ade9633d3ba2700898708c7d19ef91da44b7049c868c93e9a268a658"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2): crates/router/src/core/payments.rs:311-382 | crates/router/src/core/payments.rs:422-493 \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 \u0060crates/router/src/core/payments.rs:311\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":"crates/router/src/core/payments.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa06401ee9b795bd6fd1eb4211fe550bad502f27c4931924c1262e22b2c1b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (70 lines \u00D7 2): crates/router/src/core/utils.rs:2562-2631 | crates/router/src/core/utils.rs:2646-2715 \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 \u0060crates/router/src/core/utils.rs:2562\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":"crates/router/src/core/utils.rs"},"region":{"startLine":2562}}}],"partialFingerprints":{"codehealthFindingId/v1":"8066e80ac652c6d0839fcf1f121ebd1c137a538c53aba52be942a39198858358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (72 lines \u00D7 2): crates/router/src/types/api/connector_mapping.rs:464-535 | crates/router/src/types/api/feature_matrix.rs:389-460 \u2014 before extracting anything, compare \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 426 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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c64735bf14ae4457b86f12db83af3634cc595e63b7e2b0ab7fbfe8fccf277d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): crates/router/src/types/transformers.rs:1680-1748 | crates/router/src/types/transformers.rs:1771-1839 \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 \u0060crates/router/src/types/transformers.rs:1680\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":1680}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0b3ea85977059aa76e8e7ce795feeac3e34b25e3c8ffdcd37734746c714454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): crates/diesel_models/src/payouts.rs:197-264 | crates/hyperswitch_domain_models/src/payouts/payouts.rs:266-333 \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":"crates/diesel_models/src/payouts.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"72916ce10e170a2ccc46cfa0409d7837981392db1fb688bd6737e615b1092192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 3): crates/router/src/core/payments/operations/payment_create.rs:868-934 | crates/router/src/core/payments/operations/payment_update.rs:718-784 | crates/router/src/core/payments/operations/tax_calculation.rs:257-323 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 170 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 \u0060crates/router/src/core/payments/operations/payment_create.rs:868\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeadacf9f3811748828a356392583869fe1c594dde5fbee2a1f4c9feb91f4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): crates/router/src/db/refund.rs:1748-1814 | crates/router/src/db/refund.rs:2079-2145 \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 \u0060crates/router/src/db/refund.rs:1748\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":"crates/router/src/db/refund.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"0badbe9f0ec66ce4cdfdb24d40fc4e65fa0d1785d5cb4d5ad02ba7cd1ab40cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62\u201363 lines \u00D7 2): crates/router/src/core/split_payments.rs:298-360 | crates/router/src/core/split_payments.rs:390-451 \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 \u0060crates/router/src/core/split_payments.rs:390\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":"crates/router/src/core/split_payments.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8c8fd48ae5caa79b3c73f47a609158f5b160a8e491bc0db91df16261727961"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 3): crates/router/src/db/dispute.rs:901-962 | crates/router/src/db/dispute.rs:993-1054 | crates/router/src/db/dispute.rs:1083-1144 \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 \u0060crates/router/src/db/dispute.rs:901\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":"crates/router/src/db/dispute.rs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fbd71ea5461e7851d143c8ba7982f4a61ef3f3b66acfb58c687613673ad3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61\u201362 lines \u00D7 2): crates/router/src/core/admin.rs:2406-2467 | crates/router/src/core/admin.rs:2607-2667 \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 \u0060crates/router/src/core/admin.rs:2406\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74e97aeb0c1964aad378d12d67bf3cee9580f42ac38d910db746f98e9b88cc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): crates/kgraph_utils/src/mca.rs:931-991 | crates/kgraph_utils/src/mca.rs:1002-1062 \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 \u0060crates/kgraph_utils/src/mca.rs:931\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":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec78e5e1df531dc0cc4631d4df2627d3ebab1089eb371aa4ebf79c3515f6948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): crates/router/src/db/refund.rs:1862-1922 | crates/router/src/db/refund.rs:2191-2251 \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 \u0060crates/router/src/db/refund.rs:1862\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":"crates/router/src/db/refund.rs"},"region":{"startLine":1862}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25c05861bbb95419ebb87bf276a755f53f350a8177e4db79003658c7d1a6478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (61 lines \u00D7 2): crates/router/src/types/transformers.rs:1035-1095 | crates/router/src/types/transformers.rs:1110-1170 \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 \u0060crates/router/src/types/transformers.rs:1035\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 \u0060item\u0060 to \u0060domain::MerchantConnectorAccount\u0060 in one and \u0060domain::MerchantConnectorAccountWithoutEncrypted\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df245787a61ca96f2e7ce873e343fe457912e24d0be8039cc2023912bf4afed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:1004-1063 | crates/router/src/core/payment_methods/transformers.rs:1110-1169 \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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e07190012d20ac634ac3f7e8036e4f415d74cd58092460542602f94b41380e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2): crates/storage_impl/src/kv_router_store.rs:512-570 | crates/storage_impl/src/kv_router_store.rs:670-728 \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":"crates/storage_impl/src/kv_router_store.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2470bb17b2e8fd5b39171f7aa3d3174cc93c7e95bd9b33c9c3e658b6957121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): crates/router/src/core/payment_methods.rs:5609-5665 | crates/router/src/core/payment_methods.rs:5768-5824 \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 \u0060crates/router/src/core/payment_methods.rs:5609\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5609}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c77707bc1ae322f08c7b5d07bef630c0c56e1ab63f5b8b109e82b31f2b3fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): crates/router/src/core/user_role.rs:223-279 | crates/router/src/core/user_role.rs:307-363 \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 \u0060crates/router/src/core/user_role.rs:223\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a044c11643184b81f6f109f5dc749002e2b60362cc2f6bbc701aac97edaa267d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/cybersource.rs:492-546 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1275-1329 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1430-1484 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1580-1634 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1738-1792 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:492\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"47db9f4ef2e9da67024f95f81abec08e2d8ffe606ed1bb081c0e8e6253c70167"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:3447-3501 | crates/router/src/core/unified_connector_service.rs:3562-3616 \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 \u0060crates/router/src/core/unified_connector_service.rs:3447\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, \u0060crates/router/src/core/unified_connector_service.rs:3446\u0060 calls \u0060parse_value\u0060 and \u0060crates/router/src/core/unified_connector_service.rs:3561\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6655dde62a403ec4c10789f8f72fc4ccbf4973f3f7a6c2a57978cc535151db4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): crates/router/src/core/payments/filters.rs:91-144 | crates/router/src/core/payments/filters.rs:221-274 \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":"crates/router/src/core/payments/filters.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fe7bb7da6f87fc77dbcfd84b00b25f60942adba712e6f49196c58e912d1150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (148 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:5938-6085 | crates/router/src/core/payments/helpers.rs:6087-6234 \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5938}}}],"partialFingerprints":{"codehealthFindingId/v1":"710379c0f5fff212db542bb1fa9c384eba2c60e730a057abc222c36dd598fe02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2): crates/router/src/types/api/connector_mapping.rs:291-344 | crates/router/src/types/api/feature_matrix.rs:203-256 \u2014 before extracting anything, compare \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 426 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, \u0060crates/router/src/types/api/connector_mapping.rs:345\u0060 calls \u0060Ok\u0060, \u0060Old\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs:257\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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2d7cc6158887f3c94808dcf3532396cd41a5c1eb1c469f02a0d27d66fa87cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (131 lines \u00D7 2): crates/hyperswitch_domain_models/src/router_data.rs:1282-1412 | crates/hyperswitch_domain_models/src/router_data.rs:2248-2378 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payment_data\u0060 to \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::Authorize\u003E\u0060 in one and \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::ExternalVaultProxy\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb1e4063bb735a61107faf9f9d41c01b171833bbb892f43460133aa4796da41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 13): crates/hyperswitch_connectors/src/connectors/stripe.rs:378-429 | crates/hyperswitch_connectors/src/connectors/stripe.rs:569-620 | crates/hyperswitch_connectors/src/connectors/stripe.rs:760-811 | crates/hyperswitch_connectors/src/connectors/stripe.rs:981-1032 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1165-1216 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1343-1394 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1592-1643 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1765-1816 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1965-2016 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2128-2179 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2303-2354 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2435-2486 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2672-2723 \u2014 all 13 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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:378\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98a384f80e6821f508f4e4e86500c5f8e277b90ded894cd01ee570669f4dcf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50\u201352 lines \u00D7 4): crates/router/src/services/authentication.rs:4345-4396 | crates/router/src/services/authentication.rs:4617-4666 | crates/router/src/services/authentication.rs:4968-5018 | crates/router/src/services/authentication.rs:5174-5225 \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 \u0060crates/router/src/services/authentication.rs:4345\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, \u0060crates/router/src/services/authentication.rs:4613\u0060 calls \u0060get_role_info\u0060, \u0060check_permission\u0060 and \u0060crates/router/src/services/authentication.rs:4342\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4345}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9afe42bceb2f22038e99562a2147ecc7bb53022b67597b7c4246647590b661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2): crates/analytics/src/clickhouse.rs:623-674 | crates/analytics/src/sqlx.rs:1594-1645 \u2014 before extracting anything, compare \u0060crates/analytics/src/clickhouse.rs\u0060 and \u0060crates/analytics/src/sqlx.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 91 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":"crates/analytics/src/clickhouse.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbbfc4ec6f181d3f04cefdb62383389456996462a2abe1e6d71efa6667841ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1571-1621 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2499-2549 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaab7e9b938b018ee4b82a046a41ee5832e93cfc317ed1818bfb80267ba3ffe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): crates/router/src/core/payments/operations/payment_approve.rs:187-237 | crates/router/src/core/payments/operations/payment_reject.rs:183-233 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_approve.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_reject.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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 \u0060crates/router/src/core/payments/operations/payment_approve.rs:187\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":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcf8a426b53a829230d3d29624e5fdf9bef381c0762ae611cae71a8ffed08a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50\u201351 lines \u00D7 2): crates/router/src/core/payments/operations/payment_response.rs:1366-1416 | crates/router/src/core/payments/operations/payment_response.rs:2477-2526 \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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b991ac271dd08f3ab802c1c5f4c56c96b61ec4cb46f2fc1601a9e738346170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): crates/router/src/core/user_role.rs:390-440 | crates/router/src/core/user_role.rs:450-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. 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 \u0060req\u0060 to \u0060user_role_api::AcceptInvitationsV2Request\u0060 in one and \u0060user_role_api::AcceptInvitationsPreAuthRequest\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"992f259fe572f8d3b99a028e74862e1276026fc51c4effcb0b50655ebc366a52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (85 lines \u00D7 2): crates/router/src/types/api/connector_mapping.rs:106-190 | crates/router/src/types/api/feature_matrix.rs:19-103 \u2014 before extracting anything, compare \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 426 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 \u0060crates/router/src/types/api/connector_mapping.rs:106\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, \u0060crates/router/src/types/api/connector_mapping.rs:191\u0060 calls \u0060Ok\u0060, \u0060Old\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs:104\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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dee66b67553dcf7b3c46ed2880174b6eba5e58903cf81686c94cf150227655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4461-4510 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1998-2047 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4461\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 \u0060item\u0060 to \u0060PaymentsCancelResponseRouterData\u003CCybersourcePaymentsResponse\u003E\u0060 in one and \u0060PaymentsCancelResponseRouterData\u003CWellsfargoPaymentsResponse\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":4461}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a113b31dbe836b7d453675d8f112dbf461fabf645507455f3e6ef094b14c53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): crates/router/src/core/payment_methods/network_tokenization.rs:133-182 | crates/router/src/core/payment_methods/network_tokenization.rs:305-354 \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 \u0060crates/router/src/core/payment_methods/network_tokenization.rs:133\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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b562a0bae31434dac01871ba6d2582b375b1b8bd425b00c498fd84d4c5172e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48\u201350 lines \u00D7 2): crates/router/src/core/payments.rs:5486-5535 | crates/router/src/core/payments.rs:5636-5683 \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 \u0060crates/router/src/core/payments.rs:5486\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":"crates/router/src/core/payments.rs"},"region":{"startLine":5486}}}],"partialFingerprints":{"codehealthFindingId/v1":"001800b76e0005df2dac62c57db81df4e31a585e557fc581a3bdab94290393a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): crates/router/src/core/refunds_v2.rs:211-260 | crates/router/src/core/refunds_v2.rs:335-384 \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 \u0060crates/router/src/core/refunds_v2.rs:211\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":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e55a42b95e5adf062c0684b08503f847dabd743fc43d74c63991379a78d8de9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): crates/router/src/core/webhooks/incoming_v2.rs:713-761 | crates/router/src/core/webhooks/utils.rs:171-219 \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 \u0060crates/router/src/core/webhooks/incoming_v2.rs:713\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":"crates/router/src/core/webhooks/incoming_v2.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99f39f8bbff67a29c5c30095cc1ab29d213dda6fb5baf0800fb97b160462ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): crates/analytics/src/lib.rs:230-277 | crates/analytics/src/lib.rs:562-609 \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 \u0060crates/analytics/src/lib.rs:230\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":"crates/analytics/src/lib.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0268c9e108487f88fa0823bbb1c2e244b9d84fdcc6a64d3497b74d4ede674fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): crates/analytics/src/payments/metrics/retries_count.rs:48-95 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:48-95 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/retries_count.rs\u0060 and \u0060crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 196 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":"crates/analytics/src/payments/metrics/retries_count.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd6aceaa9de001deaa4768d173d6771761504c9d905215764813ebce87438a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): crates/router/src/core/payment_methods.rs:1474-1521 | crates/router/src/core/payment_methods.rs:1523-1570 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3676d4d3e220736bfc341ccaa8106d9b2a6b5b5c8f675ee93fafee628e61a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): crates/storage_impl/src/kv_router_store.rs:590-637 | crates/storage_impl/src/kv_router_store.rs:758-805 \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":"crates/storage_impl/src/kv_router_store.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"964fff590b23f7c0fd0080f8ab148b619406059e1301ed99ff15caa236b55ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:566-612 | crates/router/src/core/payments/transformers.rs:1961-2007 \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 \u0060crates/router/src/core/payments/transformers.rs:566\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b84fddc99c2cf9be1c7e9abc797d6c479a8352778292c50c9137584d7af7d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 5): crates/analytics/src/lib.rs:126-171 | crates/analytics/src/lib.rs:341-386 | crates/analytics/src/lib.rs:462-507 | crates/analytics/src/lib.rs:672-717 | crates/analytics/src/lib.rs:772-817 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/lib.rs:126\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":"crates/analytics/src/lib.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f112b98d428fad374eda5ee4371f21254da69ed290fa84dc997e8005c1c07cf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2950-2995 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3031-3076 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2950\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsPreAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2950}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d736f010b1621e031fc707ae4d793b749d3d4c7276865e609d62a960330d903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45\u201346 lines \u00D7 2): crates/router/src/utils.rs:862-907 | crates/router/src/utils.rs:1003-1047 \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 \u0060crates/router/src/utils.rs:862\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":"crates/router/src/utils.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f75169964670221551d53ac4fbc212c56c51ff7dc92b90a3507b1176fadf067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 8): crates/analytics/src/sdk_events/metrics/average_payment_time.rs:81-125 | crates/analytics/src/sdk_events/metrics/load_time.rs:81-125 | crates/analytics/src/sdk_events/metrics/payment_attempts.rs:76-120 | crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs:76-120 | crates/analytics/src/sdk_events/metrics/payment_method_selected_count.rs:76-120 | crates/analytics/src/sdk_events/metrics/payment_methods_call_count.rs:84-128 | crates/analytics/src/sdk_events/metrics/sdk_initiated_count.rs:76-120 | crates/analytics/src/sdk_events/metrics/sdk_rendered_count.rs:76-120 \u2014 before extracting anything, compare \u0060crates/analytics/src/sdk_events/metrics/average_payment_time.rs\u0060 and \u0060crates/analytics/src/sdk_events/metrics/load_time.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 117 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 \u0060crates/analytics/src/sdk_events/metrics/average_payment_time.rs:81\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":"crates/analytics/src/sdk_events/metrics/average_payment_time.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61744f2b2f7e81c06effcd6d0d84aa7a6ad42bfcbd27fa34b3b53b093833e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201345 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:234-277 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1785-1829 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1910-1951 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2036-2077 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:234\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"405428b84fcc5ecdbc1e10931290b39de41dbae2cde49a171e6b4fc73703e494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs:354-418 | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs:640-704 \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 \u0060data\u0060 to \u0060\u0026SignifydRouterData\u003C\u0026FrmSaleRouterData\u003E\u0060 in one and \u0060\u0026SignifydRouterData\u003C\u0026FrmCheckoutRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae913636da147de64755970238ee7794d652421161e3617e3cbab608c49b712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): crates/router/src/core/payments.rs:9549-9593 | crates/router/src/core/payments/vault_session.rs:452-496 \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 \u0060crates/router/src/core/payments.rs:9549\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":"crates/router/src/core/payments.rs"},"region":{"startLine":9549}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ff1f01fd057fac082177852f38247f120feca1801b3ebfb44bf2fbed120363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): crates/router/src/services/api.rs:1035-1079 | crates/router/src/services/api.rs:1212-1256 \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 \u0060crates/router/src/services/api.rs:1035\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":"crates/router/src/services/api.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d81f6249b9405c9843ab81a84fb5c3158ccabe7fc88b67a4f3f4bda59d60f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): crates/router/src/workflows/network_tokenization.rs:85-129 | crates/router/src/workflows/network_tokenization.rs:195-239 \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 \u0060crates/router/src/workflows/network_tokenization.rs:85\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":"crates/router/src/workflows/network_tokenization.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0399ade38717317893f65c2a6551d2afde3dc0e792c04766662e0faabcdedfc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44\u201345 lines \u00D7 2): crates/storage_impl/src/authentication.rs:437-481 | crates/storage_impl/src/authentication.rs:538-581 \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 \u0060crates/storage_impl/src/authentication.rs:437\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":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab2b482f68b4f86316b1b36f85e83ab7a6d491eedb095361f2818ea3bc51669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201344 lines \u00D7 3): crates/hyperswitch_domain_models/src/disputes.rs:34-77 | crates/hyperswitch_domain_models/src/disputes.rs:110-147 | crates/hyperswitch_domain_models/src/refunds.rs:132-170 \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 \u0060crates/hyperswitch_domain_models/src/disputes.rs:34\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, \u0060crates/hyperswitch_domain_models/src/refunds.rs:172\u0060 calls \u0060unwrap_or_default\u0060 and \u0060crates/hyperswitch_domain_models/src/disputes.rs:78\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":"crates/hyperswitch_domain_models/src/disputes.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2c0835a34a779a3c96f1df96b4925a9981d2c720b219ba869a8c44811c2fad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): crates/hyperswitch_interfaces/src/api/gateway.rs:425-468 | crates/hyperswitch_interfaces/src/api/gateway.rs:570-613 \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 \u0060crates/hyperswitch_interfaces/src/api/gateway.rs:425\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":"crates/hyperswitch_interfaces/src/api/gateway.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b095eb02ccaca30cd7d51b4da7d0c07f05c320bd7d394408b396f9f612c445c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:648-691 | crates/router/src/core/payment_methods/cards.rs:717-760 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/payment_methods/cards.rs:761\u0060 calls \u0060to_owned\u0060, \u0060into\u0060 and \u0060crates/router/src/core/payment_methods/cards.rs:692\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"071c51f269d7e230b90523e51739b6ac4e70123d8b49a59feaad6dcb74c1d3d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): crates/router/src/core/payments.rs:10577-10619 | crates/router/src/core/payments.rs:10625-10668 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":10577}}}],"partialFingerprints":{"codehealthFindingId/v1":"763adb1c8bc7876ce884101001428b008b92af1b4242f0133d17156b288fe8b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201344 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:4572-4615 | crates/router/src/core/payments/helpers.rs:4637-4678 \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 \u0060crates/router/src/core/payments/helpers.rs:4572\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":4572}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1cd1d8e938afabc76d8b80aaaa541535100f7b9bb4203d9cf4bfc3fa2c299e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:4968-5010 | crates/router/src/core/unified_connector_service.rs:5065-5108 \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 \u0060crates/router/src/core/unified_connector_service.rs:4968\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4968}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e75d961d9bb34486a69afb4402805cf7bb2e50a244d23d676f156457fb7f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1190-1232 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1299-1341 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1190\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e176f4ac085f6009c33dcb17d9b981e26a9dbbe8e4ebd21ca46f6b85c40604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (64 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:602-665 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:683-746 \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 \u0060crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:602\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":"crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a672c1b35a708c241b49eeed5917f09a1732f2704f07f5b2df4b7460985d860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201343 lines \u00D7 2): crates/router/src/core/payments.rs:3483-3521 | crates/router/src/core/payments.rs:3533-3575 \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 \u0060crates/router/src/core/payments.rs:3483\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":"crates/router/src/core/payments.rs"},"region":{"startLine":3483}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cba2aa8531d2a73cdbc72b8a1cc1133910cd5d69ae8b880c5ebb9e2babe51b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:524-566 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:406-448 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/proxy_payments_intent.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 289 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:524\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2c6681a2bd6864717cb6eadae934eded6777378b02c8ae3e9f89c3d562f4c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201343 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:591-632 | crates/router/src/core/payments/tokenization.rs:717-759 \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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a48172bfd07c23ed881ea2d94a85ee1922169b910adf3c44164cef2bdf99c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 5): crates/hyperswitch_domain_models/src/router_data.rs:1330-1371 | crates/hyperswitch_domain_models/src/router_data.rs:1666-1707 | crates/hyperswitch_domain_models/src/router_data.rs:1997-2038 | crates/hyperswitch_domain_models/src/router_data.rs:2296-2337 | crates/hyperswitch_domain_models/src/router_data.rs:2557-2598 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_domain_models/src/router_data.rs:1330\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13c70abaf731a24543f9e8fe584cf3cf87a0b8f947a5c8dd6a45e006c49fe76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): crates/analytics/src/search.rs:62-103 | crates/analytics/src/search.rs:256-297 \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 \u0060crates/analytics/src/search.rs:62\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, \u0060crates/analytics/src/search.rs:299\u0060 calls \u0060Some\u0060, \u0060set_amount_range\u0060 and \u0060crates/analytics/src/search.rs:105\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":"crates/analytics/src/search.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"314d2a3e51f5942a2d9fa27dac6e9c1eae27a8f5161bbd523540ffc65dc14183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs:420-461 | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs:706-747 \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 \u0060crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs:420\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060data\u0060 to \u0060\u0026SignifydRouterData\u003C\u0026FrmSaleRouterData\u003E\u0060 in one and \u0060\u0026SignifydRouterData\u003C\u0026FrmCheckoutRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/signifyd/transformers/api.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc5b68d68f9a98896fd5758376a5d2a0432a682eeace1a8e381758e7497a4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201342 lines \u00D7 2): crates/router/src/core/payment_methods/migration.rs:244-285 | crates/router/src/core/payment_methods/migration.rs:342-377 \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 \u0060crates/router/src/core/payment_methods/migration.rs:244\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":"crates/router/src/core/payment_methods/migration.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb555158b03f79998570eb76ed9e251c64612ca323945ee3eee06f87c8a38a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): crates/router/src/core/user/theme.rs:134-175 | crates/router/src/core/user/theme.rs:290-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 \u0060crates/router/src/core/user/theme.rs:134\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 \u0060request\u0060 to \u0060theme_api::CreateThemeRequest\u0060 in one and \u0060theme_api::CreateUserThemeRequest\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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8119070f62659e493a83487f938f7502ca6c642910a0cc2bb5aa80e735154cff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 4): crates/router/src/core/utils.rs:1351-1391 | crates/router/src/core/utils.rs:1468-1508 | crates/router/src/core/utils.rs:1668-1708 | crates/router/src/core/utils.rs:1926-1966 \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 \u0060crates/router/src/core/utils.rs:1351\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":"crates/router/src/core/utils.rs"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"751a5943eb51f6a01f5c5efec87bfc59b7aaa4ea322467b6e17443b457a8e8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 3): crates/router/src/types/transformers.rs:1236-1276 | crates/router/src/types/transformers.rs:1293-1333 | crates/router/src/types/transformers.rs:1427-1467 \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":"crates/router/src/types/transformers.rs"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0ff1c41426780b62232f29c368130bf9aed785d663fe5a4e5d59352b09ddc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39\u201341 lines \u00D7 2): crates/router/src/core/payments/flows/complete_authorize_flow.rs:385-425 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:475-513 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:385\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61981ce07457328c67ab54436593d11fec52a1f717cfdfcbe44a462d4babb54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:3405-3445 | crates/router/src/core/unified_connector_service.rs:3522-3561 \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 \u0060crates/router/src/core/unified_connector_service.rs:3405\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 \u0060external_vault_merchant_connector_account\u0060 to \u0060MerchantConnectorAccountType\u0060 in one and \u0060MerchantConnectorAccountTypeDetails\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, \u0060crates/router/src/core/unified_connector_service.rs:3446\u0060 calls \u0060parse_value\u0060 and \u0060crates/router/src/core/unified_connector_service.rs:3562\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":3405}}}],"partialFingerprints":{"codehealthFindingId/v1":"e683f9613e5ea58de0f116fe5575e6673480c3506454622708b7a1a0ad54ba00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): crates/router/src/services/api.rs:980-1020 | crates/router/src/services/api.rs:1148-1188 \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 \u0060crates/router/src/services/api.rs:980\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":"crates/router/src/services/api.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7be13fd971dc66119216f3be3bdd31592995b8186a06f1f0235824f3aa21bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource.rs:348-387 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:179-218 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:313-352 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 233 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs: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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1724c07fb036911dc49f7e98cfb4a6fd221a62d55dad7015fd2cdf33a2d3aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4698-4737 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4778-4817 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":4698}}}],"partialFingerprints":{"codehealthFindingId/v1":"1046e062a5ab749a40b0067166a3cb185e54a65a0e4cd8cef662fc570b391233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:819-885 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:947-1013 \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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:819\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsAuthenticateRouterData\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsPostAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"381987acfc50d35221d432cb13785e6ced39008a646283e8ece666e3cc566844"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/hyperswitch_domain_models/src/business_profile.rs:764-803 | crates/hyperswitch_domain_models/src/business_profile.rs:898-937 \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 \u0060crates/hyperswitch_domain_models/src/business_profile.rs:764\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 \u0060value\u0060 to \u0060ProfileSetter\u0060 in one and \u0060ProfileDbBuilder\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":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf4fd79af64137c7ae300745961971534ed0196f9b38c30d0489ec44db010a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:1504-1543 | crates/router/src/core/payment_methods/transformers.rs:1628-1667 \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 \u0060crates/router/src/core/payment_methods/transformers.rs:1504\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060response\u0060 to \u0060\u0026RetrievePaymentMethodResponse\u0060 in one and \u0060\u0026CreatePaymentMethodResponse\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb5b85d549dc1e4665ed06b50f3b4c8443f14c882d6fa2a4806f2399d2a5162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201340 lines \u00D7 2): crates/router/src/core/payments/list.rs:186-222 | crates/router/src/core/payments/list.rs:323-362 \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 \u0060crates/router/src/core/payments/list.rs:186\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":"crates/router/src/core/payments/list.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5340c5125b461e0c69fa236ed8213b5898a477ab4825b4ed3a8734cc43b7eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/router/src/core/payments/routing.rs:559-598 | crates/router/src/core/payments/routing.rs:610-649 \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 \u0060crates/router/src/core/payments/routing.rs:559\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9c170011c5fe2c3c8de2b35a77ac78bd9b79cd93bcd81c422bbf76aae466db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2549-2588 | crates/router/src/core/payments/transformers.rs:8886-8925 \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 \u0060crates/router/src/core/payments/transformers.rs:2549\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2549}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cf52971e3d599dd865fe77f8e044ddf05677d5e04d768b71214ed09fa83d35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/router/src/core/refunds_v2.rs:917-956 | crates/router/src/core/refunds_v2.rs:1015-1054 \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 \u0060crates/router/src/core/refunds_v2.rs:917\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":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bffb3c3f5b4152c9b0a9ce4a255f67caab1d218aa0ed3885b390c9085addbf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:3502-3541 | crates/router/src/core/webhooks/incoming_v2.rs:771-810 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/incoming.rs\u0060 and \u0060crates/router/src/core/webhooks/incoming_v2.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":3502}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb81f532be0cf71ddf1118f9e833f3f51b312b70783d49afe4b7485b6b832b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/router/src/types.rs:394-433 | crates/router/src/types.rs:506-545 \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":"crates/router/src/types.rs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a94b973814b17de6ebd851e2fb63309b8277c0beeb772fb3265def92073a26c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1082-1120 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1152-1190 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1082\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d248f8a2590a0fa205b5ea394948cfe439b514cdaccf9fe7398eb4c66e50af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal.rs:557-595 | crates/hyperswitch_connectors/src/connectors/paypal.rs:692-730 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:557\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e60d8c2d915853151386014aa8d64a6a22a2a44f59beae0eeb43e811fba4cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): crates/router/src/core/fraud_check/operation/fraud_check_post.rs:125-162 | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:113-151 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs\u0060 and \u0060crates/router/src/core/fraud_check/operation/fraud_check_pre.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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 \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be297e96fdd79a03edf0c79e9c45fdc89b3b0253df97e310fa0cd0fa6d8684c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): crates/router/src/core/payment_link.rs:134-171 | crates/router/src/core/payment_link.rs:940-978 \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 \u0060crates/router/src/core/payment_link.rs: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. 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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbc21355e0ca63d4fe942c29a4e2a46150103e96804a243d1ca59dfda5811dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): crates/storage_impl/src/kv_router_store.rs:281-318 | crates/storage_impl/src/kv_router_store.rs:360-397 | crates/storage_impl/src/kv_router_store.rs:429-466 \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 \u0060crates/storage_impl/src/kv_router_store.rs:281\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":"crates/storage_impl/src/kv_router_store.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"01627417fa067eae2f5e0ecc275acd17b2bda0d24e8ff8272b87ea98340aa355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:605-643 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:531-569 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 488 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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cfee3be0e14b727a5583ccd6cf9e42399a3ca2856f684435cb16516f4fd258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3830-3894 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3977-4041 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3830\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 \u0060item\u0060 to \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsAuthenticateRouterData\u003E\u0060 in one and \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsPostAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3829\u0060 calls \u0060get_payer_auth_challenge_code\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3976\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":3830}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc504e74738d8ff7679ea9476099f3a2b4cf3159857a209191d4524988ac40d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs:298-335 | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs:391-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, PlaidPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, PlaidSyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbf547c37dc8af8eee075ab0cf598aa569053fc6cb72902f5cd0fb37fdf45b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/hyperswitch_domain_models/src/business_profile.rs:286-323 | crates/hyperswitch_domain_models/src/business_profile.rs:434-471 \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 \u0060crates/hyperswitch_domain_models/src/business_profile.rs:286\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 \u0060value\u0060 to \u0060ProfileSetter\u0060 in one and \u0060ProfileDbBuilder\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":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"419371c7dfd58b3d628ff531ca329c201cc897aa9d41f0b7f2e4cf03203fe6aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/core/admin.rs:4295-4332 | crates/router/src/core/admin.rs:4547-4584 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":4295}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7428f512c222e2f238604e7939b08a31b56d558d2fe9fe2d6600670c808a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/core/payment_method_balance.rs:380-417 | crates/router/src/core/payment_method_balance.rs:437-474 \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 \u0060crates/router/src/core/payment_method_balance.rs: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":"crates/router/src/core/payment_method_balance.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"3650694cabe0250b0d7ba30c546207fc63f418afc8ddf7a79c39eea77b761e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/core/payments.rs:6700-6737 | crates/router/src/core/payments.rs:7342-7379 \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 \u0060crates/router/src/core/payments.rs:6700\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, \u0060crates/router/src/core/payments.rs:6699\u0060 calls \u0060get_payment_attempt\u0060 and \u0060crates/router/src/core/payments.rs:7335\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":"crates/router/src/core/payments.rs"},"region":{"startLine":6700}}}],"partialFingerprints":{"codehealthFindingId/v1":"355839e87ed57c95b3549dfdf5b69b8653e7d560522274d49b8e0677c9a21a8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/core/payments.rs:8943-8980 | crates/router/src/core/payments.rs:9070-9107 \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 \u0060crates/router/src/core/payments.rs:8943\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":"crates/router/src/core/payments.rs"},"region":{"startLine":8943}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e24b660bfbb63e16c13640244fe8f619da09b186e799b1e8a921db20a89f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:5586-5623 | crates/router/src/core/payments/transformers.rs:5862-5899 \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 \u0060crates/router/src/core/payments/transformers.rs:5586\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5586}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42e5d827aba7b9a8b9b199572e5bfda6cdcff7a00408f0bef894d0b7329beba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/core/user.rs:1013-1050 | crates/router/src/core/user.rs:1168-1205 \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 \u0060crates/router/src/core/user.rs:1013\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, \u0060crates/router/src/core/user.rs:1167\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/user.rs:1012\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":"crates/router/src/core/user.rs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a718a7c2c32cbedb805eb7c62aea4a417f277c2cbd5e6c8b1843b3e160aa5dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/core/user_role.rs:578-615 | crates/router/src/core/user_role.rs:653-690 \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 \u0060crates/router/src/core/user_role.rs:578\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd91c528cf78f8a55ae38161952ee57eb74f9340a1ca5c232d69ef8aeabbf16d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201338 lines \u00D7 2): crates/router/src/core/user_role/role.rs:597-633 | crates/router/src/core/user_role/role.rs:774-811 \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 \u0060crates/router/src/core/user_role/role.rs:597\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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dd10424f16065fa449537ef89b8296647bc873d47dc5ba56d0e1d70cf07b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/services/kafka/authentication.rs:75-112 | crates/router/src/services/kafka/authentication_event.rs:54-91 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/authentication.rs\u0060 and \u0060crates/router/src/services/kafka/authentication_event.rs\u0060 as WHOLE FILES: 88% 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. 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 \u0060crates/router/src/services/kafka/authentication.rs: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":"crates/router/src/services/kafka/authentication.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdfaa6c2e27efd3a4d526eb00f83d471cc1dbacc8e960d8bf5b0f33236b90da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:1177-1214 | crates/storage_impl/src/payments/payment_attempt.rs:1252-1289 \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 \u0060crates/storage_impl/src/payments/payment_attempt.rs:1177\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc41ad6a9e3fa392d03af655b75e6bdba0406947b89ff78249cadf7bfb071c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201337 lines \u00D7 7): crates/router/src/services/authentication.rs:4224-4260 | crates/router/src/services/authentication.rs:4545-4580 | crates/router/src/services/authentication.rs:4787-4822 | crates/router/src/services/authentication.rs:4890-4926 | crates/router/src/services/authentication.rs:5102-5137 | crates/router/src/services/authentication.rs:5304-5338 | crates/router/src/services/authentication.rs:5550-5585 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/services/authentication.rs:4224\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: \u0060crates/router/src/services/authentication.rs:4787\u0060 is reached only past a guard at line 4763 that tests \u0060payload.profile_id\u0060 and leaves the function early, and \u0060crates/router/src/services/authentication.rs:4224\u0060 reads \u0060payload.profile_id\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":4224}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d30831dea1c27b678a3098e78c8b8cbd37d00c75b45a9ce7c9479c9f8061b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 3): crates/router/src/core/payments.rs:1315-1351 | crates/router/src/core/payments.rs:1560-1596 | crates/router/src/core/payments.rs:1993-2029 \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 \u0060crates/router/src/core/payments.rs:1315\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":"crates/router/src/core/payments.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce8fa4b22564c354d2e23baa303f3c22a0611f658b0004d9cfe1b043010c351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:60-96 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:59-95 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 221 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":"crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cc0a074fc4aeee67e603612199be53a605155eb79b227d2d8b8ba85eb119e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/diesel_models/src/query/customers.rs:237-273 | crates/diesel_models/src/query/customers.rs:285-321 \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 \u0060crates/diesel_models/src/query/customers.rs:237\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":"crates/diesel_models/src/query/customers.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc7925f91bfe447fabfe9d29b68491b08913f2dcef2860c60c98a5d3960ad9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:926-962 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:2496-2532 \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 \u0060crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:926\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"5534759359f2943b1f352b61f50c9cd56419f233861f64606416f43e6341c36f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/kgraph_utils/src/mca.rs:612-648 | crates/kgraph_utils/src/mca.rs:673-709 \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 \u0060crates/kgraph_utils/src/mca.rs:612\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":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"6012116496e45efcd34da3729d4c8e8599a83f3d98d3e8e1d5cf24b3873e6642"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (66 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:3374-3439 | crates/router/src/core/payments/transformers.rs:3532-3597 \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 \u0060crates/router/src/core/payments/transformers.rs:3374\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3374}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e7adbc322e2c0d4543d6e07eee639493d4175eed9f6db90ea9b101ac1c593a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:1416-1452 | crates/router/src/core/webhooks/incoming.rs:1497-1532 \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 \u0060crates/router/src/core/webhooks/incoming.rs:1416\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc943949478e66a9837904df1a1f17ea773547758b12ebc9e579f8333e581b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/router/src/types/api/connector_mapping.rs:424-460 | crates/router/src/types/api/feature_matrix.rs:352-388 \u2014 before extracting anything, compare \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 426 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 \u0060crates/router/src/types/api/connector_mapping.rs:424\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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"459b0f62d4ce5972142ff41eda86ff0f9c85451ae605d6683149026b63a9eb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): crates/storage_impl/src/payouts/payout_attempt.rs:718-754 | crates/storage_impl/src/payouts/payout_attempt.rs:797-833 \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":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b55f277db6171feba9d1017024fddd45fd5e2ddbd32f13caa5931e62dcb9523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:167-202 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:178-213 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:167\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc68eb9d73d48b38c0751c87c2a7d07f0ea4499b055040dc0651b61f15532b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201336 lines \u00D7 2): crates/router/src/core/admin.rs:1286-1319 | crates/router/src/core/admin.rs:1369-1404 \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 \u0060crates/router/src/core/admin.rs:1286\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":"crates/router/src/core/admin.rs"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe8e689c1667ded237e2abb40fc1e8aad9069dfc0e32bbe85b225b674d3021b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:1094-1129 | crates/router/src/core/webhooks/outgoing_v2.rs:401-436 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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 \u0060crates/router/src/core/webhooks/outgoing.rs:1094\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"351a17c235c75004419ac611cc80fe950f0da8e08a06550228b156bbc072d79d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): crates/router/src/workflows/dispute_list.rs:44-79 | crates/router/src/workflows/process_dispute.rs:41-75 \u2014 before extracting anything, compare \u0060crates/router/src/workflows/dispute_list.rs\u0060 and \u0060crates/router/src/workflows/process_dispute.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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 \u0060crates/router/src/workflows/dispute_list.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/dispute_list.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ec701dc2d22274f26ea2cd79aed73bd5a24c14b07106a742974c0c9f6359b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): crates/analytics/src/payments/distribution/payment_error_message.rs:106-140 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:107-141 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:99-133 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/distribution/payment_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 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":"crates/analytics/src/payments/distribution/payment_error_message.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c29c2a7172aae84397992f98a6f5b0a62cd986ad4c8a1ca3388d3d194377a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1826-1860 | crates/router/src/utils/user/dashboard_metadata.rs:473-507 | crates/router/src/utils/user/dashboard_metadata.rs:541-575 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1826\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060payments::PaymentListFilterConstraints\u0060 in one and \u0060PaymentListFilterConstraintsV1\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41bd0c4328332ba7b6b2b1df73eb3fa8c190306cd8b7a46959fd72219837815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2348-2403 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3349-3404 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2348\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2348}}}],"partialFingerprints":{"codehealthFindingId/v1":"839d2fcbc41a3504b62e943450a2afbd5f4efd7b44ab12b46ac28c722eb056ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe.rs:3875-3909 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3916-3950 \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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":3875}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd57576d45d06b7152a7619eb7d04f3a7ccbcd7713321077a6880489c0a1ad52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201335 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:7804-7836 | crates/router/src/types.rs:1501-1535 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/types.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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, \u0060crates/hyperswitch_connectors/src/utils.rs:7838\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/types.rs:1537\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7804}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd1cb1d33dfcca601d3274baaf507738fe87b722b721b80e06f518947083c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/router/src/core/admin.rs:4249-4283 | crates/router/src/core/admin.rs:4509-4543 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":4249}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5c0d877f38713b3db06a7da5da689ce084a3ab2b91755b4e99eaacce18a2f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): crates/router/src/core/payment_methods/utils.rs:368-401 | crates/router/src/core/payment_methods/utils.rs:420-454 \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 \u0060crates/router/src/core/payment_methods/utils.rs:420\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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"44013fb80454019ce6553745475a0fb4eddd4a93289eb6d3adf350b792f4a712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/router/src/core/user_role/role.rs:148-182 | crates/router/src/core/user_role/role.rs:281-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 \u0060crates/router/src/core/user_role/role.rs:148\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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6996071424c9fbdd20e5f13f9fb7305bfacdf71478fee76f08b49bd80c313d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/router/src/routes/payments.rs:211-245 | crates/router/src/routes/payments.rs:1075-1109 \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 \u0060crates/router/src/routes/payments.rs:211\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbf83517d844ce502d718a43629307e89761b78ed85d23f1af775865f74cff3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/router/src/services/authentication.rs:5658-5692 | crates/router/src/services/authentication.rs:5777-5811 \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 \u0060crates/router/src/services/authentication.rs:5658\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":5658}}}],"partialFingerprints":{"codehealthFindingId/v1":"2049a518956192431dc4f14fa131857df13a00319804d594e45dc3e58f1f163b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): crates/router/src/types/transformers.rs:1191-1224 | crates/router/src/types/transformers.rs:1378-1412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/types/transformers.rs:1414\u0060 calls \u0060as_ref\u0060, \u0060foreign_from\u0060 and \u0060crates/router/src/types/transformers.rs:1227\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abdfc9e1d82f867a0c0ded8a6a985da3298bbb957ab30d6d84668b34ad15fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1068-1101 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1138-1171 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:688-721 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1068\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f5510263e9136b22a35c200390af5cce7e9b580b92690c08c38e88cd41ccbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:1550-1583 | crates/diesel_models/src/payment_intent.rs:1619-1652 \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 \u0060crates/diesel_models/src/payment_intent.rs:1550\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81a89338ab0ff22e11bcc6f06311014e2113439594e0eebdcb08d221eab3648"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1456-1489 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1521-1554 \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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1456\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 \u0060item\u0060 to \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsPreAuthenticateRouterData\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca6bb44d9196c86c58df363dde6618902b504fec1368eb48e9d042428e56651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1430-1463 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1496-1529 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1430\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c1abb121db355ea373a06fcc608133281b1d8de75225bd0b8eadfe20796bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/hyperswitch_interfaces/src/conversion_impls.rs:236-269 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1134-1167 \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 \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:236\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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e769e592e25362eda3a7b4b0057d29043b34a7dcd155ae4dc8f98c2ec569182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents.rs:149-182 | crates/router/src/compatibility/stripe/setup_intents.rs:135-168 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:149\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb931d31c409622f933e7a2782a9abb8a5c1ced39d18f8dc107781b8803d7f97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/router/src/core/disputes.rs:375-408 | crates/router/src/core/refunds.rs:2086-2119 \u2014 before extracting anything, compare \u0060crates/router/src/core/disputes.rs\u0060 and \u0060crates/router/src/core/refunds.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 99 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 \u0060crates/router/src/core/disputes.rs:375\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":"crates/router/src/core/disputes.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd7d59f8f141e3f9b2d1cfc6c039bc274dba70dda275376062e948e252dba69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/router/src/core/payments.rs:276-309 | crates/router/src/core/payments.rs:387-420 \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 \u0060crates/router/src/core/payments.rs:276\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":"crates/router/src/core/payments.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3e37740f834e67b0f632c879b9fed5b3da471e0f243cca8ff1b960cc9a5b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): crates/router/src/core/payments/operations.rs:875-907 | crates/router/src/core/payments/operations/payment_complete_authorize.rs:562-595 \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":"crates/router/src/core/payments/operations.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"175722a28282c6326b1e8dd0a0b852301b95f06d571737af9a6f8dd8994542fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201334 lines \u00D7 2): crates/router/src/services/authentication.rs:3153-3186 | crates/router/src/services/authentication.rs:3895-3925 \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 \u0060crates/router/src/services/authentication.rs:3153\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59bc44b6bbb944d9b9cb873a704db6472f7bab21bbdf417b3f30433f8720906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): crates/router/src/services/authentication.rs:3509-3541 | crates/router/src/services/authentication.rs:3855-3888 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3509}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ea1fdbd78bd89c91b9d68ba9809645c9148cd3e4082c3be788b762dad1f091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/router/src/services/kafka/payment_attempt.rs:361-394 | crates/router/src/services/kafka/payment_attempt_event.rs:363-396 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/payment_attempt.rs\u0060 and \u0060crates/router/src/services/kafka/payment_attempt_event.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 232 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 \u0060crates/router/src/services/kafka/payment_attempt.rs:361\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":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0185779d44433f213e3fef703f854818431277060655df8aaab24114e1092b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): crates/storage_impl/src/payouts/payout_attempt.rs:682-715 | crates/storage_impl/src/payouts/payout_attempt.rs:761-794 \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 \u0060crates/storage_impl/src/payouts/payout_attempt.rs:682\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":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d5b40ed859698a3a48684b441eecb7ca17852ab295263a25f823c898b6983d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:398-430 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:472-504 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:658-690 \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":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"766de1c9dcb8c1112676b9325d380ca10bfe73757810dc068c5ad5df3f065486"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201333 lines \u00D7 3): crates/hyperswitch_domain_models/src/router_data.rs:1769-1797 | crates/hyperswitch_domain_models/src/router_data.rs:2394-2418 | crates/hyperswitch_domain_models/src/router_data.rs:2648-2680 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payment_data\u0060 to \u0060\u0026payments::PaymentCaptureData\u003Crouter_flow_types::Capture\u003E\u0060 in one and \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::ExternalVaultProxy\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8ab6866a66ba43b4cef9a073645297117407343b1ffedb11707e67e2bd85fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:372-404 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1856-1887 \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 \u0060crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:372\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b979990d148b9587a4922da83e12d630f7f1ff09aa76e6f5a797d0550ca137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1195-1227 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1237-1269 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1195\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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6832b6bfd6147fcf69b92676538a8bc96c90d15280d0e32cf7960c52e5a2905a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:1779-1811 | crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:1118-1148 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 96 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:1779\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:1117\u0060 calls \u0060Some\u0060, \u0060as_ref\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm.rs:1778\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"0900da0c4c2ccaf3d1072c11bfd4f529d4bdd2aa9795a082c94cc597ed3cc9ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:2728-2760 | crates/router/src/core/payments/operations/payment_create.rs:1398-1430 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2728}}}],"partialFingerprints":{"codehealthFindingId/v1":"d821148f9a26b3a346a0d9246ac5c52718105837866c8f2b2bf8e649d2aa5c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201333 lines \u00D7 2): crates/router/src/db/refund.rs:339-371 | crates/router/src/db/refund.rs:1127-1156 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e55a92acd10a213d23e54ab0603c35157a91ae597db13cb9b2188766029f3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): crates/router/src/routes/app.rs:2926-2958 | crates/router/src/routes/app.rs:2975-3007 \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 \u0060crates/router/src/routes/app.rs:2926\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":"crates/router/src/routes/app.rs"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"183760ad85b5f747285cb2105ac92e1b526528f9dbe1ce96968fceca46b88a58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): crates/router/src/routes/profiles.rs:21-52 | crates/router/src/routes/profiles.rs:234-266 \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 \u0060crates/router/src/routes/profiles.rs:21\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":"crates/router/src/routes/profiles.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f308259659d089d80347bd6c1a4c194cf36303850c526df9f3ecea2e380af9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 6): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:612-643 | crates/router/src/core/payments/operations/payment_response.rs:4349-4380 | crates/router/src/core/payments/operations/payment_response.rs:4420-4451 | crates/router/src/core/payments/operations/payment_response.rs:4895-4926 | crates/router/src/core/payments/operations/payment_response.rs:4968-4999 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:494-525 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/proxy_payments_intent.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 289 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:612\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe28f35853f17a34fa8b6e1a28d719e2ecf5048d1f4cd00fc163a6117914088"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): crates/analytics/src/disputes/metrics/dispute_status_metric.rs:66-120 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:66-120 \u2014 before extracting anything, compare \u0060crates/analytics/src/disputes/metrics/dispute_status_metric.rs\u0060 and \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 156 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 \u0060crates/analytics/src/disputes/metrics/dispute_status_metric.rs:66\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":"crates/analytics/src/disputes/metrics/dispute_status_metric.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4975fb943876a36e45a93653868b2f1ca03867a712766cdb15cdea83748fd4e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/hyperswitch_domain_models/src/lib.rs:1032-1063 | crates/hyperswitch_domain_models/src/merchant_account.rs:166-197 \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 \u0060crates/hyperswitch_domain_models/src/lib.rs:1032\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7e22f05c46c9ee5d7d7fbe63f62b9e17855029aa622f257906d39c344d3bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1785-1816 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1966-1995 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1785\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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":1785}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9393c13a0cd7593364fded230f06e31cefe72f81493a71d21d890a221d77956"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): crates/router/src/core/payment_methods.rs:6125-6156 | crates/router/src/core/payment_methods.rs:6184-6214 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":6125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aa71adaa4271ebd9afb5b58617aca79ccae5d99fa833464341e9db74f58ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:343-374 | crates/router/src/core/payments/helpers.rs:404-434 \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 \u0060crates/router/src/core/payments/helpers.rs:343\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dfb4e56e5f6b376a1f1749a95a6c2a227d2e7eea8509266283c3b4a14ae9df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): crates/router/src/core/payments/operations/payment_complete_authorize.rs:304-335 | crates/router/src/core/payments/operations/payment_confirm.rs:521-551 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 as WHOLE FILES: this scan already matched 6 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c83a6cb31de9dd16d6dc93fdafb302045e3117248b78011dfaf81f493589f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): crates/router/src/core/payments/operations/payment_session.rs:347-377 | crates/router/src/core/payments/operations/payment_status.rs:84-115 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_status.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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":"crates/router/src/core/payments/operations/payment_session.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3192f571a601f56408d2a8fe2cb0262a0770e325c87d73d9c916baa74fa37c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:321-352 | crates/router/src/core/payments/transformers.rs:1495-1526 \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 \u0060crates/router/src/core/payments/transformers.rs:321\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"f711e49e2b62a9fe24849f950c0dfbbfa073b093f794c9a61062baa0dd966f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/router/src/core/superposition_sdk_config.rs:319-350 | crates/router/src/core/superposition_sdk_config.rs:429-460 \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 \u0060crates/router/src/core/superposition_sdk_config.rs:319\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":"crates/router/src/core/superposition_sdk_config.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"16134d301eaaac71b0c59ea4e8ad04dea86605c06a548d9a68b36d3441be9c44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/router/src/routes/payments.rs:90-121 | crates/router/src/routes/payments.rs:266-297 \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 \u0060crates/router/src/routes/payments.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/routes/payments.rs:88\u0060 calls \u0060transpose\u0060 and \u0060crates/router/src/routes/payments.rs:264\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cdfff9cac07a79573603c0852a9c6e5493f482ea0f0c9a491f767fcd70ec60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/router/src/routes/payments.rs:2801-2832 | crates/router/src/routes/payments.rs:2874-2905 \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 \u0060crates/router/src/routes/payments.rs:2801\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, \u0060crates/router/src/routes/payments.rs:2873\u0060 calls \u0060Some\u0060, \u0060to_string\u0060 and \u0060crates/router/src/routes/payments.rs:2800\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea647aacc59c1d93977104ee793817dd48c5b0ab64dc29066619fd21e00b4be9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/router/src/services/kafka/refund.rs:50-81 | crates/router/src/services/kafka/refund_event.rs:51-82 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/refund.rs\u0060 and \u0060crates/router/src/services/kafka/refund_event.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 134 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":"crates/router/src/services/kafka/refund.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac15fdcec392cf2982f092c1f6db4b1f3a327205656216fdeabc2454492143d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201332 lines \u00D7 2): crates/router/src/types/storage/refund.rs:104-133 | crates/router/src/types/storage/refund.rs:502-533 \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 \u0060crates/router/src/types/storage/refund.rs:104\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15dd354fb35454c7086db19a66b37d4c0cc237406ad99e47bfaa43f3c04dd14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/router/src/utils/user/dashboard_metadata.rs:700-731 | crates/router/src/utils/user/dashboard_metadata.rs:900-931 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/utils/user/dashboard_metadata.rs:933\u0060 calls \u0060get_payment_advanced_view_filters\u0060 and \u0060crates/router/src/utils/user/dashboard_metadata.rs:733\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":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a276850286e8a353497896de2ccc383c964b8332225bae6241a5abcb92ac340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:638-669 | crates/storage_impl/src/business_profile.rs:1735-1766 \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 \u0060crates/storage_impl/src/business_profile.rs:638\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e442b8e0052b4364f0447e9cd2f7a5a1b8c6771670d8c70f8bf0107c78a0773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 4): crates/router/src/core/fraud_check/flows/checkout_flow.rs:188-218 | crates/router/src/core/fraud_check/flows/record_return.rs:130-160 | crates/router/src/core/fraud_check/flows/sale_flow.rs:182-212 | crates/router/src/core/fraud_check/flows/transaction_flow.rs:149-179 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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 \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:188\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, \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:187\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/fraud_check/flows/record_return.rs:129\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":"crates/router/src/core/fraud_check/flows/checkout_flow.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"98021ada122e02aab812e8d0b200b369e23c717d73700101eca6a4b0e86f0b1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:805-835 | crates/router/src/core/payment_methods/cards.rs:913-943 | crates/router/src/core/payment_methods/cards.rs:1022-1050 \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 \u0060crates/router/src/core/payment_methods/cards.rs:805\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d79e6c6a8215f72d8f21e2169b14e6cd305aef00ba019c988533d890a87ae23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 2): crates/analytics/src/sqlx.rs:209-238 | crates/analytics/src/sqlx.rs:394-424 \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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e12071c7ca7fb3089fffee0725162aebf732eb5657fa67696f014a4c8a06ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1761-1791 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2677-2707 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7cbb83e5048e0dc8d7772be4f25e177f96557efd85363e5c5721722804fe5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/kgraph_utils/src/mca.rs:225-255 | crates/kgraph_utils/src/mca.rs:419-449 \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 \u0060crates/kgraph_utils/src/mca.rs:225\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060pm_types\u0060 to \u0060common_types::payment_methods::RequestPaymentMethodTypes\u0060 in one and \u0060RequestPaymentMethodTypes\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":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"931cee2428fab3b35d547a00046282c942d496a92e15b9dd912aad599d7d67d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:1472-1502 | crates/router/src/core/payment_methods/transformers.rs:1596-1626 \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 \u0060crates/router/src/core/payment_methods/transformers.rs:1472\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 \u0060response\u0060 to \u0060\u0026RetrievePaymentMethodResponse\u0060 in one and \u0060\u0026CreatePaymentMethodResponse\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdcd4cdbba48aa807abd59d66dd3529f30e52a3bea2c8a09e9c10655a6fc67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201331 lines \u00D7 2): crates/router/src/core/payments.rs:2309-2339 | crates/router/src/core/payments.rs:2396-2424 \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 \u0060crates/router/src/core/payments.rs:2309\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, \u0060crates/router/src/core/payments.rs:2341\u0060 calls \u0060with_profile_id\u0060, \u0060get_id\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/payments.rs:2426\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":"crates/router/src/core/payments.rs"},"region":{"startLine":2309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5991064675e1d4e1889ae8c9ff3900fac6a06fd855905e6b31de0190c3bca597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:1183-1213 | crates/router/src/core/payments/operations/payment_create.rs:828-858 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:1183\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a317d0996ccbcc4a95f33254a045de39af3bccaeef9809f229a498e6a1b5b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): crates/router/src/core/refunds_v2.rs:180-207 | crates/router/src/core/refunds_v2.rs:303-333 \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 \u0060crates/router/src/core/refunds_v2.rs:303\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":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5fe81e1ffae17d798f175213a04ab89c0e899da37aa50a0b46c1507cd0ccab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): crates/router/src/db/refund.rs:174-204 | crates/router/src/db/refund.rs:578-605 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"262f51105bc5b8b1afe7e754eb4977d226ee225400c541c62093adef35a9851a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/router/src/routes/payments.rs:4606-4636 | crates/router/src/routes/payments.rs:4710-4740 \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 \u0060crates/router/src/routes/payments.rs:4606\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, \u0060crates/router/src/routes/payments.rs:4604\u0060 calls \u0060get_locking_input\u0060, \u0060clone\u0060 and \u0060crates/router/src/routes/payments.rs:4708\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":4606}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da8cac68ce8b1c5a7a006a3ca0b37e06473a40a642f0c1e7f87f600ffa9a924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): crates/router/src/services/kafka/payment_attempt.rs:83-145 | crates/router/src/services/kafka/payment_attempt_event.rs:84-146 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/payment_attempt.rs\u0060 and \u0060crates/router/src/services/kafka/payment_attempt_event.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 232 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":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7621adff9dfbbe46c7ee43a1ec7319aef8f7ecc7039e141a83e1f69922477de1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): crates/router/src/types/api/connector_mapping.rs:348-395 | crates/router/src/types/api/feature_matrix.rs:257-304 \u2014 before extracting anything, compare \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 426 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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fd197862c4e765304f92de542c50f3a49f5d02ed94105197d862b4717223ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): crates/router/src/workflows/outgoing_webhook_retry.rs:79-109 | crates/router/src/workflows/outgoing_webhook_retry.rs:329-356 \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":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ae39b953076289784f1ab75e27ee1b431c48cc2d6a8424ee2f049c02158c50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:1456-1486 | crates/storage_impl/src/payments/payment_attempt.rs:1618-1648 \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 \u0060crates/storage_impl/src/payments/payment_attempt.rs:1456\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d92db39fa5315cfeac79a8760fc31759e45c2f967e2231aaab9c46ed7d6e209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): crates/hyperswitch_domain_models/src/lib.rs:1024-1053 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1831-1860 | crates/router/src/utils/user/dashboard_metadata.rs:478-507 | crates/router/src/utils/user/dashboard_metadata.rs:546-575 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 88 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 \u0060crates/hyperswitch_domain_models/src/lib.rs:1024\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060payments::PaymentListFilterConstraints\u0060 in one and \u0060PaymentListFilterConstraintsV1\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, \u0060crates/router/src/utils/user/dashboard_metadata.rs:508\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_domain_models/src/lib.rs:1054\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d8f680c1a42eb406eae3eaac49e3837749b30027d980516c972b70838e29da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource.rs:289-318 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:350-379 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:254-283 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 233 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:289\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"554b6d9965e8f2d5bfb14d0b6fa579332dbd45436a3c69d0ff47c958b1d442e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 3): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:549-578 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:848-877 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:431-460 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 173 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:549\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"b887c457313ea2da9430e644e46103b96c439db0311fd9e260602a24c6bab7c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:1027-1056 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1902-1931 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:1027\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcf325c4177438644484186cec386968f0fc1c06f7aadb89fab272fb03d73e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:895-944 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1047-1096 \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 \u0060crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:895\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 \u0060item\u0060 to \u0060\u0026NexixpayRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026NexixpayRouterData\u003C\u0026PaymentsPreAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a28dd2315aad6a46b4f88aba4975f408250f17352db49a9b324ff906c5ff400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:899-927 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:943-972 \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 \u0060crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:899\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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd0e02cc2420138ac82d9f8a8ff209b7f7ad8686334f6e03a3417e839544d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/hyperswitch_interfaces/src/conversion_impls.rs:281-310 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1179-1208 \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 \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:281\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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"b723af87bccd4b654459f21af8822cd106401264c78131b63ec2651744907d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/router/src/compatibility/stripe/refunds.rs:90-119 | crates/router/src/compatibility/stripe/refunds.rs:136-165 \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 \u0060crates/router/src/compatibility/stripe/refunds.rs:90\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":"crates/router/src/compatibility/stripe/refunds.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9633759babf210f525af946c61484f36d574912e4b7f714daf01845c93da80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/router/src/core/admin.rs:2115-2144 | crates/router/src/core/admin.rs:2293-2322 \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 \u0060crates/router/src/core/admin.rs:2115\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2115}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa0bc55b04150577fb0a04a3cc0e941631483498694b300832d9d62644d9cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): crates/router/src/core/fraud_check/operation/fraud_check_post.rs:425-453 | crates/router/src/core/fraud_check/operation/fraud_check_post.rs:470-499 \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 \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs:425\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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a20bffa03b95ae6df8475e892f450bffbfe9430d640ef6a006a891beae16986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:838-867 | crates/router/src/core/payment_methods/cards.rs:946-974 \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 \u0060crates/router/src/core/payment_methods/cards.rs:838\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d2f57c58a318fa638de0daa1c42c94411f4b28998360a2bc7327b8ecc5007d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201330 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:2156-2185 | crates/router/src/core/payment_methods/transformers.rs:2487-2513 \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 \u0060crates/router/src/core/payment_methods/transformers.rs:2156\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ba4b2fc8e6afb80b45ec1790cb2b1581e0d6971f64bf1494594e84dc90131c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/router/src/core/proxy/utils.rs:300-329 | crates/router/src/core/proxy/utils.rs:379-408 \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 \u0060crates/router/src/core/proxy/utils.rs:300\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":"crates/router/src/core/proxy/utils.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a004b3e63851debf0067d0dd2f7e8a06b1c36964d006d9e57ef64f456eb17c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): crates/router/src/core/refunds_v2.rs:886-913 | crates/router/src/core/refunds_v2.rs:984-1013 \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 \u0060crates/router/src/core/refunds_v2.rs:984\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":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ea8a4cbbcb00eae220ed99837a3aba4b0915d19bc78a00f37088ab76bd8a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): crates/router/src/core/user_role/role.rs:86-115 | crates/router/src/core/user_role/role.rs:216-245 \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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b2a5018b101aca94f2b94f7772b7ad3abb90778f3d95be783b52a67dbd3b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201330 lines \u00D7 2): crates/router/src/db/refund.rs:299-328 | crates/router/src/db/refund.rs:1047-1073 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"623bf32d4473b122f88016e1e75d5658557b274da7f14a3c3a81cf07947100af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): crates/router/src/routes/subscription.rs:216-245 | crates/router/src/routes/subscription.rs:284-312 \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 \u0060crates/router/src/routes/subscription.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/routes/subscription.rs:214\u0060 calls \u0060default\u0060 and \u0060crates/router/src/routes/subscription.rs:282\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":"crates/router/src/routes/subscription.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c57792f5e670b9658aa92a431820ced512cd22bf60a9f7c95630e5c4d9018e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): crates/smithy/src/lib.rs:1158-1185 | crates/smithy/src/lib.rs:1251-1280 \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 \u0060crates/smithy/src/lib.rs:1158\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, \u0060crates/smithy/src/lib.rs:1285\u0060 calls \u0060is_ident\u0060 and \u0060crates/smithy/src/lib.rs:1190\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":"crates/smithy/src/lib.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db9b76fc56f002b68dd258959a650467bd11c7c02af8d08c3e06378825a29d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 5): crates/hyperswitch_domain_models/src/lib.rs:1180-1208 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2324-2352 | crates/hyperswitch_interfaces/src/conversion_impls.rs:278-306 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1176-1204 | crates/storage_impl/src/payments/payment_attempt.rs:2401-2429 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 88 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 \u0060crates/hyperswitch_domain_models/src/lib.rs:1180\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cd163b49bd6960b1e86aa7e7b7a408274e4a6f633822e971983ee7188ee8ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 3): crates/hyperswitch_domain_models/src/lib.rs:1182-1210 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2359-2387 | crates/storage_impl/src/payments/payment_attempt.rs:2431-2459 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 88 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 \u0060crates/hyperswitch_domain_models/src/lib.rs:1182\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c710261c688ffc0201954ec786ea1c7255bf555da670971eefc99d09579eb4f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:101-129 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:104-131 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 150 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 \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:101\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":"crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be14380cf907281421b518173d2dbe34508a26f822d25d74201adf49244a3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): crates/analytics/src/refunds/metrics/refund_processed_amount.rs:71-98 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:78-106 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 140 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":"crates/analytics/src/refunds/metrics/refund_processed_amount.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79833ce6cf951c9e1b1028dd60dfcac3e59b93bfa9410285bd8659bba5f3d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nordea.rs:503-531 | crates/hyperswitch_connectors/src/connectors/nordea.rs:668-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 \u0060crates/hyperswitch_connectors/src/connectors/nordea.rs:503\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":"crates/hyperswitch_connectors/src/connectors/nordea.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6ec1546de8d66950f62a0febfb0ca2179e2e92cc9ac09cd710655be560edbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201329 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/santander.rs:296-319 | crates/hyperswitch_connectors/src/connectors/santander.rs:1749-1777 \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 \u0060crates/hyperswitch_connectors/src/connectors/santander.rs:296\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsUpdatePostConfirmRouterData\u0060 in one and \u0060\u0026PaymentsPreAuthorizeCancelRouterData\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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3567234edb7daac888f60a979d0ea65a3a361e157c6e58513c244477ed264947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:121-149 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:281-309 \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 \u0060crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:121\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":"crates/hyperswitch_connectors/src/connectors/stax/transformers.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"451a142644c42ef264643f114a48d78bcd66b5df57ab197171ddc961b5885b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:3677-3705 | crates/router/src/connector/utils.rs:2023-2051 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":3677}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8ff0d3b80a735c816fe97fcffcb5e0387a6487a901563c6e9d32be4412e278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments.rs:800-828 | crates/hyperswitch_domain_models/src/payments.rs:854-882 \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 \u0060crates/hyperswitch_domain_models/src/payments.rs:800\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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"619b4f7e30fda25d898ee88ecacf93aa12894d9f9461e37ad0f2c383ad29f759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/hyperswitch_interfaces/src/api.rs:288-316 | crates/hyperswitch_interfaces/src/connector_integration_v2.rs:197-225 \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":"crates/hyperswitch_interfaces/src/api.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0e6522a33bf3f44b0bced7c37c59446da9bb6a67aadebbe2c44f95ed5990b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): crates/router/src/core/customers.rs:308-335 | crates/router/src/core/customers.rs:1576-1604 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/customers.rs:337\u0060 calls \u0060get_account\u0060, \u0060get_id\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/customers.rs:1606\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":"crates/router/src/core/customers.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f194c98117995fd5c31aa40fba102121c758200d27ab8d4ef460fac56c89f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/core/payment_methods.rs:5198-5226 | crates/router/src/core/payment_methods/vault.rs:2851-2879 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods.rs\u0060 and \u0060crates/router/src/core/payment_methods/vault.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5198}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c45579931124576d75316e840bcb668904d617302cb411bd5b5feaa274ca94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:280-308 | crates/router/src/core/payment_methods/transformers.rs:315-343 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa731ae9bd8f85bcdca2af5abe4e282a577daef47cb6c72909f28f613aef73ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201329 lines \u00D7 2): crates/router/src/core/payment_methods/utils.rs:636-662 | crates/router/src/core/payment_methods/utils.rs:664-692 \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 \u0060crates/router/src/core/payment_methods/utils.rs:636\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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeb78b315934942e51003137d62899241b30619727eb91e5fdb286c35e5d3c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/core/payments.rs:1234-1262 | crates/router/src/core/payments.rs:1440-1468 \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 \u0060crates/router/src/core/payments.rs:1234\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":"crates/router/src/core/payments.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0af8db6f09db2d074c3f63b2fe749f6a03319439b6dff34a93097f4b5443bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/core/payments/flows/complete_authorize_flow.rs:944-972 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1198-1226 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:944\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"7963d6a4ed1dd828a7f0aaea1527c71358c90a57b6474c639c5eb47fe3605e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:401-429 | crates/router/src/core/payments/transformers.rs:1859-1887 \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 \u0060crates/router/src/core/payments/transformers.rs:401\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc74a7fc2abbe9bc59cf39e9e44b639f096a11cc3dd7d2f943732cd629dc1357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:5949-5976 | crates/router/src/core/payments/transformers.rs:7687-7715 \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 \u0060crates/router/src/core/payments/transformers.rs:5949\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5949}}}],"partialFingerprints":{"codehealthFindingId/v1":"27482466cb0353d81b19f0f16d15ef116e4c035dcaf3ece9beb3d2232d2049af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/core/routing/helpers.rs:2220-2248 | crates/router/src/core/routing/helpers.rs:2367-2395 \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 \u0060crates/router/src/core/routing/helpers.rs:2220\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2220}}}],"partialFingerprints":{"codehealthFindingId/v1":"827adf174504fcaffad7c0cd8d91e6ecb91b280cf69789544c7abac053ff6dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/db/events.rs:1293-1321 | crates/router/src/db/events.rs:1526-1554 \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 \u0060crates/router/src/db/events.rs:1293\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":"crates/router/src/db/events.rs"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa32d79a57f31743033f7514dff2c0273e8fba49f0cb6fbb16b0f8940c12542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/services/authentication.rs:3351-3379 | crates/router/src/services/authentication.rs:3414-3442 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/services/authentication.rs:3410\u0060 calls \u0060get_id_type_by_key_from_headers\u0060, \u0060to_string\u0060, \u0060get_required_value\u0060 and \u0060crates/router/src/services/authentication.rs:3348\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3351}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb08516f2043879f4ed0493e2d3bb5dadf6dafb3bc2a7a86bdd1cfa5478cdb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): crates/router/src/services/kafka/dispute.rs:47-91 | crates/router/src/services/kafka/dispute_event.rs:47-91 \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":"crates/router/src/services/kafka/dispute.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b26b8ff429cb381fa8fae19800fe5953a6cb73aa458257613a0465c081ac76c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): crates/router/src/utils.rs:798-826 | crates/router/src/utils.rs:940-967 \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 \u0060crates/router/src/utils.rs:798\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":"crates/router/src/utils.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"05981173010fdbe0183708b4ca4c0186d7d66a0867ee0f1c4d49846676577e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:2355-2383 | crates/storage_impl/src/business_profile.rs:2418-2446 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ffa98c975f0627e5a5b5c40b2ddcbb81a7aa60d8e209cf9718d1cfae0876bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): crates/analytics/src/api_event/core.rs:116-143 | crates/analytics/src/disputes/core.rs:52-79 | crates/analytics/src/frm/core.rs:45-72 \u2014 \u0060crates/analytics/src/api_event/core.rs\u0060 and \u0060crates/analytics/src/disputes/core.rs\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/api_event/core.rs:116\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060GetApiEventMetricRequest\u0060 in one and \u0060GetDisputeMetricRequest\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":"crates/analytics/src/api_event/core.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c720ac5338c9a1476dba7741b2de5f6dcf13f9ceca9789348632609748d75a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource.rs:117-144 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:94-121 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:98-125 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 233 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:117\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4ec99799132f35ed6c18aafc7ff68d8814519b45f4d469f4d485347d5fb173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:878-906 | crates/storage_impl/src/business_profile.rs:670-697 | crates/storage_impl/src/business_profile.rs:1754-1781 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:878\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aed9ede537c42c0f5647a87b97d110f0c4a27251b72a02b46c81b3ece5cea63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:385-412 | crates/router/src/core/payments/transformers.rs:708-734 | crates/router/src/core/payments/transformers.rs:1843-1870 \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 \u0060crates/router/src/core/payments/transformers.rs:385\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff184a4d448acdac740f7629b3c0551071bcaf75f4af0272c479571b55045d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 3): crates/router/src/services/api.rs:1037-1064 | crates/router/src/services/api.rs:1214-1241 | crates/router/src/services/api.rs:1258-1284 \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 \u0060crates/router/src/services/api.rs:1037\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":"crates/router/src/services/api.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"488f04e783def71ca9877effecbbf9a20b880f9281dfa027e9c6f11a06de8bed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authipay.rs:115-142 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:99-126 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/authipay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/fiserv.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/hyperswitch_connectors/src/connectors/authipay.rs:115\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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaf2ac0c449058dc9c70dc138aa1aab36fbb169191bc4c11ca9572285f2fb19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/hyperswitch_interfaces/src/api/gateway.rs:395-422 | crates/hyperswitch_interfaces/src/api/gateway.rs:540-567 \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 \u0060crates/hyperswitch_interfaces/src/api/gateway.rs:395\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":"crates/hyperswitch_interfaces/src/api/gateway.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9e203c651177922eafa60e352470584c32236cc5ceedca153893026dfd2efd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents/types.rs:293-320 | crates/router/src/compatibility/stripe/setup_intents/types.rs:186-213 \u2014 \u0060crates/router/src/compatibility/stripe/payment_intents/types.rs\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents/types.rs\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 125 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060StripePaymentIntentRequest\u0060 in one and \u0060StripeSetupIntentRequest\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":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d1c0a4d6a8efc2a723941aa36e6b16d2c73b81bfc2cb392cd65e0dd1ab25be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201328 lines \u00D7 2): crates/router/src/core/payment_methods.rs:1874-1901 | crates/router/src/core/payment_methods.rs:1990-2015 \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 \u0060crates/router/src/core/payment_methods.rs:1874\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74c2264fc0499ad5fbb2e896a8e52cac94d5852ad78884e88d2cf5ef89e4635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/router/src/core/payment_methods/network_tokenization.rs:860-887 | crates/router/src/core/payment_methods/network_tokenization.rs:928-955 \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 \u0060crates/router/src/core/payment_methods/network_tokenization.rs:860\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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64e3af0f0bdf47c5ddd6e5f5befb99c538a98b766b7e64b02dec4fdfbcfa3c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): crates/router/src/core/payment_methods/utils.rs:758-784 | crates/router/src/core/payment_methods/utils.rs:788-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 \u0060crates/router/src/core/payment_methods/utils.rs:758\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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"44708bfc3cc335ad2d66f845866b58cd06dcb455f225efafc0f3d46cec3eef38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201328 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:823-850 | crates/router/src/core/payments/helpers.rs:867-891 \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 \u0060crates/router/src/core/payments/helpers.rs:823\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dd5978c7be8a539a2114e69bf818f4aedca3097e3ebd97ab26a67155b1d40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/router/src/core/payouts.rs:1919-1946 | crates/router/src/core/payouts.rs:1962-1989 \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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f601f7c9b700e5576c91003a7e0b5a38d8e84e2867fae22ee3900001f1cff1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:145-172 | crates/router/src/core/unified_authentication_service.rs:370-397 \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 \u0060crates/router/src/core/unified_authentication_service.rs:145\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f7d8ad85e768a03277689560882d3bb99ec4d0d7ab9216c3b48c13531777f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): crates/router/src/db/dispute.rs:148-175 | crates/router/src/db/dispute.rs:508-534 \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":"crates/router/src/db/dispute.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"06fa26b8bae9afc49e8d9c2baed9ce52888d423e5b10e81c3171e0a42584269a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): crates/router/src/services/authentication.rs:1861-1888 | crates/router/src/services/authentication.rs:2393-2420 \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 \u0060crates/router/src/services/authentication.rs:1861\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c36e5dc0c1fe6877b668415ccec2401f3958e2dd62538166e1b34c15f7e96df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): crates/router/src/services/authentication.rs:3071-3097 | crates/router/src/services/authentication.rs:3433-3460 \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 \u0060crates/router/src/services/authentication.rs:3071\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3071}}}],"partialFingerprints":{"codehealthFindingId/v1":"891b6a87ea6b9afe55f71de020169be9c75440748261c70a6c2c72358de0bd3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): crates/router/src/workflows/attach_payout_account_workflow.rs:28-55 | crates/router/src/workflows/payout_sync.rs:46-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/workflows/attach_payout_account_workflow.rs:28\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":"crates/router/src/workflows/attach_payout_account_workflow.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87ad47731255b170cdccb48f4127184f187fa27870e540860bcc660a82a3454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 4): crates/hyperswitch_domain_models/src/payment_method_data.rs:662-688 | crates/hyperswitch_domain_models/src/payment_method_data.rs:752-778 | crates/hyperswitch_domain_models/src/payment_method_data.rs:856-882 | crates/hyperswitch_domain_models/src/payment_method_data.rs:962-988 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs:689\u0060 calls \u0060clone\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs:883\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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2f4362214b34bff87228bd4ed140295f8ea2e685dc283584028640a63baacf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 3): crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:90-115 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:92-117 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:87-113 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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 \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:90\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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6699522dafda005d0ec4cc12c7aa132767e954d82698ed4b13ed6954c4fb3c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 3): crates/router/src/core/disputes.rs:363-385 | crates/router/src/core/payments/filters.rs:55-81 | crates/router/src/core/refunds.rs:2074-2096 \u2014 before extracting anything, compare \u0060crates/router/src/core/disputes.rs\u0060 and \u0060crates/router/src/core/refunds.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 99 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 \u0060crates/router/src/core/disputes.rs:363\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":"crates/router/src/core/disputes.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf8b2459651e9b54c05dac6374513dbc19f10db3f111077251f839ba0798c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): crates/router/src/core/payments/operations/payment_cancel.rs:170-196 | crates/router/src/core/payments/operations/payment_capture.rs:226-252 | crates/router/src/core/payments/operations/payment_session.rs:154-180 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_capture.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 272 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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9b22eb8c1396575b956f5f10f866b5c1ba3f97f5528403a45d2c244568d418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): crates/router/src/core/utils.rs:1415-1441 | crates/router/src/core/utils.rs:1735-1761 | crates/router/src/core/utils.rs:1993-2019 \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 \u0060crates/router/src/core/utils.rs:1415\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":"crates/router/src/core/utils.rs"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c5c70b2732efdfd913c2053eb6ccabba22831cf47f128a6170ac8f143b194b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 3): crates/router/src/types/storage/dispute.rs:82-108 | crates/router/src/types/storage/dispute.rs:149-172 | crates/router/src/types/storage/dispute.rs:213-236 \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":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6c38b33faebdec51df480e10243a31143e49c04ccf3367271382ed77724e2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/analytics/src/clickhouse.rs:570-596 | crates/analytics/src/sqlx.rs:1541-1567 \u2014 before extracting anything, compare \u0060crates/analytics/src/clickhouse.rs\u0060 and \u0060crates/analytics/src/sqlx.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 91 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 \u0060crates/analytics/src/clickhouse.rs:570\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, \u0060crates/analytics/src/sqlx.rs:1539\u0060 calls \u0060to_sql\u0060, \u0060attach_printable\u0060 and \u0060crates/analytics/src/clickhouse.rs:569\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":"crates/analytics/src/clickhouse.rs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"2646a9bce4c6af2069b18e715eac93d721391fd59b7daaaa9846786d1da020b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/diesel_models/src/authentication.rs:533-559 | crates/diesel_models/src/payment_attempt.rs:2723-2749 \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 \u0060crates/diesel_models/src/authentication.rs:533\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, \u0060crates/diesel_models/src/authentication.rs:530\u0060 calls \u0060default\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2722\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":"crates/diesel_models/src/authentication.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0290297ec0a28b01a033f855299b27b5ae86192fed947fa7763f46ced9d0a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:1228-1254 | crates/diesel_models/src/payment_intent.rs:1376-1402 \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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef71ccff4725c3f82e5005a45af1806a235f1d1748ca3faef034cc0dd3417a25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1289-1315 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1416-1442 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 36 separate duplicated blocks between them, totalling at least 453 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1289\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"18351990a23425913b4ff4ab613ca1f05f7bd4a71d995824ff54a6e524eefc1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:236-262 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:297-323 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 233 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:236\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3915d44171e3f71874e3f5e500240dc0c347a6019d7628990c64a104e0480eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2624-2650 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1252-1278 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2624\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 \u0060item\u0060 to \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026WellsfargoRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ccdb37c7e48cdc060fc3bbfbce4aa2ff0fc6f1dc0422375c9202612b4e0de69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:821-847 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:986-1012 \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 \u0060item\u0060 to \u0060\u0026NexixpayRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026NexixpayRouterData\u003C\u0026PaymentsPreAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91bac6b864c7114ca5dfe4066ad815b0b551ef678c297d1ab0899156edcdce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1290-1316 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1370-1396 \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 \u0060crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1290\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":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"89daf73a32cc27f6573963fc1850d2850f805f328396452dd21bb60511d1c091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:303-329 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1790-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 \u0060crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:303\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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64acd14e7c6c52e0ada7608672e5acb33f07cb310d445a2a66bdbc1032fb1d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:803-847 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1269-1313 \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 \u0060crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:803\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, NovalnetPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, NovalnetPSyncResponse, PaymentsSyncData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d827c09ad1cfdcb3c63bea5d85d3b9905f39a2e53660fa6ca4cf6433a6b08858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe.rs:1932-1958 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2095-2121 \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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":1932}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fc3e35d94c186482514b2bef86c95a655bdf953a30789e5d9f853e8adff3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs:116-142 | crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs:207-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 \u0060crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs:116\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":"crates/hyperswitch_connectors/src/connectors/tokenex/transformers.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a752126699c456aeea1df83e0500b020df1b981527da3d258e63c954304c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpay.rs:167-193 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:492-518 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs:167\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, \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs:195\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs:520\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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b7cfbdff9ba56e804b717050a989d5dab1357f80648762068ab4f125391a80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents.rs:322-348 | crates/router/src/compatibility/stripe/payment_intents.rs:417-443 \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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:322\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c37bbed7c1171e06a0eacbf93fe37d412c4bb75c111e7289a4eba028658dc05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/core/payment_methods/access_token.rs:145-171 | crates/router/src/core/payouts/access_token.rs:171-197 \u2014 \u0060crates/router/src/core/payment_methods/access_token.rs\u0060 and \u0060crates/router/src/core/payouts/access_token.rs\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 5 separate duplicated blocks between them, totalling at least 120 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/access_token.rs:145\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, \u0060crates/router/src/core/payouts/access_token.rs:170\u0060 calls \u0060into\u0060 and \u0060crates/router/src/core/payment_methods/access_token.rs:144\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":"crates/router/src/core/payment_methods/access_token.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c33bf07364b77ae10a75bff09e4a9699bf6e4bbdb357ec22d3500843b50d717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:3440-3466 | crates/router/src/core/payment_methods/cards.rs:3516-3542 \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 \u0060crates/router/src/core/payment_methods/cards.rs:3440\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3440}}}],"partialFingerprints":{"codehealthFindingId/v1":"5022a24fb7173e5b35c863216faf0d77c1e559a6c3dfda2d49ecf480534b79da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/core/payments.rs:1184-1210 | crates/router/src/core/payments.rs:1390-1416 \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 \u0060crates/router/src/core/payments.rs:1184\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":"crates/router/src/core/payments.rs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1e6dcfa43a66dddf0de8883bc3d1c626b2d5545fffa398e241fba5e0fa4765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): crates/router/src/core/payments.rs:5393-5418 | crates/router/src/core/payments.rs:5590-5616 \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 \u0060crates/router/src/core/payments.rs:5393\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, \u0060crates/router/src/core/payments.rs:5420\u0060 calls \u0060get_payment_action\u0060 and \u0060crates/router/src/core/payments.rs:5617\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":"crates/router/src/core/payments.rs"},"region":{"startLine":5393}}}],"partialFingerprints":{"codehealthFindingId/v1":"544e9b4fb2d1f427af8e490b1f8aafa5efa64e8f606c0cc919f6d2155a713b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:785-811 | crates/router/src/core/payments/operations/payment_create.rs:588-614 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd8ce66328225e3165c3f766269e29f76a34dbf8c8e0153685a9ab6a03bb4cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/core/payments/routing.rs:2984-3010 | crates/router/src/core/payments/routing.rs:3148-3174 \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 \u0060crates/router/src/core/payments/routing.rs:2984\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":2984}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbcc0d0861352c609973e6b6fe37633a98debedcb11b61385e7694432e358f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:3339-3365 | crates/router/src/core/payments/transformers.rs:3500-3526 \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 \u0060crates/router/src/core/payments/transformers.rs:3339\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, \u0060crates/router/src/core/payments/transformers.rs:3367\u0060 calls \u0060get_upi_next_action\u0060 and \u0060crates/router/src/core/payments/transformers.rs:3528\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4576c009b866d82826df9d4b13cc8a5f6c79a3acfd78a7b7c9cce2e1ab0863b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 2): crates/router/src/core/user/theme.rs:207-233 | crates/router/src/core/user/theme.rs:419-441 \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 \u0060crates/router/src/core/user/theme.rs:207\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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"8015dd47cd15194baf5cd7103381b39fbef5355f8e53ae247e12a1a6cbd1dd8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:1370-1396 | crates/router/src/core/webhooks/outgoing_v2.rs:627-653 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e0350dba991f9437b4a1ae76d50f0e49f092e17c4d61aa41804be7ad04c26c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/db/refund.rs:1450-1476 | crates/router/src/db/refund.rs:1509-1535 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"728e6c5228a180c5a6d950f494a84290dc2d2694d3917a2cdfef6cfe348a7507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/router/src/routes/payments.rs:627-653 | crates/router/src/routes/payments.rs:4687-4713 \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 \u0060crates/router/src/routes/payments.rs:627\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, \u0060crates/router/src/routes/payments.rs:4685\u0060 calls \u0060get_locking_input\u0060, \u0060clone\u0060 and \u0060crates/router/src/routes/payments.rs:625\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ad362e8802e4ba96fa4eeb2493156b5679bfa4e755180f7abf9888c42e0c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:448-474 | crates/storage_impl/src/merchant_connector_account.rs:504-530 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:448\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5598e0c5b9980c52976ed7d94a95ee5f244db12314166f4f18d684a906f76e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 5): crates/api_models/src/cards_info.rs:368-393 | crates/router/src/core/cards_info.rs:358-383 | crates/router/src/types/transformers.rs:909-934 | crates/router/src/types/transformers.rs:2909-2934 | crates/router/src/types/transformers.rs:2956-2981 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060card_info_types::CardInfoCreateRequest\u0060 in one and \u0060card_info_types::CardInfoUpdateRequest\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 before the matched lines, \u0060crates/router/src/core/cards_info.rs:356\u0060 calls \u0060to_string\u0060 and \u0060crates/api_models/src/cards_info.rs:367\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":"crates/api_models/src/cards_info.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d1f3009216a3166c56859b02f2f6e372bb8c12a7345334970821143451c7c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:89-114 | crates/analytics/src/payments/metrics/debit_routing.rs:77-102 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:71-96 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:77-102 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs\u0060 and \u0060crates/analytics/src/payments/metrics/debit_routing.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 115 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 \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs: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":"crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29c5907b49c8715097793ec9f8dce67e5de9c49129e720f60fe7f76a8ce3ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): crates/router/src/core/payments/operations/payment_response.rs:1094-1119 | crates/router/src/core/payments/operations/payment_response.rs:1431-1456 | crates/router/src/core/payments/operations/payment_response.rs:2377-2402 | crates/router/src/core/payments/operations/payment_response.rs:2545-2570 \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. 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ff0cb23f2a88b2488d67d2db1b18e4bac5fdbb657de6a4856441e4bb256b39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 3): crates/diesel_models/src/authentication.rs:534-558 | crates/diesel_models/src/payment_attempt.rs:2508-2533 | crates/diesel_models/src/payment_attempt.rs:2724-2748 \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 \u0060crates/diesel_models/src/authentication.rs:534\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, \u0060crates/diesel_models/src/payment_attempt.rs:2534\u0060 calls \u0060Some\u0060 and \u0060crates/diesel_models/src/authentication.rs:559\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":"crates/diesel_models/src/authentication.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf19920fb4045b8e84c46b424fdc13140828c2ca716b406f5bd99c3b5ea3439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:245-291 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:268-314 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:181-227 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:245\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f189581c0164ee19b733e2550dee563f676bd5edf6d6f825c1f0764422ab61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:120-145 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:112-137 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 221 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 \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:120\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":"crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e7c68f6ad500f9807a34772ec911df08fd1c4ee04b4afbf797178b981c1449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/analytics/src/sdk_events/metrics/average_payment_time.rs:41-66 | crates/analytics/src/sdk_events/metrics/load_time.rs:41-66 \u2014 before extracting anything, compare \u0060crates/analytics/src/sdk_events/metrics/average_payment_time.rs\u0060 and \u0060crates/analytics/src/sdk_events/metrics/load_time.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 117 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":"crates/analytics/src/sdk_events/metrics/average_payment_time.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"30eb3ec8fb3f359805fe8be313b3b47fcab8a8313a14988dfc219b99c8b17ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/api_models/src/enums.rs:100-125 | crates/api_models/src/enums.rs:131-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"crates/api_models/src/enums.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b360b93da125c667e8c57102ce8ebe20c3429ef354bbe092f4eca05c0dd8012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs:107-132 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2327-2351 \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 \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs:107\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AbsaSanlamWebhookEvent, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, BraintreeCancelResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a15d08fd7d1658f71fb04ad3d92b32ae865f558f2464c71ac14f1f38f279082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1422-1447 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1656-1681 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f8a4e4ee252504b690435ce64589f2ac3d8e972dae6771a4da36345223764e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:1489-1513 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:2104-2129 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:1489\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"741847e597a66b27e57c8239d6ed091f6ad7463cfb183871a64f94ab05e018d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/hyperswitch_domain_models/src/relay.rs:645-670 | crates/hyperswitch_domain_models/src/relay.rs:702-727 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_domain_models/src/relay.rs:645\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":"crates/hyperswitch_domain_models/src/relay.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"676cfdb01362a6b5881567b7e9c466ee85df1c9f8841307674419625ec70f8a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/core/disputes.rs:458-483 | crates/router/src/core/disputes.rs:588-613 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/disputes.rs:586\u0060 calls \u0060get_evidence_request_data\u0060 and \u0060crates/router/src/core/disputes.rs:456\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":"crates/router/src/core/disputes.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0158fc91bcd00e2c54cd3d6f2205ba13507cfbdf7f41086a2e6b6fcdaa577b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): crates/router/src/core/payments/flows/authorize_flow.rs:1436-1460 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1358-1383 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/flows/authorize_flow.rs\u0060 and \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5b2e65f145ed5ba896d97dbd01e9a6f72391738f87d85166049871b32be334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/core/payments/flows/complete_authorize_flow.rs:572-597 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:635-660 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:572\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0a336785fe4b95513216f4e599f286f7916de4f1b7dd1e86df130e2eebac5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/core/pm_auth.rs:56-81 | crates/router/src/core/pm_auth.rs:730-755 \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":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"00601bc4a4890ad3d3af5bd69b07e01438eb223771b27d42b186e97231b4f90b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/routes/pm_auth.rs:20-45 | crates/router/src/routes/pm_auth.rs:86-111 \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":"crates/router/src/routes/pm_auth.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d3bb1065bdab517de68f3a52772fb6925744d956727d650fa8824e775c979c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/routes/profiles.rs:78-103 | crates/router/src/routes/profiles.rs:313-338 \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 \u0060crates/router/src/routes/profiles.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/routes/profiles.rs:312\u0060 calls \u0060into_inner\u0060 and \u0060crates/router/src/routes/profiles.rs:77\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":"crates/router/src/routes/profiles.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9658e67ce7d3e5029aa6ecf0ec38f2a528ce876bb8872e8fd0d66db07262aba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/services/authentication.rs:1005-1030 | crates/router/src/services/authentication.rs:1090-1115 \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 \u0060crates/router/src/services/authentication.rs:1005\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"577229e2cd653233f8f785acb62a883026bf186a695fc39cdfc6051efa55b5e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/services/kafka/fraud_check.rs:38-63 | crates/router/src/services/kafka/fraud_check_event.rs:37-62 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/fraud_check.rs\u0060 and \u0060crates/router/src/services/kafka/fraud_check_event.rs\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"crates/router/src/services/kafka/fraud_check.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"762239901ff8f3c30abbc87745a443b4c61abee81d8b29362c906121273d774d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/workflows/payment_method_modular_backward_compat.rs:918-943 | crates/router/src/workflows/payment_method_modular_forward_compat.rs:596-621 \u2014 before extracting anything, compare \u0060crates/router/src/workflows/payment_method_modular_backward_compat.rs\u0060 and \u0060crates/router/src/workflows/payment_method_modular_forward_compat.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f19c5c718df667eb88d2e86d98af23acf7e361729066cb4d7d32bab73c033a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/storage_impl/src/merchant_account.rs:718-743 | crates/storage_impl/src/merchant_account.rs:754-779 \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 \u0060crates/storage_impl/src/merchant_account.rs:718\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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c3af15decbd9732e23c7b05d36e450079c08130ab875186b8c675ae2d79ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/storage_impl/src/merchant_account.rs:1254-1279 | crates/storage_impl/src/merchant_account.rs:1400-1425 \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 \u0060crates/storage_impl/src/merchant_account.rs:1254\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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cce76a10c82f47404567692f9a8418dbf114b4981a7fc0069edac74d2c08d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 6): crates/analytics/src/sdk_events/metrics/payment_attempts.rs:41-65 | crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs:41-65 | crates/analytics/src/sdk_events/metrics/payment_method_selected_count.rs:41-65 | crates/analytics/src/sdk_events/metrics/payment_methods_call_count.rs:41-65 | crates/analytics/src/sdk_events/metrics/sdk_initiated_count.rs:41-65 | crates/analytics/src/sdk_events/metrics/sdk_rendered_count.rs:41-65 \u2014 before extracting anything, compare \u0060crates/analytics/src/sdk_events/metrics/payment_attempts.rs\u0060 and \u0060crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 103 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":"crates/analytics/src/sdk_events/metrics/payment_attempts.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1640c027d79e5b7429763dae1170d4109b30cdc3dab75c8b164b4b04cef1c1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 5): crates/analytics/src/lib.rs:176-200 | crates/analytics/src/lib.rs:391-415 | crates/analytics/src/lib.rs:512-534 | crates/analytics/src/lib.rs:722-744 | crates/analytics/src/lib.rs:822-844 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/lib.rs:176\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/lib.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c45d91f7a21eb08ec4c9373022c02b6407b66d4685bf13e475105ce5afdc650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 5): crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:89-113 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:85-109 | crates/analytics/src/payments/metrics/debit_routing.rs:77-101 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:71-95 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:77-101 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:85\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":"crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b5ba64c5c8cdc4ccc12bfdac170e64cf2044862fa46c644c24e2c31b0c1170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): crates/router/src/core/relay.rs:237-261 | crates/router/src/core/relay.rs:372-396 | crates/router/src/core/relay.rs:509-533 | crates/router/src/core/relay.rs:643-667 \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. 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":"crates/router/src/core/relay.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"113e690d63cbb4620643215abc4b00c9e90a1139196420eccbb985db7c214c6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): crates/router/src/core/payment_methods/access_token.rs:159-183 | crates/router/src/core/payments/access_token.rs:492-516 | crates/router/src/core/payouts/access_token.rs:185-209 \u2014 \u0060crates/router/src/core/payment_methods/access_token.rs\u0060 and \u0060crates/router/src/core/payouts/access_token.rs\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 5 separate duplicated blocks between them, totalling at least 120 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/access_token.rs:159\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":"crates/router/src/core/payment_methods/access_token.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"91547de6e5c3fd9198726b56afed904553979db95e7adfa9c69ba225a6e76fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:75-99 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:74-98 \u2014 before extracting anything, compare \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs\u0060 and \u0060crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 159 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 \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:75\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":"crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ae7edf76ffc875a85128dc1d1f72f56333a7aeed55ddff9ba8e4b7374b2a14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/analytics/src/payments/metrics/connector_success_rate.rs:64-88 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:65-89 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs\u0060 and \u0060crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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":"crates/analytics/src/payments/metrics/connector_success_rate.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1299cd1c7f68a83c1f4c0955e3366d1e68749575be81554dd05c9aaedb6d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/api_models/src/payments.rs:2976-3000 | crates/api_models/src/payments.rs:3009-3033 \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 \u0060crates/api_models/src/payments.rs:2976\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":"crates/api_models/src/payments.rs"},"region":{"startLine":2976}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a20522a5d02acac73c2c3d486811984782f6823cee693c1db467380fea74cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:952-976 | crates/diesel_models/src/payment_intent.rs:1019-1043 \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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"82dc7b8483b53dfdffe07f5439ab8006c6f0683f1b51453f85fd0370e72adf37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:1213-1237 | crates/diesel_models/src/payment_intent.rs:1706-1730 \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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6571dbea2ff008afdaf584903966bd7c63751fa2ee01ce6eec39d2fbb4de35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:1838-1862 | crates/diesel_models/src/payment_intent.rs:1972-1996 \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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5be82fc51b203fbeb68ffc2af895dd3f80a3810faed4fef19b6e16cd6f177e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/diesel_models/src/payment_method.rs:717-741 | crates/diesel_models/src/payment_method.rs:831-855 \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 \u0060crates/diesel_models/src/payment_method.rs:717\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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f593de2e9a076206efdd996a00bf7d804721c859dc70d32a612e67c095c59a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:1414-1438 | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:1503-1527 \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 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:1414\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AirwallexPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, AirwallexRedirectResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42353e4825b37c4641c8c5ba1f8fcc1e11bcca86a51df520879f08a876453fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:390-414 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2626-2650 \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 \u0060item\u0060 to \u0060\u0026BraintreeRouterData\u003C\u0026types::PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026BraintreeRouterData\u003C\u0026types::PaymentsCompleteAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f385cba6bdda745c5894fd725b09c6d35c16d2a1a4d9b25db8b065d8bb42d034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:1407-1431 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:1441-1465 \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 \u0060crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:1407\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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3ba99344365fcb4f606587bbf431285890457124e25c42e8c75ccb3dcbe15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3527-3569 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1801-1843 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":3527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ead819097415f8f6e4187fe32a09a4a3053e499c78d8b951ecc45ad0bb33507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:419-443 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1902-1926 \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 \u0060crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:419\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"513248c7c861f476e638a1f24f2f4e3cd5a1900f8f61925ed10dc82dedc2eefc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1588-1612 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1750-1773 \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 \u0060crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1588\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44e17302ca075617cb2315353aa1b055e77375ad66d03e8e187e3647f0457f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/square/transformers.rs:186-210 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:315-339 \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 \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs:186\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":"crates/hyperswitch_connectors/src/connectors/square/transformers.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"800037a5e003dec2fa94331db0b686dd018c22b187f43b27a6efd8b7f13bdbc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2890-2954 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3389-3453 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2890\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2890}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce25d2e893d5c858241c9448c1b3c1c4bf637803d2e2b878b0459bbb4a8e8229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201325 lines \u00D7 2): crates/hyperswitch_interfaces/src/api_client.rs:589-607 | crates/hyperswitch_interfaces/src/api_client.rs:609-633 \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":"crates/hyperswitch_interfaces/src/api_client.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d839c4eb57d49d637f2327f3c395af081e793028a613eb7b7b9399e6285e337"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/hyperswitch_interfaces/src/conversion_impls.rs:319-343 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1217-1241 \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 what the matched lines are: every one of them assigns one field to another, so the block is a hand-written mapper between two data shapes rather than behaviour with a helper inside it. Extracting one shared function only works if both sites map the SAME pair of types in the same direction \u2014 check that first, because inverse or differently-typed mappers have no single function they can both call. Where they do not, the moves that exist are a generated or reflective mapper, a common embedded/base type the fields live on once, or accepting the run and covering it with a test that fails when a field is added to one side only."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"07af946ac85b3d4d93a73023c2298a21f0da3507792710a2a8e2bc9affa7783e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:1298-1320 | crates/router/src/core/payment_methods/cards.rs:1388-1412 \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 \u0060crates/router/src/core/payment_methods/cards.rs:1298\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35c101c92c849dc24b629cd925e1348863f077fce7eca82ee299a93eeb602ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:1054-1078 | crates/router/src/core/payments/transformers.rs:2354-2378 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fe533f96489adc34fdc63599562dfb85d84d30adf49e22134c2dc9a22d248c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2590-2614 | crates/router/src/core/payments/transformers.rs:8927-8951 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27563f1d69f6e210762c9107d2ee6fc32f343a8e2276b014c85c2344e42bfa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:4581-4605 | crates/router/src/core/unified_connector_service.rs:4824-4848 \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 \u0060crates/router/src/core/unified_connector_service.rs:4581\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4581}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f08bf3366fa75c816ba88e7eee49f533f09d8dccbffa65d91666de37127b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:1240-1264 | crates/router/src/core/webhooks/outgoing.rs:1338-1361 \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 \u0060crates/router/src/core/webhooks/outgoing.rs:1240\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"049e662285574ac55141d4b3aebaf4cb4ab01d30268c91a3ecca0173c69bee3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): crates/router/src/routes/payments.rs:842-866 | crates/router/src/routes/payments.rs:927-949 \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 \u0060crates/router/src/routes/payments.rs:842\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc934abc85a6db6e8c0e762e9d6e23b4e0e4a1b8a102515d185f33ae869a64c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/router/src/routes/payments.rs:3634-3658 | crates/router/src/routes/payments.rs:3681-3705 \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 \u0060crates/router/src/routes/payments.rs:3634\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":3634}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bd8d3a75971db1cec89d4ad6123a51d0f97082ea0906277f7b20d83043510c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/router/src/routes/routing.rs:726-750 | crates/router/src/routes/routing.rs:767-791 \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 \u0060crates/router/src/routes/routing.rs:726\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a1f8ccdfa1475168c4049ef101f995d06e88755ac500d7318de628d3a28220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/router/src/routes/routing.rs:853-877 | crates/router/src/routes/routing.rs:957-981 \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 \u0060crates/router/src/routes/routing.rs:853\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"426a596af65dc2e440996353cf855ae90580e7d3b4c1a2495136a5130e8c954d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/router/src/workflows/network_tokenization.rs:131-155 | crates/router/src/workflows/network_tokenization.rs:241-265 \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 \u0060crates/router/src/workflows/network_tokenization.rs:131\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":"crates/router/src/workflows/network_tokenization.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a83b16444eb5f6a0bc17b508533d2167c17a64b7ea6a15b2f382722670eb32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/router/src/workflows/outgoing_webhook_retry.rs:120-144 | crates/router/src/workflows/outgoing_webhook_retry.rs:385-409 \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 \u0060crates/router/src/workflows/outgoing_webhook_retry.rs:120\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":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca6a298fb5de3aae2180f19f4d4847991908cf85889bd28da733b18e8ddd922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:814-838 | crates/storage_impl/src/business_profile.rs:866-890 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"f155f58b0d919ac3924a7be35df5a8deed13193b40c5ad21b6844adbc1c78964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 11): crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:81-104 | crates/analytics/src/auth_events/metrics/authentication_count.rs:68-91 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:71-94 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:72-95 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:78-101 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:72-95 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:82-105 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:75-97 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:79-102 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:75-98 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:79-102 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 188 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 \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:81\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":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"80179e47455f472c1409b4856ac552efaf3390c1565141547dc839e29cf894de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 7): crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:129-151 | crates/router/src/core/utils.rs:872-895 | crates/router/src/core/utils.rs:1316-1338 | crates/router/src/core/utils.rs:1431-1453 | crates/router/src/core/utils.rs:1751-1773 | crates/router/src/core/utils.rs:1891-1913 | crates/router/src/core/utils.rs:2009-2031 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/fulfillment_flow.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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 \u0060crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:129\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/utils.rs:1428\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:126\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":"crates/router/src/core/fraud_check/flows/fulfillment_flow.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c81468d0a7ef2b43fbf69a1e7b256db80ab813227092710858487124c7189f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:276-299 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:299-322 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:247-270 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:308-331 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:212-235 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:276\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, \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:246\u0060 calls \u0060clone\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:275\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed390ae388c667e23bf7405ce6970dd8907a18bc21fdf3fee0d615b2935710d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 5): crates/storage_impl/src/merchant_account.rs:947-969 | crates/storage_impl/src/merchant_account.rs:980-1003 | crates/storage_impl/src/merchant_account.rs:1013-1036 | crates/storage_impl/src/merchant_account.rs:1045-1068 | crates/storage_impl/src/merchant_account.rs:1081-1104 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/storage_impl/src/merchant_account.rs:1012\u0060 calls \u0060Some\u0060 and \u0060crates/storage_impl/src/merchant_account.rs:1044\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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b696861bf9d32f3ab6b4598632d0fbdb05e57850e97dea923dfa3d49ed809b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:77-100 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:71-94 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:73-96 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:71-94 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 117 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 \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:77\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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dabebf1a64bdf8e501c7dd3404a37ecfff92d32332fc798103dbe042246a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): crates/router/src/db/refund.rs:1808-1831 | crates/router/src/db/refund.rs:1913-1936 | crates/router/src/db/refund.rs:2139-2162 | crates/router/src/db/refund.rs:2242-2265 \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 \u0060crates/router/src/db/refund.rs:1808\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":"crates/router/src/db/refund.rs"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e7663d7127f5f007528158b09859d17a82bbcd0839600debfaa4ca0b385a97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): crates/analytics/src/sqlx.rs:352-375 | crates/analytics/src/sqlx.rs:525-548 | crates/analytics/src/sqlx.rs:1023-1045 \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 \u0060crates/analytics/src/sqlx.rs:352\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"1552bf3a77e3437a1d82a9ed28cbe1bde2a37af13bdccfb9dd0fe1000cdbcd4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): crates/analytics/src/sqlx.rs:735-757 | crates/analytics/src/sqlx.rs:862-885 | crates/analytics/src/sqlx.rs:1003-1025 \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 \u0060crates/analytics/src/sqlx.rs:735\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"612d183509f1345455621d37971fcf3e4292f918e1667d86fef899a2931593da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): crates/diesel_models/src/payment_attempt.rs:2513-2536 | crates/diesel_models/src/payouts.rs:199-221 | crates/hyperswitch_domain_models/src/payouts/payouts.rs:268-290 \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 \u0060crates/diesel_models/src/payment_attempt.rs:2513\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2513}}}],"partialFingerprints":{"codehealthFindingId/v1":"060de7d637f3d977c42d34f76e15774f08c0fd32aa06d5b2358bdb11842a72c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4666-4689 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4747-4769 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4826-4849 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4666\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":4666}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c630f2c4ba5ad2aeb11a47318424545c27cfe9419e6564b3c03e4f850b53a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201324 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2373-2396 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3374-3397 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:2443-2461 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2373\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b9b90b8906078dd722cc9475744878afceeea6f8f51d81555c01c35f8e3a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): crates/hyperswitch_domain_models/src/type_encryption.rs:119-142 | crates/hyperswitch_domain_models/src/type_encryption.rs:358-381 | crates/hyperswitch_domain_models/src/type_encryption.rs:831-854 \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. 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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf8f602ea4460ac9cb47ff0a6a58ce70f2ad7f9ce3e5648b915ccacb7394539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): crates/hyperswitch_domain_models/src/type_encryption.rs:228-251 | crates/hyperswitch_domain_models/src/type_encryption.rs:466-489 | crates/hyperswitch_domain_models/src/type_encryption.rs:934-957 \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. 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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e1f4b5941bbcb4a292175f362a75ef5016957e4d68809f31cb9c7d47a1daf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): crates/router/src/core/payouts.rs:2374-2397 | crates/router/src/core/payouts.rs:2628-2651 | crates/router/src/core/payouts.rs:3206-3229 \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, \u0060crates/router/src/core/payouts.rs:3233\u0060 calls \u0060with_connector\u0060 and \u0060crates/router/src/core/payouts.rs:2654\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2374}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a023e100d8520af126b901a7d3954196fc93666e7cfd0fd8d7bbee118c13dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): crates/router/src/db/refund.rs:618-641 | crates/router/src/db/refund.rs:1090-1113 | crates/router/src/db/refund.rs:1173-1196 \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 \u0060crates/router/src/db/refund.rs:618\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":"crates/router/src/db/refund.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ae508d3a0292f21d1137405a53795f76ad4e320bc86cc9e20af89cb1805e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:75-98 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:74-97 \u2014 before extracting anything, compare \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs\u0060 and \u0060crates/analytics/src/disputes/metrics/total_amount_disputed.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 158 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 \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:75\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":"crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"626c7a06302a3c930b7877c909732ec0b8cd4e30379f9b6451f8adb76e7a271d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): crates/analytics/src/payments/metrics/debit_routing.rs:43-66 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:44-66 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/debit_routing.rs\u0060 and \u0060crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 215 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":"crates/analytics/src/payments/metrics/debit_routing.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4f7833c4c317651d32cb3476c65eb7c2415e2353e98f89234798916a527ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/analytics/src/sqlx.rs:773-796 | crates/analytics/src/sqlx.rs:909-932 \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 \u0060crates/analytics/src/sqlx.rs:773\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"5977e6f1b63ff17543794685c2a0e1c36cf2777dce792c54edf952c00f87e8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/api_models/src/payments.rs:4102-4130 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4075-4103 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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. 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":"crates/api_models/src/payments.rs"},"region":{"startLine":4102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fecf8b6b1e1553a53fe63f33e2d6e706ecb19e708e514dbb5769c38e809a46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:1421-1444 | crates/diesel_models/src/payment_intent.rs:1491-1514 \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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5552348cdf7fceaa84924966a286ae2bcfa79386203fac19dc80507c197edef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:2178-2201 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1482-1505 \u2014 before extracting anything, compare \u0060crates/diesel_models/src/payment_intent.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 before the matched lines, \u0060crates/diesel_models/src/payment_intent.rs:2176\u0060 calls \u0060now\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1480\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":2178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03dab5287e4d3e52af0b1f6f0b5423a7383d767c366f68fc9b1733bca9bcbcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:559-582 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:315-338 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:559\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba68d5e9a677c8720ea3fee9fcb47ac0d29b73b9e91c56531a61019d8faf921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:5617-5640 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:497-520 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs\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 6 separate duplicated blocks between them, totalling at least 86 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:5617\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":5617}}}],"partialFingerprints":{"codehealthFindingId/v1":"369b706b633b4ac8240f6d18cd7ae0f7f2b5f97bb6476e6c48c9ac443e4d8dad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs:661-684 | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs:705-728 \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":"crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"a839c3b79ff4a507e370d63f574cbcc43d10b420fe3aaf822ca5af4a76b4eec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe.rs:284-307 | crates/hyperswitch_connectors/src/connectors/stripe.rs:461-482 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:284\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 \u0060req\u0060 to \u0060\u0026ConnectorCustomerRouterData\u0060 in one and \u0060\u0026TokenizationRouterData\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd6f420fcf904eabb991b3e34f15bd7dfb03e0383f930fae59f4ae886f38396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2473-2496 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3201-3223 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2473\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba75f3f92b00fba8ca5a6c3b094543b6a392e1029853e85a80e88569496de71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1404-1427 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1471-1494 \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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c960b8c783e0593c4a07951050232401bac125e6edbe2ddb9c053b84a1de69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/admin.rs:1837-1860 | crates/router/src/core/admin.rs:1928-1951 \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 \u0060crates/router/src/core/admin.rs:1837\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":"crates/router/src/core/admin.rs"},"region":{"startLine":1837}}}],"partialFingerprints":{"codehealthFindingId/v1":"e719d85cb7d1547fd216b34b6e8f5aeef5846b22a672f2bb4ee183c5bbdab8ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/payment_methods/access_token.rs:60-83 | crates/router/src/core/payouts/access_token.rs:80-103 \u2014 \u0060crates/router/src/core/payment_methods/access_token.rs\u0060 and \u0060crates/router/src/core/payouts/access_token.rs\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 5 separate duplicated blocks between them, totalling at least 120 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/access_token.rs:60\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":"crates/router/src/core/payment_methods/access_token.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"62564b6eb38e15c861d8c02fdee3b8cc2ae3ff5e6e27b9b574cffe4b06cc14e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): crates/router/src/core/payment_methods/vault.rs:2762-2785 | crates/router/src/core/payment_methods/vault.rs:3454-3476 \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 \u0060crates/router/src/core/payment_methods/vault.rs:2762\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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2762}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4d49d1d99460ce8907a67ddaadf656b4d9f58992bf7c2ba01ff1ca22af59cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/payments/callback_urls.rs:121-144 | crates/router/src/core/payments/callback_urls.rs:253-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. 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":"crates/router/src/core/payments/callback_urls.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e22d34b01c2228e82c89cc1ece635930c947ae1b71486bafacd11a73087f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/payments/callback_urls.rs:155-178 | crates/router/src/core/payments/callback_urls.rs:287-310 \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":"crates/router/src/core/payments/callback_urls.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"681d866d5d46c342bb16cbc43c9c980dc42fa4af1d8be99705d550e3a94dbc81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): crates/router/src/core/payments/flows/authorize_flow.rs:1739-1762 | crates/router/src/core/payments/flows/authorize_flow.rs:1888-1910 \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 \u0060crates/router/src/core/payments/flows/authorize_flow.rs:1739\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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d96f8e57ec7c6a753a2e66af9d3cb08f81abd688102512e62f985d496396562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/payments/flows/complete_authorize_flow.rs:823-846 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:985-1008 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:823\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"a813834f9acd020aef9fca08ed3b503f97f7ebcf1460534d5ac6c7f1dfc61154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/payments/flows/complete_authorize_flow.rs:1093-1116 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1239-1262 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:1093\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6762a72afd018280127e73579e9eed5c110073373e388782fb933de820cf4ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:3787-3810 | crates/router/src/core/payments/helpers.rs:8890-8911 \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 \u0060crates/router/src/core/payments/helpers.rs:3787\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3787}}}],"partialFingerprints":{"codehealthFindingId/v1":"0748145ba9e5bf3bf82a00eaf52d4e11d36a112ffd8d74d66c1d3309156a2aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:144-167 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:156-179 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 and \u0060crates/router/src/core/payments/operations/payments_extend_authorization.rs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 320 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 \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:144\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":"crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"997d11fd775f4fe7336947a5268735ae92c12d16ddf86ff0cb285eaa8fe70459"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): crates/router/src/core/payments/operations/payment_capture_v2.rs:282-303 | crates/router/src/core/payments/operations/payment_get.rs:313-336 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_capture_v2.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_get.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060crates/router/src/core/payments/operations/payment_get.rs:313\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":"crates/router/src/core/payments/operations/payment_capture_v2.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa4946fc1dfa442c7ea2c531bc6bff6e7ebd7d267f4e1c53e83d2015b9cfe72a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:3370-3392 | crates/router/src/core/payments/operations/payment_update.rs:1054-1077 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 111 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:3370\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":3370}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec9e4b1d40ed5f97e18486f29485abc07a61510630d6fdd8cfce29a149e0169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/payments/operations/payment_response.rs:1607-1630 | crates/router/src/core/payments/operations/payment_response.rs:1763-1786 \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 \u0060crates/router/src/core/payments/operations/payment_response.rs:1607\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1607}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea78108dd76c33d4bd2f974b995860568a96fb6e5c49cb7e2d1453871748917b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/refunds.rs:2955-2978 | crates/router/src/core/refunds_v2.rs:1551-1574 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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 \u0060crates/router/src/core/refunds.rs:2955\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2955}}}],"partialFingerprints":{"codehealthFindingId/v1":"71da6c89a27a927221e75a8294abab62c6129bc56e49b32fd45b6eb905c6b8a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/routing/helpers.rs:2549-2572 | crates/router/src/core/routing/helpers.rs:2627-2650 \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 \u0060crates/router/src/core/routing/helpers.rs:2549\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2549}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0beb6d7655824cd4744d09664166442dcefe17da61f6b8965d200fe10cc225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): crates/router/src/core/superposition_sdk_config.rs:294-316 | crates/router/src/core/superposition_sdk_config.rs:402-425 \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 \u0060crates/router/src/core/superposition_sdk_config.rs:294\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":"crates/router/src/core/superposition_sdk_config.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16899b1a8f3c04b8ec06a6418d6a5001f4609638fcc64001ba1db0c15071c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/user_role.rs:207-230 | crates/router/src/core/user_role.rs:562-585 \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":"crates/router/src/core/user_role.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"205c02dda7b3ad76f6e3d605d70e7c76f57d153563f70330e8a62cb9d3d988b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/core/user_role.rs:291-314 | crates/router/src/core/user_role.rs:637-660 \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":"crates/router/src/core/user_role.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8f3d4f5164d22d883b216c6b20d5e24d488df2da7bff4088e6ca4509b3d882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/db/address.rs:707-730 | crates/router/src/db/address.rs:740-763 \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":"crates/router/src/db/address.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39ab942806d6ed7e36a4e22c575eeebcd779e4a9348f3339ef125448cb85373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/db/dispute.rs:475-498 | crates/router/src/db/dispute.rs:550-573 \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 \u0060crates/router/src/db/dispute.rs:475\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":"crates/router/src/db/dispute.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae7614e616bb4e8eacd920828b20ca49e13cbb08129dfcb19412e294d45636a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 2): crates/router/src/db/reverse_lookup.rs:125-148 | crates/storage_impl/src/lookup.rs:99-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/reverse_lookup.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/reverse_lookup.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c38408bf2a8e8771456bfac2916ba4e5ac90ba03cc474f84020ce5f59cffa1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/routes/payment_methods.rs:708-731 | crates/router/src/routes/payment_methods.rs:1194-1217 \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 \u0060crates/router/src/routes/payment_methods.rs:708\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4f9aeeb320fee180d1d42009bb8312756d9f1ee3806e3a9fdf5a586670c085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/routes/payments.rs:464-487 | crates/router/src/routes/payments.rs:524-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/payments.rs:464\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e00fa90fa2e0111559a7f4ab30d598908f136faa7aab96c0c74608eddd01c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): crates/router/src/services/authentication.rs:799-822 | crates/router/src/services/authentication.rs:1506-1529 \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 \u0060crates/router/src/services/authentication.rs:799\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, \u0060crates/router/src/services/authentication.rs:797\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/services/authentication.rs:1505\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbb888747423d730aa35213e11b08a989a0d72b7713286794b29e785e480085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): crates/router/src/services/kafka/payment_intent.rs:69-109 | crates/router/src/services/kafka/payment_intent_event.rs:164-204 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/payment_intent.rs\u0060 and \u0060crates/router/src/services/kafka/payment_intent_event.rs\u0060 as WHOLE FILES: 90% 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 2 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. 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 \u0060crates/router/src/services/kafka/payment_intent.rs:69\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":"crates/router/src/services/kafka/payment_intent.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7d106266c0bf84530ea4e2579e622b9b48ef99a0e7bccc4094b77e314b8be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 12): crates/diesel_models/src/payment_intent.rs:1297-1319 | crates/diesel_models/src/payment_intent.rs:1444-1466 | crates/diesel_models/src/payment_intent.rs:1514-1536 | crates/diesel_models/src/payment_intent.rs:1583-1605 | crates/diesel_models/src/payment_intent.rs:1652-1674 | crates/diesel_models/src/payment_intent.rs:1720-1742 | crates/diesel_models/src/payment_intent.rs:1789-1811 | crates/diesel_models/src/payment_intent.rs:1853-1875 | crates/diesel_models/src/payment_intent.rs:1920-1942 | crates/diesel_models/src/payment_intent.rs:1987-2009 | crates/diesel_models/src/payment_intent.rs:2056-2078 | crates/diesel_models/src/payment_intent.rs:2191-2213 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9076943f238385fbd950074340941c4ea582db4ea91dc9543f1ddfb5065b558a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 11): crates/router/src/services/authentication.rs:4234-4255 | crates/router/src/services/authentication.rs:4370-4391 | crates/router/src/services/authentication.rs:4555-4576 | crates/router/src/services/authentication.rs:4641-4662 | crates/router/src/services/authentication.rs:4797-4818 | crates/router/src/services/authentication.rs:4900-4922 | crates/router/src/services/authentication.rs:4993-5014 | crates/router/src/services/authentication.rs:5112-5133 | crates/router/src/services/authentication.rs:5200-5221 | crates/router/src/services/authentication.rs:5314-5334 | crates/router/src/services/authentication.rs:5560-5581 \u2014 all 11 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 \u0060crates/router/src/services/authentication.rs:4234\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4234}}}],"partialFingerprints":{"codehealthFindingId/v1":"060f7d46520dab9eaa7064ad29797977aaf63efe6ed42019aad47eea4f0a919d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 8): crates/analytics/src/payments/metrics/avg_ticket_size.rs:88-110 | crates/analytics/src/payments/metrics/debit_routing.rs:94-116 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:88-110 | crates/analytics/src/payments/metrics/payment_success_count.rs:82-103 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:89-111 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:94-116 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:106-128 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:83-104 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs\u0060 and \u0060crates/analytics/src/payments/metrics/debit_routing.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 117 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 \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs:88\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, \u0060crates/analytics/src/payments/metrics/debit_routing.rs:119\u0060 calls \u0060clone\u0060 and \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs:112\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":"crates/analytics/src/payments/metrics/avg_ticket_size.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"943ed30d691371bfc7336a07bb7161e1741f5f9fab84a2e84a669f3d835adfea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 8): crates/router/src/routes/superposition_proxy.rs:38-60 | crates/router/src/routes/superposition_proxy.rs:82-104 | crates/router/src/routes/superposition_proxy.rs:126-148 | crates/router/src/routes/superposition_proxy.rs:170-192 | crates/router/src/routes/superposition_proxy.rs:214-236 | crates/router/src/routes/superposition_proxy.rs:302-324 | crates/router/src/routes/superposition_proxy.rs:350-372 | crates/router/src/routes/superposition_proxy.rs:394-416 \u2014 all 8 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 \u0060crates/router/src/routes/superposition_proxy.rs:38\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":"crates/router/src/routes/superposition_proxy.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d30e3c04772b5d93f2889f7d7f4f668871069ef9ffc144a0b6a100bebdc216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 4): crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:85-104 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:84-105 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:126-148 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:80-99 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 181 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 \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:85\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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"574bad5b4e7e4807a67ebc573234c728a16faf6c54189548c68507e729de5340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): crates/router/src/core/payouts.rs:2250-2272 | crates/router/src/core/payouts.rs:3014-3036 | crates/router/src/core/payouts.rs:3157-3179 | crates/router/src/core/payouts.rs:3368-3390 \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 \u0060crates/router/src/core/payouts.rs:2250\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d5ef7aa849075a13cd398cb4189f78908e6588560bffafe5f635cf689ee56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 4): crates/router/src/core/relay/utils.rs:71-92 | crates/router/src/core/relay/utils.rs:220-241 | crates/router/src/core/relay/utils.rs:367-389 | crates/router/src/core/relay/utils.rs:501-522 \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 \u0060crates/router/src/core/relay/utils.rs:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/relay/utils.rs:94\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/relay/utils.rs:244\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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"864790228868f3fbde217bede6081a5c7a54d11b8a6f3e0bcc2adc20c5f68f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): crates/diesel_models/src/payment_attempt.rs:2540-2562 | crates/diesel_models/src/payment_attempt.rs:2768-2790 | crates/diesel_models/src/payment_attempt.rs:3391-3413 \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 before the matched lines, \u0060crates/diesel_models/src/payment_attempt.rs:2539\u0060 calls \u0060now\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2767\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a145ca36fd1f401cc9060f6104ae11262e4fcc2f9b2b6485112b40cdef9ffeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): crates/hyperswitch_connectors/src/utils.rs:7780-7802 | crates/router/src/types.rs:1477-1499 | crates/router/src/types.rs:1560-1582 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/types.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7780}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b9e159824831c68032b25ce41666e650e61a5d9ceaa54873b327aa361c1250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 3): crates/router/src/core/payments/operations/payment_confirm.rs:1160-1181 | crates/router/src/core/payments/operations/payment_recurrence.rs:437-457 | crates/router/src/core/payments/operations/payment_update.rs:643-665 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 191 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:1160\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"698a371c386e7f1e26e8dc69407ef12c089ac9c06a11f04d3713593a0a7e4c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): crates/router/src/core/payments/operations/payment_response.rs:1618-1640 | crates/router/src/core/payments/operations/payment_response.rs:1774-1796 | crates/router/src/core/payments/operations/payment_response.rs:5561-5583 \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 \u0060crates/router/src/core/payments/operations/payment_response.rs:1618\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7955361196933c4a283c7ac7a2fe4342980bf5358bd4116797fa9694c91129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): crates/router/src/core/relay/utils.rs:26-48 | crates/router/src/core/relay/utils.rs:175-197 | crates/router/src/core/relay/utils.rs:456-478 \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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52cbf684d94f43e51a64eea72325d7cbee917ab691a44123e6837d62185b946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): crates/router/src/db/events.rs:1005-1027 | crates/router/src/db/events.rs:1178-1200 | crates/router/src/db/events.rs:1396-1418 \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 \u0060crates/router/src/db/events.rs:1005\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":"crates/router/src/db/events.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54c866413f2067564cd0262b6aade6afa0b41d1b05d34bd6d46d506f7f855fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/analytics/src/payments/core.rs:190-212 | crates/analytics/src/refunds/core.rs:162-184 \u2014 \u0060crates/analytics/src/payments/core.rs\u0060 and \u0060crates/analytics/src/refunds/core.rs\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 8 separate duplicated blocks between them, totalling at least 123 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payments/core.rs:190\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":"crates/analytics/src/payments/core.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f43a36600c8455ba352fb95903c9f56d3b09fa98d5bd9c7222bbf5bb4ccc8d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/diesel_models/src/payment_attempt.rs:4474-4496 | crates/diesel_models/src/payment_attempt.rs:4647-4669 \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 \u0060crates/diesel_models/src/payment_attempt.rs:4474\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":4474}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aac887046f3248955586ef63f035f4f8e95761ba1c30f499ddd467e4e40774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/diesel_models/src/refund.rs:506-528 | crates/diesel_models/src/refund.rs:674-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 \u0060crates/diesel_models/src/refund.rs:506\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":"crates/diesel_models/src/refund.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"8365fb38cb46939d75aba83225b1d90b52f58e7c172a727609d67c0a5fcbb932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1604-1626 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1670-1692 \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 \u0060crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1604\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AciCaptureResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, AciVoidResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c1aacec6eab5f60506297181dd808f72dd94a3becf86731eb0336d8128e2f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:1138-1177 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:1212-1251 \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 \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:1138\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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb34be5b8b41f724270bf0c72be4c5b81610bade86d5cc5ef116716af22179d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/riskified.rs:581-603 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:691-713 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/riskified.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/signifyd.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 93 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":"crates/hyperswitch_connectors/src/connectors/riskified.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab78b8182d30b03c91bffd0ea081bee59254d44d1fa1043a3185f6e8f9e6b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:1328-1350 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:1383-1405 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:1328\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026WorldpayvantivRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in one and \u0060\u0026WorldpayvantivRouterData\u003C\u0026RefundsRouterData\u003CF\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0448fe978231125b75f8c9814ecb175eecdd725ce94479b5058bb8d5587325ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1975-1997 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3026-3048 \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 \u0060item\u0060 to \u0060\u0026WorldpayxmlRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060WorldpayxmlRouterData\u003C\u0026PaymentsCompleteAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"6776eecd7e8b3a7e395f00ce5233c99a5c0a7a19daf1b7b4ae7cd0a2cc0fcf95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/compatibility/stripe/setup_intents.rs:221-243 | crates/router/src/compatibility/stripe/setup_intents.rs:308-330 \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 \u0060crates/router/src/compatibility/stripe/setup_intents.rs:221\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":"crates/router/src/compatibility/stripe/setup_intents.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cbb43f57d7929cac8ad307c1a6df9f7223b31afc0d6fce7da3d5feeeefe507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/admin.rs:1812-1834 | crates/router/src/core/admin.rs:1901-1923 \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 \u0060crates/router/src/core/admin.rs:1812\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":"crates/router/src/core/admin.rs"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f49495108407752ee0b5139339a69c80e338a458d025288421d5bc83e539b97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/router/src/core/disputes.rs:257-279 | crates/router/src/core/refunds.rs:2295-2316 \u2014 before extracting anything, compare \u0060crates/router/src/core/disputes.rs\u0060 and \u0060crates/router/src/core/refunds.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 99 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 \u0060crates/router/src/core/disputes.rs:257\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":"crates/router/src/core/disputes.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38ecb82ac9a24b597a9dd84486467ae1f25cd871564fd862dade41c2d0dd8ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/payments.rs:1267-1289 | crates/router/src/core/payments.rs:1473-1495 \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 \u0060crates/router/src/core/payments.rs:1267\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":"crates/router/src/core/payments.rs"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedcd203613d7c5059cb95b4ea0174a0c73b744bd3e68d1de3d9640f87ce2a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/payments.rs:4611-4633 | crates/router/src/core/payments.rs:4655-4677 \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 \u0060crates/router/src/core/payments.rs:4611\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":"crates/router/src/core/payments.rs"},"region":{"startLine":4611}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a9d4f80954258598615e376d3e8c0fb2fa272271d08e0c5756d76843178d44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/payments/gateway.rs:84-106 | crates/router/src/core/payouts/gateway.rs:48-70 \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 \u0060crates/router/src/core/payments/gateway.rs: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":"crates/router/src/core/payments/gateway.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b3ef9d30ce07371c3f0c5ad82776238ac86702770ffdef9738a1b9849a7fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/payments/operations/payment_recurrence.rs:367-389 | crates/router/src/core/payments/operations/payment_session.rs:207-229 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 as WHOLE FILES: this scan already matched 3 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":"crates/router/src/core/payments/operations/payment_recurrence.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"5555a879696632443976c1f03b6649d743ad64e2e84e9deffa65f2cd8644d969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/payments/retry.rs:686-708 | crates/router/src/core/payments/retry.rs:758-780 \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 \u0060crates/router/src/core/payments/retry.rs:686\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":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d639e5cd39cc15e57d2e96e02fef61f2026e37ba157ac8cc1318ba63bd41a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:237-259 | crates/router/src/core/payments/transformers.rs:8954-8976 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ce4bf75bb5f41d08a50e8719eeac0e1cb3b713c45016ec35046f7948c3d31f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2444-2466 | crates/router/src/core/payments/transformers.rs:8813-8835 \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 \u0060crates/router/src/core/payments/transformers.rs:2444\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2444}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefdab20bc986ab1d974bb1251fa492e06c97d39f89d19d8731768eddfb37aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2468-2490 | crates/router/src/core/payments/transformers.rs:8837-8859 \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 \u0060crates/router/src/core/payments/transformers.rs:2468\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2468}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e360a757bd78fdab1bb366ef528a77420f15995723efe740a1d3bba6b9e2f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/payouts/helpers.rs:1125-1147 | crates/router/src/core/payouts/helpers.rs:1175-1197 \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 \u0060crates/router/src/core/payouts/helpers.rs:1125\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, \u0060crates/router/src/core/payouts/helpers.rs:1199\u0060 calls \u0060remove\u0060 and \u0060crates/router/src/core/payouts/helpers.rs:1149\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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb24eed5240a1e9f4ecd8a3c4ebf49c01bff7dcf8a1d4290ab8fbc19877ac548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/refunds.rs:2361-2383 | crates/router/src/core/refunds.rs:2437-2459 \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 \u0060crates/router/src/core/refunds.rs:2361\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2361}}}],"partialFingerprints":{"codehealthFindingId/v1":"8118dd18a24b3957dd46933245220fdf8f0262dc78084cbfe5aad32068cddcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/refunds.rs:2915-2937 | crates/router/src/core/refunds_v2.rs:1591-1613 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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 \u0060crates/router/src/core/refunds.rs:2915\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2915}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffe98d27ec111719cdc3aa36cbd59255f0488f00c1b1948f1aeee9b89919b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/revenue_recovery/types.rs:599-621 | crates/router/src/core/revenue_recovery/types.rs:706-728 \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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b14f0b7bc9d6a6d91c3d441b6a0316606ada5a2cd33c9b31868b00b146ffe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): crates/router/src/core/revenue_recovery/types.rs:934-954 | crates/router/src/core/revenue_recovery/types.rs:1233-1255 \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 \u0060crates/router/src/core/revenue_recovery/types.rs:934\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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f351922f6882e5684d382325927e711fc8778488238241935396f10f123971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/router/src/core/routing/helpers.rs:2193-2215 | crates/router/src/core/routing/helpers.rs:2329-2350 \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 \u0060crates/router/src/core/routing/helpers.rs:2193\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8756509351805d5c2d25ad9ace9b0d5a1e2ca0e2bf8f26971ec9af9a8f61d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/core/user/theme.rs:67-89 | crates/router/src/core/user/theme.rs:547-569 \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 \u0060crates/router/src/core/user/theme.rs:67\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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"25456bad9710f797de9995751b5ac14b0c177c6aa1e07977f4f4ffc8b4ad782b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/routes/payment_methods.rs:1611-1633 | crates/router/src/routes/payment_methods.rs:1664-1686 \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 \u0060crates/router/src/routes/payment_methods.rs:1611\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47b086c8c42ef33ded848065ccdfda65d3ed0bf1e3df734fab4e413c79a3903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/router/src/routes/payments.rs:429-451 | crates/router/src/routes/payments.rs:496-518 \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 \u0060crates/router/src/routes/payments.rs:429\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c39441bfe4b68c6a44d31eace66a729f72bef460cad993779f5d01ca2dbf79c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/router/src/services/authentication.rs:1802-1824 | crates/router/src/services/authentication.rs:2333-2354 \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 \u0060crates/router/src/services/authentication.rs:1802\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbacb44fbb4932a5fc1db64ad66f2e03241af14a905a1b2000436158a49037bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): crates/router/src/services/authentication.rs:1965-1984 | crates/router/src/services/authentication.rs:2114-2136 \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 \u0060crates/router/src/services/authentication.rs:2114\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d8d8cdbd05956c685a59fd6214fbcaba5cd571bae29e2c9dc4669f7402eb2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): crates/router/src/types/api/payment_methods.rs:85-106 | crates/router/src/types/api/payment_methods.rs:116-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/types/api/payment_methods.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/api/payment_methods.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e822902b0054a966d5d622c7d8a798f19f7b7583291005f2950176b56391103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/storage_impl/src/customers.rs:463-485 | crates/storage_impl/src/customers.rs:525-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/storage_impl/src/customers.rs:463\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1e6547340043461243e60e3f588f760a1982a4283356f9563dddd992d24314"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:1216-1238 | crates/storage_impl/src/payments/payment_attempt.rs:1294-1316 \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 \u0060crates/storage_impl/src/payments/payment_attempt.rs:1216\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e34c5d642f5cd236f956710630aa8abb5b235767b0d9b62233288c16975306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:2395-2417 | crates/storage_impl/src/payments/payment_attempt.rs:2727-2749 \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 \u0060crates/storage_impl/src/payments/payment_attempt.rs:2395\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2395}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca0181d4b97e4ccf50751e1cf23a9b94dfc37a6880261a0eb7ebbbb80e645a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 14): crates/hyperswitch_connectors/src/connectors/stripe.rs:210-231 | crates/hyperswitch_connectors/src/connectors/stripe.rs:424-445 | crates/hyperswitch_connectors/src/connectors/stripe.rs:615-636 | crates/hyperswitch_connectors/src/connectors/stripe.rs:806-827 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1027-1048 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1211-1232 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1389-1410 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1638-1659 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1811-1832 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2011-2032 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2174-2195 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2349-2370 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2481-2502 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2718-2739 \u2014 all 14 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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:210\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a846cb8bedf7a6a3af69bf298472b53710402439d82eb0864ecb0019178a2c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 9): crates/router/src/core/payments/operations/payment_cancel.rs:272-293 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:213-234 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:195-216 | crates/router/src/core/payments/operations/payment_capture.rs:318-339 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:186-206 | crates/router/src/core/payments/operations/payment_update_metadata.rs:192-212 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:207-228 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:200-221 | crates/router/src/core/payments/operations/tax_calculation.rs:202-222 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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 \u0060crates/router/src/core/payments/operations/payment_cancel.rs:272\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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"de36273c6b869a4034c836c2f7ca77f901650ea7acf71780af3b0f70f151a889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): crates/router/src/types/storage/refund.rs:134-155 | crates/router/src/types/storage/refund.rs:215-236 | crates/router/src/types/storage/refund.rs:294-315 | crates/router/src/types/storage/refund.rs:365-386 | crates/router/src/types/storage/refund.rs:534-555 | crates/router/src/types/storage/refund.rs:603-624 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/types/storage/refund.rs: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060refund_list_details\u0060 to \u0060\u0026refunds::RefundListConstraints\u0060 in one and \u0060refunds::RefundListConstraints\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 before the matched lines, \u0060crates/router/src/types/storage/refund.rs:130\u0060 calls \u0060filter\u0060, \u0060eq_any\u0060, \u0060to_owned\u0060 and \u0060crates/router/src/types/storage/refund.rs:364\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c213872a5154e606276680c23bb480303f80047c0afbb653b9966b03fcc4251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): crates/analytics/src/sqlx.rs:711-733 | crates/analytics/src/sqlx.rs:842-864 | crates/analytics/src/sqlx.rs:979-1001 | crates/analytics/src/sqlx.rs:1082-1104 | crates/analytics/src/sqlx.rs:1189-1211 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/sqlx.rs:711\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f45f2c964a7e827ebf68112b4e05cf10ff1493e8b32248fc9daf52f48c2f535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 5): crates/router/src/services/authentication.rs:4375-4396 | crates/router/src/services/authentication.rs:4646-4666 | crates/router/src/services/authentication.rs:4998-5018 | crates/router/src/services/authentication.rs:5205-5225 | crates/router/src/services/authentication.rs:5397-5416 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/services/authentication.rs:4375\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4375}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbda1ca722a58305d72e5ea65a919fa850765f30bacf8e40b3a2a02cab4848c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 5): crates/smithy/src/lib.rs:154-175 | crates/smithy/src/lib.rs:445-466 | crates/smithy/src/lib.rs:560-581 | crates/smithy/src/lib.rs:676-697 | crates/smithy/src/lib.rs:844-865 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/smithy/src/lib.rs:154\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":"crates/smithy/src/lib.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41183b3fd90b95fda9cb7fff692851b487a12863350f9b44d7331b89ec4bd95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): crates/analytics/src/refunds/metrics/refund_processed_amount.rs:83-104 | crates/analytics/src/refunds/metrics/refund_success_count.rs:79-99 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:91-112 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:79-99 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/refund_success_count.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 101 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 \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs:83\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, \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs:82\u0060 calls \u0060add_group_by_clause\u0060 and \u0060crates/analytics/src/refunds/metrics/refund_success_count.rs:77\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":"crates/analytics/src/refunds/metrics/refund_processed_amount.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f11a350991cca923dd93d99864e0efbbbea473826790bab33d51782c76e45e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:606-627 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:683-704 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:760-781 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:837-858 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:606\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":"crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e248d6782bc8d9895f6a12fb5e409d3d7cdca198d0f85df44b00a4a03cc7dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 4): crates/router/src/core/relay/utils.rs:121-142 | crates/router/src/core/relay/utils.rs:272-293 | crates/router/src/core/relay/utils.rs:403-423 | crates/router/src/core/relay/utils.rs:542-562 \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 \u0060crates/router/src/core/relay/utils.rs:121\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, \u0060crates/router/src/core/relay/utils.rs:143\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/core/relay/utils.rs:294\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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cccd2048aa9be476fa7c1eb2f4cb1bf000138250ac616682be4e8309abb099b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): crates/router/src/routes/payment_methods.rs:1892-1913 | crates/router/src/routes/payment_methods.rs:1966-1987 | crates/router/src/routes/payment_methods.rs:2022-2043 | crates/router/src/routes/payment_methods.rs:2078-2099 \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 \u0060crates/router/src/routes/payment_methods.rs:1892\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"02207befd69ee0b6413104fd5b0a1677023ef082211c90adcc71107420cacad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): crates/analytics/src/sqlx.rs:771-792 | crates/analytics/src/sqlx.rs:907-928 | crates/analytics/src/sqlx.rs:1131-1152 \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 \u0060crates/analytics/src/sqlx.rs:771\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5b98b7510e5e7dd85005881ba21598d89723f24722bdc7864d200bf061fe9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 3): crates/router/src/core/payment_methods/access_token.rs:70-88 | crates/router/src/core/payments/access_token.rs:212-232 | crates/router/src/core/payouts/access_token.rs:90-111 \u2014 \u0060crates/router/src/core/payment_methods/access_token.rs\u0060 and \u0060crates/router/src/core/payouts/access_token.rs\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 5 separate duplicated blocks between them, totalling at least 120 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/access_token.rs: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. 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":"crates/router/src/core/payment_methods/access_token.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"6854033d019a4e344d0bd33f35ee3475f52be6b910a021f6f4108e3f45a63035"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:2190-2211 | crates/router/src/core/payments/transformers.rs:2540-2561 | crates/router/src/core/payments/transformers.rs:8877-8898 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b444eb9c298221236c9ace4b75cd37cca370d7bd4a5c1604b1c115442339357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): crates/router/src/core/payouts.rs:2154-2175 | crates/router/src/core/payouts.rs:2849-2869 | crates/router/src/core/payouts.rs:3068-3088 \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 \u0060crates/router/src/core/payouts.rs:2154\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1de1a2f4d49a4a31ba6587961f49918e2baa67f7a3483ecb22bf9599920efe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): crates/router/src/services/authentication.rs:668-689 | crates/router/src/services/authentication.rs:776-797 | crates/router/src/services/authentication.rs:3055-3076 \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 \u0060crates/router/src/services/authentication.rs:668\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f0a53a07d1dcaa25096b2a58f75f1a7e93117903bffb62fb555a6a15dc1784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): crates/storage_impl/src/authentication.rs:120-141 | crates/storage_impl/src/authentication.rs:171-192 | crates/storage_impl/src/authentication.rs:236-257 \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 \u0060crates/storage_impl/src/authentication.rs:120\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":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a8deca488442b73e657dd59f66116a673cedc4f9b727beb4d70137bc9bb058"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/analytics/src/active_payments/core.rs:66-87 | crates/analytics/src/sdk_events/core.rs:112-133 \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 \u0060crates/analytics/src/active_payments/core.rs:66\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":"crates/analytics/src/active_payments/core.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"597ee69101a4edc1c79a5d2ed8d1470ff1bc10f3e933c8b977a6a6d2ed69af48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/analytics/src/disputes/core.rs:156-177 | crates/analytics/src/disputes/core.rs:179-200 \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":"crates/analytics/src/disputes/core.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d147d012adec46ef1b52ac7e9bc1cebd818df345c9c30f7b276500c943e30711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/analytics/src/frm/core.rs:130-151 | crates/analytics/src/frm/core.rs:153-174 \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":"crates/analytics/src/frm/core.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a44db3d687ad2c3ecd9d4a6f9a56746fbbc162fc9a45746044f3c2e031dd05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/analytics/src/payments/core.rs:380-401 | crates/analytics/src/payments/core.rs:403-424 \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":"crates/analytics/src/payments/core.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cebbe65b65a6a56dcc90b8c4d017620b1c583fde6f24094c9986e99ce396d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/analytics/src/refunds/core.rs:296-317 | crates/analytics/src/refunds/core.rs:319-340 \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":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1463ea314f9644f0041492a20ac3dda293aee3c67002ca253f683b280906a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/analytics/src/refunds/metrics/refund_count.rs:75-96 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:76-97 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/refund_count.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 190 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 \u0060crates/analytics/src/refunds/metrics/refund_count.rs:75\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":"crates/analytics/src/refunds/metrics/refund_count.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e257bbd3373885dde4e5e9b12e0d45ff123d58933644dab20511c499f6b9ec5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/diesel_models/src/payment_method.rs:1928-1949 | crates/diesel_models/src/payment_method.rs:1971-1992 \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 \u0060crates/diesel_models/src/payment_method.rs:1928\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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7f08b17192e5b7eb987c0f7ef6a23b94e49050472a541ae4824398bcfdacdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/diesel_models/src/refund.rs:557-578 | crates/diesel_models/src/refund.rs:715-736 \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 \u0060crates/diesel_models/src/refund.rs:557\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, \u0060crates/diesel_models/src/refund.rs:712\u0060 calls \u0060now\u0060 and \u0060crates/diesel_models/src/refund.rs:554\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":"crates/diesel_models/src/refund.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1be8866643805810c7910003e0340fcf8504bc0d0372713b7783c1fcbffbe68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/diesel_models/src/refund.rs:588-609 | crates/diesel_models/src/refund.rs:739-760 \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 \u0060crates/diesel_models/src/refund.rs:588\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":"crates/diesel_models/src/refund.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f981f6162e304e328f596d8badb2b937db8c9ef5ffc4fa3d25fbc641660abb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:107-128 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:101-122 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:107\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1798f0745527e29aa72e781bf5d00cf4a831e82cad70de53c55b83f30e41679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1844-1865 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1044-1065 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 30 separate duplicated blocks between them, totalling at least 399 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1844\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2488ff811bfcba45621fc7aa55e9c281900e241a51ef5e387a6f38bb047a3e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1704-1725 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:2108-2129 \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 \u0060crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1704\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 \u0060item\u0060 to \u0060RefundsResponseRouterData\u003CRSync, NexixpayRSyncResponse\u003E\u0060 in one and \u0060PaymentsCancelResponseRouterData\u003CNexixpayOperationResponse\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"f154de370384d2a8937e537897bc0471e0ba7dd2ad651b11646b3e9abce58cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:76-97 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:99-120 \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 \u0060crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:76\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":"crates/hyperswitch_connectors/src/connectors/stax/transformers.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea79e565865d370f2b1987a05f94f61f2e93ce0d0b44f0eb551171c2c1a3c9ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1554-1575 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1602-1622 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1554\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 \u0060item\u0060 to \u0060\u0026PaymentsAuthorizeRouterData\u0060 in one and \u0060\u0026PaymentsCompleteAuthorizeRouterData\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"a551f1ee6cd0ea637274f48e16710548e8caa1075ddc1c3905e8c1fe1055e734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/xendit.rs:751-772 | crates/hyperswitch_connectors/src/connectors/xendit.rs:847-867 \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 \u0060crates/hyperswitch_connectors/src/connectors/xendit.rs:751\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":"crates/hyperswitch_connectors/src/connectors/xendit.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc145aa9ba017a9e9d8c9549a45e2e2178be1767deaff56847f76ec628c27d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs:830-851 | crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs:874-895 \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 \u0060crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs:830\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":"crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"1179ef0cf839a82a0d71a19f2f657fd29e124b96631c6de4fbd7682fe034565a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/admin.rs:3589-3610 | crates/router/src/core/admin.rs:3834-3855 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/admin.rs:3611\u0060 calls \u0060get_account\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/admin.rs:3856\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3589}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37b97d6dff82aa704815c4acc21c3f0d03a4070ea9b1220e4a45465a54944be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/router/src/core/debit_routing.rs:326-347 | crates/router/src/core/debit_routing.rs:591-611 \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 \u0060crates/router/src/core/debit_routing.rs:326\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6d8d02fb5bd53cf641a18ffd4fce917e3b4480071a183a6361c9fd04143208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): crates/router/src/core/payment_link.rs:111-132 | crates/router/src/core/payment_link.rs:918-937 \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 \u0060crates/router/src/core/payment_link.rs: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. 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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa0a449d8ccdbf54831f57c992359882071b13155f8ac599dc7c199eaf5f0a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/payment_methods.rs:4184-4205 | crates/router/src/core/payment_methods.rs:4296-4317 \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 \u0060crates/router/src/core/payment_methods.rs:4184\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":4184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc2cc93b07f5930a3059c0117dc7c38073ba310160929d7749f2c93584d80b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/payment_methods/access_token.rs:100-121 | crates/router/src/core/payouts/access_token.rs:122-143 \u2014 \u0060crates/router/src/core/payment_methods/access_token.rs\u0060 and \u0060crates/router/src/core/payouts/access_token.rs\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 5 separate duplicated blocks between them, totalling at least 120 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/access_token.rs:100\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":"crates/router/src/core/payment_methods/access_token.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e2ee9a978d64055bce8bbfd102e83f24a27d36babf425c483de7c0b2528f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:3005-3026 | crates/router/src/core/payment_methods/cards.rs:3082-3103 \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 \u0060crates/router/src/core/payment_methods/cards.rs:3005\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c47711f817ccd3bce6d0fdba846d5bb33916e66060b3a73d1b4eed89094a51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:7558-7579 | crates/router/src/core/payment_methods/cards.rs:7644-7665 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":7558}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cb1e799bcb6f9f2ceea0a67b1863f5006175901b913867099e90979c336070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:68-89 | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:237-258 \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 \u0060crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payment_method\u0060 to \u0060\u0026domain::PaymentMethod\u0060 in one and \u0060\u0026\u0027a domain::PaymentMethod\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":"crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d97c91b5870bf7516e0e08913a250fb66ff3597cf059c502b07c0194d24dc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:498-519 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:380-399 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/proxy_payments_intent.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 289 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/payments/operations/proxy_payments_intent.rs:400\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:519\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"36804b9fbdd3de8e82090a9b8bdca824ceb3c3198975ec7764e635dd85679ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:744-765 | crates/router/src/core/payments/transformers.rs:1879-1900 \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 \u0060crates/router/src/core/payments/transformers.rs:744\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"97605266810ae50cb060341ce356242c4106d40f538e3581b42c4b24051d0d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/relay.rs:754-775 | crates/router/src/core/relay.rs:1014-1035 \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":"crates/router/src/core/relay.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d3f2a1b46dfc747b17e7df772d077a5e990c50ed808d50f84485fba40a1352"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): crates/router/src/core/revenue_recovery/types.rs:756-776 | crates/router/src/core/revenue_recovery/types.rs:1080-1101 \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 \u0060crates/router/src/core/revenue_recovery/types.rs:756\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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d940b8e61ba9fb148289c8bab1b076683ac8230ebd536066230c635abf30f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201322 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:1125-1143 | crates/router/src/core/unified_connector_service.rs:1200-1221 \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 \u0060crates/router/src/core/unified_connector_service.rs:1125\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"374d9f4a31ca67e761c044fcdae12b375a5d45dcb8531fe47ff863e31abf0cb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/user.rs:3555-3576 | crates/router/src/core/user.rs:3882-3903 \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 \u0060crates/router/src/core/user.rs:3555\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":"crates/router/src/core/user.rs"},"region":{"startLine":3555}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea3c4e44b71d6a7432a641798d368f0d4f8ac76a78b3863661533a6a7f0325c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/core/user_role/role.rs:119-140 | crates/router/src/core/user_role/role.rs:252-273 \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 \u0060crates/router/src/core/user_role/role.rs:119\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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"414b15e35422a69186ea2b8e31e683fc9bea12f4f44fca2c02907dbc19276bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/db/address.rs:777-798 | crates/router/src/db/address.rs:814-835 \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 \u0060crates/router/src/db/address.rs:777\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":"crates/router/src/db/address.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd0c946d5b192a9dc6b561269009381875a5a6030ff902a76033dcefc298796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/db/user/theme.rs:158-179 | crates/router/src/db/user/theme.rs:209-230 \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 \u0060crates/router/src/db/user/theme.rs:158\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, \u0060crates/router/src/db/user/theme.rs:156\u0060 calls \u0060is_none\u0060 and \u0060crates/router/src/db/user/theme.rs:207\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":"crates/router/src/db/user/theme.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d405a1aeb2ec344ebc47e372f40cb8d1689cf977ee48badff6cbe06bb95dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/routes/payments.rs:1831-1852 | crates/router/src/routes/payments.rs:1889-1910 \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 \u0060crates/router/src/routes/payments.rs:1831\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5be554dbe228b7f8df9faef9a23af1b403f82b6fea4b0282db26a6995221138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/routes/subscription.rs:68-89 | crates/router/src/routes/subscription.rs:397-418 \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 \u0060crates/router/src/routes/subscription.rs:68\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":"crates/router/src/routes/subscription.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8f5b3fe17ad6a14093f5aad2d2b1ccf2454f0342cc7d677b7ececbb9646456"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/router/src/routes/subscription.rs:356-377 | crates/router/src/routes/subscription.rs:517-538 \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 \u0060crates/router/src/routes/subscription.rs:356\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":"crates/router/src/routes/subscription.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b22d4a9615b0af3b789870c7189eee8eacc6de01107455bb5d7f41574c5508e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/storage_impl/src/connection.rs:14-35 | crates/storage_impl/src/utils.rs:136-157 \u2014 before extracting anything, compare \u0060crates/storage_impl/src/connection.rs\u0060 and \u0060crates/storage_impl/src/utils.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060crates/storage_impl/src/connection.rs:14\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":"crates/storage_impl/src/connection.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a90c89e6af7e66088462fcda5a27c77326aedf2ea3f30a0ec9699ffae342b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/storage_impl/src/customers.rs:1295-1316 | crates/storage_impl/src/customers.rs:1327-1348 \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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"e106d49eadd035dcda4107e571e6122c75430571b96754ca8c00c1e1a9d55bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:1141-1184 | crates/storage_impl/src/merchant_connector_account.rs:1212-1255 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:1141\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ff6f51193a3336263332afbbc6ce5deeea8b8487ef21fa076bd8803e3d02b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:1289-1310 | crates/storage_impl/src/merchant_connector_account.rs:1408-1429 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:1289\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"333fd58ff484630ebd692c4ceda2a83e22fc5ee197fb090c7c4d1d805bb9094d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 20): crates/diesel_models/src/payment_attempt.rs:2657-2677 | crates/diesel_models/src/payment_attempt.rs:2872-2892 | crates/diesel_models/src/payment_attempt.rs:2958-2978 | crates/diesel_models/src/payment_attempt.rs:3044-3064 | crates/diesel_models/src/payment_attempt.rs:3214-3234 | crates/diesel_models/src/payment_attempt.rs:3297-3317 | crates/diesel_models/src/payment_attempt.rs:3531-3551 | crates/diesel_models/src/payment_attempt.rs:3610-3630 | crates/diesel_models/src/payment_attempt.rs:3703-3723 | crates/diesel_models/src/payment_attempt.rs:3802-3822 | crates/diesel_models/src/payment_attempt.rs:3898-3918 | crates/diesel_models/src/payment_attempt.rs:3983-4003 | crates/diesel_models/src/payment_attempt.rs:4068-4088 | crates/diesel_models/src/payment_attempt.rs:4164-4184 | crates/diesel_models/src/payment_attempt.rs:4247-4267 | crates/diesel_models/src/payment_attempt.rs:4335-4355 | crates/diesel_models/src/payment_attempt.rs:4433-4453 | crates/diesel_models/src/payment_attempt.rs:4517-4537 | crates/diesel_models/src/payment_attempt.rs:4608-4628 | crates/diesel_models/src/payment_attempt.rs:4689-4709 \u2014 all 20 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, \u0060crates/diesel_models/src/payment_attempt.rs:3554\u0060 calls \u0060flatten\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2680\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2657}}}],"partialFingerprints":{"codehealthFindingId/v1":"b110361fc0cd74d3a6b00461c31dc74d190cd2da379f93c81a3982a4ac2658de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 11): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:417-437 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:546-566 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:768-788 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1385-1405 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:523-543 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1306-1326 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1461-1481 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1611-1631 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1769-1789 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:461-481 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:884-904 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:417\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7608c836db6c6a082f42dcdafc5efe70708245199327193fcb77a478c798adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 9): crates/router/src/core/payments/operations/payment_cancel.rs:264-284 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:205-225 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:187-207 | crates/router/src/core/payments/operations/payment_capture.rs:310-330 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:178-197 | crates/router/src/core/payments/operations/payment_start.rs:227-247 | crates/router/src/core/payments/operations/payment_update_metadata.rs:184-203 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:199-219 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:192-212 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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 \u0060crates/router/src/core/payments/operations/payment_cancel.rs:264\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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"5155fc271def4ada4430eac7c77cb567d55a7f92c07d68b957f6f4bec0d094ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 9): crates/router/src/routes/superposition_proxy.rs:32-52 | crates/router/src/routes/superposition_proxy.rs:76-96 | crates/router/src/routes/superposition_proxy.rs:120-140 | crates/router/src/routes/superposition_proxy.rs:164-184 | crates/router/src/routes/superposition_proxy.rs:208-228 | crates/router/src/routes/superposition_proxy.rs:252-272 | crates/router/src/routes/superposition_proxy.rs:296-316 | crates/router/src/routes/superposition_proxy.rs:344-364 | crates/router/src/routes/superposition_proxy.rs:388-408 \u2014 all 9 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 \u0060crates/router/src/routes/superposition_proxy.rs: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":"crates/router/src/routes/superposition_proxy.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc443e96e22b9bb1e549b8409037eb9ef2f7167a01657748cf977bd5e2518cb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:743-763 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:871-891 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:966-986 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1092-1112 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1049-1069 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1924-1944 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:685-705 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1010-1030 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:743\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e241488c235d9e83039e1ea749d5d40cdc6b689ca950755aca72eeb5af84e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 8): crates/storage_impl/src/business_profile.rs:845-865 | crates/storage_impl/src/business_profile.rs:912-932 | crates/storage_impl/src/business_profile.rs:979-999 | crates/storage_impl/src/business_profile.rs:1047-1067 | crates/storage_impl/src/business_profile.rs:1115-1135 | crates/storage_impl/src/business_profile.rs:1182-1202 | crates/storage_impl/src/business_profile.rs:1250-1270 | crates/storage_impl/src/business_profile.rs:1318-1338 \u2014 all 8 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 \u0060crates/storage_impl/src/business_profile.rs:845\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, \u0060crates/storage_impl/src/business_profile.rs:933\u0060 calls \u0060Some\u0060 and \u0060crates/storage_impl/src/business_profile.rs:866\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"78497fe7bf03e687817b06c89f1a02eeb25e327c19abb959996b95d5e7019688"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): crates/api_models/src/payments.rs:12890-12910 | crates/api_models/src/payments.rs:12919-12939 | crates/api_models/src/payments.rs:13138-13158 | crates/api_models/src/payments.rs:13167-13187 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/payments.rs"},"region":{"startLine":12890}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31c64f7b6ba769fad79ba5488d496e778c23e2c51a1e0fc66baddc78959420a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 4): crates/hyperswitch_domain_models/src/router_data.rs:1442-1461 | crates/hyperswitch_domain_models/src/router_data.rs:1484-1504 | crates/hyperswitch_domain_models/src/router_data.rs:1900-1919 | crates/hyperswitch_domain_models/src/router_data.rs:1943-1960 \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 \u0060crates/hyperswitch_domain_models/src/router_data.rs:1442\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 \u0060payment_data\u0060 to \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::Authorize\u003E\u0060 in one and \u0060\u0026payments::PaymentStatusData\u003Crouter_flow_types::PSync\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc37ee3824c05d1587249116750de478d9eedc350e26517831f412fb7a96479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): crates/router/src/core/payment_methods/network_tokenization.rs:171-191 | crates/router/src/core/payment_methods/network_tokenization.rs:343-363 | crates/router/src/core/payment_methods/network_tokenization.rs:538-558 | crates/router/src/core/payment_methods/network_tokenization.rs:599-619 \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 \u0060crates/router/src/core/payment_methods/network_tokenization.rs:171\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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7317bdd075b4aa02e1fd9f92cb0ce0691890e7d2ec8e1aad2f7c5951c00b74f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 4): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:184-202 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:172-192 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:310-330 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:163-181 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 173 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:184\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f15e98c0136172555c49843ce128fc4413887a8f77348cd031c3fab93f51d0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): crates/router/src/db/api_keys.rs:338-358 | crates/router/src/db/events.rs:994-1014 | crates/router/src/db/events.rs:1167-1187 | crates/router/src/db/events.rs:1385-1405 \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":"crates/router/src/db/api_keys.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5309cefbef93fec857634be2d6e393bd6bbd19b8b4ced256fccf97acc75e2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs:119-139 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2339-2358 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2470-2489 \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 \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs:119\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AbsaSanlamWebhookEvent, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, BraintreeCancelResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/absa_sanlam/transformers.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"71037dc6618c0cd4446ceb0494750cd9782ee00fbbc9f701c7cef29521c6edf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/nordea.rs:330-350 | crates/hyperswitch_connectors/src/connectors/nordea.rs:505-525 | crates/hyperswitch_connectors/src/connectors/nordea.rs:670-690 \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 before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/nordea.rs:328\u0060 calls \u0060get_request_body\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/nordea.rs:503\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":"crates/hyperswitch_connectors/src/connectors/nordea.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9fab6391939395e0a72135f7cf6d4580ae4a9aae6bf212a9e50e5fef9e0475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 3): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:444-464 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:541-558 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:610-627 \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. 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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"885e564efd0db93331dc76ea97eb6ed471040624b2a0925786fbd51bd0f6554b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): crates/router/src/core/payments.rs:2317-2337 | crates/router/src/core/payments.rs:2402-2422 | crates/router/src/core/payments/session_operation.rs:145-165 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments.rs\u0060 and \u0060crates/router/src/core/payments/session_operation.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/payments.rs:2341\u0060 calls \u0060with_profile_id\u0060, \u0060get_id\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/payments.rs:2426\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":"crates/router/src/core/payments.rs"},"region":{"startLine":2317}}}],"partialFingerprints":{"codehealthFindingId/v1":"163b16be33eeb38fd5131f471a8b056e21a9c2df136ca8c6ea186328351280ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:589-609 | crates/router/src/core/payments/transformers.rs:1221-1241 | crates/router/src/core/payments/transformers.rs:1984-2004 \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 before the matched lines, \u0060crates/router/src/core/payments/transformers.rs:1219\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payments/transformers.rs:587\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"7488c88e440da4ba1371baa3caa19f4433bcff73d52a09e452ff7d3d0a331519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 3): crates/router/src/routes/admin.rs:221-240 | crates/router/src/routes/profiles.rs:32-51 | crates/router/src/routes/profiles.rs:245-265 \u2014 before extracting anything, compare \u0060crates/router/src/routes/admin.rs\u0060 and \u0060crates/router/src/routes/profiles.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060crates/router/src/routes/admin.rs:221\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffb6ebe4507e518f8af646f5aeedf5d8b69a1f594bb9120ff76adbd77d3fbe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): crates/router/src/routes/routing.rs:75-95 | crates/router/src/routes/routing.rs:175-195 | crates/router/src/routes/routing.rs:502-522 \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 \u0060crates/router/src/routes/routing.rs:75\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7e8bcb201d433756161a37639745bcadc6371270fbde6f004f2de00b5ca29c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:68-88 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:68-88 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/total_smart_retries.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 179 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 \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:68\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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0bb55cef7f500e54a8d0051b4a0f49c358a67030bc10babf64f88246617317"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/analytics/src/payments/metrics/avg_ticket_size.rs:43-63 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:44-64 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs\u0060 and \u0060crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 213 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":"crates/analytics/src/payments/metrics/avg_ticket_size.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7063f8f2ea9b00ef610b25dd3fb503d9bbe57c4b9ae6676d619e41c97c5fa741"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/api_models/src/payouts.rs:1593-1613 | crates/api_models/src/payouts.rs:1762-1782 \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 \u0060crates/api_models/src/payouts.rs:1593\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":"crates/api_models/src/payouts.rs"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f244017c8148fbc9f0b5ae7c63b93cfc31732982247c8e65d34216d939b06a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:1960-1980 | crates/diesel_models/src/payment_intent.rs:2100-2120 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/diesel_models/src/payment_intent.rs:2099\u0060 calls \u0060Some\u0060 and \u0060crates/diesel_models/src/payment_intent.rs:1959\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1960}}}],"partialFingerprints":{"codehealthFindingId/v1":"774ea895e4950950ca6cde48bc4c76960cee9cd6e681d56d798c57ba0c5dd836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/diesel_models/src/refund.rs:615-635 | crates/diesel_models/src/refund.rs:761-781 \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 \u0060crates/diesel_models/src/refund.rs:615\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":"crates/diesel_models/src/refund.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad04918c7929eecfa809147761c45cd308805da181b74e98563f371f962d8d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1688-1708 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:1038-1058 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1688\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef02e9eb77b71c66e0d8236c746793ae3d11aba9dfb74fcc5f190a8404d52df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1950-1969 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1287-1307 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 30 separate duplicated blocks between them, totalling at least 399 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1950\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 \u0060item\u0060 to \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026WellsfargoRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"5346148ab0165d91853da241508ebe982646d0698c105eba19f1edb8fa254a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1308-1328 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1377-1397 \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 \u0060crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1308\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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c937714f93b619d7a61ac027e36affef39c33318e5184fc75033f76d57139d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs:118-138 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs:183-203 \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 \u0060item\u0060 to \u0060\u0026SanlamPayshieldRouterData\u003C\u0026FrmCheckoutRouterData\u003E\u0060 in one and \u0060\u0026SanlamPayshieldRouterData\u003C\u0026PoFrmRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e04e9e050670904749d52537d41cfeedac3d0fba6845b0889df5e8edaf387d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1193-1213 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:2538-2558 \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 \u0060crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1193\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cee64213981ce514174503696d56cad47723ffbe32f7e0f5589a95f83035d22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:559-579 | crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:747-767 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:559\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":"crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"82924c562b968a7f7dd3b819e0287107b813e20518c84f2d1902ae7e5fe255b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2055-2075 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2096-2116 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2055\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026PaymentsCancelRouterData\u0060 in one and \u0060\u0026PaymentsCancelPostCaptureRouterData\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff823929f1f1e1c0431cc4b31d85748184ac269c95b006dc5480848c0b648643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2207-2226 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2301-2321 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2207\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9252025d2400bcac612a9271a842a71c22448c4fce42f20638aee6a6f10d2da1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2100-2120 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3115-3134 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2100\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5898f24a48477cd1cfe1470e58a8afa6a0fa808bb0c6d118c1a8a5a30590ea65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2676-2696 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2728-2748 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"552a79d039ad56417f9b11153a244d850bf295238efafc8b7c1512f96be439ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/xendit.rs:434-454 | crates/hyperswitch_connectors/src/connectors/xendit.rs:558-578 \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 \u0060crates/hyperswitch_connectors/src/connectors/xendit.rs:434\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":"crates/hyperswitch_connectors/src/connectors/xendit.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab664d727b88be4afc881129f56d41bdbec95bcc87faaf89087b69bd569180c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_constraint_graph/src/graph.rs:592-612 | crates/hyperswitch_constraint_graph/src/graph.rs:614-634 \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":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"283e17220d7f6cd181b43f76dcbfe0e0d66c9cf579ba7800b0fe4f6b5c9bd974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/hyperswitch_domain_models/src/router_data.rs:1568-1588 | crates/hyperswitch_domain_models/src/router_data.rs:2157-2176 \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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b8b45f3f55229bc62441117404c9b10173d85b285548eab3410273f3c03136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): crates/hyperswitch_domain_models/src/type_encryption.rs:694-714 | crates/hyperswitch_domain_models/src/type_encryption.rs:769-787 \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 \u0060crates/hyperswitch_domain_models/src/type_encryption.rs:694\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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed16893d73b43f4c25cdf0950093a4c0b4357163512fe47065d6fbbcd70e0478"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/authentication/utils.rs:217-237 | crates/router/src/core/authentication/utils.rs:285-305 \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 \u0060crates/router/src/core/authentication/utils.rs:217\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":"crates/router/src/core/authentication/utils.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7978c2bd03f95cfc80b181fd15f9eb443f3b950bf7d9da957e23c9766370d322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/payment_methods.rs:3040-3060 | crates/router/src/core/payment_methods.rs:3726-3746 \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 \u0060crates/router/src/core/payment_methods.rs:3040\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3040}}}],"partialFingerprints":{"codehealthFindingId/v1":"f210ba0e454fcffbd039ee1b84a945fd23b4c63bfa6230dd0d85077ab114cd13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/payment_methods.rs:4857-4877 | crates/router/src/core/payments/payment_methods.rs:256-276 \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 \u0060crates/router/src/core/payment_methods.rs:4857\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":4857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fead0e86a9075fc45e35b4c4068271b789808e0ac60a64de201db563992c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/core/payment_methods.rs:7474-7511 | crates/router/src/core/payment_methods.rs:7524-7561 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":7474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08167106d8eea85d78a0f132b29b6bce49251d753d6c591ebf35253f7a0b464"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/payment_methods/network_tokenization.rs:878-898 | crates/router/src/core/payment_methods/network_tokenization.rs:1106-1126 \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 \u0060crates/router/src/core/payment_methods/network_tokenization.rs:878\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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"c188c3f5ef5ba2f18eb3e301cd6d0b318f844ed073189c47681fd852c740c62b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/router/src/core/payments/operations/payment_complete_authorize.rs:338-358 | crates/router/src/core/payments/operations/payment_update.rs:452-471 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 7 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d15aca735431250793a9611528c95cf7041f3eccb0f3cae5b866069cbcc0f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:886-904 | crates/router/src/core/payments/operations/payment_create.rs:637-657 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:886\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fb638ad86245932348d96298f3df8b46f80a365b7470d0a9a1da4b0689e801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/payments/routing.rs:279-299 | crates/router/src/core/payments/routing.rs:399-419 \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 \u0060crates/router/src/core/payments/routing.rs:279\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"019e476cc9b237a659e8cc4b2679f4349a90c4feada01363fb179b96e907b8eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/payouts.rs:429-449 | crates/router/src/core/payouts.rs:493-513 \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":"crates/router/src/core/payouts.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b48d0726ebd59b540bad5ac49f0bebdeb3a7e6855f5cd2b5acee6c92c7e6a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/payouts/helpers.rs:1253-1273 | crates/router/src/core/payouts/helpers.rs:1283-1303 \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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64eb1bd201929f026111e043dffacac5c98f5dd535841e2418d5b015c46dab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/router/src/core/payouts/retry.rs:76-96 | crates/router/src/core/payouts/retry.rs:145-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 \u0060crates/router/src/core/payouts/retry.rs:76\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":"crates/router/src/core/payouts/retry.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"379f7be84103891a32eb34eeb70035fea6fa7f175cc177e74a5802e35dc8d57a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): crates/router/src/core/refunds.rs:598-632 | crates/router/src/core/refunds.rs:1295-1329 \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 \u0060crates/router/src/core/refunds.rs:598\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/refunds.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"f068dffa6798387d962eb8777a5c646830f269cc57be93c213aa8a29f0fa70f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): crates/router/src/core/refunds.rs:1025-1056 | crates/router/src/core/refunds.rs:1601-1631 \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 \u0060crates/router/src/core/refunds.rs:1025\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed53a961ab2ad37373f1a23fef7338a70ad9fa143aaa4f891015d711593d2f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/routing.rs:1120-1140 | crates/router/src/core/routing.rs:1640-1660 \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 \u0060crates/router/src/core/routing.rs:1120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing.rs"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"33631d6999f538071de78f3ca9bf5dfa189a80ffbe9051f2acc81b1196ca12a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/user.rs:955-975 | crates/router/src/core/user.rs:1106-1126 \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 \u0060crates/router/src/core/user.rs:955\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":"crates/router/src/core/user.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19d22c08990fbd50f96df9a0ea942b8c2cc846807d8431dfa95ad677e734cc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/user.rs:4110-4130 | crates/router/src/core/user.rs:4209-4229 \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 \u0060crates/router/src/core/user.rs:4110\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":"crates/router/src/core/user.rs"},"region":{"startLine":4110}}}],"partialFingerprints":{"codehealthFindingId/v1":"37504582f1c66bb84611d5979ed6fd7f1dcb73cd38fef9da6333fcaffb5be040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/core/user/theme.rs:26-46 | crates/router/src/core/user/theme.rs:579-599 \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 \u0060crates/router/src/core/user/theme.rs:26\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, \u0060crates/router/src/core/user/theme.rs:577\u0060 calls \u0060get_theme_lineage_from_user_token\u0060 and \u0060crates/router/src/core/user/theme.rs:25\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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0455ead6c6a85b29f0520b5d1d689f7352ce9aee993f7b1b49a4c2d299237f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:1097-1117 | crates/router/src/core/webhooks/incoming.rs:3216-3233 \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 \u0060crates/router/src/core/webhooks/incoming.rs:1097\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe645c2eed23b042cab470f3900327528fbaf6111ae3c93c223a15733c8dc5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/routes/payments.rs:1718-1738 | crates/router/src/routes/payments.rs:1775-1795 \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 \u0060crates/router/src/routes/payments.rs:1718\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1718}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fca7637bbe36221a7348750e8a7f6c2f738b1a7fdc4c7ea3bfdd505e52c0b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/routes/routing.rs:1096-1116 | crates/router/src/routes/routing.rs:1130-1150 \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 \u0060crates/router/src/routes/routing.rs:1096\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a97d0c267a368de8fc8bdcb3370f4e7a50f60edc59b6e0b3b3281431e0c91f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/routes/routing.rs:1332-1352 | crates/router/src/routes/routing.rs:1438-1458 \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 \u0060crates/router/src/routes/routing.rs:1332\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"24695c7abfe9fc4dab170613b40ac1f30850e275c90fab53778568b79b0b43ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/types/transformers.rs:764-784 | crates/router/src/types/transformers.rs:800-820 \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":"crates/router/src/types/transformers.rs"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f95e5f0dbae47a019e0761178f88083ded954e147c95cd28ee76d3ed122183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router/src/workflows/batch_blocklist_upload.rs:242-262 | crates/router/src/workflows/blocklist_export.rs:391-411 \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 \u0060crates/router/src/workflows/batch_blocklist_upload.rs:242\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":"crates/router/src/workflows/batch_blocklist_upload.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e6f9ec036e037971d34079862d3b285696565d9343fd3744c4d22db9b55234"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/router_derive/src/macros/api_error.rs:129-149 | crates/router_derive/src/macros/api_error.rs:173-193 \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 \u0060crates/router_derive/src/macros/api_error.rs:129\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":"crates/router_derive/src/macros/api_error.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e643e39751d9353972214b5b23cce19354fc29b171d07ed389b2a063aab121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201321 lines \u00D7 2): crates/router_env/src/request_id.rs:1032-1045 | crates/router_env/src/request_id.rs:1164-1184 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router_env/src/request_id.rs:1031\u0060 calls \u0060clone\u0060 and \u0060crates/router_env/src/request_id.rs:1163\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":"crates/router_env/src/request_id.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"b832d2784a85f7063f39f7484c149bc43393b95797191d477e2672b839fd900e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): crates/storage_impl/src/customers.rs:1562-1581 | crates/storage_impl/src/customers.rs:1847-1867 \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 \u0060crates/storage_impl/src/customers.rs:1562\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a339e9741ca8af13e38fc07f32948428d49b4447f296088365eb4dbce051ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 21): crates/diesel_models/src/payment_attempt.rs:2651-2670 | crates/diesel_models/src/payment_attempt.rs:2866-2885 | crates/diesel_models/src/payment_attempt.rs:2952-2971 | crates/diesel_models/src/payment_attempt.rs:3038-3057 | crates/diesel_models/src/payment_attempt.rs:3124-3143 | crates/diesel_models/src/payment_attempt.rs:3208-3227 | crates/diesel_models/src/payment_attempt.rs:3291-3310 | crates/diesel_models/src/payment_attempt.rs:3525-3544 | crates/diesel_models/src/payment_attempt.rs:3604-3623 | crates/diesel_models/src/payment_attempt.rs:3697-3716 | crates/diesel_models/src/payment_attempt.rs:3796-3815 | crates/diesel_models/src/payment_attempt.rs:3892-3911 | crates/diesel_models/src/payment_attempt.rs:3977-3996 | crates/diesel_models/src/payment_attempt.rs:4062-4081 | crates/diesel_models/src/payment_attempt.rs:4158-4177 | crates/diesel_models/src/payment_attempt.rs:4241-4260 | crates/diesel_models/src/payment_attempt.rs:4329-4348 | crates/diesel_models/src/payment_attempt.rs:4427-4446 | crates/diesel_models/src/payment_attempt.rs:4511-4530 | crates/diesel_models/src/payment_attempt.rs:4602-4621 | crates/diesel_models/src/payment_attempt.rs:4683-4702 \u2014 all 21 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 before the matched lines, \u0060crates/diesel_models/src/payment_attempt.rs:4238\u0060 calls \u0060default\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2648\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2651}}}],"partialFingerprints":{"codehealthFindingId/v1":"4822d431af760a969a5f868902668807b63083989291dd66132cc99ec9928cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 10): crates/analytics/src/lib.rs:154-173 | crates/analytics/src/lib.rs:183-202 | crates/analytics/src/lib.rs:369-388 | crates/analytics/src/lib.rs:398-417 | crates/analytics/src/lib.rs:490-509 | crates/analytics/src/lib.rs:517-536 | crates/analytics/src/lib.rs:700-719 | crates/analytics/src/lib.rs:727-746 | crates/analytics/src/lib.rs:800-819 | crates/analytics/src/lib.rs:827-846 \u2014 all 10 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 \u0060crates/analytics/src/lib.rs:154\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":"crates/analytics/src/lib.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ae25889b3304b3c98f5bacf6b2c91837464c08059ab0bb3ab0fc2e1b05e32a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 8): crates/analytics/src/sdk_events/metrics/average_payment_time.rs:54-73 | crates/analytics/src/sdk_events/metrics/load_time.rs:54-73 | crates/analytics/src/sdk_events/metrics/payment_attempts.rs:53-72 | crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs:53-72 | crates/analytics/src/sdk_events/metrics/payment_method_selected_count.rs:53-72 | crates/analytics/src/sdk_events/metrics/payment_methods_call_count.rs:53-72 | crates/analytics/src/sdk_events/metrics/sdk_initiated_count.rs:53-72 | crates/analytics/src/sdk_events/metrics/sdk_rendered_count.rs:53-72 \u2014 before extracting anything, compare \u0060crates/analytics/src/sdk_events/metrics/average_payment_time.rs\u0060 and \u0060crates/analytics/src/sdk_events/metrics/load_time.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 117 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 \u0060crates/analytics/src/sdk_events/metrics/average_payment_time.rs:54\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":"crates/analytics/src/sdk_events/metrics/average_payment_time.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c8b440c0736a68fa32d688989335c80e3d0bcb5c9c8e69bcdb6b0669b04611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 6): crates/diesel_models/src/payment_method.rs:539-558 | crates/diesel_models/src/payment_method.rs:572-591 | crates/diesel_models/src/payment_method.rs:672-691 | crates/diesel_models/src/payment_method.rs:755-774 | crates/diesel_models/src/payment_method.rs:788-807 | crates/diesel_models/src/payment_method.rs:869-888 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/diesel_models/src/payment_method.rs:539\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, \u0060crates/diesel_models/src/payment_method.rs:868\u0060 calls \u0060expose\u0060 and \u0060crates/diesel_models/src/payment_method.rs:538\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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"db883220b4788828ff4d3332761f7666a486b78f7a0611012dd7c9009a738a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 6): crates/router/src/services/authentication.rs:640-657 | crates/router/src/services/authentication.rs:745-764 | crates/router/src/services/authentication.rs:991-1008 | crates/router/src/services/authentication.rs:1076-1093 | crates/router/src/services/authentication.rs:1988-2005 | crates/router/src/services/authentication.rs:3033-3050 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa049404bc47559654c7aee0011182133b5b11397fc93bc4c2aedca30140012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): crates/analytics/src/sqlx.rs:681-700 | crates/analytics/src/sqlx.rs:812-831 | crates/analytics/src/sqlx.rs:949-968 | crates/analytics/src/sqlx.rs:1065-1084 | crates/analytics/src/sqlx.rs:1172-1191 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/sqlx.rs:681\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ee01ee0fa81d733fd820f222c38369a7024a9db679658945ecaf3428cdb48e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): crates/diesel_models/src/payment_attempt.rs:3098-3117 | crates/diesel_models/src/payment_attempt.rs:3138-3157 | crates/diesel_models/src/payment_attempt.rs:3515-3534 | crates/diesel_models/src/payment_attempt.rs:4420-4439 | crates/diesel_models/src/payment_attempt.rs:4492-4511 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":3098}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e08a0e77bcce858626c4ed357e47cad35ee0df8be2556780f57add85bec7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 5): crates/router/src/core/relay/utils.rs:40-59 | crates/router/src/core/relay/utils.rs:189-208 | crates/router/src/core/relay/utils.rs:334-353 | crates/router/src/core/relay/utils.rs:470-489 | crates/router/src/core/relay/utils.rs:604-623 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/relay/utils.rs: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":"crates/router/src/core/relay/utils.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f6974cfe017e3723fbcd04d6f9d1fab401af3ece8d5a82f647f63d098ef389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): crates/analytics/src/lib.rs:260-279 | crates/analytics/src/lib.rs:291-310 | crates/analytics/src/lib.rs:592-611 | crates/analytics/src/lib.rs:623-642 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/lib.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4672b927df4b16baa5e4a630e544216ee602462e7b4bf5048e7e3f4829f1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/adyen.rs:1939-1958 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:806-823 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1309-1326 | crates/hyperswitch_interfaces/src/webhooks.rs:289-308 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/rapyd.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 63 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, \u0060crates/hyperswitch_interfaces/src/webhooks.rs:286\u0060 calls \u0060get_webhook_source_verification_algorithm\u0060, \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:1938\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1939}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adc3b68ce1953c955333d1879c4d0b2aff8a4f63ffc433918262921828e93bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): crates/router/src/core/payments/transformers.rs:640-659 | crates/router/src/core/payments/transformers.rs:1262-1281 | crates/router/src/core/payments/transformers.rs:1773-1792 | crates/router/src/core/payments/transformers.rs:2025-2044 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"a068fd6951a4f8bfe25cd6469b9d651d7dff2f1ac071455699f6d7bd3b4837bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): crates/router/src/routes/payments.rs:1156-1175 | crates/router/src/routes/payments.rs:1474-1493 | crates/router/src/routes/payments.rs:1630-1649 | crates/router/src/routes/payments.rs:3371-3390 \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 \u0060crates/router/src/routes/payments.rs:1156\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, \u0060crates/router/src/routes/payments.rs:1154\u0060 calls \u0060as_ref\u0060, \u0060peek\u0060 and \u0060crates/router/src/routes/payments.rs:1629\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ade849bd56b5d313688fa1f75dabc14de9c3249e1fdce3de4b3ed1be726ecf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): crates/analytics/src/api_event/metrics/api_count.rs:53-72 | crates/analytics/src/api_event/metrics/latency.rs:58-75 | crates/analytics/src/api_event/metrics/status_code_count.rs:59-78 \u2014 before extracting anything, compare \u0060crates/analytics/src/api_event/metrics/api_count.rs\u0060 and \u0060crates/analytics/src/api_event/metrics/latency.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/analytics/src/api_event/metrics/latency.rs:77\u0060 calls \u0060set_filter_clause\u0060 and \u0060crates/analytics/src/api_event/metrics/api_count.rs:72\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":"crates/analytics/src/api_event/metrics/api_count.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9555a79ad6c07120a0eaef8c49c9342334bdece9790c2f6044d8cc71e24b60f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3462-3480 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3545-3564 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3764-3782 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3462\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98e40114f748ade1f1eb420bd96f48ec6d23ce6e323b821047e18c8008ab9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:337-356 | crates/hyperswitch_connectors/src/connectors/riskified.rs:581-600 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:691-710 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/riskified.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/signifyd.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 93 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":"crates/hyperswitch_connectors/src/connectors/adyenplatform.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2e1b6d28cdf931cb2399d53a8f0748c9906533c89904ccf1a67e73c10f26f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:912-931 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1846-1865 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1046-1065 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:912\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"642116dc2093e781cede27854018168de533bd8839213655a5cf8cf71600b48c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1592-1611 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2495-2514 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:780-798 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 289 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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1592\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d48d3c75bd3c5973737ff72d2ef8e765268f2a573e288dc7608730c645e619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:398-417 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:488-507 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:534-553 \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 \u0060crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:398\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, JpmorganPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, JpmorganCaptureResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d104821e98949cb5f0acee782daabe08c05eed94c0a57139149f554a1c7b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): crates/router/src/compatibility/stripe/setup_intents.rs:127-146 | crates/router/src/compatibility/stripe/setup_intents.rs:213-232 | crates/router/src/compatibility/stripe/setup_intents.rs:300-319 \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 \u0060crates/router/src/compatibility/stripe/setup_intents.rs:127\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":"crates/router/src/compatibility/stripe/setup_intents.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c4aaa4e6640dbb69162ce8dde56ac8121ad0c1abc95fddce3f595b89c10c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): crates/router/src/core/payments/operations/payment_approve.rs:191-209 | crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:492-511 | crates/router/src/core/payments/operations/payment_reject.rs:187-205 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_approve.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_reject.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ddefba08c3a61c63bb168063a7548d9688074e129ebde702c319b17984ec06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): crates/router/src/core/payments/operations/payment_cancel.rs:227-246 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:168-187 | crates/router/src/core/payments/operations/payment_capture.rs:275-294 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c26b6a54a209a602f3e7a922a55bfbcd05ce96308588e35b262ddf6e2abe6bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:414-433 | crates/router/src/core/payments/transformers.rs:737-756 | crates/router/src/core/payments/transformers.rs:1872-1891 \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 \u0060crates/router/src/core/payments/transformers.rs:414\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f55c3618af98b82d1a979bf8111b83eeb00a971de1a3c15e38f0ffe36949c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:3390-3409 | crates/router/src/core/payments/transformers.rs:3548-3567 | crates/router/src/core/payments/transformers.rs:3674-3691 \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 \u0060crates/router/src/core/payments/transformers.rs:3390\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3390}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa2b54cd5aa3c88b7667ef48836bf8a00ee78aa5a1b08cfc9847362334c59c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): crates/router/src/routes/payments.rs:2202-2221 | crates/router/src/routes/payments.rs:4624-4642 | crates/router/src/routes/payments.rs:4892-4910 \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 \u0060crates/router/src/routes/payments.rs:2202\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f9c0c694455fc584a60ff60cefadcd39d04c28456c40ef88f85a4ac2a90136"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:55-74 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:55-72 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/challenge_flow_count.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 224 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 \u0060crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:55\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bbfc94c8391b001ce4e0d41376c843638102326f2bacf8833c6119506536b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:55-72 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:55-74 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/frictionless_success_count.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 224 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 \u0060crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:55\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:75\u0060 calls \u0060add_filter_clause\u0060 and \u0060crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:72\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":"crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2850f209b8f6e6caff73b3679d37184014b222ff269f8b1a12692a7eef17c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/api_models/src/payments.rs:12865-12884 | crates/api_models/src/payments.rs:13045-13064 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":12865}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b64f6ef0fe5001955afeb699cf5a89f1245391f25d2003e889b74dc1c658fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/diesel_models/src/refund.rs:533-552 | crates/diesel_models/src/refund.rs:696-715 \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 \u0060crates/diesel_models/src/refund.rs:533\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, \u0060crates/diesel_models/src/refund.rs:694\u0060 calls \u0060now\u0060 and \u0060crates/diesel_models/src/refund.rs:531\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":"crates/diesel_models/src/refund.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22cd5d068e69ad6a238d8e422a567ba6b997713f4ce0fd289a4a51c1d4976ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:960-980 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1783-1803 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:960\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f9bf545723c51cfab6ab19669b947c30d11cad9be47b50f802b8dc1f26c586"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1187-1206 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2562-2580 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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. 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"63378c54144827f83f23da054ef2a0a6be0f3badd55027a9fb23a660add20c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1612-1629 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1764-1783 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1612\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af7a9e868f5b4fd7d0890a3593ac18963bc36c28603fd7ded0c273727cfbee5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:295-314 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:567-586 \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 \u0060crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:295\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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1063810c9a5be85bb83f62412b78af4d99128d387116b356b028fab0f3dbb796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1650-1669 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1673-1692 \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 \u0060crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1650\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":"crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86826dcfc8763ce8c7decac3110ed9815950ce566a9e4df0693f7123ea20278"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1044-1063 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1067-1086 \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 \u0060crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1044\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cece77467bcb593045c7185b848f919322546e6ccdd4d3b0ba7a5f9b5d20a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:3787-3806 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:4241-4260 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:3787\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":3787}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c0e66dd9b0d17b04854047f5f22ee1f78326a9b7a004174bfa26e18cb807d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201320 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2321-2334 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2464-2483 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2321\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2321}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ad43f4dc1305ae74ea26a7cdd14b99d4625a5977c2dd0fcc5c933e012a5865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/analytics.rs:2355-2374 | crates/router/src/analytics.rs:2438-2457 \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 \u0060crates/router/src/analytics.rs:2355\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":"crates/router/src/analytics.rs"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed0820a17d76aadc1fe5ff176483ead5a8ea368928bb9b4c96c6454c86ef568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/admin.rs:1780-1799 | crates/router/src/core/admin.rs:1865-1884 \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 \u0060crates/router/src/core/admin.rs:1780\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":"crates/router/src/core/admin.rs"},"region":{"startLine":1780}}}],"partialFingerprints":{"codehealthFindingId/v1":"81841553e75f9388b16c07da219111795803b8c251e448aabe0024650f4d0176"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/router/src/core/authentication.rs:454-473 | crates/router/src/core/authentication.rs:1260-1278 \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 \u0060crates/router/src/core/authentication.rs:454\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/authentication.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe98955d743231120c113bb958e5256e5fcb4d44020358d212c8d8c8dbcf5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/router/src/core/customers.rs:855-872 | crates/router/src/core/customers.rs:1065-1084 \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 \u0060crates/router/src/core/customers.rs:855\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":"crates/router/src/core/customers.rs"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8c23aed507f14f263f3d29d0dda0412c734e3b84bb497916a90f7ce44908f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/fraud_check/flows/record_return.rs:109-128 | crates/router/src/core/fraud_check/flows/sale_flow.rs:161-180 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/record_return.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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 \u0060crates/router/src/core/fraud_check/flows/record_return.rs:109\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, \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs:181\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/fraud_check/flows/record_return.rs:129\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":"crates/router/src/core/fraud_check/flows/record_return.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"720dc27ed084324ab8a24bd94472022d5d9c645eb2e55831a686c45c18ecaeb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:309-328 | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:362-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:309\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":"crates/router/src/core/fraud_check/operation/fraud_check_pre.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ac22c6ca09ce45d8eedbc7ad8c437f32349d67cee27db6fdd66fa0ab5a522d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/payment_link.rs:174-193 | crates/router/src/core/payment_link.rs:998-1017 \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 \u0060crates/router/src/core/payment_link.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payment_link.rs:173\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payment_link.rs:997\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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3f8f8376c9ccd6d595bc847afa93cfcc5a82a34a0041e78f1ffdb43c657cfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/payment_methods.rs:3398-3417 | crates/router/src/core/payment_methods.rs:3646-3665 \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 \u0060crates/router/src/core/payment_methods.rs:3398\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, \u0060crates/router/src/core/payment_methods.rs:3642\u0060 calls \u0060change_context\u0060 and \u0060crates/router/src/core/payment_methods.rs:3394\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3398}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cc94582a3980c543170272b08c659f4908052f7dee36f26e46e153f9be7d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:155-172 | crates/router/src/core/payment_methods/cards.rs:1273-1292 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b909b555f2c9ee29f313983ac004211d70da2583ebe0e1b758898b2cd3d6263f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:2616-2635 | crates/router/src/core/payment_methods/cards.rs:2722-2741 \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 \u0060crates/router/src/core/payment_methods/cards.rs:2616\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"89007b3a8adfab0b183b02c473ed1517f1521ae5502ee26ce2066a3abc3bc91c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:5976-5995 | crates/router/src/core/payment_methods/cards.rs:6040-6059 \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 \u0060crates/router/src/core/payment_methods/cards.rs:5976\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5976}}}],"partialFingerprints":{"codehealthFindingId/v1":"faebdac5f72806307f08f7dd81c6be094304355620299ae904b80e59f02567f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/payment_methods/surcharge_decision_configs.rs:245-264 | crates/router/src/core/payment_methods/surcharge_decision_configs.rs:296-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/surcharge_decision_configs.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52a2fc691f96bab4aeed3c9dc0d5ad9be7e794a532bb7b2c07d9ddb5f3072e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/router/src/core/payments.rs:6057-6075 | crates/router/src/core/payments.rs:6080-6099 \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 \u0060crates/router/src/core/payments.rs:6057\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":"crates/router/src/core/payments.rs"},"region":{"startLine":6057}}}],"partialFingerprints":{"codehealthFindingId/v1":"25354aaa596726474da823629246845f4635f326bba532fb17fef276433c85d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/router/src/core/payments.rs:6455-6474 | crates/router/src/core/payments.rs:7207-7225 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":6455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c816adca810af20eb135a562924d279062b8c1ba9acc6dd752461dced6eb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/router/src/core/payments.rs:8019-8036 | crates/router/src/core/payments.rs:8225-8244 \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 \u0060crates/router/src/core/payments.rs:8019\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":"crates/router/src/core/payments.rs"},"region":{"startLine":8019}}}],"partialFingerprints":{"codehealthFindingId/v1":"296b50bb9c33246d3c351af57781ff8bcdc8e3e050f9b0f8e6239d54794efd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/payments.rs:14869-14888 | crates/router/src/core/payments.rs:14956-14975 \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 \u0060crates/router/src/core/payments.rs:14869\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":"crates/router/src/core/payments.rs"},"region":{"startLine":14869}}}],"partialFingerprints":{"codehealthFindingId/v1":"3658921bbf2f32395d192e80807fa5528cc9450ebe2fa5bb5140ae5a7993416b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:861-880 | crates/router/src/core/payments/operations/payment_create.rs:567-586 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"68510bb3c5ee0846bddb8fdb6a6829ba3727ad18da476469de99fd29ed9e99b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:3348-3364 | crates/router/src/core/payments/operations/payment_create.rs:1296-1315 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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 \u0060crates/router/src/core/payments/operations/payment_create.rs:1296\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":3348}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8d60a85c8a608cce999e3cb22337456ff7046dc70e2ec30b3cddc09cb1ca21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:79-96 | crates/router/src/core/payments/operations/tax_calculation.rs:94-113 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 and \u0060crates/router/src/core/payments/operations/tax_calculation.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 236 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 \u0060crates/router/src/core/payments/operations/tax_calculation.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d268e2f4275e2752f632355fad38685db28cef4381426c0a1b6d954ed2693c74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201320 lines \u00D7 2): crates/router/src/core/payments/operations/payment_response.rs:922-941 | crates/router/src/core/payments/operations/payment_response.rs:2297-2313 \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 \u0060crates/router/src/core/payments/operations/payment_response.rs:922\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c92e8ead27671c351a605fa11a6608f98fe4ba67d400465881808e408d0daca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/payments/routing.rs:447-466 | crates/router/src/core/payments/routing.rs:495-514 \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 \u0060crates/router/src/core/payments/routing.rs:447\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a5eabd1de2f6b8944dafdb1f8288280b03fd2cdd282e69623b4d114185208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/payments/routing/utils.rs:387-406 | crates/router/src/core/payments/routing/utils.rs:425-444 \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 \u0060crates/router/src/core/payments/routing/utils.rs:387\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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed69b228371c441d0e031d6388386b09f7772d4de7d87651b740039d732e318c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:1367-1386 | crates/router/src/core/unified_authentication_service.rs:2526-2545 \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 \u0060crates/router/src/core/unified_authentication_service.rs:1367\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1554203d5c59810b93d491218a5dfa3cb64c2993459f4a2bd3e2da1c8e01675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/router/src/core/user.rs:3200-3218 | crates/router/src/core/user.rs:3275-3294 \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 \u0060crates/router/src/core/user.rs:3200\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":"crates/router/src/core/user.rs"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fc436ba3cf853e5db0839a753084392bdbe98bc6d09e735e8ab187dec58246"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/core/user/dashboard_metadata.rs:378-397 | crates/router/src/core/user/dashboard_metadata.rs:403-422 \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 \u0060crates/router/src/core/user/dashboard_metadata.rs:378\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":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39c1a770ddde4cbfb363a902cc7437ef093db71020b2b5bc4b753a4ff145361"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/db/events.rs:1121-1140 | crates/router/src/db/events.rs:1259-1278 \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 \u0060crates/router/src/db/events.rs:1121\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":"crates/router/src/db/events.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9105a36cbe18370294fbee51818e1ba255bf249b5ca7757edafb0e9f1eec325e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/routes/customers.rs:78-97 | crates/router/src/routes/customers.rs:523-542 \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 \u0060crates/router/src/routes/customers.rs:78\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/customers.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e462395248fcad222eaa7658e90a8c6ed79e4dc90a6bebbdb592e2999a4c59b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): crates/router/src/routes/payment_methods.rs:596-614 | crates/router/src/routes/payment_methods.rs:1698-1717 \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 \u0060crates/router/src/routes/payment_methods.rs:596\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4950244ec0ea30bab8a23273730f3bc9d86d8ba1e6c2b05f39e7ef56127038"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/services/authentication.rs:2314-2333 | crates/router/src/services/authentication.rs:2440-2459 \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 \u0060crates/router/src/services/authentication.rs:2314\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3588e8e727b7faf0cfcdc8e72b2bcf546d59fa8ec24ff1c1af66ca30e6b03d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/services/authentication.rs:2616-2635 | crates/router/src/services/authentication.rs:2889-2908 \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 \u0060crates/router/src/services/authentication.rs:2616\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec27e8b06627681b9502baabad5626cb524fb9157fd33c73ba1091fecc0a2a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/services/authentication.rs:5293-5312 | crates/router/src/services/authentication.rs:5376-5395 \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 \u0060crates/router/src/services/authentication.rs:5293\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":5293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f2523803414209de2bbbab2163e716f9305cca6dc60ba07b686c0d08ab8d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/utils.rs:415-434 | crates/router/src/utils.rs:502-521 \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 \u0060crates/router/src/utils.rs: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":"crates/router/src/utils.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae591aa2ac5e5383eedaa40a82d9e5527e306ff8a7e2126aae1758b7177a56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/utils/user/dashboard_metadata.rs:665-684 | crates/router/src/utils/user/dashboard_metadata.rs:865-884 \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 \u0060crates/router/src/utils/user/dashboard_metadata.rs:665\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":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"40425c5e7ca9ddbb5f2fe20f27a2196ddbc6fd11faf6f4387663e2dbaf85e52e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/workflows/payment_method_modular_backward_compat.rs:348-367 | crates/router/src/workflows/payment_method_modular_backward_compat.rs:590-609 \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 \u0060crates/router/src/workflows/payment_method_modular_backward_compat.rs:348\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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cf34b05c36ed038514572589bb536adf7bf3d929bc1c204e9b266a21789b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/smithy/src/lib.rs:1210-1229 | crates/smithy/src/lib.rs:1287-1306 \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 \u0060crates/smithy/src/lib.rs:1210\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":"crates/smithy/src/lib.rs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a119ef18067cb7431fd7c11057fab803b2a0baef984d64d4f51e9bf209f785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/storage_impl/src/authentication.rs:414-433 | crates/storage_impl/src/authentication.rs:514-533 \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 \u0060crates/storage_impl/src/authentication.rs:414\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":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac4d9f591729ac1319158ed16fbfabd944a9b19c2315446166019442e50011f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:2259-2278 | crates/storage_impl/src/merchant_connector_account.rs:2348-2367 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:2259\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61902b583a0cd0dc63c34e126f4c84aef8ace13832d6e97095ed15f59488cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:3165-3184 | crates/storage_impl/src/payments/payment_attempt.rs:3241-3260 \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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a3de73d5082e78787f50ce6acde7e505efc4f496b057597fe507d295584937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 41): crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:48-66 | crates/analytics/src/auth_events/metrics/authentication_count.rs:45-63 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:45-63 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:45-63 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:48-66 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:46-64 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:46-64 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:46-64 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:46-64 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:46-64 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:46-64 | crates/analytics/src/disputes/metrics/dispute_status_metric.rs:50-66 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:50-66 | crates/analytics/src/frm/metrics/frm_blocked_rate.rs:48-64 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:43-59 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:50-66 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:53-70 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:50-66 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:55-71 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:52-68 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:55-71 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:52-68 | crates/analytics/src/payments/distribution/payment_error_message.rs:52-68 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:53-69 | crates/analytics/src/payments/metrics/connector_success_rate.rs:52-68 | crates/analytics/src/payments/metrics/payment_count.rs:46-62 | crates/analytics/src/payments/metrics/payment_success_count.rs:47-63 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:54-70 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:53-69 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:47-63 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:48-64 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:50-66 | crates/analytics/src/payments/metrics/success_rate.rs:49-65 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:53-69 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:52-68 | crates/analytics/src/refunds/metrics/refund_count.rs:46-62 | crates/analytics/src/refunds/metrics/refund_success_count.rs:50-66 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:51-67 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:47-63 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:50-66 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:51-67 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 188 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, \u0060crates/analytics/src/disputes/metrics/dispute_status_metric.rs:48\u0060 calls \u0060add_select_column\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:46\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":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a798c1481256c2f0b47edd7de39cb26e30659904866a92f4df6dc01e76a4b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 16): crates/diesel_models/src/payment_intent.rs:966-984 | crates/diesel_models/src/payment_intent.rs:1173-1191 | crates/diesel_models/src/payment_intent.rs:1243-1261 | crates/diesel_models/src/payment_intent.rs:1313-1331 | crates/diesel_models/src/payment_intent.rs:1391-1409 | crates/diesel_models/src/payment_intent.rs:1460-1478 | crates/diesel_models/src/payment_intent.rs:1530-1548 | crates/diesel_models/src/payment_intent.rs:1599-1617 | crates/diesel_models/src/payment_intent.rs:1668-1686 | crates/diesel_models/src/payment_intent.rs:1736-1754 | crates/diesel_models/src/payment_intent.rs:1869-1887 | crates/diesel_models/src/payment_intent.rs:1936-1954 | crates/diesel_models/src/payment_intent.rs:2003-2021 | crates/diesel_models/src/payment_intent.rs:2072-2090 | crates/diesel_models/src/payment_intent.rs:2142-2160 | crates/diesel_models/src/payment_intent.rs:2207-2225 \u2014 all 16 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 \u0060crates/diesel_models/src/payment_intent.rs:966\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1176297313b8aeb642c3d429ef8f10a1cf95e26f40eb012d662a1a07c44983"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 11): crates/router/src/analytics.rs:659-677 | crates/router/src/analytics.rs:906-924 | crates/router/src/analytics.rs:1062-1080 | crates/router/src/analytics.rs:1367-1385 | crates/router/src/analytics.rs:1456-1474 | crates/router/src/analytics.rs:1525-1543 | crates/router/src/analytics.rs:1656-1674 | crates/router/src/analytics.rs:2915-2933 | crates/router/src/analytics.rs:3041-3059 | crates/router/src/analytics.rs:3133-3151 | crates/router/src/analytics.rs:3204-3222 \u2014 all 11 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 \u0060crates/router/src/analytics.rs:659\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":"crates/router/src/analytics.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"c755d8a77d4915dd684c3f03fb15a7497034eece1ca479797fd79a1e41a0f39a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 11): crates/router/src/core/mandate/utils.rs:83-100 | crates/router/src/core/relay/utils.rs:146-163 | crates/router/src/core/relay/utils.rs:297-314 | crates/router/src/core/relay/utils.rs:427-444 | crates/router/src/core/relay/utils.rs:566-583 | crates/router/src/core/utils.rs:442-459 | crates/router/src/core/utils.rs:637-654 | crates/router/src/core/utils.rs:1554-1571 | crates/router/src/core/utils.rs:2119-2136 | crates/router/src/core/webhooks/utils.rs:137-154 | crates/router/src/types/api/verify_connector.rs:144-162 \u2014 before extracting anything, compare \u0060crates/router/src/core/mandate/utils.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/types/api/verify_connector.rs:144\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/relay/utils.rs:143\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/core/mandate/utils.rs:80\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":"crates/router/src/core/mandate/utils.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"041162b39bfaae4ffc56cb37fb845b3bc9aa01649154b70dc53453a27f4fc029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 11): crates/router/src/core/payments/operations/payment_response.rs:729-747 | crates/router/src/core/payments/operations/payment_response.rs:1502-1520 | crates/router/src/core/payments/operations/payment_response.rs:1828-1846 | crates/router/src/core/payments/operations/payment_response.rs:1876-1894 | crates/router/src/core/payments/operations/payment_response.rs:1918-1936 | crates/router/src/core/payments/operations/payment_response.rs:1975-1993 | crates/router/src/core/payments/operations/payment_response.rs:2023-2041 | crates/router/src/core/payments/operations/payment_response.rs:2071-2089 | crates/router/src/core/payments/operations/payment_response.rs:2115-2133 | crates/router/src/core/payments/operations/payment_response.rs:2157-2175 | crates/router/src/core/payments/operations/payment_response.rs:2209-2227 \u2014 all 11 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 \u0060crates/router/src/core/payments/operations/payment_response.rs:729\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, \u0060crates/router/src/core/payments/operations/payment_response.rs:2204\u0060 calls \u0060or_else\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/payments/operations/payment_response.rs:1501\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c099c67e356494222db053eefedc8ebb61c9ac72f229ba5cd13ebcd80f1acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 10): crates/router/src/core/payments/operations/payment_approve.rs:116-134 | crates/router/src/core/payments/operations/payment_cancel.rs:129-147 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:98-116 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:96-114 | crates/router/src/core/payments/operations/payment_capture.rs:192-210 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:117-135 | crates/router/src/core/payments/operations/payment_reject.rs:94-112 | crates/router/src/core/payments/operations/payment_session.rs:106-124 | crates/router/src/core/payments/operations/payment_start.rs:106-124 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:108-126 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_approve.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_capture.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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, \u0060crates/router/src/core/payments/operations/payment_approve.rs:113\u0060 calls \u0060get_required_value\u0060, \u0060get_total_amount\u0060, \u0060into\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:96\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":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8acb18ad84c45266c8715413416869532c84f32601ea226723958475b5c36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 10): crates/router/src/core/payments/operations/payment_approve.rs:126-144 | crates/router/src/core/payments/operations/payment_cancel.rs:139-157 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:108-126 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:106-124 | crates/router/src/core/payments/operations/payment_capture.rs:202-220 | crates/router/src/core/payments/operations/payment_complete_authorize.rs:277-295 | crates/router/src/core/payments/operations/payment_reject.rs:104-122 | crates/router/src/core/payments/operations/payment_session.rs:116-134 | crates/router/src/core/payments/operations/payment_start.rs:116-134 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:118-136 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_approve.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_capture.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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, \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs:274\u0060 calls \u0060as_ref\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/payments/operations/payment_approve.rs:124\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":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f9074cd586a5eee6f981fe8b1b0aa7b508de3f2930683542dc4d9047bddf8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): crates/diesel_models/src/payment_attempt.rs:2546-2564 | crates/diesel_models/src/payment_attempt.rs:2774-2792 | crates/diesel_models/src/payment_attempt.rs:3397-3415 | crates/diesel_models/src/payment_attempt.rs:3766-3784 | crates/diesel_models/src/payment_attempt.rs:3860-3878 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/diesel_models/src/payment_attempt.rs:3765\u0060 calls \u0060now\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2545\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2546}}}],"partialFingerprints":{"codehealthFindingId/v1":"d060610d1327c0a3eb33f3a0d6358e71e9ca68be5145cd81b833837fd322d7c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): crates/diesel_models/src/payment_intent.rs:941-959 | crates/diesel_models/src/payment_intent.rs:1008-1026 | crates/diesel_models/src/payment_intent.rs:1286-1304 | crates/diesel_models/src/payment_intent.rs:1778-1796 | crates/diesel_models/src/payment_intent.rs:2045-2063 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"601a3dfbe792bda28f916f84467c9fce3083386849fbc1d1683a66eafe188e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2754-2772 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3474-3492 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:5593-5611 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:294-312 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:2474-2492 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"83668c1094c474ee5311ffbf7456a29c3ed460aea845df2ad1df3be8d42cb57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 5): crates/router/src/core/payments/operations/payment_cancel.rs:166-184 | crates/router/src/core/payments/operations/payment_capture.rs:222-240 | crates/router/src/core/payments/operations/payment_create.rs:542-558 | crates/router/src/core/payments/operations/payment_session.rs:150-168 | crates/router/src/core/payments/operations/payment_update.rs:433-449 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_capture.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 272 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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"918aacab8cb0a531f8f3d1203768ed190fa08a48d014f6a1d1e501cd35b9654f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 5): crates/router/src/routes/admin.rs:223-240 | crates/router/src/routes/profiles.rs:34-51 | crates/router/src/routes/profiles.rs:79-97 | crates/router/src/routes/profiles.rs:248-265 | crates/router/src/routes/profiles.rs:314-332 \u2014 before extracting anything, compare \u0060crates/router/src/routes/admin.rs\u0060 and \u0060crates/router/src/routes/profiles.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060crates/router/src/routes/admin.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/routes/profiles.rs:312\u0060 calls \u0060into_inner\u0060 and \u0060crates/router/src/routes/profiles.rs:77\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9142277ff655759a52a1a548c2abcfaf352062a2eef8d5621c85a0ae54bde12e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): crates/router/src/services/authentication.rs:629-647 | crates/router/src/services/authentication.rs:734-752 | crates/router/src/services/authentication.rs:1977-1995 | crates/router/src/services/authentication.rs:2129-2147 | crates/router/src/services/authentication.rs:3022-3040 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe8163dfac863ed825185ba84f8afac2a7a100375b59cd57f9c0d2726720bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/analytics/src/sqlx.rs:352-371 | crates/analytics/src/sqlx.rs:525-544 | crates/analytics/src/sqlx.rs:1023-1041 | crates/analytics/src/sqlx.rs:1222-1240 \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 \u0060crates/analytics/src/sqlx.rs:352\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaac1c10340b690d9f22e4c9cf3577fb834ea4fa05425609438ae82670cff773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/hyperswitch_domain_models/src/business_profile.rs:302-320 | crates/hyperswitch_domain_models/src/business_profile.rs:450-468 | crates/hyperswitch_domain_models/src/business_profile.rs:776-794 | crates/hyperswitch_domain_models/src/business_profile.rs:910-928 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060ProfileSetter\u0060 in one and \u0060ProfileDbBuilder\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":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d41a6f802136b6dc48461d24f691a3c5c8f8cd63455c7b75161f1af44136dca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201319 lines \u00D7 4): crates/hyperswitch_domain_models/src/router_data.rs:1769-1786 | crates/hyperswitch_domain_models/src/router_data.rs:2111-2128 | crates/hyperswitch_domain_models/src/router_data.rs:2394-2408 | crates/hyperswitch_domain_models/src/router_data.rs:2648-2666 \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 \u0060crates/hyperswitch_domain_models/src/router_data.rs:1769\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90afcc3a3c0be749743597f0eccf4dc979486035652029c6ad34e4cfde899c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/router/src/core/admin.rs:2117-2135 | crates/router/src/core/admin.rs:2295-2313 | crates/router/src/core/admin.rs:2440-2458 | crates/router/src/core/admin.rs:2640-2658 \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 \u0060crates/router/src/core/admin.rs:2117\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0cd377d96cedc2f28f066e3aed8eaf4439d0974f4a460156db6bc698f32da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 4): crates/router/src/core/payments/operations/payment_cancel.rs:192-210 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:143-159 | crates/router/src/core/payments/operations/payment_capture.rs:248-264 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:130-146 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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 \u0060crates/router/src/core/payments/operations/payment_cancel.rs:192\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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f611620bee7a2589885af6dace784826748006c6f91600875d48d9897cf7a88c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:134-152 | crates/router/src/core/payments/operations/payment_session.rs:173-191 | crates/router/src/core/payments/operations/payment_start.rs:174-192 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:146-164 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 144 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 \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs: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":"crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"866e9adfb24a1314ad40de49f10711f65dd8a3ed64240dd43622f2d9fc045474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/router/src/core/payouts.rs:2019-2037 | crates/router/src/core/payouts.rs:2489-2507 | crates/router/src/core/payouts.rs:3142-3160 | crates/router/src/core/payouts.rs:3353-3371 \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 \u0060crates/router/src/core/payouts.rs:2019\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"f065485cf26ee00164b1617254cb981a4343cb53011b908e36a12e204b2aaa91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/router/src/routes/refunds.rs:223-241 | crates/router/src/routes/refunds.rs:664-682 | crates/router/src/routes/refunds.rs:772-790 | crates/router/src/routes/refunds.rs:869-887 \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 \u0060crates/router/src/routes/refunds.rs:223\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":"crates/router/src/routes/refunds.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bd8f050ba35644cfe4b8b75dfb9acecb5a814220f90e0612727da5fe0413a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/router/src/routes/routing.rs:1300-1318 | crates/router/src/routes/routing.rs:1355-1373 | crates/router/src/routes/routing.rs:1461-1479 | crates/router/src/routes/routing.rs:1513-1531 \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 \u0060crates/router/src/routes/routing.rs:1300\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a110e1501237b959edf5957d1e27874a6d1dd1d04ae31077608b718193a646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/analytics/src/payment_intents/core.rs:107-125 | crates/analytics/src/payments/core.rs:115-133 | crates/analytics/src/refunds/core.rs:110-128 \u2014 \u0060crates/analytics/src/payment_intents/core.rs\u0060 and \u0060crates/analytics/src/payments/core.rs\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 6 separate duplicated blocks between them, totalling at least 76 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/core.rs:107\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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10404019f76f166c4a7d14c443e5da610cc4c7d4b4a0790045a62df878c1158"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:44-61 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:43-61 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:43-60 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 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, \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:64\u0060 calls \u0060add_select_column\u0060 and \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:65\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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d598e2e5525f67fc1327d9888ab27481ae0d0e9569c366246eafeddecbce1b9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): crates/analytics/src/sqlx.rs:564-583 | crates/analytics/src/sqlx.rs:1247-1266 | crates/analytics/src/sqlx.rs:1293-1312 \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 \u0060crates/analytics/src/sqlx.rs:564\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d39799613ef4958413664e35091b3648fa4eba491e0ead164c40eb193d37d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/diesel_models/src/payment_intent.rs:997-1015 | crates/diesel_models/src/payment_intent.rs:1206-1224 | crates/diesel_models/src/payment_intent.rs:1355-1373 \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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"81af0e520eb881945b620a2eead3c08791934a4ebb560b66c0ad0f2958a69d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:444-462 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:626-644 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1084-1100 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:444\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a82a2a0efe7de8e0cdba66195897c30fb6467bae7dd6e04017d0c6d33a27fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2963-2981 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4351-4369 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1891-1909 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":2963}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0f293a2426086cdd619617a0041543ec2bb46506e98ba32a9caec58a4a4342"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:734-752 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:820-838 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:1026-1044 \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 \u0060crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:734\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, PayboxResponse, PaymentsAuthorizeData, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, PayboxSyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fc851f875c14a1b9ae5eaa9728f54e4ba58dc628ea238045637d7540953201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:948-966 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1052-1068 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1157-1173 \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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1983de2e0a55dca6311a2b54ad82eafa0fdec15e948daf31ac0aa152cff7fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): crates/router/src/compatibility/stripe/payment_intents.rs:243-260 | crates/router/src/routes/payments.rs:847-865 | crates/router/src/routes/payments.rs:932-948 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/routes/payments.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:243\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2e5c8c6b05a4bbe3f1422884f05b51f61eb7d49fab3e133cf3e0a4e66098e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/router/src/core/payments/operations/payment_session.rs:347-365 | crates/router/src/core/payments/operations/payment_status.rs:84-102 | crates/router/src/core/payments/operations/payment_update.rs:630-648 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_status.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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 \u0060crates/router/src/core/payments/operations/payment_session.rs:347\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":"crates/router/src/core/payments/operations/payment_session.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c18251560ad2609a98b44b39202358044074de94a9623bef80c642687b39d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): crates/router/src/core/user/dashboard_metadata.rs:375-393 | crates/router/src/core/user/dashboard_metadata.rs:400-418 | crates/router/src/core/user/dashboard_metadata.rs:673-690 \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 \u0060crates/router/src/core/user/dashboard_metadata.rs:375\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d5de9a48f0b490e3e5fa46a2318fe7d15ce50f52dcc7fc083256e4b66cb63a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): crates/router/src/routes/authentication.rs:104-122 | crates/router/src/routes/authentication.rs:149-167 | crates/router/src/routes/authentication.rs:229-246 \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 \u0060crates/router/src/routes/authentication.rs:104\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":"crates/router/src/routes/authentication.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6375af637999a7cbefcad4ba58afb9ba117756a8e227a9f07374dd14c0b86f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/router/src/services/authentication.rs:980-998 | crates/router/src/services/authentication.rs:1065-1083 | crates/router/src/services/authentication.rs:1221-1239 \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. 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3702b25bd8cf1aa61e096e7a541b4f95f07d31a9c931f945b984c24188f3cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/router/src/services/authentication.rs:4199-4217 | crates/router/src/services/authentication.rs:4336-4354 | crates/router/src/services/authentication.rs:4425-4443 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4199}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c443b0790659fc60d7bcf9e5620209e48ae6e59cf2813e61e47edf2480b959a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/storage_impl/src/business_profile.rs:928-946 | crates/storage_impl/src/business_profile.rs:997-1015 | crates/storage_impl/src/business_profile.rs:1075-1093 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf58b53c2e02aae66038b1de763b7012d2e2ab7d23fca6c8e788c719910fc31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/storage_impl/src/business_profile.rs:1991-2009 | crates/storage_impl/src/business_profile.rs:2238-2256 | crates/storage_impl/src/business_profile.rs:2300-2318 \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, \u0060crates/storage_impl/src/business_profile.rs:2257\u0060 calls \u0060Some\u0060 and \u0060crates/storage_impl/src/business_profile.rs:2319\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"5542a28b7ab5510d4540a7bb99e72914fa537169be98d63b561782c467b8054b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/analytics/src/payments/core.rs:215-233 | crates/analytics/src/refunds/core.rs:190-208 \u2014 \u0060crates/analytics/src/payments/core.rs\u0060 and \u0060crates/analytics/src/refunds/core.rs\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 8 separate duplicated blocks between them, totalling at least 123 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payments/core.rs:215\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":"crates/analytics/src/payments/core.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"833095b1d7c04962d057890251d67820380176cef2adcbbd73118244a139080f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/analytics/src/refunds/metrics/refund_success_rate.rs:76-94 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:76-94 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/refund_success_rate.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 172 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 \u0060crates/analytics/src/refunds/metrics/refund_success_rate.rs:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/metrics/refund_success_rate.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"08365dcffb6b99aa8a2ea1290eadbce9a46dfe54fc3c46fb849aa2f6d87d4077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/cards/src/validate.rs:219-237 | crates/cards/src/validate.rs:248-266 \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 \u0060crates/cards/src/validate.rs:219\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":"crates/cards/src/validate.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63e3624ff9a05e433ae716ee3aa7bf5c87b77ae261c5bc18ee914e9a6e29af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:1138-1156 | crates/diesel_models/src/payment_intent.rs:1277-1295 \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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"98576f58dbe6806098c957649e8f42f9092d69d2d96ffaae19151719e4e7b576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/diesel_models/src/payment_method.rs:1197-1215 | crates/diesel_models/src/payment_method.rs:1289-1307 \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 \u0060crates/diesel_models/src/payment_method.rs:1197\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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"985c944e43c7320daccb9677d2e68d6ceb263f16c5cbee09f35d65e7c5cb76ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/diesel_models/src/query/customers.rs:177-195 | crates/diesel_models/src/query/customers.rs:207-225 \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 \u0060crates/diesel_models/src/query/customers.rs: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":"crates/diesel_models/src/query/customers.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e14d90856428917340ade172a286b14d7c8255464a457447a35fab60c0af527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3654-3672 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3739-3757 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3654\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3654}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee0096f09d31f5df4216d466912a3498e318dd4069a258c57a15cc13e327338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1244-1262 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1352-1370 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1244\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"424fdd2b2a91cf18314615b76b96e3074a990424f008d3464191086e1d5c5e94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2002-2020 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3004-3022 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060\u0026BankOfAmericaRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"763ea8a9aab3923eab052a1331a24021f0b26e7893ab265ac7246deb84ae630f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/boku.rs:159-176 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:165-183 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/boku.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/novalnet.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 101 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 \u0060crates/hyperswitch_connectors/src/connectors/boku.rs:159\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":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"2671217f4046a6a049e49ed930843dbf362313dc39fed5553ff62408cb4ebef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cryptopay.rs:292-311 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:389-408 \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 \u0060crates/hyperswitch_connectors/src/connectors/cryptopay.rs:292\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":"crates/hyperswitch_connectors/src/connectors/cryptopay.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e305a8611d92665a8a021fb133a7fa97b7c4244b08e5dc60f71b6f5e9390fe9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2251-2269 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4179-4197 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2251\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2251}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1c4eb1a8faae55796dc111be5e5dda1f88ee964252011946ea530d8859c7a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:988-1006 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:1182-1200 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026DeutschebankRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in one and \u0060\u0026DeutschebankRouterData\u003C\u0026RefundsRouterData\u003CF\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"636a8683eca7f63872e9328a0fdf78b225225ea3cf45837a972d96726449abdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:809-826 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:914-932 \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 \u0060crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:809\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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee858908cb1bcff1e0cebefbec96e79e50ee871db6097f958f76d8d1f8040b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/trustpay.rs:493-508 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:519-537 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustpay.rs:493\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":"crates/hyperswitch_connectors/src/connectors/trustpay.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b2f2a600304843e0db91cb99116c78193231150dad31642fadbc021ed8a7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:542-560 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:916-934 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"crates/hyperswitch_connectors/src/connectors/worldpayxml.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f16c5ca9a4445b8ed73696d00b574173711096414b69d06f50477bdf779053b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1577-1595 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1624-1642 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:1577\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 \u0060item\u0060 to \u0060\u0026PaymentsAuthorizeRouterData\u0060 in one and \u0060\u0026PaymentsCompleteAuthorizeRouterData\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace3c9f544ecc5823211345e283ab811aeb6f140f561bb82fdbcbdfb2d1831e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:2648-2666 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:2794-2812 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:2648\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b0add187f4ea003bdba7bfde1846fd24e7dc3bb20224adf93cb0f60f821b9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_domain_models/src/router_data.rs:1715-1733 | crates/hyperswitch_domain_models/src/router_data.rs:2606-2624 \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 \u0060crates/hyperswitch_domain_models/src/router_data.rs:1715\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"615b1a40faad7dcd205b7fca5cac889910f02783c3b386c2b60b8bee12157d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201319 lines \u00D7 2): crates/redis_interface/src/module/fred.rs:409-427 | crates/redis_interface/src/module/redis_rs.rs:537-547 \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":"crates/redis_interface/src/module/fred.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dab42860a5e021afd0ee02bed93a72bf27232df4d9bd3d1d92ab885a6a510d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/admin.rs:1003-1021 | crates/router/src/core/admin.rs:1037-1055 \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 \u0060crates/router/src/core/admin.rs:1037\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":"crates/router/src/core/admin.rs"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"3896db265768531b10f60d40bc3950a186b2cfd37a32d0ba41e16622f4a490d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/admin.rs:2174-2192 | crates/router/src/core/admin.rs:2350-2368 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed48eb4e8efd885549e86e1ac7243b78cc6dfbae2ba5023997f4d622aecb636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/debit_routing.rs:306-324 | crates/router/src/core/debit_routing.rs:571-589 \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 \u0060crates/router/src/core/debit_routing.rs:306\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":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9321f1d7af95531fc4a057b55ca39a51b0585124bd42ea4d26fa3f6d3a492f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/disputes.rs:495-513 | crates/router/src/core/disputes.rs:986-1004 \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 \u0060crates/router/src/core/disputes.rs:495\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":"crates/router/src/core/disputes.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae48ec11f7b4e7845b4a81f050607c85dc4816803984a105e48490429330aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/payment_methods.rs:1577-1595 | crates/router/src/core/payment_methods.rs:1690-1708 \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 \u0060crates/router/src/core/payment_methods.rs:1577\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"36611a6f762fcaf0e7fff2d22e3c195f7ca159876a74abe94e9508e3073239c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): crates/router/src/core/payment_methods.rs:7617-7633 | crates/router/src/core/payment_methods.rs:7748-7766 \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 \u0060crates/router/src/core/payment_methods.rs:7617\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":7617}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d93f718c8663671f609dd2141b6b1259aeabe90ac0c876c015cba592849270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:5463-5481 | crates/router/src/core/superposition_sdk_config.rs:103-118 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/superposition_sdk_config.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 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 \u0060crates/router/src/core/payment_methods/cards.rs:5463\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5463}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2394e3e3013124c625f6abcc5abf761b2a2f5e9dffcfa9438f0b1997468ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): crates/router/src/core/payments.rs:3730-3748 | crates/router/src/core/payments.rs:7988-8004 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":3730}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebf4639acb610ab0c208eaabc54e6bcdc38a2f18be99ff7101075bf21dd556b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/payments.rs:8140-8158 | crates/router/src/core/payments.rs:8306-8324 \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 \u0060crates/router/src/core/payments.rs:8140\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, \u0060crates/router/src/core/payments.rs:8139\u0060 calls \u0060get_payment_attempt\u0060 and \u0060crates/router/src/core/payments.rs:8305\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":"crates/router/src/core/payments.rs"},"region":{"startLine":8140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c8b7fdee6303c0fb2c3e1fd727abbe31203276af3814def1ceeb7c969a16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/router/src/core/payments.rs:15361-15378 | crates/router/src/core/payments.rs:15897-15915 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payments.rs:15896\u0060 calls \u0060into\u0060 and \u0060crates/router/src/core/payments.rs:15360\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":"crates/router/src/core/payments.rs"},"region":{"startLine":15361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d8ca1f4b41ea99d26a7c64e2566b760bbc55d335051cec6d65533f390bf165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/payments/flows/complete_authorize_flow.rs:1005-1023 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1259-1277 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:1005\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc2b17ed08c8104dd15f20ef525d3976c86bdfe203c42cc888999a9ea454fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:1767-1785 | crates/router/src/core/payouts/helpers.rs:1630-1647 \u2014 \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/core/payouts/helpers.rs\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 6 separate duplicated blocks between them, totalling at least 85 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. 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc04331a16c44240f939f9b92e744683e2db004ba7789bc6ae666e5580e01bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:8310-8328 | crates/router/src/core/payouts/helpers.rs:1314-1332 \u2014 \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/core/payouts/helpers.rs\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 6 separate duplicated blocks between them, totalling at least 85 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments/helpers.rs:8310\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, \u0060crates/router/src/core/payouts/helpers.rs:1313\u0060 calls \u0060unwrap_or_default\u0060 and \u0060crates/router/src/core/payments/helpers.rs:8309\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8310}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e476b881bfeed39e1afa8e0d07935ed048d41660a134015e7858db4430b686f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): crates/router/src/core/payments/operations/payment_approve.rs:59-75 | crates/router/src/core/payments/operations/payment_start.rs:61-79 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_approve.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_start.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments/operations/payment_approve.rs:59\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":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af7c1b4ba3166b8a0534c2fe882e0a80cffbea952385bf017a5f2cc72c99841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/router/src/core/payments/operations/payment_complete_authorize.rs:146-163 | crates/router/src/core/payments/operations/payment_create.rs:135-153 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs:146\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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fea0214a61cda7c571fcf18a9a6208c4d9ae9865bcf97687a1e463cced78a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:1147-1165 | crates/router/src/core/payments/operations/payment_create.rs:803-821 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:1147\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe1de16b035b8eebfabb2f18f248a51e0ed0d69fe4ed1d85f90c4611f4d9bd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:1415-1431 | crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:806-824 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 96 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc1aefea325fa4f311da9b850ab4a8af7dc62ca39cd5acd6ae382deab7a75f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/router/src/core/payments/operations/payment_start.rs:65-83 | crates/router/src/core/payments/operations/tax_calculation.rs:75-92 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_start.rs\u0060 and \u0060crates/router/src/core/payments/operations/tax_calculation.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments/operations/payment_start.rs:65\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_start.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"803426ecad313db86e17140861b4079458bb5262956e70f0cf1d9a13491194ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/router/src/core/payments/routing.rs:2717-2735 | crates/router/src/core/payments/routing.rs:2788-2805 \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 \u0060crates/router/src/core/payments/routing.rs:2788\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":2717}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4809501496574a70d0dd79ab947242d06b6a8ff894fab7852c217d3eb281dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:510-528 | crates/router/src/core/payments/tokenization.rs:2415-2431 \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 \u0060crates/router/src/core/payments/tokenization.rs: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. 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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"498c8b80e1916c5f33897678606699083dc56eaade63929ce82fd7284475c591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:649-667 | crates/router/src/core/payments/tokenization.rs:795-813 \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 \u0060crates/router/src/core/payments/tokenization.rs:649\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d32f2ae69da333ef8776fb3de165c74b9c79ecbc286fa829d45a781e7a6c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:689-707 | crates/router/src/core/payments/tokenization.rs:835-853 \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 \u0060crates/router/src/core/payments/tokenization.rs:689\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f49fb37cc991623c907f82a0c468a84f19139bec063dd70a141546a681bf93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/payouts.rs:2188-2206 | crates/router/src/core/payouts.rs:2877-2895 \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 \u0060crates/router/src/core/payouts.rs:2188\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86a888f67eec6011626c5a124bb58b2028bae2cab53741d72ee365fb3abc91b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/pm_auth.rs:131-149 | crates/router/src/core/pm_auth.rs:253-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4e362512ec84ed13441f6b7cabbfaba8790f63c19f9ea13b38c72449b7f475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/refunds.rs:1156-1174 | crates/router/src/core/refunds_v2.rs:765-783 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d96cd389ac3915c02b9563dd2cf37c8dd18a5535dc1c419e41e3247ec8d9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/relay.rs:887-905 | crates/router/src/core/relay.rs:909-927 \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 \u0060crates/router/src/core/relay.rs:887\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":"crates/router/src/core/relay.rs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"36333439f50386f588d84557a0515a728264858c9f6b9b791aeb755719a47d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/router/src/core/revenue_recovery/types.rs:914-932 | crates/router/src/core/revenue_recovery/types.rs:1214-1231 \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 \u0060crates/router/src/core/revenue_recovery/types.rs:914\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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa7d2c86901386da160efbeef8a761212fc7edb88a4c6a8ef3c425585506a7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:4415-4433 | crates/router/src/core/unified_connector_service.rs:4652-4670 \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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4415}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fa59627893f1858b4c13acddddd9e4fd4e1f2368c5fd672d8e966a15194672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/router/src/core/user.rs:1700-1717 | crates/router/src/core/user.rs:1754-1772 \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 \u0060crates/router/src/core/user.rs:1700\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":"crates/router/src/core/user.rs"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2aca6829a0eaca3f9e4044366f73f2815796b5f999e820b2ffdf3149419564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/db/user.rs:320-338 | crates/router/src/db/user.rs:394-412 \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 \u0060crates/router/src/db/user.rs:320\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":"crates/router/src/db/user.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9eae7581566b2fe11a153aef26199d24112ddc875e0b512640008591038548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): crates/router/src/routes/admin.rs:685-703 | crates/router/src/routes/admin.rs:882-897 \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 \u0060crates/router/src/routes/admin.rs:685\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"082566b2fa0a5b1aff831d20464393f89013714082b83b3a589e525389e5d5c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/routes/payouts.rs:117-135 | crates/router/src/routes/payouts.rs:394-412 \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 \u0060crates/router/src/routes/payouts.rs:117\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b7340275de0086fa3816a9d6a5a23514753906bb25d4d897fba82024d16ed5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/routes/payouts.rs:471-489 | crates/router/src/routes/payouts.rs:548-566 \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 \u0060crates/router/src/routes/payouts.rs:471\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ba955695b5ec62b4e3ad9ea1bd2dfa444a8ba3ffc501e0481dc2d82af3cb73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/routes/recovery_webhooks.rs:31-49 | crates/router/src/routes/webhooks.rs:152-170 \u2014 before extracting anything, compare \u0060crates/router/src/routes/recovery_webhooks.rs\u0060 and \u0060crates/router/src/routes/webhooks.rs\u0060 as WHOLE FILES: 87% 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. 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 \u0060crates/router/src/routes/recovery_webhooks.rs:31\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":"crates/router/src/routes/recovery_webhooks.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1724dd6f1926cc618e8e09b8c8bc620047e6679f13b6555acca9e055e889a1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/services/authentication.rs:1784-1802 | crates/router/src/services/authentication.rs:1908-1926 \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 \u0060crates/router/src/services/authentication.rs:1784\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1784}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3305724722befe4a8e3dbd1c369b634cd8b26f4201889d6b60561dd79982b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/router/src/services/authentication.rs:1849-1866 | crates/router/src/services/authentication.rs:2593-2611 \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 \u0060crates/router/src/services/authentication.rs:1849\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1849}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5ab2a2583a1c2eeb12a9fd4a43d5d9942f48f16b2b453f3dcd80de40a6cc23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/services/authentication.rs:3764-3782 | crates/router/src/services/authentication.rs:6805-6823 \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 \u0060crates/router/src/services/authentication.rs:3764\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3764}}}],"partialFingerprints":{"codehealthFindingId/v1":"200079b3d964da1f765011c8a96ad3790284d30af5156a7acaaf8257ee17edc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/types/storage/dispute.rs:260-278 | crates/router/src/types/storage/refund.rs:662-680 \u2014 before extracting anything, compare \u0060crates/router/src/types/storage/dispute.rs\u0060 and \u0060crates/router/src/types/storage/refund.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/router/src/types/storage/dispute.rs:260\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":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"b708a1dfeae0ee07ad0568d458edf0b66a603dd6503bc3f8b79e35f27169ceb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/types/storage/refund.rs:196-214 | crates/router/src/types/storage/refund.rs:275-293 \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 \u0060crates/router/src/types/storage/refund.rs:196\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a942c4e1ac3e92985519100b521b23c5ea48d809305961d07e2f01d4f9b1a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/workflows/batch_blocklist_upload.rs:280-298 | crates/router/src/workflows/blocklist_export.rs:427-445 \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 \u0060crates/router/src/workflows/batch_blocklist_upload.rs:280\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, \u0060crates/router/src/workflows/blocklist_export.rs:423\u0060 calls \u0060Some\u0060, \u0060to_string\u0060 and \u0060crates/router/src/workflows/batch_blocklist_upload.rs:279\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":"crates/router/src/workflows/batch_blocklist_upload.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4ed44197659a7f65f0b8c2d7c18d908961c922d8302b9089ad351d877d332a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:1876-1894 | crates/storage_impl/src/business_profile.rs:1938-1956 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1876}}}],"partialFingerprints":{"codehealthFindingId/v1":"77699ff43e045624c5991872d327009f8427b3bd393cbf1ce1eab0d56602ab11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:1940-1958 | crates/storage_impl/src/merchant_connector_account.rs:2079-2097 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:1940\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55e548b85efb3f6c31a34f8a67b69673c8bedf182ba429073d8231e97a54466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:3055-3073 | crates/storage_impl/src/payments/payment_attempt.rs:3236-3254 \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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":3055}}}],"partialFingerprints":{"codehealthFindingId/v1":"da582854aa1e94cfa61e3b96c0f18a75f20b210c55232e532d4d43f5ad0a27e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): crates/subscriptions/src/core.rs:37-55 | crates/subscriptions/src/core.rs:188-205 \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 \u0060crates/subscriptions/src/core.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/subscriptions/src/core.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"12aa850e5b23c58d93b4312e2d138ce6315616a216d9f6c342b1fb1a1918ec13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201318 lines \u00D7 33): crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:86-100 | crates/analytics/src/auth_events/metrics/authentication_count.rs:73-87 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:76-90 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:77-91 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:83-97 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:77-91 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:87-101 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:80-93 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:84-98 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:80-94 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:84-98 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:71-87 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:76-92 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:80-96 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:76-92 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:87-102 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:81-97 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:87-102 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:81-97 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:79-95 | crates/analytics/src/payments/metrics/connector_success_rate.rs:81-97 | crates/analytics/src/payments/metrics/payment_count.rs:72-88 | crates/analytics/src/payments/metrics/payment_success_count.rs:73-89 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:80-96 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:82-98 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:73-89 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:74-90 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:76-92 | crates/analytics/src/payments/metrics/success_rate.rs:75-91 | crates/analytics/src/refunds/metrics/refund_count.rs:72-88 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:73-89 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:122-139 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:114-131 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 188 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 \u0060crates/analytics/src/frm/metrics/frm_triggered_attempts.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:84\u0060 calls \u0060set_filter_clause\u0060, \u0060iter\u0060 and \u0060crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:71\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":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4210ae623595ae7c68cdcc031ad41bc894a592902df327ee5d4f8e0c0b1a1d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 12): crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:93-155 | crates/analytics/src/auth_events/metrics/authentication_count.rs:80-142 | crates/analytics/src/auth_events/metrics/authentication_error_message.rs:98-160 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:83-145 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:84-146 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:90-152 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:84-146 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:94-156 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:86-148 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:91-153 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:87-149 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:91-153 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 188 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 \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs: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":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc6d8b6c35d30a1eb0a1e47be328fafad1e7b956f069919c5181377a667edef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 8): crates/diesel_models/src/payment_intent.rs:1560-1577 | crates/diesel_models/src/payment_intent.rs:1629-1646 | crates/diesel_models/src/payment_intent.rs:1697-1714 | crates/diesel_models/src/payment_intent.rs:1765-1782 | crates/diesel_models/src/payment_intent.rs:1828-1845 | crates/diesel_models/src/payment_intent.rs:1896-1913 | crates/diesel_models/src/payment_intent.rs:2032-2049 | crates/diesel_models/src/payment_intent.rs:2168-2185 \u2014 all 8 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, \u0060crates/diesel_models/src/payment_intent.rs:1848\u0060 calls \u0060default\u0060 and \u0060crates/diesel_models/src/payment_intent.rs:1580\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"925ae87436f11cc81913bbd54fe4cd387e8fe8859c8898c9327227bc2a99f27a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 8): crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:186-203 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:168-185 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:159-176 | crates/router/src/core/payments/operations/payment_start.rs:208-225 | crates/router/src/core/payments/operations/payment_update_metadata.rs:165-182 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:180-197 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:168-185 | crates/router/src/core/payments/operations/tax_calculation.rs:175-192 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 219 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":"crates/router/src/core/payments/operations/payment_cancel_post_capture.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b5b8b3e0430a32f622c8139451784c05f98c731e59b45dd1bbb382f4126e8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 7): crates/storage_impl/src/payments/payment_attempt.rs:77-93 | crates/storage_impl/src/payments/payment_attempt.rs:144-161 | crates/storage_impl/src/payments/payment_attempt.rs:215-232 | crates/storage_impl/src/payments/payment_attempt.rs:251-267 | crates/storage_impl/src/payments/payment_attempt.rs:313-330 | crates/storage_impl/src/payments/payment_attempt.rs:382-399 | crates/storage_impl/src/payments/payment_attempt.rs:501-518 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/storage_impl/src/payments/payment_attempt.rs:77\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e14406027b3777284a9b1eaa50061cf030144a9573f9179cce788aa99049a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): crates/diesel_models/src/payment_intent.rs:937-954 | crates/diesel_models/src/payment_intent.rs:1004-1021 | crates/diesel_models/src/payment_intent.rs:1143-1160 | crates/diesel_models/src/payment_intent.rs:1282-1299 | crates/diesel_models/src/payment_intent.rs:1774-1791 | crates/diesel_models/src/payment_intent.rs:2041-2058 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/diesel_models/src/payment_intent.rs:1773\u0060 calls \u0060now\u0060 and \u0060crates/diesel_models/src/payment_intent.rs:936\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65ec042d745c5140a2894d25bd6922ba165760b885ab8d2585a36ba2f817333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 6): crates/router/src/core/admin.rs:460-474 | crates/router/src/core/admin.rs:1193-1207 | crates/router/src/core/admin.rs:3591-3605 | crates/router/src/core/admin.rs:3836-3850 | crates/router/src/core/admin.rs:4206-4223 | crates/router/src/core/admin.rs:4491-4505 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026SessionState\u0060 in one and \u0060SessionState\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":"crates/router/src/core/admin.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"674ec03b6333ba2a151e09bce1fed708b00b7eb9fe5ebec69d749ec6833e89fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 6): crates/router/src/routes/disputes.rs:53-69 | crates/router/src/routes/disputes.rs:96-113 | crates/router/src/routes/disputes.rs:318-335 | crates/router/src/routes/disputes.rs:405-422 | crates/router/src/routes/disputes.rs:625-642 | crates/router/src/routes/disputes.rs:760-777 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/disputes.rs:53\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c764264fa32ea5317988be5d61908cb6676d3ab1cbe1ea5933d0ae32423f192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 6): crates/router/src/routes/payment_methods.rs:152-168 | crates/router/src/routes/payment_methods.rs:291-308 | crates/router/src/routes/payment_methods.rs:343-360 | crates/router/src/routes/payment_methods.rs:394-411 | crates/router/src/routes/payment_methods.rs:1743-1759 | crates/router/src/routes/payment_methods.rs:2142-2159 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/payment_methods.rs:152\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, \u0060crates/router/src/routes/payment_methods.rs:288\u0060 calls \u0060into_inner\u0060 and \u0060crates/router/src/routes/payment_methods.rs:150\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba29cfa8354652c91cabf911050c9609fa2e3ab8fa93c30d169509b3c622f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): crates/storage_impl/src/business_profile.rs:1848-1865 | crates/storage_impl/src/business_profile.rs:2158-2175 | crates/storage_impl/src/business_profile.rs:2220-2237 | crates/storage_impl/src/business_profile.rs:2282-2299 | crates/storage_impl/src/business_profile.rs:2345-2362 | crates/storage_impl/src/business_profile.rs:2408-2425 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6049e9de7e6f0c729ebcc4904a7ba66105a4f0e2429f350cd89c44e2c08647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): crates/storage_impl/src/business_profile.rs:1882-1899 | crates/storage_impl/src/business_profile.rs:1944-1961 | crates/storage_impl/src/business_profile.rs:2006-2023 | crates/storage_impl/src/business_profile.rs:2068-2085 | crates/storage_impl/src/business_profile.rs:2130-2147 | crates/storage_impl/src/business_profile.rs:2442-2459 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/storage_impl/src/business_profile.rs:2129\u0060 calls \u0060Some\u0060 and \u0060crates/storage_impl/src/business_profile.rs:1881\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71d781701fdfe5248c438a134a401b19106e2045ca1b90aab8efc58b59a9f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 5): crates/router/src/routes/blocklist.rs:169-186 | crates/router/src/routes/blocklist.rs:225-242 | crates/router/src/routes/blocklist.rs:281-298 | crates/router/src/routes/blocklist.rs:461-477 | crates/router/src/routes/blocklist.rs:512-528 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/blocklist.rs:169\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":"crates/router/src/routes/blocklist.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"036b053d77a573dffa5f840e1eae9419007b011fb68f681b90f654207cea198c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 5): crates/router/src/routes/customers.rs:250-266 | crates/router/src/routes/customers.rs:320-336 | crates/router/src/routes/payment_methods.rs:1019-1036 | crates/router/src/routes/payment_methods.rs:1062-1079 | crates/router/src/routes/payment_methods.rs:1098-1115 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/customers.rs:250\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, \u0060crates/router/src/routes/payment_methods.rs:1061\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/routes/payment_methods.rs:1097\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":"crates/router/src/routes/customers.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b912c1d8e8ce45cf48d3d86dbea99b85af242f88697890137325efac9cd6c417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201342 lines \u00D7 4): crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:46-86 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:46-87 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:45-85 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:45-86 \u2014 before extracting anything, compare \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs\u0060 and \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 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 \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:46\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":"crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0e95b7d92cb811e40c92833d187d09eedf0ca1ec4f6128377194879d5382dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): crates/external_services/src/utils.rs:54-70 | crates/payment_methods/src/configs/settings.rs:176-192 | crates/router/src/configs/settings.rs:1947-1963 | crates/router/src/configs/settings.rs:2010-2027 \u2014 before extracting anything, compare \u0060crates/external_services/src/utils.rs\u0060 and \u0060crates/payment_methods/src/configs/settings.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060crates/external_services/src/utils.rs:54\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":"crates/external_services/src/utils.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6acca5b1317f430497a28064138abd8959de382417a43e8a21f8c1d4a8f84c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): crates/router/src/compatibility/stripe/payment_intents.rs:141-158 | crates/router/src/compatibility/stripe/payment_intents.rs:231-248 | crates/router/src/compatibility/stripe/payment_intents.rs:317-334 | crates/router/src/compatibility/stripe/payment_intents.rs:412-429 \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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:141\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, \u0060crates/router/src/compatibility/stripe/payment_intents.rs:336\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/compatibility/stripe/payment_intents.rs:160\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeeb1be70fefda18fd1103783bb101c5632789bcffd6a720caf4b312545d7173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): crates/router/src/core/payments/transformers.rs:161-178 | crates/router/src/core/payments/transformers.rs:2133-2150 | crates/router/src/core/payments/transformers.rs:2483-2500 | crates/router/src/core/payments/transformers.rs:8852-8869 \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 \u0060crates/router/src/core/payments/transformers.rs:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"15044296a857a77a850bd65fb72c360dff74311b4371509f4a0f04d76e432ae3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): crates/router/src/core/unified_authentication_service.rs:159-176 | crates/router/src/core/unified_authentication_service.rs:197-214 | crates/router/src/core/unified_authentication_service.rs:270-286 | crates/router/src/core/unified_authentication_service.rs:384-401 \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 \u0060crates/router/src/core/unified_authentication_service.rs:270\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"51274f5db20b8733dfa5739027ba0d55361d6bb4760cb3b925d253e83948535b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): crates/router/src/core/utils.rs:1410-1427 | crates/router/src/core/utils.rs:1534-1551 | crates/router/src/core/utils.rs:1730-1747 | crates/router/src/core/utils.rs:1988-2005 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/utils.rs:1428\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/utils.rs:1552\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":"crates/router/src/core/utils.rs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"684bbad1b8eeb1956551a2ab63345f20f6d46d4e230158d4c1e1aeb30fe7ed7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 4): crates/router/src/db/refund.rs:1761-1778 | crates/router/src/db/refund.rs:1875-1890 | crates/router/src/db/refund.rs:2092-2109 | crates/router/src/db/refund.rs:2204-2219 \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 \u0060crates/router/src/db/refund.rs:1761\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, \u0060crates/router/src/db/refund.rs:1780\u0060 calls \u0060Some\u0060, \u0060iter\u0060, \u0060collect\u0060 and \u0060crates/router/src/db/refund.rs:1892\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":"crates/router/src/db/refund.rs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab65623a25dd10dc66b276d17d4d192a6ed168d8186f298f86c101e6cd719868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 4): crates/router/src/routes/disputes.rs:462-479 | crates/router/src/routes/disputes.rs:514-531 | crates/router/src/routes/disputes.rs:569-585 | crates/router/src/routes/disputes.rs:681-698 \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 \u0060crates/router/src/routes/disputes.rs:462\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0d8f1fe69827e9d5deee43975e58e366f8aeb87666cbb29a4c06770c73ebfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): crates/router/src/routes/routing.rs:278-295 | crates/router/src/routes/routing.rs:408-425 | crates/router/src/routes/routing.rs:689-706 | crates/router/src/routes/routing.rs:1145-1162 \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 \u0060crates/router/src/routes/routing.rs:278\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, \u0060crates/router/src/routes/routing.rs:1144\u0060 calls \u0060unwrap_or\u0060 and \u0060crates/router/src/routes/routing.rs:277\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"becd8b2ebb171d4fe564691616fc023aaa8c622e748cadef550c9a879fb3f651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): crates/router/src/services/authentication.rs:1798-1815 | crates/router/src/services/authentication.rs:1863-1880 | crates/router/src/services/authentication.rs:2329-2346 | crates/router/src/services/authentication.rs:2395-2412 \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 \u0060crates/router/src/services/authentication.rs:1798\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9b578f5445459328979c75f2ebcbce422d51d6b9c61ed6c4f74502d692a074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): crates/storage_impl/src/payments/payment_attempt.rs:3102-3119 | crates/storage_impl/src/payments/payment_attempt.rs:3137-3154 | crates/storage_impl/src/payments/payment_attempt.rs:3172-3189 | crates/storage_impl/src/payments/payment_attempt.rs:3248-3265 \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 \u0060crates/storage_impl/src/payments/payment_attempt.rs:3102\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6917bdf57fe7820ce4451d400e033405ab4872a5657f50e864b76305a63da5c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:53-70 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:53-70 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:52-69 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 69 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 \u0060crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:53\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":"crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fecac93f9a4bbd1801b25a3aed52ca3c518421c99cd88e18fa4424f1fbe14e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1655-1672 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3533-3550 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1807-1824 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1655\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, \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3532\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1654\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"342b2bb49d38a3f74031ceaf9aa47b5375fdbe8dea90e5d04deb990fa2fc7262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2340-2355 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3341-3356 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:2417-2434 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"8546732c683052a6db06cc976c24f3171efff155bf27b41f203a43aaac93397a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2359-2376 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3360-3377 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:5542-5559 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2359\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"0162e07e96267ccf85674fc8f7279df2f5b30dbce5b230f31cba52cb2c6b7871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1925-1939 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2627-2644 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1255-1272 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1925\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 \u0060item\u0060 to \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f679cd574bb6f73bc485ca2401530da44e5c6d5641aaaa1d6489b507e357c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4621-4638 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4759-4776 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4897-4914 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":4621}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6078754f9f8a67ac36e48d9a6bb199430287e8a93f629ba707c892e33fb3f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2312-2329 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2544-2561 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2607-2624 \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 \u0060crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2312\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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c80031cacf0e5a9d2e464ef72e504a7e297639f6f8a404da4ee23f95bb1a7ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpay.rs:289-306 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:791-808 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:914-930 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs:289\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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"161e724be0cb1d2946aa220ff39ed13292a7c959488762ffd37773b033563da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/hyperswitch_domain_models/src/type_encryption.rs:154-171 | crates/hyperswitch_domain_models/src/type_encryption.rs:393-410 | crates/hyperswitch_domain_models/src/type_encryption.rs:866-883 \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 \u0060crates/hyperswitch_domain_models/src/type_encryption.rs:154\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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42f7be7ea0613113825ee108110cd53e7a4047f0fbef012be7f00b7908c824a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/hyperswitch_domain_models/src/type_encryption.rs:263-280 | crates/hyperswitch_domain_models/src/type_encryption.rs:501-518 | crates/hyperswitch_domain_models/src/type_encryption.rs:969-986 \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 \u0060crates/hyperswitch_domain_models/src/type_encryption.rs:263\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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b08989b07cd04fc55a7268760476d56ea7c3a2f28bad31de4f5839e58ea19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:115-132 | crates/router/src/core/utils.rs:1541-1558 | crates/router/src/core/utils.rs:2106-2123 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/fulfillment_flow.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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":"crates/router/src/core/fraud_check/flows/fulfillment_flow.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b3026460dcdd66264de1cb7fe4f24ebd46ee98de51600343006addd603b70f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): crates/router/src/core/payments.rs:4312-4328 | crates/router/src/core/payments.rs:4405-4421 | crates/router/src/core/payments.rs:4884-4901 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":4312}}}],"partialFingerprints":{"codehealthFindingId/v1":"46d9556cced15b7adcef9bda55bd27563c04956d38afb7924bc83a1eef6f1239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): crates/router/src/core/payments.rs:14552-14568 | crates/router/src/core/payments.rs:14829-14844 | crates/router/src/core/payments.rs:14912-14929 \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. 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":"crates/router/src/core/payments.rs"},"region":{"startLine":14552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4214ec3cee890b8ef2131eebedfbfdedda8798218931865f9efbc495824503"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/router/src/core/payments/operations/payment_complete_authorize.rs:82-99 | crates/router/src/core/payments/operations/payment_confirm.rs:118-135 | crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:203-220 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 as WHOLE FILES: this scan already matched 6 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. 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c286ea22b2ac43ce9b9f157fb07e00bf54fcfb1d0d001a8bcfadd6d00e5f9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/router/src/core/payments/operations/payment_confirm.rs:277-294 | crates/router/src/core/payments/operations/payment_confirm.rs:305-322 | crates/router/src/core/payments/operations/payment_confirm.rs:665-682 \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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:277\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, \u0060crates/router/src/core/payments/operations/payment_confirm.rs:663\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm.rs:276\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07ae65081dd4effb312df1bf60dd5e894ae2ef18eff988110bdd6eba113bddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:233-250 | crates/router/src/core/payments/transformers.rs:1078-1095 | crates/router/src/core/payments/transformers.rs:8950-8967 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f73176c1255322c1c50fb20d7603b1396f229642eb17bd1e2f5f3487f7cd0a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/router/src/core/payouts.rs:2412-2429 | crates/router/src/core/payouts.rs:2658-2675 | crates/router/src/core/payouts.rs:3251-3268 \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 \u0060crates/router/src/core/payouts.rs:2412\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20543f6336093d23f4c5da9b4b279f798733f48a22b243a501dd4441812ba1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 3): crates/router/src/core/user.rs:86-103 | crates/router/src/core/user.rs:246-263 | crates/router/src/core/user.rs:376-390 \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 \u0060crates/router/src/core/user.rs:376\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/router/src/core/user.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"be651cf55e3c96b5943418b25c82e6cae598b442d62a18718f313a02f0cf7d51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 3): crates/router/src/core/webhooks/incoming.rs:1102-1117 | crates/router/src/core/webhooks/incoming.rs:2289-2306 | crates/router/src/core/webhooks/incoming.rs:3218-3233 \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 \u0060crates/router/src/core/webhooks/incoming.rs:1102\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3ec3e9034ed312713de228d91008806b04fd2fc0b257f597b3e0c70afc5808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): crates/router/src/routes/customers.rs:37-54 | crates/router/src/routes/customers.rs:446-463 | crates/router/src/routes/customers.rs:482-498 \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 \u0060crates/router/src/routes/customers.rs: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":"crates/router/src/routes/customers.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"949f0c5ae2ab97557ffd57dde104812ca6efe96a11cd90747a55661428d569a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): crates/router/src/routes/disputes.rs:158-175 | crates/router/src/routes/disputes.rs:359-375 | crates/router/src/routes/disputes.rs:720-737 \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 \u0060crates/router/src/routes/disputes.rs:158\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5848be4aeeb4ca31c2d5dabe376b6b89133801ba725366d638a95875d52cf059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): crates/router/src/routes/payments.rs:399-415 | crates/router/src/routes/payments.rs:630-647 | crates/router/src/routes/payments.rs:4690-4707 \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 \u0060crates/router/src/routes/payments.rs:399\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"4471bc4ebd1caf3569f78dfe070e689e41d2241ae9aaf529e2d8280d84403356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/router/src/utils/user_role.rs:362-379 | crates/router/src/utils/user_role.rs:407-424 | crates/router/src/utils/user_role.rs:453-470 \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 \u0060crates/router/src/utils/user_role.rs:362\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, \u0060crates/router/src/utils/user_role.rs:452\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/utils/user_role.rs:361\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":"crates/router/src/utils/user_role.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd488a98f5ce0dd2a8ce9b88da08953c22d3dfeb868683ab4179b02fe5cf1597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 3): crates/router/src/workflows/outgoing_webhook_retry.rs:656-673 | crates/router/src/workflows/outgoing_webhook_retry.rs:719-735 | crates/router/src/workflows/outgoing_webhook_retry.rs:751-767 \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 \u0060crates/router/src/workflows/outgoing_webhook_retry.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2765f566733495d4a777704cf6f90ed4af10c58d174cd6d2f0b1c9de089de1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/storage_impl/src/business_profile.rs:811-828 | crates/storage_impl/src/business_profile.rs:863-880 | crates/storage_impl/src/business_profile.rs:1297-1314 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"06274a8da327c7fd0d7e6389867560938631244f7c94745b23208b0082e89e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/storage_impl/src/business_profile.rs:1998-2015 | crates/storage_impl/src/business_profile.rs:2371-2388 | crates/storage_impl/src/business_profile.rs:2434-2451 \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, \u0060crates/storage_impl/src/business_profile.rs:2389\u0060 calls \u0060Some\u0060 and \u0060crates/storage_impl/src/business_profile.rs:2016\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4396e1ea1e5992556b9ee4f254f3356085ba2b8742179045a61e2a3e966055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/analytics/src/auth_events/core.rs:55-72 | crates/analytics/src/sdk_events/core.rs:64-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 \u0060crates/analytics/src/auth_events/core.rs:55\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060GetAuthEventMetricRequest\u0060 in one and \u0060GetSdkEventMetricRequest\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":"crates/analytics/src/auth_events/core.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"607de4585e8f39ea4dba14755222c2ab87856330c088fc45fdf966e8c4b8169a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:52-69 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:43-60 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs\u0060 and \u0060crates/analytics/src/payments/metrics/payment_processed_amount.rs\u0060 as WHOLE FILES: this scan already matched 6 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":"crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0045da3ef03a6f7445e22cf84527763aab2a3914502fa1d33e34d775c59bd45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:83-100 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:56-70 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs\u0060 and \u0060crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 145 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 \u0060crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:83\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, \u0060crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:73\u0060 calls \u0060set_filter_clause\u0060 and \u0060crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:103\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":"crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cafd8e0d2d5362de18a74295eb794c8ecc87f1a6335999b6f7d0106247f629b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:147-164 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:139-156 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 221 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 \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:147\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":"crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e3a12ec217dc6fb319d29f2dc9cc9f2df07953c12a9861c53ae49341f68970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/diesel_models/src/payment_attempt.rs:3470-3487 | crates/diesel_models/src/payment_attempt.rs:3743-3760 \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 \u0060crates/diesel_models/src/payment_attempt.rs:3470\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":3470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b2f646bba9334cec9119420e6c2b2784d78d3525e1f5be7a774c80e74da013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1469-1486 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1854-1871 \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 \u0060crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1469\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AciPaymentsResponse, Req, PaymentsResponseData\u003E\u0060 in one and \u0060RefundsResponseRouterData\u003CF, AciRefundResponse\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"423c0a42cb771717e4cecc545b61f94e4e66c8bd7a34cf178713c8b39f4a474a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1882-1898 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2007-2024 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1882\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb17f893dd9c625ab56513a2d5add465b9b838d44a74a3a04f1c4758529a312e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs:227-244 | crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs:321-338 \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 \u0060crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs:227\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":"crates/hyperswitch_connectors/src/connectors/ebanx/transformers.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda9022b954c87e2cec9f1e016667374cd41789ca62f6ea5ef12712639a20f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs:368-384 | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs:271-288 \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 \u0060crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs:368\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, GigadatTransactionStatusResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, LoonioPaymentResponseData, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d4f5d02e71e1966d9f5e5f4b8f654e05c4168163301b3b6f8efbe791191378"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gpayments.rs:285-302 | crates/hyperswitch_connectors/src/connectors/netcetera.rs:409-426 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/gpayments.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/netcetera.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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 \u0060crates/hyperswitch_connectors/src/connectors/gpayments.rs:285\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":"crates/hyperswitch_connectors/src/connectors/gpayments.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8f2bd1a8172425c6a0b794dab2321e63e738f349f5da1374f2bdd09726e924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gpayments.rs:458-475 | crates/hyperswitch_connectors/src/connectors/netcetera.rs:306-323 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/gpayments.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/netcetera.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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 \u0060crates/hyperswitch_connectors/src/connectors/gpayments.rs:458\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":"crates/hyperswitch_connectors/src/connectors/gpayments.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed14fc741b0621f53444406f3710c1f01e5abd0f2a8a1ca64d22dc7f21e7566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1541-1558 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1581-1598 \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 \u0060crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1541\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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b239c0dc7315802d89ed6be36b367e5cf613164ce42342d61844d5ebc5b656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:680-697 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:832-849 \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 \u0060crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:680\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, PayboxCaptureResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, PayboxSyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb42811bf8a5c878c1538789e1cefd8009114b88a0e40a7314bef4a079a9cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal.rs:205-221 | crates/hyperswitch_connectors/src/connectors/paypal.rs:411-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:205\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5881ab8f0be7833f984e357190af0fb2f7104b736218dcb4d4cc6df10f841f2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:691-708 | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:759-776 \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 \u0060crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:691\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, \u0060crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:757\u0060 calls \u0060get_peachpayments_data\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:689\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":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75ceef6896326a8e9bcc6d2ddfedc97d39849f6c1c3a047be1dce876d1a4331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1105-1122 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1126-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 \u0060crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1105\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb6ebe95ca1b7c423da1c4a1c13b3db6a8118b353826004141028363e2beff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_domain_models/src/business_profile.rs:805-822 | crates/hyperswitch_domain_models/src/business_profile.rs:939-956 \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 \u0060value\u0060 to \u0060ProfileSetter\u0060 in one and \u0060ProfileDbBuilder\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":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0225bda577c949a8346d2e08ced61a3caab939b5c1c7ea4f3c5645b5e4b2f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_domain_models/src/router_request_types.rs:1237-1254 | crates/hyperswitch_domain_models/src/router_request_types.rs:1260-1277 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060common_utils::types::BrowserInformation\u0060 in one and \u0060api_models::payments::BrowserInformation\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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8420f4bca3fd28ef03431e79be23928bb49d0293ed62d148002c0e20000c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/payment_methods/src/helpers.rs:297-314 | crates/router/src/types/transformers.rs:122-139 \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":"crates/payment_methods/src/helpers.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0f1218feb8af56c921795915d5447d507a5fd68c42b229e835e6c8805294b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/admin.rs:3861-3878 | crates/router/src/core/admin.rs:4533-4550 \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 \u0060crates/router/src/core/admin.rs:3861\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3861}}}],"partialFingerprints":{"codehealthFindingId/v1":"130fb10ee161ca119e256cd758c09b3544dafa685ca0c8abc7c9aa2a80c7035b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/router/src/core/conditional_config.rs:179-195 | crates/router/src/core/surcharge_decision_config.rs:114-131 \u2014 before extracting anything, compare \u0060crates/router/src/core/conditional_config.rs\u0060 and \u0060crates/router/src/core/surcharge_decision_config.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 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 \u0060crates/router/src/core/conditional_config.rs:179\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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec21d32d98aec972d7b0d7b06b46664b67a04d921384bb815b3cdacc9ecb186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/payment_methods.rs:999-1016 | crates/router/src/core/payment_methods.rs:1019-1036 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1ac0ea2a7063957a0c4f7a9f91bd661c1abffcbd6d8ca168f22231146cc429"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201318 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:5480-5494 | crates/router/src/core/superposition_sdk_config.rs:42-59 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/superposition_sdk_config.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 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. 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6a3df85a98791e5d9d11f899cc09a1c849638773cb792eda183fe1fbc12c92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:7292-7309 | crates/router/src/core/payment_methods/cards.rs:7400-7417 \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 \u0060crates/router/src/core/payment_methods/cards.rs:7292\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":7292}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d3db9cd8c4493d65dd48999dc48061e12440e7e88e7a8b61051452e6b89d08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/payment_methods/client.rs:461-478 | crates/router/src/core/superposition_sdk_config.rs:95-112 \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 \u0060crates/router/src/core/payment_methods/client.rs:461\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 \u0060state\u0060 to \u0060\u0026routes::SessionState\u0060 in one and \u0060\u0026SessionState\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":"crates/router/src/core/payment_methods/client.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af96779f7c616e863bb65decc9792fe71ac9c0cddbbfbf137d0bedf15a4186d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/payment_methods/utils.rs:651-668 | crates/router/src/core/payment_methods/utils.rs:775-792 \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 \u0060crates/router/src/core/payment_methods/utils.rs:651\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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5536ab8e79442e63cbd873c7d58af4d01ce2d495b7c96d4bf7214d472c013e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): crates/router/src/core/payments.rs:14044-14056 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:68-85 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":14044}}}],"partialFingerprints":{"codehealthFindingId/v1":"476eeabd81fb9f3b2a4089be6b738c3e15fc39b6b19b908f860439091d092929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/router/src/core/payments/access_token.rs:483-500 | crates/router/src/core/payments/access_token.rs:578-593 \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 \u0060crates/router/src/core/payments/access_token.rs:483\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":"crates/router/src/core/payments/access_token.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a5cce409736eb83ac6fc44b08d47fd6ffc941ced9b78fe02837db2a8c4d58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:235-252 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:214-231 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/proxy_payments_intent.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 289 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:235\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd444853ddfdb8356bd9eb7f2d2076e7ad41fa354e995ab3d1c3412aef7e193a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/router/src/core/payments/operations/payment_complete_authorize.rs:152-168 | crates/router/src/core/payments/operations/payment_update.rs:167-184 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs: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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8730bfc9e086a180de75537711fe15f1506660ef07ad41673d5d9f1be4e76082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:2862-2894 | crates/router/src/core/payments/operations/payment_recurrence.rs:580-612 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 191 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:2862\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2862}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa643202bebab84a230c8ec44a91468eb90b9ccedeedd059296098315d8bb55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:302-319 | crates/router/src/core/payments/transformers.rs:1476-1493 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ac1e0773f08a5e452c05d2b9bc79b8ea046816223053e2bc106a4b415a8a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:1426-1443 | crates/router/src/core/relay/utils.rs:724-740 \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 \u0060crates/router/src/core/payments/transformers.rs:1426\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1426}}}],"partialFingerprints":{"codehealthFindingId/v1":"217f546f04aeae7cedf99f26762db9edb89c483de55fdb0400f3b5c38af067c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2639-2656 | crates/router/src/core/payments/transformers.rs:8972-8989 \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 \u0060crates/router/src/core/payments/transformers.rs:2639\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2639}}}],"partialFingerprints":{"codehealthFindingId/v1":"260cbcae8df759447cbfa92fd4733e8286c1563354d655151f84ea0bf4a365e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2802-2819 | crates/router/src/core/payments/transformers.rs:3224-3241 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2802}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b247961bca58061f50650b4e06edfe94c9c275743baf65fd221e64ecdd0d77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/refunds.rs:1864-1881 | crates/router/src/core/refunds_v2.rs:1303-1320 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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 \u0060crates/router/src/core/refunds.rs:1864\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2219fee3225f7e870510e9f4c6d60453f77c8a9698278e0298ffce1c4ceb296"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): crates/router/src/core/revenue_recovery/types.rs:439-456 | crates/router/src/core/revenue_recovery/types.rs:458-475 | crates/router/src/core/revenue_recovery/types.rs:477-494 \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 \u0060crates/router/src/core/revenue_recovery/types.rs:439\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba1b18e9731d8f7e13d33b8af66ca162bcb764a35c1c354359e27c09340b45b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/user/dashboard_metadata.rs:788-805 | crates/router/src/core/user/dashboard_metadata.rs:834-851 \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 \u0060crates/router/src/core/user/dashboard_metadata.rs:788\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":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac32da255335a55b4d2ebdfe2e7b5ac4d0e576e430eab9fd54986b4da38168c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:2358-2375 | crates/router/src/utils.rs:293-310 \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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":2358}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47a008deabacb311a4fc2d9ea9ea52e833867488782de868bef23c429453220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:3750-3767 | crates/router/src/core/webhooks/incoming.rs:3855-3872 \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 \u0060crates/router/src/core/webhooks/incoming.rs:3750\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":3750}}}],"partialFingerprints":{"codehealthFindingId/v1":"0905480020f48346c5615d01f9747f1d93c17b3d83e5135dbe66ca933135b16e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:1005-1021 | crates/router/src/core/webhooks/outgoing_v2.rs:305-322 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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 \u0060crates/router/src/core/webhooks/outgoing_v2.rs:305\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c84dc0fcea3a25b4895ba36728b2302b4ae90a0930b90d810105eea1f62081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/router/src/db/api_keys.rs:78-95 | crates/router/src/db/api_keys.rs:124-140 \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 \u0060crates/router/src/db/api_keys.rs:78\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/router/src/db/api_keys.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"264350cdca19588a1e538d7464b5dc7290521654cc3a66a17a585c1a07058849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/routes/api_keys.rs:36-53 | crates/router/src/routes/api_keys.rs:266-283 \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 \u0060crates/router/src/routes/api_keys.rs:36\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":"crates/router/src/routes/api_keys.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c4491fa7cc9d6f49a2121f9a5fa4312255ebb45c5d4761c4d14e230df37618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/routes/hierarchical_resources.rs:141-158 | crates/router/src/routes/hierarchical_resources.rs:225-242 \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 \u0060crates/router/src/routes/hierarchical_resources.rs:141\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":"crates/router/src/routes/hierarchical_resources.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e5cefd57a509bbbc942d1e22dc93a385e7118f44d2335143b0ade663b82b2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/routes/payment_methods.rs:812-829 | crates/router/src/routes/payment_methods.rs:1373-1390 \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 \u0060crates/router/src/routes/payment_methods.rs:812\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5629a6112d247b1c74a2a9b9a7b15880900d17f293fab9bc98a2381b9fe7e6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/routes/payments.rs:1413-1430 | crates/router/src/routes/payments.rs:2137-2154 \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 \u0060crates/router/src/routes/payments.rs:1413\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bfd2431ae31b4db3d2af28876ad439c8356c87f5f1069671ad3d16c47c86b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): crates/router/src/routes/payments.rs:1446-1461 | crates/router/src/routes/payments.rs:1602-1619 \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 \u0060crates/router/src/routes/payments.rs:1446\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c5014944549b0dd42a66768322cbb03108e9d7488a2d1aeb68a4ae5d69f7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/router/src/routes/payments.rs:1709-1725 | crates/router/src/routes/payments.rs:3432-3449 \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 \u0060crates/router/src/routes/payments.rs:1709\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1524bf00a1f86c4d1a75726e08a1c9908396d482a947b9dd9856a457d7e2b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/routes/payments.rs:4419-4436 | crates/router/src/routes/payments.rs:4494-4511 \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 \u0060crates/router/src/routes/payments.rs:4419\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":4419}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6094394289271b32f130b9ef2b5d60bbb34870eec1ec7094bc72f9756a3647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/services/authentication.rs:1127-1144 | crates/router/src/services/authentication.rs:1267-1284 \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 \u0060crates/router/src/services/authentication.rs:1127\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03199bde4529dedfa861b3639e82c069e2023e2517a855a37f01ba4dc61fb83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/services/authentication.rs:1258-1275 | crates/router/src/services/authentication.rs:2160-2177 \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 \u0060crates/router/src/services/authentication.rs:1258\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"865857e48079cf2d733b8811b6d2d34e3335843ed49782c8d50f7592b9a6b631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/router/src/services/authentication.rs:4438-4455 | crates/router/src/services/authentication.rs:4705-4721 \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 \u0060crates/router/src/services/authentication.rs:4438\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4438}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56975f7945b3e311c09a94c08907f1c0728497c473632370bb2052e3d7e914c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/router/src/types/storage/payment_link.rs:49-65 | crates/router/src/types/storage/payment_link.rs:95-112 \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 \u0060crates/router/src/types/storage/payment_link.rs:49\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":"crates/router/src/types/storage/payment_link.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"747ef9508d6dea8e76b9d8a5fb991fd2eeb60dbbf55822eee82295c2a8edb6c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/types/transformers.rs:2752-2769 | crates/router/src/types/transformers.rs:2792-2809 \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 \u0060item\u0060 to \u0060api_models::admin::PaymentLinkConfigRequest\u0060 in one and \u0060diesel_models::business_profile::PaymentLinkConfigRequest\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e9c77503ed79e672f37375a1ff4dcf73cb9cc2a515511b03301e284f5b3ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/utils/user/dashboard_metadata.rs:54-71 | crates/router/src/utils/user/dashboard_metadata.rs:88-105 \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 \u0060crates/router/src/utils/user/dashboard_metadata.rs: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":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4647d42f4f56d87d5cb9177cf5f159c6f43d1f1d7bb1beb11b38d5fd2def13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/utils/user/dashboard_metadata.rs:759-776 | crates/router/src/utils/user/dashboard_metadata.rs:811-828 \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 \u0060crates/router/src/utils/user/dashboard_metadata.rs:759\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":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a513fd3f6e96e85724a1715f2404c252731bf409899d1fc2925bafa226db05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/smithy/src/lib.rs:517-534 | crates/smithy/src/lib.rs:633-650 \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 \u0060crates/smithy/src/lib.rs:517\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":"crates/smithy/src/lib.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53ff166017f62c0e46b7c177ae070d0512a17f1520d899c39de21f2fae778d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:1095-1112 | crates/storage_impl/src/business_profile.rs:1143-1159 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1095}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2c95b36f65b3b0724791753003d3f9447b59f04ea5817b7db1fe63d761939d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): crates/storage_impl/src/merchant_account.rs:237-253 | crates/storage_impl/src/merchant_account.rs:267-284 \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 \u0060crates/storage_impl/src/merchant_account.rs:237\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c8b6ce01c4deb67b5786b8a6d64d87545821def9c05caaaf1b278053dd5f65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/storage_impl/src/payouts/payout_attempt.rs:295-312 | crates/storage_impl/src/payouts/payout_attempt.rs:414-431 \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 \u0060crates/storage_impl/src/payouts/payout_attempt.rs:295\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":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0162c1b2d2ec87daed2f58ce38b16e528583ef53e68a759a40aef8ec2f58405e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 53): crates/analytics/src/auth_events/metrics/authentication_count.rs:52-67 | crates/analytics/src/disputes/metrics/dispute_status_metric.rs:56-69 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:56-69 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:55-68 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:55-68 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:54-67 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:54-67 | crates/analytics/src/frm/metrics/frm_blocked_rate.rs:54-69 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:49-64 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:56-69 | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:71-85 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:60-73 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:56-69 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:71-84 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:65-78 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:64-77 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:67-80 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:61-74 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:58-71 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:63-76 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:61-74 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:58-71 | crates/analytics/src/payments/distribution/payment_error_message.rs:58-71 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:59-72 | crates/analytics/src/payments/metrics/connector_success_rate.rs:58-71 | crates/analytics/src/payments/metrics/debit_routing.rs:60-73 | crates/analytics/src/payments/metrics/payment_count.rs:52-65 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:54-67 | crates/analytics/src/payments/metrics/payment_success_count.rs:53-66 | crates/analytics/src/payments/metrics/retries_count.rs:60-74 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:60-73 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:59-72 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:60-73 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:89-105 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:53-66 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:68-81 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:54-67 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:60-73 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:60-74 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:56-69 | crates/analytics/src/payments/metrics/success_rate.rs:55-68 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:59-72 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:58-71 | crates/analytics/src/refunds/metrics/refund_count.rs:52-65 | crates/analytics/src/refunds/metrics/refund_processed_amount.rs:56-69 | crates/analytics/src/refunds/metrics/refund_success_count.rs:56-69 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:57-70 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:53-66 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:85-101 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:63-76 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:84-100 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:56-69 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:57-70 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs\u0060 and \u0060crates/analytics/src/disputes/metrics/dispute_status_metric.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:68\u0060 calls \u0060set_filter_clause\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs:67\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":"crates/analytics/src/auth_events/metrics/authentication_count.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"205357e1b83ee056c110cf75cb1628dc87dde68bbc44b766e59a92339fa944d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 13): crates/diesel_models/src/payment_intent.rs:1306-1322 | crates/diesel_models/src/payment_intent.rs:1453-1469 | crates/diesel_models/src/payment_intent.rs:1523-1539 | crates/diesel_models/src/payment_intent.rs:1592-1608 | crates/diesel_models/src/payment_intent.rs:1661-1677 | crates/diesel_models/src/payment_intent.rs:1729-1745 | crates/diesel_models/src/payment_intent.rs:1798-1814 | crates/diesel_models/src/payment_intent.rs:1862-1878 | crates/diesel_models/src/payment_intent.rs:1929-1945 | crates/diesel_models/src/payment_intent.rs:1996-2012 | crates/diesel_models/src/payment_intent.rs:2065-2081 | crates/diesel_models/src/payment_intent.rs:2135-2151 | crates/diesel_models/src/payment_intent.rs:2200-2216 \u2014 all 13 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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3dee4bd682a03cc9e6b2c3e0738fbcc590741788be7e8cb3caed107abdcaf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 11): crates/router/src/core/payouts.rs:1940-1956 | crates/router/src/core/payouts.rs:1983-1999 | crates/router/src/core/payouts.rs:2051-2067 | crates/router/src/core/payouts.rs:2266-2282 | crates/router/src/core/payouts.rs:2454-2470 | crates/router/src/core/payouts.rs:2517-2533 | crates/router/src/core/payouts.rs:2763-2779 | crates/router/src/core/payouts.rs:3107-3123 | crates/router/src/core/payouts.rs:3173-3189 | crates/router/src/core/payouts.rs:3292-3308 | crates/router/src/core/payouts.rs:3384-3400 \u2014 all 11 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 \u0060crates/router/src/core/payouts.rs:1940\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6218462a938a88e24958d098e3c96f4552dbc0e339628503d7e5661838c90a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 8): crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:121-137 | crates/router/src/core/relay/utils.rs:290-306 | crates/router/src/core/relay/utils.rs:420-436 | crates/router/src/core/relay/utils.rs:559-575 | crates/router/src/core/utils.rs:1547-1563 | crates/router/src/core/utils.rs:2112-2128 | crates/router/src/core/webhooks/utils.rs:130-146 | crates/router/src/types/api/verify_connector.rs:137-153 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/fulfillment_flow.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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 before the matched lines, \u0060crates/router/src/core/relay/utils.rs:287\u0060 calls \u0060get_connector_test_mode\u0060 and \u0060crates/router/src/core/webhooks/utils.rs:129\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/flows/fulfillment_flow.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"abeb3bf5c4aa7cc5f2fcfb7c83fa1455a733ca911f0e641eb3ffa49412af84cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/cashtocode.rs:141-155 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:242-256 | crates/hyperswitch_connectors/src/connectors/nmi.rs:125-139 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:146-160 | crates/hyperswitch_connectors/src/connectors/paypal.rs:554-570 | crates/hyperswitch_connectors/src/connectors/paypal.rs:689-705 | crates/hyperswitch_connectors/src/connectors/stripe.rs:174-188 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cashtocode.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"crates/hyperswitch_connectors/src/connectors/cashtocode.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d650f1c0982e9a0c094e8fbb39a2c015bb7b5d2b2739edf43237968ebc89b0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 7): crates/storage_impl/src/business_profile.rs:1852-1868 | crates/storage_impl/src/business_profile.rs:2101-2117 | crates/storage_impl/src/business_profile.rs:2162-2178 | crates/storage_impl/src/business_profile.rs:2224-2240 | crates/storage_impl/src/business_profile.rs:2286-2302 | crates/storage_impl/src/business_profile.rs:2349-2365 | crates/storage_impl/src/business_profile.rs:2412-2428 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31e6a1dd69815a640381ab6c48ab65e8d30c4d9cd24f6bf01475c54cf79abbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 7): crates/storage_impl/src/business_profile.rs:1886-1902 | crates/storage_impl/src/business_profile.rs:1948-1964 | crates/storage_impl/src/business_profile.rs:2010-2026 | crates/storage_impl/src/business_profile.rs:2072-2088 | crates/storage_impl/src/business_profile.rs:2134-2150 | crates/storage_impl/src/business_profile.rs:2196-2212 | crates/storage_impl/src/business_profile.rs:2446-2462 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b27b377be8fdc3978678fbe92642c8f508273b031a783fb52fa8cabe250a978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 6): crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:88-103 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:82-96 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:81-96 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:89-105 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:85-99 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:77-91 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 142 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 \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:89\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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f796d2949d9723e6e7ff329cb8b47432f9d60b71fe35bc6e9103a48f6334a2af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:255-271 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:278-294 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:225-241 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:286-302 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:191-207 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:255\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e40e2a81bad41853e31c01e0c24c3dacf3faeb1f1787627c6d6add5d5144d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 5): crates/hyperswitch_domain_models/src/type_encryption.rs:165-181 | crates/hyperswitch_domain_models/src/type_encryption.rs:274-289 | crates/hyperswitch_domain_models/src/type_encryption.rs:512-527 | crates/hyperswitch_domain_models/src/type_encryption.rs:877-892 | crates/hyperswitch_domain_models/src/type_encryption.rs:980-995 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_domain_models/src/type_encryption.rs:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060encrypted_data\u0060 to \u0060Encryption\u0060 in one and \u0060FxHashMap\u003CString, Encryption\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"babade09cda0f9a4c807889bd86d9b9aaa9a0835ba0b47378c543eaf8194552a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:60-76 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:57-73 | crates/router/src/core/payments/operations/payment_reject.rs:52-68 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:60-76 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:67-83 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 219 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":"crates/router/src/core/payments/operations/payment_cancel_post_capture.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4593831df79b64a07c7ed4145f8618069ce5d452aa9af0b494712da8e54299ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): crates/router/src/routes/blocklist.rs:52-68 | crates/router/src/routes/blocklist.rs:111-127 | crates/router/src/routes/blocklist.rs:327-343 | crates/router/src/routes/blocklist.rs:414-430 | crates/router/src/routes/blocklist.rs:568-584 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/blocklist.rs:52\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":"crates/router/src/routes/blocklist.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"328f51905eb92069f498b6421083952e1aa3386c8eaca184f934a4ee2b4e2539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): crates/diesel_models/src/payment_method.rs:1100-1116 | crates/diesel_models/src/payment_method.rs:1151-1167 | crates/diesel_models/src/payment_method.rs:1179-1195 | crates/diesel_models/src/payment_method.rs:1205-1221 \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 \u0060crates/diesel_models/src/payment_method.rs:1100\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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2065675dcbde40958c2bd4f93fa7d50a5fb1e54b0d3b08751f06457aec846b94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): crates/router/src/core/payments.rs:1316-1332 | crates/router/src/core/payments.rs:1561-1577 | crates/router/src/core/payments.rs:1994-2010 | crates/router/src/core/payments.rs:3623-3639 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payments.rs:1315\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payments.rs:3621\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":"crates/router/src/core/payments.rs"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecb252ca328f1d82ec27610510635e10b4d9e89c10bf2780d882f739d1d5f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): crates/router/src/routes/refunds.rs:515-531 | crates/router/src/routes/refunds.rs:702-718 | crates/router/src/routes/refunds.rs:734-750 | crates/router/src/routes/refunds.rs:808-824 \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 \u0060crates/router/src/routes/refunds.rs:515\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":"crates/router/src/routes/refunds.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"84deb268218a7dd2f124113678dbb4146747b49adebf6bff2db1549de59137f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1567-1583 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2470-2486 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:752-767 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 289 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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1567\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1567}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ee9d7eb81545151cb8c562f5a703ae54b95634b38fc3820298d3763f855678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3597-3613 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4330-4346 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1870-1886 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3597\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":3597}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc699bac9c0fa0c00b24d217531dea24f64c8c08e3efa36eaa0c45dd8152d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/stripe.rs:650-666 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1506-1522 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1672-1687 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:650\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 \u0060req\u0060 to \u0060\u0026PaymentsCaptureRouterData\u0060 in one and \u0060\u0026PaymentsCancelRouterData\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c0be20875ff162d554f807e9e3c082a7dbc78b51609b76d66378b5a00f8a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): crates/hyperswitch_domain_models/src/router_data.rs:1418-1433 | crates/hyperswitch_domain_models/src/router_data.rs:1747-1762 | crates/hyperswitch_domain_models/src/router_data.rs:2086-2102 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payment_data\u0060 to \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::Authorize\u003E\u0060 in one and \u0060\u0026payments::PaymentCaptureData\u003Crouter_flow_types::Capture\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedb23e3c7b582a06b51b0eb149879c03d21e3f52f0f1eb8d9b7396eb5d34b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/router/src/core/admin.rs:3859-3875 | crates/router/src/core/admin.rs:4271-4287 | crates/router/src/core/admin.rs:4531-4547 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":3859}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c757f397556aa6e5518034e4cf868b3d0c535b7f0ed39a86ad96ef7e1daddc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:5461-5476 | crates/router/src/core/payment_methods/client.rs:466-481 | crates/router/src/core/superposition_sdk_config.rs:100-116 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/superposition_sdk_config.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 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 \u0060crates/router/src/core/payment_methods/cards.rs:5461\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026routes::SessionState\u0060 in one and \u0060\u0026SessionState\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, \u0060crates/router/src/core/superposition_sdk_config.rs:120\u0060 calls \u0060as_ref\u0060, \u0060and_then\u0060 and \u0060crates/router/src/core/payment_methods/cards.rs:5480\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5461}}}],"partialFingerprints":{"codehealthFindingId/v1":"109f574283492a11517ad13ab3e106bdf1e37a12560f9b3c71b4f32e3fec511f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): crates/router/src/core/payments/flows/authorize_flow.rs:1771-1787 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:855-871 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1123-1138 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/flows/authorize_flow.rs\u0060 and \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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 \u0060crates/router/src/core/payments/flows/authorize_flow.rs:1771\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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4997815d38fb4b0cdd716b638296246bf1bfb2aadcbbbb4f1c09c9981b5a140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/router/src/core/payments/operations/payment_approve.rs:83-99 | crates/router/src/core/payments/operations/payment_reject.rs:145-161 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:121-137 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_approve.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_reject.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f5d0bce2dc1ebad5a7e1a0ab10a790321a1a472b6bf267d88c0d1cfcf6e9b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/router/src/core/payments/operations/payment_approve.rs:149-165 | crates/router/src/core/payments/operations/payment_reject.rs:127-143 | crates/router/src/core/payments/operations/payment_status.rs:440-456 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_approve.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_reject.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 143 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, \u0060crates/router/src/core/payments/operations/payment_status.rs:458\u0060 calls \u0060is_some\u0060 and \u0060crates/router/src/core/payments/operations/payment_reject.rs:145\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":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a1808748fe54c623ebb5ec395f15396f5659bd80a7ee17d2cb72da3e4f037b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): crates/router/src/core/payments/operations/payment_confirm.rs:886-902 | crates/router/src/core/payments/operations/payment_create.rs:639-655 | crates/router/src/core/payments/operations/payment_recurrence.rs:313-327 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"a361fde8d46ddd94d7a118ce1329f4fa238d4ad942962a4436bbd7b01295c4b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/router/src/core/payments/operations/payment_response.rs:1336-1352 | crates/router/src/core/payments/operations/payment_response.rs:2447-2463 | crates/router/src/core/payments/operations/payment_response.rs:4748-4764 \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. 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d048e802cf2dd5f82bbe5d55d9f8d35251fb0bec497fe02e3e232acbee77f4ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:5597-5613 | crates/router/src/core/payments/transformers.rs:5873-5889 | crates/router/src/core/payments/transformers.rs:7642-7655 \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 \u0060crates/router/src/core/payments/transformers.rs:5597\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5597}}}],"partialFingerprints":{"codehealthFindingId/v1":"326bb8acbbeea98e9d0726a84b2a5d4ef2693bf46d565dfdfd54b7377c39d0fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 3): crates/router/src/core/revenue_recovery/types.rs:201-217 | crates/router/src/core/revenue_recovery/types.rs:639-654 | crates/router/src/core/revenue_recovery/types.rs:683-697 \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 \u0060crates/router/src/core/revenue_recovery/types.rs:201\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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ff5cad5542f529e574d809b3a3e368488d6c84b2343b389da58c1f1d76c53b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 3): crates/router/src/core/user.rs:111-127 | crates/router/src/core/user.rs:341-356 | crates/router/src/core/user.rs:397-413 \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 \u0060crates/router/src/core/user.rs:111\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, \u0060crates/router/src/core/user.rs:340\u0060 calls \u0060get_name\u0060 and \u0060crates/router/src/core/user.rs:396\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":"crates/router/src/core/user.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcb1942f684e7bf2490d01f7428896b604bd80e4c1cf618ca9a0847f2a8ee70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/router/src/core/user.rs:3534-3550 | crates/router/src/core/user.rs:3729-3745 | crates/router/src/core/user.rs:3861-3877 \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 \u0060crates/router/src/core/user.rs:3534\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":"crates/router/src/core/user.rs"},"region":{"startLine":3534}}}],"partialFingerprints":{"codehealthFindingId/v1":"125ca4eb474523bd56efe02fce455fcdbc2226dc47d7094c6919870431187649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/router/src/services/authentication.rs:4012-4028 | crates/router/src/services/authentication.rs:5286-5302 | crates/router/src/services/authentication.rs:5369-5385 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4012}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef51b8aa793fc65605cbb725af2c69daf03c99dae4b0edfe91a0872b01c660f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): crates/storage_impl/src/payments/payment_attempt.rs:3056-3072 | crates/storage_impl/src/payments/payment_attempt.rs:3093-3109 | crates/storage_impl/src/payments/payment_attempt.rs:3237-3253 \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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":3056}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8e7673698fed8bb3dd67a690e4c3cab692b52bdd97554dc9f688351d9cc1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/analytics/src/payments/core.rs:78-94 | crates/analytics/src/refunds/core.rs:73-89 \u2014 \u0060crates/analytics/src/payments/core.rs\u0060 and \u0060crates/analytics/src/refunds/core.rs\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 8 separate duplicated blocks between them, totalling at least 123 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payments/core.rs:78\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":"crates/analytics/src/payments/core.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7382e4bf2a504552328db338e4a179d163de4eae4e42d129a7fea2cd495cac3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/api_models/src/errors/types.rs:122-138 | crates/api_models/src/errors/types.rs:141-157 \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":"crates/api_models/src/errors/types.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"470ff50c7b23fef4c599c15a060881a11006d314ceac0c3183667d07c82c1488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/diesel_models/src/payment_attempt.rs:1242-1258 | crates/diesel_models/src/payment_attempt.rs:1295-1311 \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 \u0060crates/diesel_models/src/payment_attempt.rs:1242\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57712bdfba5b61fcbbd42752cf50203a9c45380bb448afd93ecc9f2b782b3b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/diesel_models/src/payment_attempt.rs:2919-2935 | crates/diesel_models/src/payment_attempt.rs:4126-4142 \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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2919}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d31f2d07e04f8cce300b240c60b09ad2009253e954843604d6cddb589d3c64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/diesel_models/src/payment_attempt.rs:3086-3102 | crates/diesel_models/src/payment_attempt.rs:3170-3186 \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 \u0060crates/diesel_models/src/payment_attempt.rs:3086\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":3086}}}],"partialFingerprints":{"codehealthFindingId/v1":"000f19e64443ac07682b37c42d307b9509ef061f94d683daac990fbd3cdecd33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/diesel_models/src/payment_method.rs:1721-1737 | crates/hyperswitch_domain_models/src/mandates.rs:362-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdf55f7264d2252a2f1b163a97a2c985e91139972da082b78563e4f13bf3090"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/diesel_models/src/refund.rs:450-466 | crates/diesel_models/src/refund.rs:484-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. 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":"crates/diesel_models/src/refund.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fd964961f28761f3555f261926c1dbdd46132dbae44ed1fbfa2ec4b008b0a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/external_services/src/superposition.rs:388-404 | crates/external_services/src/superposition.rs:410-426 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060dim\u0060 to \u0060\u0026superposition_sdk::types::DimensionResponse\u0060 in one and \u0060\u0026superposition_sdk::operation::get_dimension::GetDimensionOutput\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":"crates/external_services/src/superposition.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe7aea9f6ec7b707ba0d550a299899d8e02d44ef1e0032bef88e5e31b7f4a59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:577-593 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:578-594 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs\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 12 separate duplicated blocks between them, totalling at least 115 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b04ad2025a3426cafbf1bed4fca88648a4589ace7c962ff7f1712780e0519d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2649-2665 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3436-3452 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2649}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e253e257985ded2b433db57ebc802521fd43f22046eca41c61c0f649e71e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cryptopay.rs:190-206 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:151-167 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cryptopay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/dummyconnector.rs\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. 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 \u0060crates/hyperswitch_connectors/src/connectors/cryptopay.rs: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":"crates/hyperswitch_connectors/src/connectors/cryptopay.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb784b7654ba716ff40f08b44678344dbc9ce38cf1005d41e3f6b039c1c02fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:271-287 | crates/hyperswitch_connectors/src/connectors/payload.rs:306-322 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payload.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs:271\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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a066311e3bef3bbe87a213a4d92e8c433fddca572c49bb12cec60f37de7c4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2681-2695 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2827-2843 \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 \u0060crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2681\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, NuveiPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, NuveiTransactionSyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":2681}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6ff08f4350c23a416e494aa10a162bd1305b685071659c1ad940fc94fcc87c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payload.rs:276-290 | crates/hyperswitch_connectors/src/connectors/paypal.rs:159-175 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/payload.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"crates/hyperswitch_connectors/src/connectors/payload.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcba2d06a0b29b363a3bdc38880ca3b0da15a1736e581e90d01a2ff7b5d78fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs:339-355 | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs:357-373 \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 \u0060crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs:339\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":"crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd2aa8be6854cb4cc198feb02ced21a20e4bf220441796316fc9fbb2a94823c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:213-229 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1329-1345 \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":"crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f8a3e1cf6678f1cdd786bfba3754e6dac755c382809f600e0cc551c0a23a84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1583-1597 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1623-1639 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1583\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf27c20c609c87433fb460c61027dceb7625ee1400508ba0074a8b4048f79df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:921-937 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:1067-1080 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:921\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2674c3c829a2f76e3090d48b4e39ae84e011a5af82b59184b72edd7ffcdc8d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2703-2719 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2762-2778 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2703\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2703}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f14746733f636048ca9a9088348af0faa492bcf0e54ad5e0d506e2596254e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3773-3788 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3798-3814 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3773\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":3773}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d74bce955e12c66abdd59b5406580a714c2bfb4a320fe4cbb78fb47a6ff072a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:195-211 | crates/router/src/connector/utils.rs:2085-2101 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de9f4c5a68f4324e3819d0e1798703a4a69a2e0ee6f5f52f50f3ac6c132996b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_domain_models/src/merchant_key_store.rs:45-61 | crates/router/src/types/domain/user_key_store.rs:44-60 \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 \u0060crates/hyperswitch_domain_models/src/merchant_key_store.rs: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":"crates/hyperswitch_domain_models/src/merchant_key_store.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5259c396a9918a86baf79d114b7eca5b9530a415b3f4385e22db95ca4e9b81a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_domain_models/src/router_data.rs:1559-1575 | crates/hyperswitch_domain_models/src/router_data.rs:2687-2703 \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 \u0060crates/hyperswitch_domain_models/src/router_data.rs:1559\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 \u0060payment_data\u0060 to \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::Authorize\u003E\u0060 in one and \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::SetupMandate\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_domain_models/src/router_data.rs:1576\u0060 calls \u0060Some\u0060, \u0060zero\u0060 and \u0060crates/hyperswitch_domain_models/src/router_data.rs:2704\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f835d55c5c44dc243fe53e36bae610b207a8c942eec7c6f2bea6ce971e8d16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/hyperswitch_domain_models/src/router_data.rs:2202-2218 | crates/hyperswitch_domain_models/src/router_data.rs:2469-2485 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payment_data\u0060 to \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::ExternalVaultProxy\u003E\u0060 in one and \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::SetupMandate\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"472a4ea16c323e0b267e113ffefc9b4490eb749e05e028248b27b6e86cec3823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): crates/hyperswitch_domain_models/src/type_encryption.rs:732-748 | crates/hyperswitch_domain_models/src/type_encryption.rs:799-812 \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 \u0060crates/hyperswitch_domain_models/src/type_encryption.rs:732\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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c27fda8f14e57bdb4fb3f1607dd79d7c2e029b90848fc76b47d595b77caa03c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/analytics.rs:1803-1819 | crates/router/src/analytics.rs:1849-1865 \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 \u0060crates/router/src/analytics.rs:1803\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":"crates/router/src/analytics.rs"},"region":{"startLine":1803}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28764d773b3616ef237af61faa2b8841a43ced8bdc52c507ca676cf9b2612db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/router/src/connector/utils.rs:164-180 | crates/router/src/connector/utils.rs:243-257 \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 \u0060crates/router/src/connector/utils.rs:164\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":"crates/router/src/connector/utils.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1770d856c55dc3fc6070d74df0522fb4d5b6c6f1adb718ade7152cf6161b7523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/authentication.rs:784-800 | crates/router/src/core/authentication.rs:1128-1144 \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 \u0060crates/router/src/core/authentication.rs:784\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, \u0060crates/router/src/core/authentication.rs:801\u0060 calls \u0060get_payment_method_billing\u0060, \u0060cloned\u0060, \u0060get_shipping\u0060 and \u0060crates/router/src/core/authentication.rs:1145\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":"crates/router/src/core/authentication.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfe55f35dfc39fff765a302d20f546f8700fa9bab97229991700fa3eab2236b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/conditional_config.rs:199-215 | crates/router/src/core/surcharge_decision_config.rs:135-151 \u2014 before extracting anything, compare \u0060crates/router/src/core/conditional_config.rs\u0060 and \u0060crates/router/src/core/surcharge_decision_config.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 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 \u0060crates/router/src/core/conditional_config.rs:199\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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"783a0c0753acd404b4718f1c5b2da5af6414b973e9222bbb10a71fae2abb6501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): crates/router/src/core/fraud_check/operation/fraud_check_post.rs:490-503 | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:302-318 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs\u0060 and \u0060crates/router/src/core/fraud_check/operation/fraud_check_pre.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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 \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs:490\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8e4fb05c2561166e7416e4d276ddee10e2bc7f9b0a84e81d377cd697ea1fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payment_methods.rs:771-787 | crates/router/src/core/payment_methods.rs:815-831 \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 \u0060crates/router/src/core/payment_methods.rs:771\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4ef627d551f1ca3017662455111bcfca8f27483c43a9a34fe7d4372515981a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payment_methods.rs:789-805 | crates/router/src/core/payment_methods.rs:833-849 \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 \u0060crates/router/src/core/payment_methods.rs:789\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"79737badcf08060960e55dcd1c681c63eae342397834cdc114659da13fb00a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:5423-5438 | crates/router/src/core/superposition_sdk_config.rs:62-78 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/superposition_sdk_config.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 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 \u0060crates/router/src/core/payment_methods/cards.rs:5423\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5423}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f71ebcacfdddf7a9f50f0d547439a88ae861021f8140b18076a7e95617f610"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:5442-5458 | crates/router/src/core/superposition_sdk_config.rs:82-98 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/superposition_sdk_config.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 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 \u0060crates/router/src/core/payment_methods/cards.rs:5442\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5442}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aeba7419f97349614e9ff981c9c04cdd84b4bc98912f93513eecec84b138ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments.rs:1977-1993 | crates/router/src/core/payments.rs:3592-3608 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c52b595b00e82e34f5b39eeeb079cfe2732f4cdf245885ee8efcba51e033d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments.rs:4910-4926 | crates/router/src/core/payments.rs:4936-4952 \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 \u0060crates/router/src/core/payments.rs:4910\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":"crates/router/src/core/payments.rs"},"region":{"startLine":4910}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95ba47182f158cb735554cd8e104cc8155b76183f5b1b976e38fcf5ead568c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments.rs:9787-9803 | crates/router/src/core/payments.rs:9831-9847 \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 \u0060crates/router/src/core/payments.rs:9787\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":"crates/router/src/core/payments.rs"},"region":{"startLine":9787}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e168272e83dded6c467616f1216f4a0e13c0c67261e9745bc00968ccbcb7389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments.rs:14847-14863 | crates/router/src/core/payments.rs:14931-14947 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":14847}}}],"partialFingerprints":{"codehealthFindingId/v1":"721947ce272656fcd2c383af3c17239609fc8da10f8b24ab35cb91304c36e026"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/router/src/core/payments/operations/payment_complete_authorize.rs:387-402 | crates/router/src/core/payments/operations/payment_update.rs:542-558 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 7 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcb3c87d93cfdb61d96b22b130857bc6794af5f90ee9a146d396c8bcd7eceb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments/operations/payment_complete_authorize.rs:724-740 | crates/router/src/core/payments/operations/payment_confirm.rs:3341-3357 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 as WHOLE FILES: this scan already matched 6 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"85524e289837162c9f5063a7dd24328dd8be3c7ff452b455360178f49ee93ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm_intent.rs:259-275 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:389-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 \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs:259\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":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"20caec2995c102578cb0bb2317ed544d042271843746a138fa3b21f9238665bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:61-76 | crates/router/src/core/payments/operations/tax_calculation.rs:66-82 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 and \u0060crates/router/src/core/payments/operations/tax_calculation.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 236 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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fedc65e33027e2be8dc1a56211e96cfc4ed13dd4a23ff5a853f56187512680"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:137-153 | crates/router/src/core/payments/operations/payment_session.rs:185-201 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 174 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 \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs:137\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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d19edd1c2fc2f8e6be488fcdd20654dfad667f58725f4cc01fe2977ad8dde8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments/routing.rs:3048-3064 | crates/router/src/core/payments/routing.rs:3278-3294 \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 \u0060crates/router/src/core/payments/routing.rs:3048\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3048}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e75a6ae6f5079f17cce20b08d1062c81d0cd9713f84e0b7988ef213efb60f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:676-691 | crates/router/src/core/payments/tokenization.rs:1077-1093 \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 \u0060crates/router/src/core/payments/tokenization.rs:676\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cde1747162d801da90f3645486144c2ba1d2d8c481f8c59116ee3ab1dd71259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:2214-2230 | crates/router/src/core/payments/tokenization.rs:2288-2304 \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 \u0060crates/router/src/core/payments/tokenization.rs:2214\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb5352e4b89d3a2834726def855dbd28de91351c139e77caa50230eb8b0cd39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2680-2696 | crates/router/src/core/payments/transformers.rs:2713-2729 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2680}}}],"partialFingerprints":{"codehealthFindingId/v1":"0573ded4c3780a93c7abd9c6739a7aedebc114d04600320610a1c6d3212fd71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:5611-5623 | crates/router/src/core/payments/transformers.rs:7936-7952 \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 \u0060crates/router/src/core/payments/transformers.rs:7936\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5611}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b8132b4657bf4ea1ea9e4d018c15434730e39566ffc08b972e33113f140096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:7340-7356 | crates/router/src/core/payments/transformers.rs:7433-7449 \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 \u0060crates/router/src/core/payments/transformers.rs:7340\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":7340}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc4d74de87c0d5e8d5ee3e1c8459955a892c6fd248beff7a003da250996f4d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/refunds.rs:2720-2736 | crates/router/src/workflows/process_dispute.rs:199-215 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/workflows/process_dispute.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/refunds.rs:2720\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2720}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecfccd3423e1514b9155a1861588bb0e838c5c855a05679af200649cb3f184f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201317 lines \u00D7 2): crates/router/src/core/routing.rs:1974-1990 | crates/router/src/core/routing.rs:2035-2046 \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 \u0060crates/router/src/core/routing.rs:1974\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":"crates/router/src/core/routing.rs"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0156a03416a397f7fb24d44c24a6330e6949d95c3013d4a7600aedcf79d160"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/router/src/core/routing.rs:3016-3032 | crates/router/src/routes/payment_methods.rs:474-489 \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":"crates/router/src/core/routing.rs"},"region":{"startLine":3016}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a41edbd11a3de4878b390167f66f8496c4cec1dccf13e6bd7dcb91737387e22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/router/src/core/routing/helpers.rs:2275-2291 | crates/router/src/core/routing/helpers.rs:2404-2419 \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 \u0060crates/router/src/core/routing/helpers.rs:2275\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1c913a72621481813bd5fb66e34737191d3fe4978817e42b5adae56fadaf56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:1044-1060 | crates/router/src/core/unified_authentication_service.rs:2395-2410 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/unified_authentication_service.rs:2394\u0060 calls \u0060into\u0060 and \u0060crates/router/src/core/unified_authentication_service.rs:1043\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d59946427c45991199e35d2f68c9ea6ae616965d0c933f9c61652f497d830aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:1597-1613 | crates/router/src/core/unified_authentication_service.rs:1742-1756 \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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1597}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe347e471c35027351445d67670d6fd959e9318fb98204d45a42b3d05bcee2e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/user.rs:789-805 | crates/router/src/core/user_role/role.rs:644-660 \u2014 before extracting anything, compare \u0060crates/router/src/core/user.rs\u0060 and \u0060crates/router/src/core/user_role/role.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/router/src/core/user.rs:789\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":"crates/router/src/core/user.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"d991ebac40aa33787e582c16aeaa8f390f061c9a1cd9f3420b83ce9322cf9e89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/router/src/core/utils.rs:602-618 | crates/router/src/core/utils.rs:840-855 \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 \u0060crates/router/src/core/utils.rs:602\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/utils.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"2569ebd8f32b7d7fd952252472306ade9968a29f7cba42e9bfaf2b0f86c63bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/webhooks/network_tokenization_incoming.rs:107-123 | crates/router/src/core/webhooks/network_tokenization_incoming.rs:158-174 \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 \u0060crates/router/src/core/webhooks/network_tokenization_incoming.rs:107\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":"crates/router/src/core/webhooks/network_tokenization_incoming.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b56bd33fe07dab2dd3d325cd3ad569e2772d3b3287ab93a2dfc64b8550d6e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/core/webhooks/types.rs:115-131 | crates/router/src/core/webhooks/types.rs:176-192 \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 \u0060crates/router/src/core/webhooks/types.rs:115\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":"crates/router/src/core/webhooks/types.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a10dfad8853d9af769866d48a2fe91a14b30372580f6969d27f98615c672ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/routes/admin.rs:823-839 | crates/router/src/routes/profiles.rs:569-585 \u2014 before extracting anything, compare \u0060crates/router/src/routes/admin.rs\u0060 and \u0060crates/router/src/routes/profiles.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060crates/router/src/routes/admin.rs:823\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d87ce6dddb62cae3f9586e665131be203d67fd46af62a904a66ca8bf67f4021"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/routes/customers.rs:285-301 | crates/router/src/routes/customers.rs:354-370 \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 \u0060crates/router/src/routes/customers.rs:285\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":"crates/router/src/routes/customers.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc6dd9a9468bd71c813354d2cef9d5ca6575b519bafe736a00b8c8b5d6f9791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/routes/customers.rs:561-577 | crates/router/src/routes/mandates.rs:85-101 \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 \u0060crates/router/src/routes/customers.rs:561\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":"crates/router/src/routes/customers.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b496a0a28f1382ff7ac84853a128aa13b6334a6dbd7460c0106c14b72100fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/routes/disputes.rs:213-229 | crates/router/src/routes/disputes.rs:256-272 \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 \u0060crates/router/src/routes/disputes.rs:213\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd80a6253ff4a125240a92cd92ab63480cac3e3f88eef014c97136baf94363b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/routes/payments.rs:1750-1766 | crates/router/src/routes/payments.rs:1866-1882 \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 \u0060crates/router/src/routes/payments.rs:1750\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b02339bb3a404b40e745350c94f9b74d84b27e9bf77ddcc8b14d13650855f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/router/src/routes/payouts.rs:150-166 | crates/router/src/routes/payouts.rs:199-213 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/payouts.rs:150\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a77cf2c50e2ec8f95d0f1dabf25144c368ffc23c455ea1db45d5efb3a58445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/router/src/routes/payouts.rs:239-254 | crates/router/src/routes/payouts.rs:279-295 \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 \u0060crates/router/src/routes/payouts.rs:239\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b1120e63f924fceb32f260c103c2c9e00f265290b461b89637159c0ebd94d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/routes/payouts.rs:432-448 | crates/router/src/routes/payouts.rs:509-525 \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 \u0060crates/router/src/routes/payouts.rs:432\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b3c79949079783f8a8e7d984d07072cad57cec3dee5ace3c0267e6c269cb15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/routes/refunds.rs:589-605 | crates/router/src/routes/refunds.rs:624-640 \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 \u0060crates/router/src/routes/refunds.rs:589\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":"crates/router/src/routes/refunds.rs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cca9acf87b093dea9754cd11c99154a818655b0578700d8592d000b4471a9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/services/authentication.rs:1159-1175 | crates/router/src/services/authentication.rs:2054-2070 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"392fd8d94131a49f901dbfc71e0213986dbfcc74f17a00c9bede7f8c27635698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/router/src/services/authentication.rs:3974-3988 | crates/router/src/services/authentication.rs:5450-5466 \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 \u0060crates/router/src/services/authentication.rs:3974\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, \u0060crates/router/src/services/authentication.rs:3971\u0060 calls \u0060get_role_info\u0060, \u0060check_permission\u0060, \u0060Ok\u0060 and \u0060crates/router/src/services/authentication.rs:5450\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3974}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ede3b7ba2e6d56ad9688dc207a2e8d59d28b9fb457921e2e2a2840c24d0528"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/smithy/src/lib.rs:390-406 | crates/smithy/src/lib.rs:879-894 \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 \u0060crates/smithy/src/lib.rs:390\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":"crates/smithy/src/lib.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c1aec255d16436726d8a94c571a5c1f846945e4b924b23a11cf48d2aa12213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:509-525 | crates/storage_impl/src/merchant_account.rs:595-610 \u2014 before extracting anything, compare \u0060crates/storage_impl/src/business_profile.rs\u0060 and \u0060crates/storage_impl/src/merchant_account.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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 \u0060crates/storage_impl/src/business_profile.rs:509\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0d0e3a34a458b5c08201965681fc3fbf656a01f37087659bc765ac1c24fcb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): crates/storage_impl/src/customers.rs:85-99 | crates/storage_impl/src/customers.rs:136-152 \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 \u0060crates/storage_impl/src/customers.rs: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. 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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ac6f19b8681d735cc9a563ce1d3f78d03d00d7caba5e8a0ffcda23d9f516f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/storage_impl/src/customers.rs:780-796 | crates/storage_impl/src/customers.rs:848-864 \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 \u0060crates/storage_impl/src/customers.rs:780\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa96d1049fb82fb2001acbd0734e070441eec6fdcfeee10b0779fc95a5b24c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/storage_impl/src/customers.rs:1683-1699 | crates/storage_impl/src/customers.rs:1703-1719 \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 \u0060crates/storage_impl/src/customers.rs:1683\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ec048152a560848fc52bb5e130aa0969cc7383d0275d57eea58296f1b94952"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/storage_impl/src/customers.rs:1699-1715 | crates/storage_impl/src/customers.rs:1998-2014 \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 \u0060crates/storage_impl/src/customers.rs:1699\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1699}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e4bb13b9949d629d3e9a22e7e17c408e2938cb1fcdb20ec3e43fdad6a9282e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/storage_impl/src/lib.rs:389-405 | crates/storage_impl/src/lib.rs:427-443 \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 \u0060crates/storage_impl/src/lib.rs:389\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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"7116b5bd1428c966650665103a8bba7e3d5477411674e6c7990df90b2a4bce3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:669-684 | crates/storage_impl/src/merchant_connector_account.rs:960-976 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:669\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ebd30a1b0623295d296cf45c2f9c9592ff237722be256af3dbadc578b9108f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:2207-2223 | crates/storage_impl/src/merchant_connector_account.rs:2327-2343 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:2207\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"29358c075ec6fedd9ca71fe636ee361129c83dd9ff4e4fce5cb7bc838945de9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:3062-3078 | crates/storage_impl/src/payments/payment_attempt.rs:3133-3149 \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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":3062}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba836cbcbc4024334976ad91b7eb590ea0aba761805dadade2016db000ef559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 14): crates/diesel_models/src/payment_intent.rs:949-964 | crates/diesel_models/src/payment_intent.rs:1016-1031 | crates/diesel_models/src/payment_intent.rs:1224-1239 | crates/diesel_models/src/payment_intent.rs:1294-1309 | crates/diesel_models/src/payment_intent.rs:1441-1456 | crates/diesel_models/src/payment_intent.rs:1511-1526 | crates/diesel_models/src/payment_intent.rs:1580-1595 | crates/diesel_models/src/payment_intent.rs:1649-1664 | crates/diesel_models/src/payment_intent.rs:1717-1732 | crates/diesel_models/src/payment_intent.rs:1786-1801 | crates/diesel_models/src/payment_intent.rs:1850-1865 | crates/diesel_models/src/payment_intent.rs:1917-1932 | crates/diesel_models/src/payment_intent.rs:1984-1999 | crates/diesel_models/src/payment_intent.rs:2053-2068 \u2014 all 14 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 before the matched lines, \u0060crates/diesel_models/src/payment_intent.rs:1848\u0060 calls \u0060default\u0060 and \u0060crates/diesel_models/src/payment_intent.rs:947\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6343d06a348cab899fefa9a387f4c1e33c7294cb62c338e1cc2094dbb4c51c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 14): crates/diesel_models/src/payment_intent.rs:1169-1184 | crates/diesel_models/src/payment_intent.rs:1309-1324 | crates/diesel_models/src/payment_intent.rs:1456-1471 | crates/diesel_models/src/payment_intent.rs:1526-1541 | crates/diesel_models/src/payment_intent.rs:1595-1610 | crates/diesel_models/src/payment_intent.rs:1664-1679 | crates/diesel_models/src/payment_intent.rs:1732-1747 | crates/diesel_models/src/payment_intent.rs:1801-1816 | crates/diesel_models/src/payment_intent.rs:1865-1880 | crates/diesel_models/src/payment_intent.rs:1932-1947 | crates/diesel_models/src/payment_intent.rs:1999-2014 | crates/diesel_models/src/payment_intent.rs:2068-2083 | crates/diesel_models/src/payment_intent.rs:2138-2153 | crates/diesel_models/src/payment_intent.rs:2203-2218 \u2014 all 14 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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5913231299103a6f20d80d1f69df164620d2b8b43cbf13b2a590fec588ccad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 11): crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:85-100 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:89-104 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:85-100 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:97-112 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:98-113 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:110-125 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:95-110 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:90-105 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:102-117 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:95-110 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:90-105 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/payment_intent_count.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/payments_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 158 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 \u0060crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:85\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":"crates/analytics/src/payment_intents/metrics/payment_intent_count.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75d21a64180bec45da35c31ef12974ad8b89e0b43def8b421b50ae40317d6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 10): crates/hyperswitch_connectors/src/connectors/affirm.rs:325-340 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1324-1339 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:877-892 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:532-547 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:426-441 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:586-601 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:448-463 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:614-629 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:328-343 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1025-1040 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5eda5dcce03245c3e8d372e85352a8268d0f5be313838f921e1aae95122f077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 10): crates/router/src/core/payments/operations/payment_cancel.rs:270-285 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:211-226 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:193-208 | crates/router/src/core/payments/operations/payment_capture.rs:316-331 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:184-198 | crates/router/src/core/payments/operations/payment_start.rs:233-248 | crates/router/src/core/payments/operations/payment_update_metadata.rs:190-204 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:205-220 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:198-213 | crates/router/src/core/payments/operations/tax_calculation.rs:200-214 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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 \u0060crates/router/src/core/payments/operations/payment_cancel.rs:270\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, \u0060crates/router/src/core/payments/operations/tax_calculation.rs:198\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel.rs:269\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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4e2e4241950c563e7e8463a7acfcd24f9fe17b24abfc3e3680a4fa53031f8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 9): crates/analytics/src/auth_events/metrics/authentication_error_message.rs:54-68 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:52-66 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:52-66 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:53-67 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:53-68 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:53-68 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:53-67 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:53-68 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:53-68 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/authentication_error_message.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 128 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 \u0060crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs: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. 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":"crates/analytics/src/auth_events/metrics/authentication_error_message.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce7a172f2187aa3753c0bcde6bf020edaf4ba1c9267751fed5f96e1c5c77a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 9): crates/analytics/src/payments/metrics/connector_success_rate.rs:90-105 | crates/analytics/src/payments/metrics/payment_count.rs:81-96 | crates/analytics/src/payments/metrics/retries_count.rs:85-100 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:91-106 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:82-97 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:92-107 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:85-100 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:85-100 | crates/analytics/src/payments/metrics/success_rate.rs:84-99 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs\u0060 and \u0060crates/analytics/src/payments/metrics/payment_count.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 161 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 \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs:90\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, \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs:108\u0060 calls \u0060clone\u0060 and \u0060crates/analytics/src/payments/metrics/payment_count.rs:98\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":"crates/analytics/src/payments/metrics/connector_success_rate.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f39ef6c4074869e16fa1dc8e691bcb9a0df19b3fa226976b9b5577e9a8a10f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 9): crates/diesel_models/src/payment_attempt.rs:2550-2565 | crates/diesel_models/src/payment_attempt.rs:2778-2793 | crates/diesel_models/src/payment_attempt.rs:2921-2936 | crates/diesel_models/src/payment_attempt.rs:3401-3416 | crates/diesel_models/src/payment_attempt.rs:3770-3785 | crates/diesel_models/src/payment_attempt.rs:3864-3879 | crates/diesel_models/src/payment_attempt.rs:3945-3960 | crates/diesel_models/src/payment_attempt.rs:4128-4143 | crates/diesel_models/src/payment_attempt.rs:4400-4415 \u2014 all 9 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 before the matched lines, \u0060crates/diesel_models/src/payment_attempt.rs:3944\u0060 calls \u0060now\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2549\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"705a8edaa9b143bd201bb66751b5954b76f96ad6279b7c335ed2a19bc44f4b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 9): crates/router/src/core/payments/operations/payment_cancel.rs:259-274 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:200-215 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:182-197 | crates/router/src/core/payments/operations/payment_capture.rs:305-320 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:173-188 | crates/router/src/core/payments/operations/payment_recurrence.rs:381-396 | crates/router/src/core/payments/operations/payment_start.rs:222-237 | crates/router/src/core/payments/operations/payment_update_metadata.rs:179-194 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:194-209 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c6ab5767c0e9385ad28454234cfc67de2f158863c568dc7ce1a35b72d898ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 8): crates/diesel_models/src/payment_attempt.rs:3094-3109 | crates/diesel_models/src/payment_attempt.rs:3236-3251 | crates/diesel_models/src/payment_attempt.rs:3414-3429 | crates/diesel_models/src/payment_attempt.rs:3511-3526 | crates/diesel_models/src/payment_attempt.rs:3714-3729 | crates/diesel_models/src/payment_attempt.rs:3823-3838 | crates/diesel_models/src/payment_attempt.rs:4416-4431 | crates/diesel_models/src/payment_attempt.rs:4488-4503 \u2014 all 8 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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":3094}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8b85c1826b1725f9c19d028ef79986e0e94292136f40c7474d6ebec5d5b237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1061-1076 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1286-1301 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1689-1704 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:211-226 | crates/hyperswitch_connectors/src/connectors/nmi.rs:467-482 | crates/hyperswitch_connectors/src/connectors/payme.rs:469-484 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:334-349 | crates/hyperswitch_connectors/src/connectors/redsys.rs:496-511 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 68 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de9ece467f2baf28212490a5ef42fff22156854b0f4c26cf5b1c99d0730f33a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 8): crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:196-211 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:178-193 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:169-184 | crates/router/src/core/payments/operations/payment_recurrence.rs:377-392 | crates/router/src/core/payments/operations/payment_session.rs:217-232 | crates/router/src/core/payments/operations/payment_start.rs:218-233 | crates/router/src/core/payments/operations/payment_update_metadata.rs:175-190 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:190-205 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 219 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":"crates/router/src/core/payments/operations/payment_cancel_post_capture.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f13deb11914fb59c219a71e46bd226015470358c290fec1e162a6ce3d910bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/facilitapay.rs:195-210 | crates/hyperswitch_connectors/src/connectors/finix.rs:132-147 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:214-229 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:299-314 | crates/hyperswitch_connectors/src/connectors/mollie.rs:280-295 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:371-386 | crates/hyperswitch_connectors/src/connectors/stax.rs:212-227 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/facilitapay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/finix.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026ConnectorCustomerRouterData\u0060 in one and \u0060\u0026RouterData\u003CCreateConnectorCustomer, ConnectorCustomerData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/facilitapay.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1c52751ece72ad797ec6dd05cdae83dd4a5ae338b5d77cf3337cdc86ee740d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 7): crates/storage_impl/src/business_profile.rs:792-807 | crates/storage_impl/src/business_profile.rs:860-874 | crates/storage_impl/src/business_profile.rs:1062-1076 | crates/storage_impl/src/business_profile.rs:1130-1144 | crates/storage_impl/src/business_profile.rs:1197-1211 | crates/storage_impl/src/business_profile.rs:1265-1279 | crates/storage_impl/src/business_profile.rs:1333-1347 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef13a081c60355b9bb3eefcd1b88e0be793aec421b7757e5d70b78e8fe1bc4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): crates/storage_impl/src/business_profile.rs:1846-1861 | crates/storage_impl/src/business_profile.rs:1908-1923 | crates/storage_impl/src/business_profile.rs:2156-2171 | crates/storage_impl/src/business_profile.rs:2218-2233 | crates/storage_impl/src/business_profile.rs:2280-2295 | crates/storage_impl/src/business_profile.rs:2343-2358 | crates/storage_impl/src/business_profile.rs:2406-2421 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/storage_impl/src/business_profile.rs:1846\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, \u0060crates/storage_impl/src/business_profile.rs:1924\u0060 calls \u0060Some\u0060 and \u0060crates/storage_impl/src/business_profile.rs:1862\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f66cad0ac17aa53d8b72b93cd17ffee029d319fc4621472ff7194a82c34cde5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): crates/analytics/src/disputes/metrics/dispute_status_metric.rs:89-104 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:89-104 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:90-105 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:91-106 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:89-104 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:90-105 \u2014 before extracting anything, compare \u0060crates/analytics/src/disputes/metrics/dispute_status_metric.rs\u0060 and \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 156 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 \u0060crates/analytics/src/disputes/metrics/dispute_status_metric.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:87\u0060 calls \u0060add_filter_clause\u0060 and \u0060crates/analytics/src/disputes/metrics/dispute_status_metric.rs:87\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":"crates/analytics/src/disputes/metrics/dispute_status_metric.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"930d5c1fc10a47b0f2c8d68d5913cfeb684c86097a3a59bff24a1a924bad3210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): crates/diesel_models/src/payment_attempt.rs:3099-3114 | crates/diesel_models/src/payment_attempt.rs:3139-3154 | crates/diesel_models/src/payment_attempt.rs:3516-3531 | crates/diesel_models/src/payment_attempt.rs:3725-3740 | crates/diesel_models/src/payment_attempt.rs:4421-4436 | crates/diesel_models/src/payment_attempt.rs:4493-4508 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55ea685d999029db4382bda9dddba35a8dd431410fc57c5e6a3552ae683e63b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/archipel.rs:249-264 | crates/hyperswitch_connectors/src/connectors/archipel.rs:360-375 | crates/hyperswitch_connectors/src/connectors/archipel.rs:556-571 | crates/hyperswitch_connectors/src/connectors/archipel.rs:655-670 | crates/hyperswitch_connectors/src/connectors/archipel.rs:760-775 | crates/hyperswitch_connectors/src/connectors/archipel.rs:973-988 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsAuthorizeRouterData\u0060 in one and \u0060\u0026PaymentsIncrementalAuthorizationRouterData\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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17ec480d63c1dfb5145e7b2c06220ef95fd7aa8d87f7ab2550057270d88c23d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): crates/router/src/core/payments/flows/authorize_flow.rs:1719-1734 | crates/router/src/core/payments/flows/authorize_flow.rs:1867-1882 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:804-819 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:966-981 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1074-1089 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1220-1235 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/flows/authorize_flow.rs\u0060 and \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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 \u0060crates/router/src/core/payments/flows/authorize_flow.rs:1719\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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"e915b6a0bd73cc692a4f0399acb3ec6b3794d4f4c7676dfbffa28eef107d0798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 5): crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:47-60 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:46-60 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:47-61 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:46-61 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:46-60 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/payments_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:62\u0060 calls \u0060add_select_column\u0060 and \u0060crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:60\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":"crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8101466abe1b6557bcde89bdc66126f814c667b9bdc7246cf225e64c5508777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/gigadat.rs:388-403 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:588-603 | crates/hyperswitch_connectors/src/connectors/loonio.rs:369-384 | crates/hyperswitch_connectors/src/connectors/loonio.rs:552-567 | crates/hyperswitch_connectors/src/connectors/loonio.rs:638-653 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/gigadat.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/loonio.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 104 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 \u0060crates/hyperswitch_connectors/src/connectors/gigadat.rs:388\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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5f459c87f9961d7aaa6d6654992103f994a31c23daf2ae9636ae71f78b0169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/stripe.rs:957-970 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1941-1956 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2104-2119 | crates/hyperswitch_connectors/src/connectors/xendit.rs:755-770 | crates/hyperswitch_connectors/src/connectors/xendit.rs:851-865 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/xendit.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:957\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a99fd7e6e166db4a3eceedb86a70587cb1e3dbff15290d104b1cc4ae1450748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 5): crates/router/src/core/payments/operations/payment_response.rs:4345-4360 | crates/router/src/core/payments/operations/payment_response.rs:4417-4431 | crates/router/src/core/payments/operations/payment_response.rs:4616-4628 | crates/router/src/core/payments/operations/payment_response.rs:4892-4906 | crates/router/src/core/payments/operations/payment_response.rs:4965-4979 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":4345}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b9848283a550e6a22b10045660931e9a57efd2b6570863e6f0845149e83e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 5): crates/router/src/core/refunds.rs:2725-2740 | crates/router/src/workflows/dispute_list.rs:194-208 | crates/router/src/workflows/payment_sync.rs:304-318 | crates/router/src/workflows/post_capture_void_sync.rs:191-206 | crates/router/src/workflows/process_dispute.rs:204-219 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/workflows/process_dispute.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/refunds.rs:2725\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, \u0060crates/router/src/core/refunds.rs:2724\u0060 calls \u0060as_ref\u0060 and \u0060crates/router/src/workflows/post_capture_void_sync.rs:190\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2725}}}],"partialFingerprints":{"codehealthFindingId/v1":"f106d4905363dbaf32753846ee3dc647039cf4f2ef9f45500e234e480fe0e4ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3855-3870 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4022-4037 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4118-4133 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4208-4223 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3855\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3855}}}],"partialFingerprints":{"codehealthFindingId/v1":"2babae3dd92566eca104e201779b38a6bacedbdad6d7770225518fa1f52d5489"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:311-326 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:819-834 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:225-240 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1341-1356 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs\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 156 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"706bbf715ae2cb529fcf9000942524dea93f643014db3b93921d43a2828378b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2051-2075 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3053-3077 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3237-3263 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1569-1593 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2051\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 \u0060value\u0060 to \u0060\u0026BankOfAmericaRouterData\u003C\u0026PaymentsCancelRouterData\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsCancelRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"841d22903411659287212c09f0966d344a2e62fcf1aa2fdefe8fdc44e9f90db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:877-892 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1005-1020 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3886-3901 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4033-4048 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:877\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 \u0060item\u0060 to \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsAuthenticateRouterData\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsPostAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c526a784adeebb60a9fb1f8ee1765d4aaeb596fa549d49226f45dd5987ac6f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): crates/hyperswitch_domain_models/src/router_data.rs:1387-1401 | crates/hyperswitch_domain_models/src/router_data.rs:2054-2069 | crates/hyperswitch_domain_models/src/router_data.rs:2353-2367 | crates/hyperswitch_domain_models/src/router_data.rs:2793-2808 \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 \u0060crates/hyperswitch_domain_models/src/router_data.rs:1387\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"73429a123e5217e9cde6a9da0dd06a3fdbc63bbd8a23f9d7a27d01be7397cfb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): crates/router/src/core/payments/helpers.rs:6017-6031 | crates/router/src/core/payments/helpers.rs:6166-6180 | crates/router/src/core/payments/helpers.rs:6604-6618 | crates/router/src/core/payments/helpers.rs:6722-6737 \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 \u0060crates/router/src/core/payments/helpers.rs:6017\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":6017}}}],"partialFingerprints":{"codehealthFindingId/v1":"05672a95c0e0a2917641f943cf97db78b810830bbe047ad7077f9b4643c2d92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:126-141 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:97-111 | crates/router/src/core/payments/operations/payment_update_metadata.rs:95-109 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:138-153 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 200 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":"crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7111bd078ba1857bbe22522034520e10b8734205b39acab53da875144517ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/router/src/db/blocklist.rs:260-275 | crates/router/src/db/blocklist.rs:322-338 | crates/router/src/db/blocklist.rs:541-556 | crates/router/src/db/blocklist.rs:602-617 \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 \u0060crates/router/src/db/blocklist.rs:260\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":"crates/router/src/db/blocklist.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6893ad29e87f4c5301696539e7b4a73d49323d83fdc83189de775223b0e3e00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 4): crates/router/src/db/events.rs:845-860 | crates/router/src/db/events.rs:879-892 | crates/router/src/db/events.rs:911-924 | crates/router/src/db/events.rs:948-963 \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 \u0060crates/router/src/db/events.rs:845\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/events.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"92499e88d07b5b7e51673027261c6f8193e57bcaa053227b4e6ed7e6d2e762fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/router/src/types/transformers.rs:1046-1061 | crates/router/src/types/transformers.rs:1121-1136 | crates/router/src/types/transformers.rs:1193-1208 | crates/router/src/types/transformers.rs:1380-1395 \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 \u0060crates/router/src/types/transformers.rs:1046\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"821c8c7e081d2db622b6c8b921885d606727b26985b4f7463a3534cae0f838e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): crates/storage_impl/src/business_profile.rs:1925-1940 | crates/storage_impl/src/business_profile.rs:2112-2127 | crates/storage_impl/src/business_profile.rs:2235-2250 | crates/storage_impl/src/business_profile.rs:2297-2312 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/storage_impl/src/business_profile.rs:1924\u0060 calls \u0060Some\u0060 and \u0060crates/storage_impl/src/business_profile.rs:2234\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c565185664290c11a58c8b9252e02b616f6b3fd8e93e07936040a00609247017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 4): crates/storage_impl/src/lib.rs:397-412 | crates/storage_impl/src/lib.rs:435-450 | crates/storage_impl/src/mock_db.rs:253-267 | crates/storage_impl/src/mock_db.rs:289-303 \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 \u0060crates/storage_impl/src/lib.rs:397\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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f888f90b9fa207d64fa98575e438863dad06dde674aaa97ae7632c5697afce60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/analytics/src/api_event/metrics/api_count.rs:83-98 | crates/analytics/src/api_event/metrics/latency.rs:95-110 | crates/analytics/src/api_event/metrics/status_code_count.rs:80-95 \u2014 before extracting anything, compare \u0060crates/analytics/src/api_event/metrics/api_count.rs\u0060 and \u0060crates/analytics/src/api_event/metrics/latency.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/api_event/metrics/api_count.rs:83\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":"crates/analytics/src/api_event/metrics/api_count.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"df44fb1ab1b6de2286bedb11a3ac1c1c493cb8e0157ef473c1bb37c557973725"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/diesel_models/src/payment_attempt.rs:3922-3937 | crates/diesel_models/src/payment_attempt.rs:4187-4202 | crates/diesel_models/src/payment_attempt.rs:4457-4472 \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 \u0060crates/diesel_models/src/payment_attempt.rs:3922\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":3922}}}],"partialFingerprints":{"codehealthFindingId/v1":"447d5c3278a1cc2cea26eb4476f2903aa8567a67cd23d40febb6426454d7c5df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/diesel_models/src/payment_attempt.rs:4301-4316 | crates/diesel_models/src/payment_attempt.rs:4482-4497 | crates/diesel_models/src/payment_attempt.rs:4655-4670 \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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":4301}}}],"partialFingerprints":{"codehealthFindingId/v1":"09eadb77f45b67bd90d1293cc249481ee037177e6c38405f73d424636c8b3351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/diesel_models/src/payment_method.rs:1097-1112 | crates/diesel_models/src/payment_method.rs:1120-1135 | crates/diesel_models/src/payment_method.rs:1148-1163 \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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2698ee3077890fadf2713602bebc171218581170ecf126ce72b98059ee568cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource.rs:272-287 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:333-348 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:237-252 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 233 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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fe0323d3ea7a63acf629dbd85e83d71f7094a15920a667f238a05cfe20a780"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2331-2346 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2563-2578 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2626-2641 \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 \u0060crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2331\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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c032e2fb746ac470b2caf91d334d44561f5823d5a81c62b672417567ce3ef8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/paypal.rs:578-593 | crates/hyperswitch_connectors/src/connectors/paypal.rs:713-728 | crates/hyperswitch_connectors/src/connectors/vgs.rs:258-273 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/vgs.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:578\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad01dba11be082b6a31a16766281ea5cedf63411d2293f7c6bac2b393d9bd331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/hyperswitch_connectors/src/utils.rs:2230-2245 | crates/hyperswitch_connectors/src/utils.rs:2285-2300 | crates/hyperswitch_connectors/src/utils.rs:2338-2353 \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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce814903dae421abf34458849cae177b11dacc38f11b1a8355f116926f06b094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/hyperswitch_domain_models/src/lib.rs:1157-1172 | crates/router/src/core/payments/transformers.rs:8472-8487 | crates/router/src/core/payments/transformers.rs:8552-8567 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060 and \u0060crates/router/src/core/payments/transformers.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/hyperswitch_domain_models/src/lib.rs:1157\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 \u0060config\u0060 to \u0060api_models::admin::PaymentLinkConfigRequest\u0060 in one and \u0060diesel_models::PaymentLinkConfigRequestForPayments\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f893041674320aa0c1269bf5b6d724e9ac668ce9ed37e47d3027b37e81444109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/router/src/core/payment_methods.rs:1451-1466 | crates/router/src/core/payment_methods.rs:1579-1594 | crates/router/src/core/payment_methods.rs:1692-1707 \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 \u0060crates/router/src/core/payment_methods.rs:1451\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f651ed925d6f7a7f0f240c11bbea9058b52867aa2b6085fd5a044f7a7db802b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:7184-7199 | crates/router/src/core/payment_methods/cards.rs:7292-7307 | crates/router/src/core/payment_methods/cards.rs:7400-7415 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":7184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f237153a147c9b0e642383c9b23156846672fa23e1400aeaabcdf04f0586f51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/router/src/core/payments/helpers.rs:6056-6071 | crates/router/src/core/payments/helpers.rs:6205-6220 | crates/router/src/core/payments/helpers.rs:6643-6658 \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 \u0060crates/router/src/core/payments/helpers.rs:6056\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":6056}}}],"partialFingerprints":{"codehealthFindingId/v1":"38acfe5454df4ae9ee56208a9944bba20738b6f43fd9ddbea15f3cd70b8d18f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:137-152 | crates/router/src/core/payments/operations/payment_session.rs:185-200 | crates/router/src/core/payments/operations/tax_calculation.rs:153-168 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 174 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 \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs:137\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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be369acd8946d992fb8b98c06699a35ef35ee7bba2407078ba7e12d726b0642"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/router/src/core/user.rs:3438-3453 | crates/router/src/core/user.rs:3586-3601 | crates/router/src/core/user.rs:3781-3796 \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 \u0060crates/router/src/core/user.rs:3438\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":"crates/router/src/core/user.rs"},"region":{"startLine":3438}}}],"partialFingerprints":{"codehealthFindingId/v1":"475975d77abd9a65e31b56f4e555f0372b4d13815eb6c3be0976a10f04f7e00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/router/src/db/address.rs:846-861 | crates/router/src/db/address.rs:870-885 | crates/router/src/db/events.rs:819-834 \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 \u0060crates/router/src/db/address.rs:846\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":"crates/router/src/db/address.rs"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0a52fd65c180b6a0b0bb52116a8c61af2179b84e09bd73193e08274d6c9fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/router/src/db/events.rs:339-354 | crates/router/src/db/events.rs:382-397 | crates/router/src/db/events.rs:593-608 \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 \u0060crates/router/src/db/events.rs:339\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":"crates/router/src/db/events.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c340d10ca03f08d0de646d72d2669a82df4ab20cfebbfa3333973728285d997c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): crates/router/src/db/refund.rs:601-615 | crates/router/src/db/refund.rs:1069-1084 | crates/router/src/db/refund.rs:1152-1166 \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 \u0060crates/router/src/db/refund.rs:601\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":"crates/router/src/db/refund.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea688e1cd317bde308ce3c39bfcc0e62bf8014d9c76c8adef6c6bff09a161aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/router/src/routes/files.rs:51-66 | crates/router/src/routes/files.rs:103-118 | crates/router/src/routes/files.rs:157-172 \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 \u0060crates/router/src/routes/files.rs:51\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":"crates/router/src/routes/files.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eba93ca2596d373e5157d00e82a403054537b909b34ba8196eaefa4aafe705c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): crates/storage_impl/src/business_profile.rs:513-528 | crates/storage_impl/src/merchant_account.rs:599-613 | crates/storage_impl/src/merchant_account.rs:632-645 \u2014 before extracting anything, compare \u0060crates/storage_impl/src/business_profile.rs\u0060 and \u0060crates/storage_impl/src/merchant_account.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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 \u0060crates/storage_impl/src/business_profile.rs:513\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"282d25d71c7f8a7d1f17365cd42e561734a83705d9d289b067876c9d66739326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/storage_impl/src/customers.rs:1681-1696 | crates/storage_impl/src/customers.rs:1701-1716 | crates/storage_impl/src/customers.rs:2000-2015 \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 \u0060crates/storage_impl/src/customers.rs:1681\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"703cf0940a37372c8084d33d4347db6ee4db3e8da1ff006ead148fab56b8367b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/storage_impl/src/payments/payment_attempt.rs:1475-1490 | crates/storage_impl/src/payments/payment_attempt.rs:1549-1564 | crates/storage_impl/src/payments/payment_attempt.rs:1637-1652 \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 \u0060crates/storage_impl/src/payments/payment_attempt.rs:1475\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"244c5c82813c6a547eed90eb46f65c6469b1724a8dcf83557a7979c3637be63d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/analytics/src/payment_intents/accumulator.rs:214-229 | crates/analytics/src/payments/accumulator.rs:369-384 \u2014 \u0060crates/analytics/src/payment_intents/accumulator.rs\u0060 and \u0060crates/analytics/src/payments/accumulator.rs\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 9 separate duplicated blocks between them, totalling at least 94 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/accumulator.rs:214\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 \u0060metrics\u0060 to \u0060\u0026PaymentIntentMetricRow\u0060 in one and \u0060\u0026PaymentMetricRow\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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"1441da4379a569dae1250b1fbe29e258529fd131dddce3a1561fed82ba064618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/analytics/src/payment_intents/accumulator.rs:232-248 | crates/analytics/src/payments/accumulator.rs:387-403 \u2014 \u0060crates/analytics/src/payment_intents/accumulator.rs\u0060 and \u0060crates/analytics/src/payments/accumulator.rs\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 9 separate duplicated blocks between them, totalling at least 94 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. 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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4013233a26a01c9aa09c706069dc9280043dcf244e30a55a97f90dc58cfc54d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/analytics/src/payments/distribution/payment_error_message.rs:75-90 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:75-90 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/distribution/payment_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 163 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":"crates/analytics/src/payments/distribution/payment_error_message.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9105f4bf21e2938f45af8f90a67fdc9c0e86dd65d887334d88c918453bdf122b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/analytics/src/sqlx.rs:609-624 | crates/analytics/src/sqlx.rs:1338-1353 \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 \u0060crates/analytics/src/sqlx.rs:609\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"560efa5703ee4f43e8c22db0f17f9972dba15598476c185a934e3933386a7420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2272-2287 | crates/api_models/src/payment_methods.rs:2302-2317 \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 \u0060crates/api_models/src/payment_methods.rs:2272\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, \u0060crates/api_models/src/payment_methods.rs:2300\u0060 calls \u0060to_string\u0060 and \u0060crates/api_models/src/payment_methods.rs:2271\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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"99117b9c5a28b50c906091adc830681574687ea0444757e72a38f5ebe7f770ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/api_models/src/payouts.rs:1478-1493 | crates/api_models/src/payouts.rs:1620-1635 \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 \u0060crates/api_models/src/payouts.rs:1478\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":"crates/api_models/src/payouts.rs"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec3991396fe9519227e1b9e37f2bb078c627ae48b13b13dbc6b725fe243b632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/api_models/src/payouts.rs:1495-1510 | crates/api_models/src/payouts.rs:1637-1652 \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 \u0060crates/api_models/src/payouts.rs:1495\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":"crates/api_models/src/payouts.rs"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a5dd2df0bc98a809b36b0869466255f7800bd4a022aa6dd74adff97909d79d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/api_models/src/payouts.rs:1512-1527 | crates/api_models/src/payouts.rs:1654-1669 \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 \u0060crates/api_models/src/payouts.rs:1512\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":"crates/api_models/src/payouts.rs"},"region":{"startLine":1512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a678f57402973f9212771395370c8f1a818fdd9f79f351323cd5da4e441e443e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/diesel_models/src/merchant_account.rs:109-124 | crates/hyperswitch_domain_models/src/merchant_account.rs:101-116 \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, \u0060crates/diesel_models/src/merchant_account.rs:108\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/hyperswitch_domain_models/src/merchant_account.rs:100\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":"crates/diesel_models/src/merchant_account.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d59364e7d81adb8bc48f7bd4bf6beb40d1907aed0acd2d033826073981c6dab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/diesel_models/src/query/generics.rs:590-605 | crates/diesel_models/src/query/generics.rs:636-651 \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 \u0060crates/diesel_models/src/query/generics.rs:590\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":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54ea6a847250829e0bcb1073104fa5bac958b2d330ce04aabb556996e689baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:301-316 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:324-339 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:301\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b89e9ded47329cd70300f693eb4c827507850ed566f9e34ddb28732457ead10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1114-1129 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:415-430 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"253dbc772c4e7efbc24733113a1dd592a4f8b192500e5f073bd97fb4a03afead"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:588-603 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:890-905 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 289 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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c32e874d91d67ce528986c4a2cbe355ebd2ebe7566ff7c0d6b61142b0c6e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:341-356 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:166-181 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:341\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58e95664fd6a7016f33d3c4ca0efb5585d7fe8ab1f91de66d735c2c6fa5f65a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1581-1596 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:389-403 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs\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 6 separate duplicated blocks between them, totalling at least 86 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1581\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"604714b6d8b3cdacb412630bfc7201c68c24288e08a47fbb928770e988115a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2329-2346 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2470-2485 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2329\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"6525c31c660aa717f6e2f522764b101b2a6f81ec0f03c1f919e429af9834682e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2392-2407 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2515-2530 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2392\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6d996fb6a455a3d1ec8949f8592b58b717b3f1e79d71bc28d277937a269b1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:416-431 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:451-466 \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 \u0060crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:416\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, \u0060crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:413\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:448\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":"crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb3638801c1f7c122739f9dfef3c5fed2fc87aa689ea7dfb5a4c0ab28788917"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/dlocal.rs:164-179 | crates/hyperswitch_connectors/src/connectors/volt.rs:296-311 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/dlocal.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/volt.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 81 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 \u0060crates/hyperswitch_connectors/src/connectors/dlocal.rs:164\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":"crates/hyperswitch_connectors/src/connectors/dlocal.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"5329fadb0680b9e5d828ef7c68a53978347ad66f1510cd809dd477872e3fa877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/globalpay.rs:145-160 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:347-362 \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 \u0060crates/hyperswitch_connectors/src/connectors/globalpay.rs:145\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":"crates/hyperswitch_connectors/src/connectors/globalpay.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1706f0077155d5e61a5f58f77a6c4affb12e102e0c2e7fa12c24b45171ad305b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:239-254 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:316-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 \u0060crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:239\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, GlobepayPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, GlobepaySyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"646e911f0240440d57513cfe4b30de9bf75e1f01fed84c0f9607d17d7c68dc93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/itaubank.rs:617-632 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:719-734 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026RefundsRouterData\u003CExecute\u003E\u0060 in one and \u0060\u0026RefundSyncRouterData\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":"crates/hyperswitch_connectors/src/connectors/itaubank.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cdb872a98e19767738cb8c4db16762a8288858b516faee13d503ca3f68b3de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei.rs:1056-1071 | crates/hyperswitch_connectors/src/connectors/shift4.rs:526-541 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/nuvei.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c167752a2535d869a1ba98ed4a57dd7701cf548735ca94ec8a642d3e66e0a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2664-2679 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2810-2825 \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 \u0060crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2664\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, NuveiPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, NuveiTransactionSyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":2664}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4d39e3629d8a49093c3d72f243e6b0bbc75503c9dd6bc36261308131319579"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:384-399 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:1085-1100 \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 \u0060item\u0060 to \u0060\u0026PayboxRouterData\u003C\u0026types::PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026PayboxRouterData\u003C\u0026types::PaymentsCompleteAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57fb4a19289bff379360044ea3e23f1600bf6ff000f92ed7c178cc84a97dc52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payme.rs:1133-1148 | crates/hyperswitch_interfaces/src/webhooks.rs:285-300 \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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc941a022accd633b3e155ceeea6a6a7630887ee53fd02035948d2d81b7531c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe.rs:2823-2835 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2842-2857 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:2823\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":2823}}}],"partialFingerprints":{"codehealthFindingId/v1":"1148cbb1c5ab3cd4d40bc9555043217740920e60206e80c8317f87d1b518ee9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/tokenex.rs:230-245 | crates/hyperswitch_connectors/src/connectors/vgs.rs:313-328 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/tokenex.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/vgs.rs\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. 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":"crates/hyperswitch_connectors/src/connectors/tokenex.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7cf72e526aec2f9ae383701ea29f564aa9b65c08cfdbc5d78a066c67e921da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpay.rs:410-425 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:675-690 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs: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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2af509e245416e8e698e96b45b53c46c00a120b58132d88133cc5b3be93f607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:317-332 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:565-580 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:317\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsAuthorizeRouterData\u0060 in one and \u0060\u0026PaymentsCaptureRouterData\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"534c75ccbc5ec795b0b58d967b8a3fa7b03e9e0c0c0b94e59f8889ebb711cf73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2176-2191 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2273-2286 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2176\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, \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2192\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2287\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"8163f6cc72b019154af2ffc32275f2c9d1242318eefc4499f1e7a2aeb13a6de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:297-312 | crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:325-340 \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":"crates/hyperswitch_connectors/src/connectors/zift/transformers.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c7e341bd4cd840ac36e01105b5b6835cdc88d4e42484b4eca7d5bb7d2451a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/hyperswitch_constraint_graph/src/graph.rs:228-242 | crates/hyperswitch_constraint_graph/src/graph.rs:290-305 \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 \u0060crates/hyperswitch_constraint_graph/src/graph.rs:228\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":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b462e6d73e8c528daeb0f6656bc87bd596b9cf992de74928fe2601173b5d04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:2668-2682 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:2814-2829 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:2814\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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":2668}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45a9eb730eaf485667164eaf9a3372ee86b5c8cf37dc7ca628516407514886a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/hyperswitch_interfaces/src/integrity.rs:310-325 | crates/hyperswitch_interfaces/src/integrity.rs:410-425 \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 \u0060crates/hyperswitch_interfaces/src/integrity.rs:310\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":"crates/hyperswitch_interfaces/src/integrity.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab06174019793374103ae80cfeb88a68ebe4d4c6d2b8b8d7d8c5b9554f8e648d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/compatibility/stripe/setup_intents.rs:183-198 | crates/router/src/compatibility/stripe/setup_intents.rs:269-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/compatibility/stripe/setup_intents.rs:285\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs:200\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":"crates/router/src/compatibility/stripe/setup_intents.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedb9beb3f746fce0109f8b5fd8b97d8acc541a5192fba251c766c0b761dc1ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/admin.rs:2507-2522 | crates/router/src/core/admin.rs:2703-2718 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/admin.rs:2506\u0060 calls \u0060generate_merchant_connector_account_id_of_default_length\u0060 and \u0060crates/router/src/core/admin.rs:2702\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2507}}}],"partialFingerprints":{"codehealthFindingId/v1":"214fcf15824572fda84d69ff5a54ca1eb2eeba16c272044c94e7eb0609fc97b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/admin.rs:3035-3050 | crates/router/src/core/admin.rs:3304-3319 \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 \u0060crates/router/src/core/admin.rs:3035\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3035}}}],"partialFingerprints":{"codehealthFindingId/v1":"af48034da46a76d987d0ca1ffc1ee4fe507734088262da0fc570e5b4dc2aae7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201316 lines \u00D7 2): crates/router/src/core/admin.rs:3227-3239 | crates/router/src/core/merchant_connector_webhook_management.rs:593-608 \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 \u0060crates/router/src/core/admin.rs:3227\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3227}}}],"partialFingerprints":{"codehealthFindingId/v1":"854fd649457d88059d88b78f6e3bccdf25a6770559c0b1fae4e539f557050a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/admin.rs:3878-3893 | crates/router/src/types/api/admin.rs:458-473 \u2014 before extracting anything, compare \u0060crates/router/src/core/admin.rs\u0060 and \u0060crates/router/src/types/api/admin.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/admin.rs:3878\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3878}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cc15ea382f8d2c351fe32a87f5909e8939b652c3e6f2cfe42275c713801094"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/admin.rs:3958-3973 | crates/router/src/types/api/admin.rs:553-568 \u2014 before extracting anything, compare \u0060crates/router/src/core/admin.rs\u0060 and \u0060crates/router/src/types/api/admin.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/router/src/core/admin.rs"},"region":{"startLine":3958}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b41613847062d37edf557b784b8f2df38a2a958dc9db2740cb3a3734259758"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/router/src/core/customers.rs:875-890 | crates/router/src/core/customers.rs:1086-1100 \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 \u0060crates/router/src/core/customers.rs:875\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/customers.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"392132d5f5d4422085e6359bd3f818638ecafc7af262d0c22717d703fbb7981d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/fraud_check/flows/checkout_flow.rs:79-94 | crates/router/src/core/fraud_check/flows/sale_flow.rs:68-83 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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, \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:77\u0060 calls \u0060get_browser_info\u0060, \u0060ok\u0060, \u0060as_ref\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs:66\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":"crates/router/src/core/fraud_check/flows/checkout_flow.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"55780b3e379dd577be839e335b48a8fb7f80ad9e008819faf8125d5655a4a864"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/merchant_connector_webhook_management/transformers.rs:128-143 | crates/router/src/core/merchant_connector_webhook_management/transformers.rs:210-225 \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 \u0060crates/router/src/core/merchant_connector_webhook_management/transformers.rs:128\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":"crates/router/src/core/merchant_connector_webhook_management/transformers.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e111352b6462bdf8cb260e696f61ddb00dec37d3e5cdfd2dca9e3ef90141a50d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payment_methods.rs:5045-5060 | crates/router/src/core/payment_methods.rs:5403-5418 \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 \u0060crates/router/src/core/payment_methods.rs:5045\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5045}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30e100f4d32a508bc1baa4d68fc34692e12f84a9b00ee1c519adfa296e37dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:5580-5595 | crates/router/src/core/payment_methods/cards.rs:5622-5637 \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 \u0060crates/router/src/core/payment_methods/cards.rs:5580\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5580}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff522a1313f48805a3cd660a19fa8a72c6e6c61db7599bf7cbef0c72071442fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:6175-6190 | crates/router/src/core/payment_methods/cards.rs:6196-6211 \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 \u0060crates/router/src/core/payment_methods/cards.rs:6175\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6175}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eb512ddf64dea98f0f8448e0b328372b7ca53e1964cff5416da1e2b1efb4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payment_methods/network_tokenization.rs:817-833 | crates/router/src/core/payment_methods/network_tokenization.rs:1003-1018 \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 \u0060crates/router/src/core/payment_methods/network_tokenization.rs:817\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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a54dd231602200ad2a5ce78a6bd10c48d9f6e8e2e9eea9192dcfacd2a9df38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payment_methods/utils.rs:585-600 | crates/router/src/core/payment_methods/utils.rs:606-621 \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 \u0060crates/router/src/core/payment_methods/utils.rs:585\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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ccf4090772cc60b5f4ba9d880a1f8b7198c073d5f9e8d92952bd6621ad6783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payments.rs:11729-11744 | crates/router/src/core/payouts.rs:4274-4289 \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 \u0060crates/router/src/core/payments.rs:11729\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":"crates/router/src/core/payments.rs"},"region":{"startLine":11729}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f71f4355c1d278e0bac4cc5810eadbec042dcaa155c93f3ea8dd3cebd99b88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/router/src/core/payments/multi_currency_processing.rs:172-186 | crates/router/src/core/payments/multi_currency_processing.rs:229-244 \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 \u0060crates/router/src/core/payments/multi_currency_processing.rs:172\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":"crates/router/src/core/payments/multi_currency_processing.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"440aa1ebf770639e693fa3769c9f0d435a1c73327f45ae9ce58cd4c75a6234d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:1632-1647 | crates/router/src/core/payments/operations/payment_recurrence.rs:505-520 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 191 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba1f2f2c9107d9f6da82da21b6b57d7712abb086352fdeb7068de7f0f841c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:3291-3306 | crates/router/src/core/payments/operations/payment_recurrence.rs:660-675 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 191 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:3291\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, \u0060crates/router/src/core/payments/operations/payment_confirm.rs:3308\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs:677\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":3291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a52a2ba3ce42cb4469ebebf97dfc1ae959bb50c0a6c3a148993c63fb0df1a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:341-356 | crates/router/src/core/payments/operations/tax_calculation.rs:128-143 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs\u0060 and \u0060crates/router/src/core/payments/operations/tax_calculation.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:341\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":"crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"4867b6664523319e0966a251aec7745dc76ef4708ae5c8e880e95fd20acdd98e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payments/routing.rs:248-263 | crates/router/src/core/payments/routing.rs:375-390 \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 \u0060crates/router/src/core/payments/routing.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"7450fffb1543978163029ff1df39d88b702921fcf200c724915d023ecec7d3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:548-561 | crates/router/src/core/payments/tokenization.rs:961-976 \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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f799f57567d673b0c8bd3d601d9db44b85e0f7e5186299c6d295257bb716d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:518-533 | crates/router/src/core/payments/transformers.rs:794-809 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f771be4248bbe66173ed5ab5d4dfc8672a421677a5ba1ca75101b524e855c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2154-2169 | crates/router/src/core/payments/transformers.rs:2504-2519 \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 \u0060crates/router/src/core/payments/transformers.rs:2154\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b14c4e928a3cafe2148239636c07f1b4b065457dbf2525d0cc8bb937e83c4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/router/src/core/payments/vault_session.rs:444-459 | crates/router/src/core/payments/vault_session.rs:811-825 \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":"crates/router/src/core/payments/vault_session.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55377a55ee2306b3a77f573e9861dab649cd463bb491125b64c8fcace8ee8fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/router/src/core/payouts.rs:1153-1167 | crates/router/src/core/payouts.rs:1675-1690 \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 \u0060crates/router/src/core/payouts.rs:1153\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dcb5fd7abe688f3cba1cf14fe3095b131f768308c60ba2af307ae9978dfc8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payouts.rs:2217-2232 | crates/router/src/core/payouts.rs:2471-2486 \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 \u0060crates/router/src/core/payouts.rs:2217\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"871e01a1af274f50f0d69f2d56a1a52228dbe2c4ce85cbce9e1efc2a906a1f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/refunds.rs:544-559 | crates/router/src/core/refunds.rs:1244-1259 \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":"crates/router/src/core/refunds.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee43c506278bae70543f27462a60b90035e997142ad47d883e83bf575e997368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/refunds.rs:579-594 | crates/router/src/core/refunds.rs:1273-1291 \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 \u0060crates/router/src/core/refunds.rs:579\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"232b310542b162652d2e3ea40becac6bf265d225477f2019e4d8acdf92ccc867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201316 lines \u00D7 2): crates/router/src/core/refunds.rs:2502-2517 | crates/router/src/core/refunds_v2.rs:1438-1446 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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 \u0060crates/router/src/core/refunds.rs:2502\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2502}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6582b21d9c3b469ab01e503e6548fa9c1fd8891b62dee1ef6ed8463bf13f57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/refunds.rs:2540-2557 | crates/router/src/core/refunds.rs:2568-2583 \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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d08b485e0b6b8b87143c78292434442f8c3cfdae884664e6b9b0a59a8ce445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/revenue_recovery.rs:1540-1555 | crates/router/src/core/revenue_recovery.rs:1607-1622 \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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5137de41ccfcdaa3b2226c60a003b28257aa2e3d7efd4efd88796c9b51f2a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/routing.rs:2546-2561 | crates/router/src/core/routing.rs:2655-2670 \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 \u0060crates/router/src/core/routing.rs:2546\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":"crates/router/src/core/routing.rs"},"region":{"startLine":2546}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a5c7f9dfdebcbe3c997363add28455f747c587d32888f4a9be442d923ba3e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:89-104 | crates/router/src/core/unified_authentication_service.rs:2143-2158 \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 \u0060crates/router/src/core/unified_authentication_service.rs: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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"689c5621bce499a13ef804d9a069ebea80bc72222ead7b1fe7c8f6933edc5b54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:1049-1064 | crates/router/src/core/unified_authentication_service.rs:2082-2097 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/unified_authentication_service.rs:1065\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/unified_authentication_service.rs:2098\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebb801fc084185f046c523d516c640b7dbd3b209e19c8d67f4c24a019728ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:1362-1377 | crates/router/src/core/unified_authentication_service.rs:2078-2093 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/unified_authentication_service.rs:2095\u0060 calls \u0060validate_profile_id_from_auth_layer\u0060 and \u0060crates/router/src/core/unified_authentication_service.rs:1379\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c53d8322c81e483fd8e52da9e2a1e4989ab14150189ba967380fd4478eb92f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/router/src/core/user.rs:2345-2359 | crates/router/src/core/user.rs:2382-2397 \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 \u0060crates/router/src/core/user.rs:2345\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 \u0060user_token\u0060 to \u0060auth::UserFromSinglePurposeToken\u0060 in one and \u0060auth::UserFromToken\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":"crates/router/src/core/user.rs"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10e4ba8cd8ea2b1f1b4209e728baa9b75bee28c1c61842da93adbf841680025"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/router/src/db/api_keys.rs:98-113 | crates/router/src/db/api_keys.rs:142-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/api_keys.rs:98\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":"crates/router/src/db/api_keys.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28e4e1163938ce59b4d78115e30aa92ce8c2d2099bed84c7d45efb97bb999fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/db/mandate.rs:92-107 | crates/router/src/db/mandate.rs:141-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/mandate.rs:92\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":"crates/router/src/db/mandate.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5fdbb93b3a2dc2df31fbc686067627a4b26959a55607f1075e525212d51b46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/db/refund.rs:826-841 | crates/router/src/db/refund.rs:1209-1224 \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 \u0060crates/router/src/db/refund.rs:826\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":"crates/router/src/db/refund.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f9790ed5933b856e368b5cca02f3b3f5f2aad20580eed90d6c463cc0a9bf45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/routes/admin.rs:451-466 | crates/router/src/routes/admin.rs:488-503 \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 \u0060crates/router/src/routes/admin.rs:451\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2cdf0425d25757d6e36f711dee7b500bee7c5300afad012315a2bc8f506e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/routes/payments.rs:1695-1710 | crates/router/src/routes/payments.rs:1809-1824 \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 \u0060crates/router/src/routes/payments.rs:1695\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"4918d6067ec58667b94bd260a42438d0bdaf0086f6db2097ee152ecb9e8b655a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/routes/payments.rs:2607-2622 | crates/router/src/routes/payments.rs:4148-4163 \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 \u0060crates/router/src/routes/payments.rs:2607\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a48b553bcc0ede27b57b059060cd0e7bf9e9caf30634edff0fdf6a1275beb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/routes/verification.rs:19-34 | crates/router/src/routes/verification.rs:68-83 \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 \u0060crates/router/src/routes/verification.rs: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":"crates/router/src/routes/verification.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3b97fe5bd362b1d4739b1183c23d9450ab6a9ab99547d490344366e831407a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/routes/webhooks.rs:101-116 | crates/router/src/routes/webhooks.rs:144-159 \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 \u0060crates/router/src/routes/webhooks.rs:101\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":"crates/router/src/routes/webhooks.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"34762318e370fcccada7be92c0184dd2ce05b531793879ee31a49d6703a068ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/services/authentication.rs:963-978 | crates/router/src/services/authentication.rs:1201-1216 \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 \u0060crates/router/src/services/authentication.rs:963\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d7da3a62a777422705d11e6cb277bd40ceb4e7d36d4ea5438db9c338e2efe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/services/authentication.rs:4868-4883 | crates/router/src/services/authentication.rs:5085-5100 \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 \u0060crates/router/src/services/authentication.rs:4868\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4868}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd99edd83ea317626396e3eac113f652171e63c1b861d40338f39502c023063c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/services/authentication.rs:5613-5628 | crates/router/src/services/authentication.rs:5723-5738 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":5613}}}],"partialFingerprints":{"codehealthFindingId/v1":"752ee88ec409dc0beae72051449308030fb64d4cca0d030aa93e666e55de1c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/smithy/src/lib.rs:1509-1524 | crates/smithy/src/lib.rs:1535-1550 \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 \u0060crates/smithy/src/lib.rs:1509\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":"crates/smithy/src/lib.rs"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba52d28a660ebc7f389f054101e11d94346cce94ead80a05fb688173d764db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/smithy/src/lib.rs:1568-1583 | crates/smithy/src/lib.rs:1594-1609 \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 \u0060crates/smithy/src/lib.rs:1568\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":"crates/smithy/src/lib.rs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44d0bacd3f7fc8099497383df841249538c1456dcf9486df8b7fce119a4829d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:1919-1934 | crates/storage_impl/src/business_profile.rs:1984-1999 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc3e9e8a8eeb9a6fd79e6cafe43280394b9cba5df0d1f1a995f4a23cb7a07b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:2043-2058 | crates/storage_impl/src/business_profile.rs:2323-2338 \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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"951b61959b2599e0029ade4897cd5322beb92ba26a64e07f802f649c8e7cc23b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/storage_impl/src/customers.rs:1404-1419 | crates/storage_impl/src/merchant_account.rs:542-556 \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 \u0060crates/storage_impl/src/customers.rs:1404\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca851508e2c0dbb61a70c9a59756220f1ccf0c947d279c7b4ed1be8f0b892e1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): crates/storage_impl/src/customers.rs:1540-1563 | crates/storage_impl/src/customers.rs:1789-1813 \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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc5ebcd9c090d932b8690e527aa25766443ba4db0933b0ae00962f3f94c3314"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/storage_impl/src/customers.rs:1583-1598 | crates/storage_impl/src/customers.rs:1870-1885 \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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"066f2bacbc81465effd4a7d48951615e5fe6d9f33ca8a1933f1f29a8c5e668e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:2919-2934 | crates/storage_impl/src/payments/payment_attempt.rs:3208-3223 \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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2919}}}],"partialFingerprints":{"codehealthFindingId/v1":"46758c5386a8d752e086f416889dab12d951b1e40623b286d24eb21a5d9c2a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 21): crates/diesel_models/src/payment_attempt.rs:2552-2566 | crates/diesel_models/src/payment_attempt.rs:2620-2634 | crates/diesel_models/src/payment_attempt.rs:2780-2794 | crates/diesel_models/src/payment_attempt.rs:2836-2850 | crates/diesel_models/src/payment_attempt.rs:2923-2937 | crates/diesel_models/src/payment_attempt.rs:3011-3025 | crates/diesel_models/src/payment_attempt.rs:3176-3190 | crates/diesel_models/src/payment_attempt.rs:3260-3274 | crates/diesel_models/src/payment_attempt.rs:3403-3417 | crates/diesel_models/src/payment_attempt.rs:3504-3518 | crates/diesel_models/src/payment_attempt.rs:3573-3587 | crates/diesel_models/src/payment_attempt.rs:3672-3686 | crates/diesel_models/src/payment_attempt.rs:3772-3786 | crates/diesel_models/src/payment_attempt.rs:3866-3880 | crates/diesel_models/src/payment_attempt.rs:3947-3961 | crates/diesel_models/src/payment_attempt.rs:4032-4046 | crates/diesel_models/src/payment_attempt.rs:4130-4144 | crates/diesel_models/src/payment_attempt.rs:4304-4318 | crates/diesel_models/src/payment_attempt.rs:4402-4416 | crates/diesel_models/src/payment_attempt.rs:4574-4588 | crates/diesel_models/src/payment_attempt.rs:4658-4672 \u2014 all 21 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 before the matched lines, \u0060crates/diesel_models/src/payment_attempt.rs:3010\u0060 calls \u0060Some\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2551\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2552}}}],"partialFingerprints":{"codehealthFindingId/v1":"7539cd4144550a564245f118a18d0e785d4a175ebf76e63ad110cddea1151c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 21): crates/diesel_models/src/payment_attempt.rs:2553-2567 | crates/diesel_models/src/payment_attempt.rs:2621-2635 | crates/diesel_models/src/payment_attempt.rs:2837-2851 | crates/diesel_models/src/payment_attempt.rs:2924-2938 | crates/diesel_models/src/payment_attempt.rs:3012-3026 | crates/diesel_models/src/payment_attempt.rs:3177-3191 | crates/diesel_models/src/payment_attempt.rs:3261-3275 | crates/diesel_models/src/payment_attempt.rs:3404-3418 | crates/diesel_models/src/payment_attempt.rs:3505-3519 | crates/diesel_models/src/payment_attempt.rs:3574-3588 | crates/diesel_models/src/payment_attempt.rs:3673-3687 | crates/diesel_models/src/payment_attempt.rs:3773-3787 | crates/diesel_models/src/payment_attempt.rs:3867-3881 | crates/diesel_models/src/payment_attempt.rs:3948-3962 | crates/diesel_models/src/payment_attempt.rs:4033-4047 | crates/diesel_models/src/payment_attempt.rs:4131-4145 | crates/diesel_models/src/payment_attempt.rs:4210-4224 | crates/diesel_models/src/payment_attempt.rs:4305-4319 | crates/diesel_models/src/payment_attempt.rs:4403-4417 | crates/diesel_models/src/payment_attempt.rs:4575-4589 | crates/diesel_models/src/payment_attempt.rs:4659-4673 \u2014 all 21 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 before the matched lines, \u0060crates/diesel_models/src/payment_attempt.rs:3010\u0060 calls \u0060Some\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2551\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2553}}}],"partialFingerprints":{"codehealthFindingId/v1":"074128ed94d47e04f1ae32fb8a687b93db5edd4fdf8c337a7d2b3b0992113519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 21): crates/diesel_models/src/payment_attempt.rs:2567-2581 | crates/diesel_models/src/payment_attempt.rs:2650-2664 | crates/diesel_models/src/payment_attempt.rs:2865-2879 | crates/diesel_models/src/payment_attempt.rs:2951-2965 | crates/diesel_models/src/payment_attempt.rs:3037-3051 | crates/diesel_models/src/payment_attempt.rs:3123-3137 | crates/diesel_models/src/payment_attempt.rs:3207-3221 | crates/diesel_models/src/payment_attempt.rs:3290-3304 | crates/diesel_models/src/payment_attempt.rs:3524-3538 | crates/diesel_models/src/payment_attempt.rs:3603-3617 | crates/diesel_models/src/payment_attempt.rs:3696-3710 | crates/diesel_models/src/payment_attempt.rs:3795-3809 | crates/diesel_models/src/payment_attempt.rs:3891-3905 | crates/diesel_models/src/payment_attempt.rs:3976-3990 | crates/diesel_models/src/payment_attempt.rs:4061-4075 | crates/diesel_models/src/payment_attempt.rs:4157-4171 | crates/diesel_models/src/payment_attempt.rs:4240-4254 | crates/diesel_models/src/payment_attempt.rs:4328-4342 | crates/diesel_models/src/payment_attempt.rs:4510-4524 | crates/diesel_models/src/payment_attempt.rs:4601-4615 | crates/diesel_models/src/payment_attempt.rs:4682-4696 \u2014 all 21 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 before the matched lines, \u0060crates/diesel_models/src/payment_attempt.rs:4238\u0060 calls \u0060default\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2648\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce42cc48f9481aae63daa597a2e19ba1412875f63ddc4bc055abc991bb44b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 20): crates/diesel_models/src/payment_attempt.rs:2682-2696 | crates/diesel_models/src/payment_attempt.rs:2897-2911 | crates/diesel_models/src/payment_attempt.rs:2983-2997 | crates/diesel_models/src/payment_attempt.rs:3069-3083 | crates/diesel_models/src/payment_attempt.rs:3154-3168 | crates/diesel_models/src/payment_attempt.rs:3322-3336 | crates/diesel_models/src/payment_attempt.rs:3635-3649 | crates/diesel_models/src/payment_attempt.rs:4008-4022 | crates/diesel_models/src/payment_attempt.rs:4093-4107 | crates/diesel_models/src/payment_attempt.rs:4272-4286 | crates/diesel_models/src/payment_attempt.rs:4360-4374 | crates/diesel_models/src/payment_attempt.rs:4542-4556 | crates/storage_impl/src/business_profile.rs:1892-1906 | crates/storage_impl/src/business_profile.rs:1954-1968 | crates/storage_impl/src/business_profile.rs:2016-2030 | crates/storage_impl/src/business_profile.rs:2078-2092 | crates/storage_impl/src/business_profile.rs:2140-2154 | crates/storage_impl/src/business_profile.rs:2202-2216 | crates/storage_impl/src/business_profile.rs:2264-2278 | crates/storage_impl/src/business_profile.rs:2326-2340 \u2014 there are 20 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 20 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/diesel_models/src/payment_attempt.rs:2682\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d4173d4b3487ad3cf4e36fef7be45fa7b72d3d7dc6e51482c6a068a2670de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 12): crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:77-91 | crates/analytics/src/auth_events/metrics/authentication_count.rs:64-78 | crates/analytics/src/auth_events/metrics/authentication_error_message.rs:77-91 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:68-81 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:68-82 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:74-88 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:69-82 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:78-92 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:71-85 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:75-89 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:71-85 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:76-89 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 188 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 \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:77\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, \u0060crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:67\u0060 calls \u0060add_filter_clause\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs:63\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9196050b839ba727b55a63a5d415bbe24d0efa676b7290efb9746d374ef38806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 12): crates/router/src/core/payments/operations/payment_cancel.rs:185-199 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:136-150 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:130-144 | crates/router/src/core/payments/operations/payment_capture.rs:241-255 | crates/router/src/core/payments/operations/payment_complete_authorize.rs:347-361 | crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:345-359 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:100-114 | crates/router/src/core/payments/operations/payment_session.rs:169-183 | crates/router/src/core/payments/operations/payment_start.rs:170-184 | crates/router/src/core/payments/operations/payment_update_metadata.rs:98-112 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:142-156 | crates/router/src/core/payments/operations/tax_calculation.rs:132-146 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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 \u0060crates/router/src/core/payments/operations/payment_cancel.rs:185\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, \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:126\u0060 calls \u0060get_required_value\u0060, \u0060get_total_amount\u0060, \u0060into\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:342\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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abe5faebf8f7b05ecaf17d75aa519e417d87f58905af8fb37458dfa89804e63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 10): crates/router/src/db/address.rs:106-120 | crates/router/src/db/address.rs:158-172 | crates/router/src/db/address.rs:189-203 | crates/router/src/db/address.rs:219-233 | crates/router/src/db/address.rs:247-261 | crates/router/src/db/address.rs:332-346 | crates/router/src/db/address.rs:419-433 | crates/router/src/db/address.rs:464-478 | crates/router/src/db/address.rs:549-563 | crates/router/src/db/address.rs:645-659 \u2014 all 10 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 \u0060crates/router/src/db/address.rs:106\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":"crates/router/src/db/address.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51bbf545b00c449edf3d35e0cef6d5779676c76792a9a0f052e528cf3da9fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 9): crates/diesel_models/src/payment_attempt.rs:3094-3108 | crates/diesel_models/src/payment_attempt.rs:3236-3250 | crates/diesel_models/src/payment_attempt.rs:3414-3428 | crates/diesel_models/src/payment_attempt.rs:3511-3525 | crates/diesel_models/src/payment_attempt.rs:3714-3728 | crates/diesel_models/src/payment_attempt.rs:3823-3837 | crates/diesel_models/src/payment_attempt.rs:4416-4430 | crates/diesel_models/src/payment_attempt.rs:4488-4502 | crates/storage_impl/src/business_profile.rs:1859-1873 \u2014 there are 9 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":3094}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5961e26d69ba61a01f6d05205cea520bb2566e0b71d2feccbf10b655cc7402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 9): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:629-643 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:684-698 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:737-751 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:790-804 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:846-860 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1003-1017 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1053-1067 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1106-1120 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1155-1169 \u2014 all 9 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 \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:629\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f005d547965d1ac96c2dd4855f47d08992a2b70e055dc6e523eed06df7b62eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): crates/router/src/db/events.rs:1023-1037 | crates/router/src/db/events.rs:1058-1072 | crates/router/src/db/events.rs:1095-1109 | crates/router/src/db/events.rs:1196-1210 | crates/router/src/db/events.rs:1233-1247 | crates/router/src/db/events.rs:1414-1428 | crates/router/src/db/events.rs:1453-1467 | crates/router/src/db/events.rs:1500-1514 \u2014 all 8 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 \u0060crates/router/src/db/events.rs:1023\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":"crates/router/src/db/events.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54ee957d048f6fd4aa3b16d2570fff2275fd0aff905248b1ed97be465f8d863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): crates/router/src/compatibility/stripe/payment_intents.rs:59-73 | crates/router/src/compatibility/stripe/payment_intents.rs:140-154 | crates/router/src/compatibility/stripe/payment_intents.rs:230-244 | crates/router/src/compatibility/stripe/payment_intents.rs:316-330 | crates/router/src/compatibility/stripe/payment_intents.rs:411-425 | crates/router/src/compatibility/stripe/payment_intents.rs:488-502 | crates/router/src/compatibility/stripe/payment_intents.rs:573-587 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/compatibility/stripe/payment_intents.rs:59\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, \u0060crates/router/src/compatibility/stripe/payment_intents.rs:75\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/compatibility/stripe/payment_intents.rs:504\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce18271cafde048ddf8625cb1ee05d73ee8bf126c835d38111c3247d7c785978"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:257-271 | crates/router/src/core/payments/operations/payment_attempt_record.rs:211-225 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:254-268 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:384-398 | crates/router/src/core/payments/operations/payment_get.rs:206-220 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:235-249 | crates/router/src/core/webhooks/incoming_v2.rs:675-689 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_attempt_record.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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, \u0060crates/router/src/core/payments/operations/proxy_payments_intent.rs:233\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/webhooks/incoming_v2.rs:671\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d02876ae0b22b5afafac70c10eb617e9478a63535e284ed8d94c953590332be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): crates/router/src/services/authentication.rs:4208-4222 | crates/router/src/services/authentication.rs:4434-4448 | crates/router/src/services/authentication.rs:4529-4543 | crates/router/src/services/authentication.rs:4701-4715 | crates/router/src/services/authentication.rs:4771-4785 | crates/router/src/services/authentication.rs:4864-4878 | crates/router/src/services/authentication.rs:5081-5095 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/services/authentication.rs:4208\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, \u0060crates/router/src/services/authentication.rs:4525\u0060 calls \u0060get_role_info\u0060, \u0060check_permission\u0060 and \u0060crates/router/src/services/authentication.rs:4205\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8778482bfbdc7dca363dbc950509744f3a4bbf6175010fdd99ef966be9cb4b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 6): crates/analytics/src/payments/metrics/connector_success_rate.rs:44-58 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:45-59 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:44-56 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:43-56 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:42-56 | crates/analytics/src/payments/metrics/success_rate.rs:41-55 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs\u0060 and \u0060crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 225 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:58\u0060 calls \u0060add_select_column\u0060 and \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs:58\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":"crates/analytics/src/payments/metrics/connector_success_rate.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed913e071855a52ffa7826a240f3097ebdcd99fd2db6b96f8d512ffa935afe5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): crates/diesel_models/src/payment_attempt.rs:3232-3246 | crates/diesel_models/src/payment_attempt.rs:3410-3424 | crates/diesel_models/src/payment_attempt.rs:3507-3521 | crates/diesel_models/src/payment_attempt.rs:3819-3833 | crates/diesel_models/src/payment_attempt.rs:4412-4426 | crates/diesel_models/src/payment_attempt.rs:4630-4644 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":3232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a9b8c9c383ce503c4e43a07ff857f1638ec3e0d5cadf60cd7c7bbf35c26a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:50-64 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:59-73 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3275-3289 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:77-91 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:736-750 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1605-1619 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8982285bc419d671bab6a437d3bc813b4eb120a717e4ad3685ae117f864017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/fiserv.rs:421-435 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:524-538 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:663-677 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:771-784 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:884-897 | crates/hyperswitch_connectors/src/connectors/xendit.rs:317-331 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiserv.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/xendit.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 81 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 \u0060crates/hyperswitch_connectors/src/connectors/fiserv.rs:421\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":"crates/hyperswitch_connectors/src/connectors/fiserv.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9472f41f678463b6e8ce346678365881d65bd36e7d024530213a6e6744c26cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 6): crates/router/src/core/payments.rs:3841-3854 | crates/router/src/core/payments.rs:7093-7107 | crates/router/src/core/payments.rs:7688-7702 | crates/router/src/core/payments.rs:7825-7838 | crates/router/src/core/payments.rs:8029-8043 | crates/router/src/core/payments.rs:9161-9175 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments.rs:3841\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":"crates/router/src/core/payments.rs"},"region":{"startLine":3841}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b881a19135a9397a58899ffed3898cb7dac97b82a8b11b7e0f5b8aa3007e449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 6): crates/router/src/db/dispute.rs:473-486 | crates/router/src/db/dispute.rs:548-561 | crates/router/src/db/mandate.rs:161-175 | crates/router/src/db/refund.rs:617-629 | crates/router/src/db/refund.rs:1088-1101 | crates/router/src/db/refund.rs:1171-1184 \u2014 before extracting anything, compare \u0060crates/router/src/db/dispute.rs\u0060 and \u0060crates/router/src/db/mandate.rs\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. 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 \u0060crates/router/src/db/dispute.rs:473\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":"crates/router/src/db/dispute.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f5b3b2a22dd76e6d11aabcfcfeff521c199fbee007beb662049cab3f01d1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): crates/router/src/db/events.rs:351-365 | crates/router/src/db/events.rs:394-408 | crates/router/src/db/events.rs:427-441 | crates/router/src/db/events.rs:460-474 | crates/router/src/db/events.rs:495-509 | crates/router/src/db/events.rs:528-542 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/events.rs:351\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":"crates/router/src/db/events.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b383e0fddb3d128838fd819e5edb3c26eb8c2c61dad6e9c19027d708f70529d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 6): crates/router/src/services/authentication.rs:649-662 | crates/router/src/services/authentication.rs:1000-1014 | crates/router/src/services/authentication.rs:1085-1099 | crates/router/src/services/authentication.rs:1997-2010 | crates/router/src/services/authentication.rs:3042-3055 | crates/router/src/services/authentication.rs:5534-5547 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"0605d2dce91d49480d64daf6e778b06022d549cdf611342953de3cd4f2daef37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): crates/storage_impl/src/business_profile.rs:829-843 | crates/storage_impl/src/business_profile.rs:896-910 | crates/storage_impl/src/business_profile.rs:963-977 | crates/storage_impl/src/business_profile.rs:1030-1044 | crates/storage_impl/src/business_profile.rs:1166-1180 | crates/storage_impl/src/business_profile.rs:1234-1248 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/storage_impl/src/business_profile.rs:829\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22c08fe1d8a77fb9131d90884d0f2488544189859d5e063f6e4f80db38671f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 5): crates/analytics/src/frm/metrics/frm_blocked_rate.rs:71-85 | crates/analytics/src/refunds/metrics/refund_success_count.rs:73-85 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:74-86 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:73-85 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:74-86 \u2014 before extracting anything, compare \u0060crates/analytics/src/frm/metrics/frm_blocked_rate.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/refund_success_count.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 100 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 \u0060crates/analytics/src/frm/metrics/frm_blocked_rate.rs: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":"crates/analytics/src/frm/metrics/frm_blocked_rate.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d974924ad8eece21e219675e3c0cb904e1641370be6c41b78ef119701fd4b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 5): crates/external_services/src/utils.rs:60-73 | crates/payment_methods/src/configs/settings.rs:182-195 | crates/router/src/configs/settings.rs:1902-1915 | crates/router/src/configs/settings.rs:1953-1966 | crates/router/src/configs/settings.rs:2016-2030 \u2014 before extracting anything, compare \u0060crates/external_services/src/utils.rs\u0060 and \u0060crates/payment_methods/src/configs/settings.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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 \u0060crates/external_services/src/utils.rs: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":"crates/external_services/src/utils.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db5cd65606d3cf48bb69ff472ed7f18d4311c52c2aa5dcb72c35ae09695006a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:231-245 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:188-202 | crates/hyperswitch_connectors/src/connectors/redsys.rs:115-129 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:357-371 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:172-186 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/nexixpay.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f655a51fecf14606b0481bcc22157fb4f4ee4392975a25418ac8808591a205e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/calida.rs:265-279 | crates/hyperswitch_connectors/src/connectors/calida.rs:356-370 | crates/hyperswitch_connectors/src/connectors/santander.rs:1288-1302 | crates/hyperswitch_connectors/src/connectors/santander.rs:1575-1589 | crates/hyperswitch_connectors/src/connectors/santander.rs:1992-2006 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/calida.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/santander.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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 \u0060crates/hyperswitch_connectors/src/connectors/calida.rs:265\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":"crates/hyperswitch_connectors/src/connectors/calida.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8991ae007fa843483bc0f41564659e1f747c24e661dfc81770fceed69e7b8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): crates/hyperswitch_domain_models/src/lib.rs:1164-1178 | crates/router/src/core/payments/transformers.rs:8479-8493 | crates/router/src/core/payments/transformers.rs:8559-8573 | crates/router/src/types/transformers.rs:2761-2775 | crates/router/src/types/transformers.rs:2801-2815 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060 and \u0060crates/router/src/core/payments/transformers.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/hyperswitch_domain_models/src/lib.rs:1164\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 \u0060item\u0060 to \u0060api_models::admin::PaymentLinkConfigRequest\u0060 in one and \u0060diesel_models::business_profile::PaymentLinkConfigRequest\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9187ce674c0df01a2259e45c33ca0a320d8d3093ffb43a6b9266cd01223226e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 5): crates/router/src/core/payments/operations/payment_complete_authorize.rs:740-754 | crates/router/src/core/payments/operations/payment_confirm.rs:3385-3397 | crates/router/src/core/payments/operations/payment_create.rs:1374-1386 | crates/router/src/core/payments/operations/payment_recurrence.rs:704-716 | crates/router/src/core/payments/operations/payment_update.rs:1070-1082 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs:740\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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"708b97ac8303960068e2fd4bca16e6a2a2c4c67a5767de4b3abcd6161b63f262"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): crates/router/src/core/user.rs:786-800 | crates/router/src/core/user_role/role.rs:509-523 | crates/router/src/core/user_role/role.rs:641-655 | crates/router/src/core/user_role/role.rs:818-832 | crates/router/src/types/domain/user.rs:549-563 \u2014 before extracting anything, compare \u0060crates/router/src/core/user.rs\u0060 and \u0060crates/router/src/core/user_role/role.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/router/src/core/user.rs:786\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":"crates/router/src/core/user.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7665cadd0dbe5bfd1a71c021a45230dfaa2e6ca296be188cf88b71da04eb564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): crates/router/src/services/authentication.rs:668-682 | crates/router/src/services/authentication.rs:776-790 | crates/router/src/services/authentication.rs:3055-3069 | crates/router/src/services/authentication.rs:3354-3368 | crates/router/src/services/authentication.rs:3417-3431 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/services/authentication.rs:668\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f955db9fdfaa9805bf16e38b58e85632bafda12682f5c562408587313d0d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): crates/storage_impl/src/business_profile.rs:1927-1941 | crates/storage_impl/src/business_profile.rs:1990-2004 | crates/storage_impl/src/business_profile.rs:2114-2128 | crates/storage_impl/src/business_profile.rs:2237-2251 | crates/storage_impl/src/business_profile.rs:2299-2313 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/storage_impl/src/business_profile.rs:1924\u0060 calls \u0060Some\u0060 and \u0060crates/storage_impl/src/business_profile.rs:2234\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fb4b50d9ec44e816696ee4a6a82da2193ae80cf1f9609e767a802877743a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): crates/storage_impl/src/business_profile.rs:2048-2062 | crates/storage_impl/src/business_profile.rs:2110-2124 | crates/storage_impl/src/business_profile.rs:2171-2185 | crates/storage_impl/src/business_profile.rs:2233-2247 | crates/storage_impl/src/business_profile.rs:2295-2309 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/storage_impl/src/business_profile.rs:2187\u0060 calls \u0060Some\u0060 and \u0060crates/storage_impl/src/business_profile.rs:2126\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":2048}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad84994ee9a12e61749e584e755b7e8ebac90e44273235f7d8351f878c75a969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/diesel_models/src/payment_intent.rs:935-949 | crates/diesel_models/src/payment_intent.rs:1002-1016 | crates/diesel_models/src/payment_intent.rs:1211-1225 | crates/diesel_models/src/payment_intent.rs:1360-1374 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f264067d6fcf8e55853c84e83be0c9772d1087d813894b0306508557ed55ed6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3201-3215 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3825-3839 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3992-4006 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6974-6988 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3201\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, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3200\u0060 calls \u0060get_address_info\u0060, \u0060get_optional_billing\u0060, \u0060and_then\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3823\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea792185234e5d16d7503d5d97e59e011cf25947f6a2321c6217d1d9d973a0bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/airwallex.rs:693-707 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:345-359 | crates/hyperswitch_connectors/src/connectors/paybox.rs:642-656 | crates/hyperswitch_connectors/src/connectors/shift4.rs:618-632 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/breadpay.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 84 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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e766155ba31e02eed2e36b88e53b00b035cefb96edf0f390139bc8aca3693a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/router/src/compatibility/stripe/refunds.rs:42-56 | crates/router/src/compatibility/stripe/refunds.rs:89-103 | crates/router/src/compatibility/stripe/refunds.rs:135-149 | crates/router/src/compatibility/stripe/refunds.rs:178-192 \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 \u0060crates/router/src/compatibility/stripe/refunds.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/compatibility/stripe/refunds.rs:40\u0060 calls \u0060get_locking_input\u0060, \u0060clone\u0060 and \u0060crates/router/src/compatibility/stripe/refunds.rs:176\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":"crates/router/src/compatibility/stripe/refunds.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9f7197f75c82ce8f8675d39bf2bd16fa32420458ea91a66debe42b71b26674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 4): crates/router/src/core/admin.rs:3960-3972 | crates/router/src/core/admin.rs:4316-4330 | crates/router/src/core/admin.rs:4568-4582 | crates/router/src/types/api/admin.rs:555-567 \u2014 before extracting anything, compare \u0060crates/router/src/core/admin.rs\u0060 and \u0060crates/router/src/types/api/admin.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/admin.rs:3960\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3960}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b84fafaa2e925af660afd1453847e7d20f636d378370f09ab28aeae43ec90d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:137-151 | crates/router/src/core/payments/operations/payment_session.rs:185-199 | crates/router/src/core/payments/operations/payment_update_metadata.rs:148-161 | crates/router/src/core/payments/operations/tax_calculation.rs:153-167 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 174 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 \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs:137\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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0f6c0a040f9090d45ab52fb45648a3975faf2796555bf8422eb3cf3b456ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/router/src/core/payments/transformers.rs:646-660 | crates/router/src/core/payments/transformers.rs:1083-1097 | crates/router/src/core/payments/transformers.rs:1268-1282 | crates/router/src/core/payments/transformers.rs:2031-2045 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad337147755122cc0b1e211bf8f8c38708f04ebd7bf11d124ff3d4e207f228ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): crates/router/src/core/payouts.rs:2196-2209 | crates/router/src/core/payouts.rs:2326-2339 | crates/router/src/core/payouts.rs:2450-2463 | crates/router/src/core/payouts.rs:2758-2772 \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 \u0060crates/router/src/core/payouts.rs:2196\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2196}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fa1f6b6682042dd91dac91536e84ff8c7e37febf1cfb705efe496eeec10555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/router/src/routes/payments.rs:1139-1153 | crates/router/src/routes/payments.rs:1457-1471 | crates/router/src/routes/payments.rs:1615-1629 | crates/router/src/routes/payments.rs:3354-3368 \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 \u0060crates/router/src/routes/payments.rs:1139\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, \u0060crates/router/src/routes/payments.rs:1456\u0060 calls \u0060current\u0060, \u0060record\u0060, \u0060get_string_repr\u0060 and \u0060crates/router/src/routes/payments.rs:1137\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ad82a1443515ff73b1a3e9f29d840153ab4f91b5d406862ce1298c9582fcf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/router/src/routes/subscription.rs:111-125 | crates/router/src/routes/subscription.rs:147-161 | crates/router/src/routes/subscription.rs:183-197 | crates/router/src/routes/subscription.rs:481-495 \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 \u0060crates/router/src/routes/subscription.rs:111\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":"crates/router/src/routes/subscription.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec54446bff2473fd777f532e3f277ce896dd40de771a26251bb1dfb2e998df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/storage_impl/src/business_profile.rs:811-825 | crates/storage_impl/src/business_profile.rs:863-877 | crates/storage_impl/src/business_profile.rs:1297-1311 | crates/storage_impl/src/business_profile.rs:1367-1381 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f57f568d88ce778fe3e4e0f087f775c22ef61a8b5433d43fbb8f1d531e7e08c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/storage_impl/src/business_profile.rs:1997-2011 | crates/storage_impl/src/business_profile.rs:2306-2320 | crates/storage_impl/src/business_profile.rs:2370-2384 | crates/storage_impl/src/business_profile.rs:2433-2447 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ca61ef309497f227b9a827b2b9188355306b54d8a5912b0916f991551c739e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): crates/storage_impl/src/payments/payment_attempt.rs:3065-3079 | crates/storage_impl/src/payments/payment_attempt.rs:3136-3150 | crates/storage_impl/src/payments/payment_attempt.rs:3171-3185 | crates/storage_impl/src/payments/payment_attempt.rs:3247-3261 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":3065}}}],"partialFingerprints":{"codehealthFindingId/v1":"288d2d6794a76ca9a654a7704904c936b410c3fd4d98078c1d2d2e58ae86a212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/diesel_models/src/payment_intent.rs:2177-2191 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1414-1428 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1481-1495 \u2014 before extracting anything, compare \u0060crates/diesel_models/src/payment_intent.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 before the matched lines, \u0060crates/diesel_models/src/payment_intent.rs:2176\u0060 calls \u0060now\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1413\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"4584cfb05c43a4b13dcec5b9820258ea64f447e857c8d4727ff6805540964c9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:942-956 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2553-2567 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:379-393 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:939\u0060 calls \u0060AmazonPay\u0060, \u0060ApplePay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2552\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e935d07709f126b132bf1c3bae5c21307b08e9526627af572b9cd3b586459e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:783-797 | crates/hyperswitch_connectors/src/connectors/bamboraapac/transformers.rs:481-496 | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs:464-479 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:783\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AuthorizedotnetSetupMandateResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, FinixInstrumentResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0400335d94446071e6a6055e5017391d0f0ca5ef305029d1893621eb49f029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:962-976 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1785-1799 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1114-1128 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:962\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81a7c2704ed58ce51670ea92228adea1c587767b4fa2d137d22eadfdd927013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1011-1026 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2587-2602 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1224-1239 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1011\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 \u0060item\u0060 to \u0060\u0026BankOfAmericaRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bed3597a65979ec1d198a242478e3ff7e71cddd73abb753383f123b30466920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:697-711 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:952-966 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:1044-1058 \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 \u0060crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:697\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":"crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f266935ef4b3500601b4dee04ed342b05e1257b6c9e19223a076363682f4a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:192-206 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:127-141 | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:181-195 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs\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 6 separate duplicated blocks between them, totalling at least 64 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:207\u0060 calls \u0060OpenBanking\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:196\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":"crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8417dcb3dcddb8a5dd2e460b5d64b67185f5a74553ad9abcab4ebe02d3c632de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/fiuu.rs:273-287 | crates/hyperswitch_connectors/src/connectors/nmi.rs:156-170 | crates/hyperswitch_connectors/src/connectors/payload.rs:308-322 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payload.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs: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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a54282a9a1c32fe16404c6cd9c40dfcdc0e1d2f49d9e34f2f3215cb876683f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:303-317 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:575-589 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1790-1804 \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 \u0060crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:303\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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"396662dbaf15edb2b22875b14976c5b0715ba74c139b51f8e829b1017a93bc94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/xendit.rs:231-245 | crates/hyperswitch_connectors/src/connectors/xendit.rs:445-459 | crates/hyperswitch_connectors/src/connectors/xendit.rs:569-583 \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 \u0060crates/hyperswitch_connectors/src/connectors/xendit.rs:231\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":"crates/hyperswitch_connectors/src/connectors/xendit.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab946888a9ff7edad4e5e78f97417b9606454110055643b69033cd82a1d5cc39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/router/src/analytics.rs:988-1001 | crates/router/src/analytics.rs:1036-1049 | crates/router/src/analytics.rs:1091-1105 \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 \u0060crates/router/src/analytics.rs:988\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":"crates/router/src/analytics.rs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2976dd8675f39cd41b51491e96d1d1495759b633ee00efa2d07e60ea54e61f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/router/src/core/disputes.rs:348-361 | crates/router/src/core/payments/filters.rs:37-51 | crates/router/src/core/refunds.rs:2059-2072 \u2014 before extracting anything, compare \u0060crates/router/src/core/disputes.rs\u0060 and \u0060crates/router/src/core/refunds.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 99 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 \u0060crates/router/src/core/disputes.rs: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":"crates/router/src/core/disputes.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93d72ca16c2bc5bc40ab237314fe5a7e5b4a64cdf3bda159079a3a37bd7fd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/router/src/core/payment_methods.rs:5622-5636 | crates/router/src/core/payment_methods.rs:5781-5795 | crates/router/src/core/payment_methods/vault.rs:2780-2794 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods.rs\u0060 and \u0060crates/router/src/core/payment_methods/vault.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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 \u0060crates/router/src/core/payment_methods.rs:5622\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, \u0060crates/router/src/core/payment_methods.rs:5638\u0060 calls \u0060is_ok\u0060 and \u0060crates/router/src/core/payment_methods/vault.rs:2796\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5622}}}],"partialFingerprints":{"codehealthFindingId/v1":"917e17c4d2b31201358366163cda77fcfb909bd6f7836477d5be81effbeeae08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:7571-7585 | crates/router/src/core/payment_methods/cards.rs:7616-7628 | crates/router/src/core/payment_methods/cards.rs:7657-7671 \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 \u0060crates/router/src/core/payment_methods/cards.rs:7571\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":7571}}}],"partialFingerprints":{"codehealthFindingId/v1":"16eda624fbfbb8299fe0970a9400543a9b1c7339eef09d192c0e0b7c5cfbbd13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/router/src/core/payment_methods/utils.rs:331-345 | crates/router/src/core/payment_methods/utils.rs:352-366 | crates/router/src/core/payment_methods/utils.rs:405-419 \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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3b89841f7046d4741b5f584b517b2eea5f2da65049ffb19d9c48ab4ab7fa7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:161-175 | crates/router/src/core/payments/operations/payment_session.rs:200-214 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:173-187 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 144 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 \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:161\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":"crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbf52678c287c9816bd94a7818a01889ec9857ef018fbd8cd6b1bbe9cbf60bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/router/src/core/payments/operations/payment_capture_v2.rs:156-169 | crates/router/src/core/payments/operations/payment_get.rs:166-179 | crates/router/src/core/payments/operations/payment_session_intent.rs:130-144 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_capture_v2.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_get.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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":"crates/router/src/core/payments/operations/payment_capture_v2.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a74b356741afb5bad9e3c3b5ee5101223b1ba2fea89ab5a74621c021849ba42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:1069-1083 | crates/router/src/core/payments/transformers.rs:2604-2618 | crates/router/src/core/payments/transformers.rs:8941-8955 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7bed7e68ec7b51a35c4cf8a9e2882d74fd5c81b641f5970b03e43d1afefa1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:2163-2177 | crates/router/src/core/payments/transformers.rs:2513-2527 | crates/router/src/core/utils.rs:729-743 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/transformers.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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 \u0060crates/router/src/core/payments/transformers.rs:2163\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1febb3a05f50af556579887fb98977d4a4cabcfd26e05bfa48b42415a293784f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:6381-6395 | crates/router/src/core/payments/transformers.rs:6467-6480 | crates/router/src/core/payments/transformers.rs:6541-6554 \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. 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6381}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e39451c06daec275fc669e68828b57a5e0ab24ce45e9b7054430d0b91505473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/router/src/core/routing/helpers.rs:1861-1875 | crates/router/src/core/routing/helpers.rs:1903-1916 | crates/router/src/core/routing/helpers.rs:1944-1957 \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 \u0060crates/router/src/core/routing/helpers.rs:1861\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a266d52e034aeb8f376cf6f100e5ef1845ea9de0a06d4322eb6d9546dbb02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/router/src/core/user.rs:1277-1291 | crates/router/src/core/user_role.rs:210-224 | crates/router/src/core/user_role.rs:565-579 \u2014 before extracting anything, compare \u0060crates/router/src/core/user.rs\u0060 and \u0060crates/router/src/core/user_role.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/user.rs:1277\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":"crates/router/src/core/user.rs"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"915f83b8f2bc7adb44c9bbdc0ce010a3b5d24046b1e2ff36c9ea981838d2dbe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/router/src/db/events.rs:1339-1352 | crates/router/src/db/events.rs:1570-1584 | crates/router/src/db/events.rs:1608-1622 \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 \u0060crates/router/src/db/events.rs:1339\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":"crates/router/src/db/events.rs"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6644a6254ea4a38798bcfe32edb3db21af5b39c86d1fcff1ed47e05b7d80a3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/router/src/routes/payments.rs:1539-1552 | crates/router/src/routes/payments.rs:2165-2179 | crates/router/src/routes/payments.rs:4305-4318 \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1539}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ecdbe4d7779d4bea4d1d5a3b82621507b7b9def593443b3b30d49a786e0018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/router/src/services/authentication.rs:1804-1818 | crates/router/src/services/authentication.rs:2094-2108 | crates/router/src/services/authentication.rs:2335-2349 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"2112ca30ff16a8ca216c21094b1682a5111802720549bc2f10821a96f7f72758"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): crates/router/src/utils.rs:361-375 | crates/router/src/utils.rs:419-432 | crates/router/src/utils.rs:506-519 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/utils.rs:361\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, \u0060crates/router/src/utils.rs:522\u0060 calls \u0060get_processor\u0060, \u0060get_key_store\u0060 and \u0060crates/router/src/utils.rs:377\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":"crates/router/src/utils.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddf5544a128bff71b7dc190058ae00b0bcc9beb1474ffc33b09de2f8cda19db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/storage_impl/src/merchant_connector_account.rs:431-445 | crates/storage_impl/src/merchant_connector_account.rs:487-501 | crates/storage_impl/src/merchant_connector_account.rs:560-574 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:431\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0167fa5620c1147047beec4ab6a737905bbc939ecf7be3864cea5f8ecc4e5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): crates/subscriptions/src/core.rs:508-520 | crates/subscriptions/src/core.rs:556-570 | crates/subscriptions/src/core.rs:607-621 \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 \u0060crates/subscriptions/src/core.rs:556\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":"crates/subscriptions/src/core.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a8fec043c697cabb2c0da1923d6ad7eed7dfed05a365f52169ca4398b4ce3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2884-2898 | crates/api_models/src/payment_methods.rs:3002-3016 \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 \u0060crates/api_models/src/payment_methods.rs:2884\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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2884}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d1f34215beae3ce9e610ac0942945ca34bbdfb47d062d0a38d400fbc2ca855"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/diesel_models/src/payment_attempt.rs:2568-2582 | crates/diesel_models/src/payment_attempt.rs:2782-2796 \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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"347e0e2e5c7254b284abc609d2a22512fd89c70f625cd0dcc82d37a86f42e445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/diesel_models/src/payment_method.rs:632-646 | crates/diesel_models/src/payment_method.rs:897-911 \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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6f8adf46864a61f57646aec6fe1e12fe58a75d96385098b14d47855729dbd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:718-732 | crates/diesel_models/src/query/blocklist.rs:756-769 \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 \u0060crates/diesel_models/src/query/blocklist.rs:718\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"55928fbd609e0a83e2cc53d553e6d504da4ebd08d8f76d68ca0ea9668a8525e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/drainer/src/secrets_transformers.rs:35-49 | crates/router/src/configs/secrets_transformers.rs:491-505 \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":"crates/drainer/src/secrets_transformers.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"850fe9f4a0c781358f2a3a13622f6ccc0cbe6a01cc9894cc48c9ed6d8c792268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/external_services/src/grpc_client/deja_transport.rs:260-274 | crates/external_services/src/superposition.rs:200-213 \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 \u0060crates/external_services/src/grpc_client/deja_transport.rs:260\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/grpc_client/deja_transport.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf6ca345d9c89cae7c633b8bb956d3e16336b1460141495e3a00d44d21e5699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:608-622 | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs:609-623 \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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0708b6e5624e285880fa3f6a2541d3932ebe0fdb8759d7644f2fba45086dc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:628-642 | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs:629-643 \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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a8bc8f4578248fcf1392290b9d3cf96e3a01ddb9433eb3593f87f729cec7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:953-967 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:969-983 \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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf96b77982f63afeb93dfebfbef8325bf9fc27d0fe97bb46bb9baef072890f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen.rs:832-846 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:620-634 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/globalpay.rs\u0060 as WHOLE FILES: this scan already matched 9 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. 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:832\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c0cb052f77c69e9ed5ff569471a4c146c9ca6325b7b1ea1e5f10fdb52366d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3262-3276 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6927-6941 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3262}}}],"partialFingerprints":{"codehealthFindingId/v1":"777b5a5fb70c8f4beef935004f0dd3e75875049f6404559f5b5cf65610055043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs:783-797 | crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs:862-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/archipel/transformers.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a9bf5a40b3d39c588b403518ccdf8c7ead6303daed3692eec4d7bc515cd00e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1396-1410 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1416-1430 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026PaymentsCancelRouterData\u0060 in one and \u0060\u0026PaymentsCancelPostCaptureRouterData\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1396}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce0f4bb3215ab4bd5da071c0021bc83c257f8c93d29eed997f740fbe47cdaf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:216-230 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:173-187 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 71 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:215\u0060 calls \u0060BankTransfer\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:172\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":"crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd219630f6ccc498ede06229fdb3ebc05f672a2c13e45912967934b298d5d07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1905-1917 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:328-342 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1905\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd310681fd44da1b41e065fc8f2e845741775a1de769a91329d63fbc1fd65f1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs:249-263 | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs:285-299 \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 \u0060crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs:249\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, BreadpayPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, FlexitiPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad98aa756736510906c809c6b7ede838f735e3bffc9465e8ccedf1aeca9db6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:718-732 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:793-807 \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 \u0060crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:718\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":"crates/hyperswitch_connectors/src/connectors/celero/transformers.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"67404db51816416622f5804d19288dca8159dd9bf81f59cc8ea9162377b27374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2226-2239 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4147-4161 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4147\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2365ccdcbf556515b856ead05581c0fc04d62d3388c27a01c3bcf2f706372c7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:678-692 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:933-947 \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 \u0060crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:678\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":"crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"1010fa2bad6b89bd069690858704651033429a3fc4098055f5d3667e4033007b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:68-82 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:175-189 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs\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 15 separate duplicated blocks between them, totalling at least 145 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":"crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07ce18cff2647dfd163331550d517357ecfc7e84137f1a491c2e2b898e062ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:246-258 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:435-449 \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 \u0060crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:435\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":"crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"3052c72da86cb5c02b4ba7d0c1a0c2534a2183a218dfcc16730d3ded00e6ea4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/hipay.rs:314-328 | crates/hyperswitch_connectors/src/connectors/shift4.rs:244-258 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/hipay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ff6d3e137c797f071d1b5a66a19a432b970206ef0f5215d5458e9bf6ba2849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/klarna.rs:678-692 | crates/hyperswitch_connectors/src/connectors/klarna.rs:969-983 \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 \u0060crates/hyperswitch_connectors/src/connectors/klarna.rs:678\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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f24cd83b09ae16ee1537d7b03f16f5d1f27e5f899ca6a1bf68a06a24ab4e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs:349-363 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:786-800 \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 \u0060crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs:349\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, LoonioPaymentResponseData, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, VantivSyncResponse, PaymentsSyncData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d784d7493ddfc56af266f9a718f464ea4867af96d6063c9bbe8561915081ef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payu/transformers.rs:255-269 | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs:386-400 \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 \u0060crates/hyperswitch_connectors/src/connectors/payu/transformers.rs:255\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, PayuPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, PayuPaymentsCancelResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/payu/transformers.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeec14b695f4448149f53d618db1b4111acdcb6bd91544907729d8ffb377fa60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201315 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/redsys.rs:234-237 | crates/hyperswitch_connectors/src/connectors/redsys.rs:317-331 | crates/hyperswitch_connectors/src/connectors/redsys.rs:411-414 | crates/hyperswitch_connectors/src/connectors/redsys.rs:636-650 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsPreAuthenticateRouterData\u0060 in one and \u0060\u0026PaymentsAuthenticateRouterData\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, \u0060crates/hyperswitch_connectors/src/connectors/redsys.rs:331\u0060 calls \u0060try_from\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/redsys.rs:237\u0060 does not \u2014 after which the two agree again for 5 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":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cadded3db0ece293ce279dc69e1671af7c63689b5ec6a7779664fe6623db3f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/santander.rs:1163-1175 | crates/hyperswitch_connectors/src/connectors/santander.rs:1435-1449 \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 \u0060crates/hyperswitch_connectors/src/connectors/santander.rs:1163\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eadee055fa8df85746420e1716b6195a2f083db002f259fe5ee25b92b8bb232"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe.rs:739-753 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1144-1158 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:739\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"6438bef5b0337940bf5d9d9440100bb92b970fc3194c178b71b623afe7301dbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:3837-3851 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:4181-4195 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:3837\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, \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:4198\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:3852\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":3837}}}],"partialFingerprints":{"codehealthFindingId/v1":"baccac4f624dd6c6ff6a6136e807ad9e05ce44fb598afb998ba64801b1875dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/tokenio.rs:166-178 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:189-203 \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 \u0060crates/hyperswitch_connectors/src/connectors/tokenio.rs:166\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":"crates/hyperswitch_connectors/src/connectors/tokenio.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8676442a17294148c1defdcf60dba6b72fc6beab2bc3165b02055ac0d23298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1048-1062 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1840-1854 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1048\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":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a7995545ecc61a2570c075595d60ffa599591295f5784c59a1fded2abcae62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:88-100 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:632-646 \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":"crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdd99b63562e5c65c3076079235b8cf05073d4d745b37d93e9a215f3fd07451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:7737-7751 | crates/router/src/types.rs:1432-1446 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/types.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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, \u0060crates/hyperswitch_connectors/src/utils.rs:7752\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/types.rs:1447\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7737}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84ea8382af707f464267e35f366fb2614cd0670636e75cd5ad1a03bf53820b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_domain_models/src/business_profile.rs:325-339 | crates/hyperswitch_domain_models/src/business_profile.rs:473-487 \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 \u0060value\u0060 to \u0060ProfileSetter\u0060 in one and \u0060ProfileDbBuilder\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":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"252f632e5a2767bcb01ca98c0fda24785e8a806b483552ac4e42cf9112a1da5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2177-2190 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2235-2249 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2177\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060api_models::payments::PaymentListFilterConstraints\u0060 in one and \u0060api_models::payments::PlatformPaymentListConstraints\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, \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2250\u0060 calls \u0060is_some\u0060, \u0060then_some\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2191\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9acdfeacdc8746747800b5199185304fe4ca1312f4a316854dffb4234abf0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/hyperswitch_interfaces/src/integrity.rs:142-154 | crates/hyperswitch_interfaces/src/integrity.rs:216-230 \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 \u0060crates/hyperswitch_interfaces/src/integrity.rs:142\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":"crates/hyperswitch_interfaces/src/integrity.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97e96e073a96d6a2969a8170cb6a24c31af612113d6ccced89a253c82ee76bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/payment_methods/src/client/delete.rs:77-91 | crates/payment_methods/src/client/retrieve.rs:87-101 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060\u0026DeletePaymentMethodV1Request\u0060 in one and \u0060\u0026RetrievePaymentMethodV1Request\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":"crates/payment_methods/src/client/delete.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26b7c6c055ac1f89c8484142bd16ba66657ef9f6b442d323adc5532624de138"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/analytics.rs:600-614 | crates/router/src/analytics.rs:717-731 \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 \u0060crates/router/src/analytics.rs:600\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":"crates/router/src/analytics.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c168afed884829eedc08175fc4a306314404add9d3c70b968f7aba5399ebc16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/analytics.rs:1160-1174 | crates/router/src/analytics.rs:1243-1257 \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 \u0060crates/router/src/analytics.rs:1160\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, \u0060crates/router/src/analytics.rs:1242\u0060 calls \u0060get_processor\u0060, \u0060get_account\u0060 and \u0060crates/router/src/analytics.rs:1159\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":"crates/router/src/analytics.rs"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"122b9230ce27a80b2e8e5e6d5e2bc062c725d8d0703a5afd900d5941aca06d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/analytics.rs:2025-2039 | crates/router/src/analytics.rs:2111-2125 \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 \u0060crates/router/src/analytics.rs:2025\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":"crates/router/src/analytics.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"550cb8afb5dd89f51b3c9dd7fba20a53b2c31f059b13996fe2f8553a4ec7552e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): crates/router/src/bin/scheduler.rs:240-254 | crates/router/src/routes/health.rs:52-61 \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 \u0060crates/router/src/bin/scheduler.rs:240\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":"crates/router/src/bin/scheduler.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"162db49a74aa72c4bf82d35a3f52584aa5359c6eb8949c01c4028617ba4b7505"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/admin.rs:478-492 | crates/router/src/core/admin.rs:1175-1189 \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 \u0060crates/router/src/core/admin.rs:478\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":"crates/router/src/core/admin.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cbc3ce2dee8e0ac4145426ef51d7d6f29b3b2e46810b638db2530f1a39da7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): crates/router/src/core/admin.rs:1661-1672 | crates/router/src/core/admin.rs:2981-2995 \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 \u0060crates/router/src/core/admin.rs:1661\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":"crates/router/src/core/admin.rs"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"011dbf53bac726794f0d809931ccd1869158554fb6a2afa65683fd68a599be35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/admin.rs:2473-2487 | crates/router/src/core/admin.rs:2674-2688 \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 \u0060crates/router/src/core/admin.rs:2473\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efa9a8e3a4f8cc5343d648f73048cd153eac5a127738703604f03dc576f93e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/authentication/utils.rs:528-542 | crates/router/src/core/unified_authentication_service.rs:687-701 \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 \u0060crates/router/src/core/authentication/utils.rs:528\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":"crates/router/src/core/authentication/utils.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42c9c2959c895b9cdb8b199cf17273ec02775aedec6ee1603e1dceb84175ec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/conditional_config.rs:140-154 | crates/router/src/core/surcharge_decision_config.rs:75-89 \u2014 before extracting anything, compare \u0060crates/router/src/core/conditional_config.rs\u0060 and \u0060crates/router/src/core/surcharge_decision_config.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 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 \u0060crates/router/src/core/conditional_config.rs:140\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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8142fbeee863e778d3120ed9799fef4c8af207f2402257a33cbba39a544e0d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/customers.rs:508-522 | crates/router/src/core/customers.rs:554-568 \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 \u0060crates/router/src/core/customers.rs:508\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":"crates/router/src/core/customers.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d44d76d4d7417885b88f84e0f0d87723eb21bc978970c4fa8fe67131a898b36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/core/payment_methods.rs:1619-1647 | crates/router/src/core/payment_methods.rs:1655-1683 \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 \u0060crates/router/src/core/payment_methods.rs:1619\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47f0ce666653ef78aef2684b04ac20f6cf25b868dcc9c0407c8750d036ca5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201315 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:2678-2687 | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:146-160 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2678}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd1ff42850ce16f4c6b71645f3e814a7164ffb205f27f7abe2e50c798068d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:5944-5958 | crates/router/src/core/payment_methods/cards.rs:6012-6024 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5944}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9b4057d74480c9600de500ba53c27e17cd6cbf3cca6650675437f296e8dbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payment_methods/vault.rs:2749-2763 | crates/router/src/core/payment_methods/vault.rs:3297-3311 \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 \u0060crates/router/src/core/payment_methods/vault.rs:2749\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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2749}}}],"partialFingerprints":{"codehealthFindingId/v1":"529b33f39b7f3194a04044eae10941922aa784c5e590c704368a1468493bdf92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:906-920 | crates/router/src/core/payments/operations/payment_create.rs:659-673 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:906\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c34c57a3c10a39b6f6166f65002e93e11c27baf60d380b510a6f49e8236a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:2929-2943 | crates/router/src/core/payments/operations/payment_update.rs:1148-1162 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 111 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:2929\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2929}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19574468b6187f74118870a8808799ebee8c183c24907d9386f982c083f75ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm_intent.rs:217-229 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:363-377 \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 \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs:217\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd1889ddd6fa18869513b6a51604aea8b29649a10d58bfde27f7963c1db36c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm_intent.rs:277-291 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:407-421 \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 \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs:277\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, \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs:406\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs:276\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":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e4ca4510dea13eb2c48eb083fd4b627d52faa6d6779de15d59ed05ba2e0a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments/routing.rs:3724-3738 | crates/router/src/core/payments/routing.rs:3748-3762 \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 \u0060crates/router/src/core/payments/routing.rs:3724\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3724}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc25d1b238a162ebe84133708aa95bbfbe5f11a71d783c06c053c61f2347129d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:487-501 | crates/router/src/core/payments/tokenization.rs:964-977 \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 \u0060crates/router/src/core/payments/tokenization.rs:964\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"39029b5436471daf2b7b43b1419e066fdcb63229ef8c50f210324173a7cd5f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2212-2226 | crates/router/src/core/payments/transformers.rs:7963-7977 \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 \u0060crates/router/src/core/payments/transformers.rs:2212\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d48278b26f7b2e97b32799d3e59ef8c6197c6e45c03d2c9929db33dcb834dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:2883-2897 | crates/router/src/core/payments/transformers.rs:2946-2960 \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 \u0060crates/router/src/core/payments/transformers.rs:2883\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2883}}}],"partialFingerprints":{"codehealthFindingId/v1":"45eebd124220ba6d58775bc466ff67db354ea6b3d5a7e5f297c29540d8f374e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:5842-5856 | crates/router/src/core/payments/transformers.rs:7404-7418 \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 \u0060crates/router/src/core/payments/transformers.rs:5842\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5842}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6932bb3c025c0f725413330f3259b0ebeee567c8e544bd516ebe6e38144109f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:6206-6220 | crates/router/src/core/payments/transformers.rs:6243-6257 \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 \u0060crates/router/src/core/payments/transformers.rs:6206\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9595a0dedfffa2ad3d62dc2ab4a5c90ceb6c37745c7cd769cea04a93fe715d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:7916-7930 | crates/router/src/core/utils.rs:760-774 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/transformers.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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 \u0060crates/router/src/core/payments/transformers.rs:7916\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":7916}}}],"partialFingerprints":{"codehealthFindingId/v1":"8602a7c7bd39cd755cad7f9c85531cf1946dee0bdc2f0cfdd52dc5d731722487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payouts.rs:744-758 | crates/router/src/core/payouts.rs:896-910 \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 \u0060crates/router/src/core/payouts.rs:744\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0975da1ce197d3e0db9dfa5141930835093b5c23e4378f1a56d00a782e3aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/router/src/core/payouts/helpers.rs:549-563 | crates/router/src/core/payouts/helpers.rs:573-586 \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 \u0060crates/router/src/core/payouts/helpers.rs:549\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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"19be0bc10f1b2c073c62a19164562196193ae1ee7cedd8cb9eba26224e82bf14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/refunds.rs:712-726 | crates/router/src/core/refunds_v2.rs:493-507 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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 \u0060crates/router/src/core/refunds.rs:712\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"96496ecc4289e3b2ef2d4a69b2961af4a3bf0bd8f334b8505189036990c9ccb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:5281-5293 | crates/router/src/core/unified_connector_service.rs:5422-5436 \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 \u0060crates/router/src/core/unified_connector_service.rs:5281\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":5281}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa01d2fdf5be4d470b227b777c2c974c92be9320a72c584a6ad8da81d3c24689"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/user.rs:1360-1374 | crates/router/src/core/user.rs:2252-2266 \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 \u0060crates/router/src/core/user.rs:1360\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":"crates/router/src/core/user.rs"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdf147d9651d2edc9261b09fc37457b71c1d07a4734bb45a04e491893b0464e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/router/src/core/user_role.rs:748-762 | crates/router/src/core/user_role.rs:834-847 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/user_role.rs:748\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a40808c2f8eaf570c9e9fdba2249a5c2d2b965eef6d9fb7a4030f3c900d71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/router/src/core/user_role.rs:813-826 | crates/router/src/core/user_role.rs:856-870 \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 \u0060crates/router/src/core/user_role.rs:813\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6baceea61ba5f85debc046a2652369dc167acb7f6f99bf940b322189e0eca78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/user_role/role.rs:366-380 | crates/router/src/core/user_role/role.rs:398-412 \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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"1195299e5982201eae66c091fc4b4f87a6fc307f3af77b248b7f64bf85702432"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:1050-1064 | crates/router/src/core/webhooks/incoming_v2.rs:535-549 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/incoming.rs\u0060 and \u0060crates/router/src/core/webhooks/incoming_v2.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 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 \u0060crates/router/src/core/webhooks/incoming.rs:1050\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, \u0060crates/router/src/core/webhooks/incoming_v2.rs:534\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/webhooks/incoming.rs:1049\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f8a868efd584ddfaa24a4c2a48511ae9f9a7a3773ce000e75c13c618abc648"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:2225-2239 | crates/router/src/core/webhooks/incoming.rs:2248-2262 \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 \u0060crates/router/src/core/webhooks/incoming.rs:2225\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f54c874093c13db82ed94a4f51f77e24906b03e2898e456b48cb897712f805"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:1071-1085 | crates/router/src/core/webhooks/outgoing_v2.rs:376-390 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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 \u0060crates/router/src/core/webhooks/outgoing.rs:1071\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7905fe35002b85c8bc9b4470591e48b92d6b553acef3020fa5a34c862badb5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/webhooks/recovery_incoming.rs:1392-1406 | crates/router/src/core/webhooks/recovery_incoming.rs:1558-1572 \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 \u0060crates/router/src/core/webhooks/recovery_incoming.rs:1392\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":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d485af94c9083c2bf82f1a1867021d5333effd2680e963a30d05e35178e7269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/router/src/db/address.rs:271-284 | crates/router/src/db/address.rs:669-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 \u0060crates/router/src/db/address.rs:271\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":"crates/router/src/db/address.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"614949e60fd3bab26647271283b2abaae78cd2a14c89f324ba967dc0748a7d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/db/kafka_store.rs:1729-1743 | crates/router/src/db/kafka_store.rs:1752-1766 \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":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"183832824cf190fe24f0e3f9bb3e3247f2e5b9984505b62e84246de6a7fc5bf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/db/payment_method_session.rs:104-118 | crates/router/src/db/payment_method_session.rs:152-166 \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 \u0060crates/router/src/db/payment_method_session.rs:104\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":"crates/router/src/db/payment_method_session.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9498b179a57a3885f8c25d93ed96dd9e0f4d3688af3d00034efa4e417f25ea6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/db/refund.rs:950-964 | crates/router/src/db/refund.rs:969-983 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"5074c7e6675c7702863183eee48081389c773ee68c3eaa6c75dcbcbd9565ee8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/db/user/sample_data.rs:100-114 | crates/router/src/db/user/sample_data.rs:181-195 \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 \u0060crates/router/src/db/user/sample_data.rs:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/user/sample_data.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5927bd536a96afdc235a46672c8c50f14de3ce5a756e00d67263fcf0b55a60dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/db/user/sample_data.rs:128-142 | crates/router/src/db/user/sample_data.rs:211-225 \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 \u0060crates/router/src/db/user/sample_data.rs:128\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":"crates/router/src/db/user/sample_data.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a62cf3cd847ad95d238a842b5b1e864cb4f740806c25b1cc204ad5b07a7c3d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/routes/payouts.rs:594-608 | crates/router/src/routes/payouts.rs:632-646 \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 \u0060crates/router/src/routes/payouts.rs:594\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b36fe17ed6bc08c09e059228478341773ca193aafc1b02971d66f8866635f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/routes/relay.rs:67-81 | crates/router/src/routes/relay.rs:105-119 \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 \u0060crates/router/src/routes/relay.rs:67\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":"crates/router/src/routes/relay.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d3a1e32b0914ce34c9d73d1223f286fa1b883b1c40fe1e3b000711958d68c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/routes/routing.rs:369-383 | crates/router/src/routes/routing.rs:1259-1273 \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 \u0060crates/router/src/routes/routing.rs:369\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc106e71c080c51315b644a5c3f6b35998c5ca1572abc26f9cd454aa5a33fa5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/services/authentication.rs:722-736 | crates/router/src/services/authentication.rs:1209-1223 \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 \u0060crates/router/src/services/authentication.rs:722\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"5deab4c8e3985399e19bb79ea00c16a2f98f313db80af8804e6fdd7d8a849cd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/services/authentication.rs:1922-1937 | crates/router/src/services/authentication.rs:2455-2469 \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 \u0060crates/router/src/services/authentication.rs:1922\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54dd0c5b52355bc9ce8d7ce1be390aeb2c2d8635d4725f406e3f554bf8d5efc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/router/src/types/api/admin.rs:178-191 | crates/router/src/types/api/admin.rs:307-321 \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":"crates/router/src/types/api/admin.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e8b038691f80a5db856b302ec5c262263220c788b8adf277d3cc97c3f81d7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/router/src/types/api/connector_mapping.rs:406-422 | crates/router/src/types/api/feature_matrix.rs:334-350 \u2014 before extracting anything, compare \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 426 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 \u0060crates/router/src/types/api/connector_mapping.rs:406\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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa779c7bc5d94881f3e86cc9ed9124b8a6ec5fc2f7b3b63bb7dc62fcf611cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/types/storage/refund.rs:166-180 | crates/router/src/types/storage/refund.rs:247-261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/types/storage/refund.rs:166\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"e671654770214fc1e1824f7e4089e5ff5c5d3fe8fce8cbde0ef706fb2c3d0bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/utils/currency.rs:325-339 | crates/router/src/utils/currency.rs:394-408 \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 \u0060crates/router/src/utils/currency.rs:325\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":"crates/router/src/utils/currency.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d66d3b7c5d8d4578cf98259330a8a10115ce7cb51b5cfcc03ce9f8c55dc81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/smithy-core/src/generator.rs:104-118 | crates/smithy-core/src/generator.rs:137-151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/smithy-core/src/generator.rs:104\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":"crates/smithy-core/src/generator.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fbe09821b4f8af11b8fd349a0c24d69eaf9d394e8d4ef04c02beae244f4f5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/smithy/src/lib.rs:1052-1066 | crates/smithy/src/lib.rs:1079-1093 \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 \u0060crates/smithy/src/lib.rs:1052\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":"crates/smithy/src/lib.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"9399eb894b560e2d566343eadddf486634681776f83a4c5d4a7f347cc763e006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:220-234 | crates/storage_impl/src/merchant_account.rs:185-198 \u2014 before extracting anything, compare \u0060crates/storage_impl/src/business_profile.rs\u0060 and \u0060crates/storage_impl/src/merchant_account.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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 \u0060crates/storage_impl/src/business_profile.rs:220\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bd4cb107080783da9e1b6c71ebd8fd82a3d84d990ab0256adcc2367ca699c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/storage_impl/src/connection.rs:33-47 | crates/storage_impl/src/connection.rs:60-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 \u0060crates/storage_impl/src/connection.rs:33\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":"crates/storage_impl/src/connection.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a7454cd024abc727df564f203973049bf2969a6b5e4d58a221af688a7808de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/storage_impl/src/lib.rs:270-284 | crates/storage_impl/src/lib.rs:298-312 \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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe7828919ba95e2594d15cd3f821edb94c14d039b930cbe525a1e9c9d173779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:953-967 | crates/storage_impl/src/merchant_connector_account.rs:1038-1052 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:953\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, \u0060crates/storage_impl/src/merchant_connector_account.rs:1036\u0060 calls \u0060get_id\u0060, \u0060clone\u0060 and \u0060crates/storage_impl/src/merchant_connector_account.rs:951\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cdcb297fcd8b7e266c4fa0a4a940804fa6f246604432818d9c7ca745b9fd9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:970-984 | crates/storage_impl/src/merchant_connector_account.rs:1055-1069 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:970\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3611de0351ef5cb041c5c89016bbec9e0a007be0d25fdfc7e46056e4fb3cea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:1008-1022 | crates/storage_impl/src/merchant_connector_account.rs:1088-1102 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:1008\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdb2469ecaaa690c849cd473d29d5d0c21c9b87d6e1259b92ffec5f516fc782"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/storage_impl/src/utils.rs:151-165 | crates/storage_impl/src/utils.rs:256-270 \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 \u0060crates/storage_impl/src/utils.rs: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":"crates/storage_impl/src/utils.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2dbf4bf18b9b5e7b9525afd17b091619ce629a3c83540e2ce15e4b7e59df94b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 36): crates/hyperswitch_connectors/src/connectors/boku.rs:163-176 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:151-164 | crates/hyperswitch_connectors/src/connectors/citigate.rs:146-159 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:136-149 | crates/hyperswitch_connectors/src/connectors/d24.rs:147-160 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:175-188 | crates/hyperswitch_connectors/src/connectors/envoy.rs:252-265 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:165-178 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:144-157 | crates/hyperswitch_connectors/src/connectors/getnet.rs:158-171 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:145-158 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:156-169 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:139-152 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:144-157 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:149-162 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:155-168 | crates/hyperswitch_connectors/src/connectors/interpayments.rs:127-140 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:179-192 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:198-211 | crates/hyperswitch_connectors/src/connectors/katapult.rs:147-160 | crates/hyperswitch_connectors/src/connectors/merchante.rs:165-178 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:147-160 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:170-183 | crates/hyperswitch_connectors/src/connectors/opayo.rs:137-150 | crates/hyperswitch_connectors/src/connectors/paybox.rs:154-167 | crates/hyperswitch_connectors/src/connectors/payconex.rs:146-159 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:147-160 | crates/hyperswitch_connectors/src/connectors/paytm.rs:139-152 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:139-152 | crates/hyperswitch_connectors/src/connectors/recurly.rs:357-370 | crates/hyperswitch_connectors/src/connectors/sift.rs:147-160 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:229-242 | crates/hyperswitch_connectors/src/connectors/thunes.rs:144-157 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:221-234 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:146-159 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:145-158 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/boku.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkbook.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 64 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 \u0060crates/hyperswitch_connectors/src/connectors/boku.rs:163\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, \u0060crates/hyperswitch_connectors/src/connectors/boku.rs:177\u0060 calls \u0060Err\u0060, \u0060get_xml_deserialized\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkbook.rs:165\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":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6240fe8707ae9fbe5e1d7e2f6e1e43e7b66970d5a485637fbd2aae853e2b1f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 22): crates/diesel_models/src/payment_attempt.rs:2568-2581 | crates/diesel_models/src/payment_attempt.rs:2651-2664 | crates/diesel_models/src/payment_attempt.rs:2782-2795 | crates/diesel_models/src/payment_attempt.rs:2866-2879 | crates/diesel_models/src/payment_attempt.rs:2952-2965 | crates/diesel_models/src/payment_attempt.rs:3038-3051 | crates/diesel_models/src/payment_attempt.rs:3124-3137 | crates/diesel_models/src/payment_attempt.rs:3208-3221 | crates/diesel_models/src/payment_attempt.rs:3291-3304 | crates/diesel_models/src/payment_attempt.rs:3525-3538 | crates/diesel_models/src/payment_attempt.rs:3604-3617 | crates/diesel_models/src/payment_attempt.rs:3697-3710 | crates/diesel_models/src/payment_attempt.rs:3796-3809 | crates/diesel_models/src/payment_attempt.rs:3892-3905 | crates/diesel_models/src/payment_attempt.rs:3977-3990 | crates/diesel_models/src/payment_attempt.rs:4062-4075 | crates/diesel_models/src/payment_attempt.rs:4158-4171 | crates/diesel_models/src/payment_attempt.rs:4241-4254 | crates/diesel_models/src/payment_attempt.rs:4329-4342 | crates/diesel_models/src/payment_attempt.rs:4511-4524 | crates/diesel_models/src/payment_attempt.rs:4602-4615 | crates/diesel_models/src/payment_attempt.rs:4683-4696 \u2014 all 22 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 before the matched lines, \u0060crates/diesel_models/src/payment_attempt.rs:4238\u0060 calls \u0060default\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:2648\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"c547882f239d7c19f9a854fad77f9fe01952daa35678ff1769c9ef7fbb1e7e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 16): crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:127-140 | crates/router/src/core/mandate/utils.rs:82-95 | crates/router/src/core/relay/utils.rs:145-158 | crates/router/src/core/relay/utils.rs:296-309 | crates/router/src/core/relay/utils.rs:426-439 | crates/router/src/core/relay/utils.rs:565-578 | crates/router/src/core/utils.rs:636-649 | crates/router/src/core/utils.rs:870-883 | crates/router/src/core/utils.rs:1314-1327 | crates/router/src/core/utils.rs:1429-1442 | crates/router/src/core/utils.rs:1553-1566 | crates/router/src/core/utils.rs:1749-1762 | crates/router/src/core/utils.rs:2007-2020 | crates/router/src/core/utils.rs:2118-2131 | crates/router/src/core/webhooks/utils.rs:136-149 | crates/router/src/types/api/verify_connector.rs:143-156 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/fulfillment_flow.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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 before the matched lines, \u0060crates/router/src/core/relay/utils.rs:143\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:125\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":"crates/router/src/core/fraud_check/flows/fulfillment_flow.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e4150830eb10f5ce35229bedccae9e8a6e5b1ec685c64e7d52e94c370d7565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 14): crates/hyperswitch_connectors/src/connectors/adyen.rs:199-212 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:278-291 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:172-185 | crates/hyperswitch_connectors/src/connectors/checkout.rs:215-228 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1063-1076 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1938-1951 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:186-199 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:242-255 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:177-190 | crates/hyperswitch_connectors/src/connectors/paypal.rs:226-239 | crates/hyperswitch_connectors/src/connectors/paypal.rs:587-600 | crates/hyperswitch_connectors/src/connectors/paypal.rs:722-735 | crates/hyperswitch_connectors/src/connectors/redsys.rs:148-161 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:393-406 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 141 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:199\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"794cad673f870ae56e027811f7e81b448cf61e4d38887e83b03ab86237ecb91a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 13): crates/router/src/core/payments/operations/payment_cancel.rs:184-197 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:135-148 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:129-142 | crates/router/src/core/payments/operations/payment_capture.rs:240-253 | crates/router/src/core/payments/operations/payment_complete_authorize.rs:346-359 | crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:344-357 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:99-112 | crates/router/src/core/payments/operations/payment_session.rs:168-181 | crates/router/src/core/payments/operations/payment_start.rs:169-182 | crates/router/src/core/payments/operations/payment_update.rs:459-472 | crates/router/src/core/payments/operations/payment_update_metadata.rs:97-110 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:141-154 | crates/router/src/core/payments/operations/tax_calculation.rs:131-144 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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 \u0060crates/router/src/core/payments/operations/payment_cancel.rs:184\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, \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:133\u0060 calls \u0060clone_from\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:127\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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c57bfc931c7fdbf4d3037e4f7444b2be28a0aa8d723f583930bc436bc92ee71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 10): crates/router/src/core/payments/operations/payment_cancel.rs:259-272 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:200-213 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:182-195 | crates/router/src/core/payments/operations/payment_capture.rs:305-318 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:173-186 | crates/router/src/core/payments/operations/payment_recurrence.rs:381-394 | crates/router/src/core/payments/operations/payment_session.rs:221-234 | crates/router/src/core/payments/operations/payment_start.rs:222-235 | crates/router/src/core/payments/operations/payment_update_metadata.rs:179-192 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:194-207 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb41bcb4cb59b5cc3375518eab19ffc5abdabec5f770cfe2e98a85a3cdb1e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 9): crates/router/src/db/events.rs:1019-1031 | crates/router/src/db/events.rs:1054-1066 | crates/router/src/db/events.rs:1090-1103 | crates/router/src/db/events.rs:1192-1204 | crates/router/src/db/events.rs:1228-1241 | crates/router/src/db/events.rs:1410-1422 | crates/router/src/db/events.rs:1449-1461 | crates/router/src/db/events.rs:1495-1508 | crates/storage_impl/src/business_profile.rs:566-579 \u2014 there are 9 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/events.rs:1019\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":"crates/router/src/db/events.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31de00666b683a1d6b950e8f152457a892cdc1d107266a15f444ba9e3a227bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): crates/analytics/src/payment_intents/core.rs:209-222 | crates/analytics/src/payment_intents/core.rs:235-248 | crates/analytics/src/payment_intents/core.rs:260-273 | crates/analytics/src/payment_intents/core.rs:287-300 | crates/analytics/src/payments/core.rs:245-258 | crates/analytics/src/payments/core.rs:272-285 | crates/analytics/src/payments/core.rs:311-324 | crates/analytics/src/refunds/core.rs:225-238 \u2014 \u0060crates/analytics/src/payment_intents/core.rs\u0060 and \u0060crates/analytics/src/payments/core.rs\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 6 separate duplicated blocks between them, totalling at least 76 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/core.rs:209\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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"735a5731e21c43494c06ed84fcf042889e74294e21e3678e2b0eb3fce18cfcdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): crates/storage_impl/src/business_profile.rs:1889-1902 | crates/storage_impl/src/business_profile.rs:1951-1964 | crates/storage_impl/src/business_profile.rs:2013-2026 | crates/storage_impl/src/business_profile.rs:2075-2088 | crates/storage_impl/src/business_profile.rs:2137-2150 | crates/storage_impl/src/business_profile.rs:2199-2212 | crates/storage_impl/src/business_profile.rs:2261-2274 | crates/storage_impl/src/business_profile.rs:2449-2462 \u2014 all 8 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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"0604251a33410b83d7e7734da8ba65f599c65a5e16eca30781e6dc9e9bba5fec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 7): crates/router/src/core/payment_methods/network_tokenization.rs:182-195 | crates/router/src/core/payment_methods/network_tokenization.rs:354-367 | crates/router/src/core/payment_methods/network_tokenization.rs:549-561 | crates/router/src/core/payment_methods/network_tokenization.rs:610-622 | crates/router/src/core/payment_methods/network_tokenization.rs:889-902 | crates/router/src/core/payment_methods/network_tokenization.rs:957-970 | crates/router/src/core/payment_methods/network_tokenization.rs:1117-1130 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/network_tokenization.rs:182\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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b843bbabf99e58efd991cc26ac8c33d85f45a15b53a5117bdbfc11106f6826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 7): crates/router/src/core/unified_connector_service.rs:4053-4066 | crates/router/src/core/unified_connector_service.rs:4083-4096 | crates/router/src/core/unified_connector_service.rs:4143-4156 | crates/router/src/core/unified_connector_service.rs:4173-4186 | crates/router/src/core/unified_connector_service.rs:4203-4216 | crates/router/src/core/unified_connector_service.rs:4233-4246 | crates/router/src/core/unified_connector_service.rs:4263-4276 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4053}}}],"partialFingerprints":{"codehealthFindingId/v1":"837b613a471fae9c328ab9bed1bae1766965967e610b4cfe02355143fe1009fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 7): crates/router/src/core/user.rs:784-797 | crates/router/src/core/user_role/role.rs:119-130 | crates/router/src/core/user_role/role.rs:252-263 | crates/router/src/core/user_role/role.rs:507-520 | crates/router/src/core/user_role/role.rs:639-652 | crates/router/src/core/user_role/role.rs:816-829 | crates/router/src/types/domain/user.rs:547-560 \u2014 before extracting anything, compare \u0060crates/router/src/core/user.rs\u0060 and \u0060crates/router/src/core/user_role/role.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/router/src/core/user.rs:784\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":"crates/router/src/core/user.rs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe32c1b7ccf0fe924afdc1d7cc4cdb27f4813d3ef2dbd3ea5364ca25e3b8a65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 7): crates/router/src/db/events.rs:344-357 | crates/router/src/db/events.rs:387-400 | crates/router/src/db/events.rs:421-433 | crates/router/src/db/events.rs:454-466 | crates/router/src/db/events.rs:488-501 | crates/router/src/db/events.rs:522-534 | crates/router/src/db/events.rs:598-611 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/events.rs:344\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":"crates/router/src/db/events.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14810015c4a18d39eaa3870cc2087edbf13daef688af21d421b8813b5df504a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 7): crates/router/src/routes/payments.rs:1226-1239 | crates/router/src/routes/payments.rs:1547-1560 | crates/router/src/routes/payments.rs:2007-2019 | crates/router/src/routes/payments.rs:2174-2187 | crates/router/src/routes/payments.rs:4313-4326 | crates/router/src/routes/payments.rs:4597-4610 | crates/router/src/routes/payments.rs:4865-4878 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/payments.rs:1226\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1869d614d57f11f9b63bcb777a0136788c03bb9b8ac8fb134660fa722f5ea253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): crates/diesel_models/src/payment_attempt.rs:2618-2631 | crates/diesel_models/src/payment_attempt.rs:2834-2847 | crates/diesel_models/src/payment_attempt.rs:3090-3103 | crates/diesel_models/src/payment_attempt.rs:3174-3187 | crates/diesel_models/src/payment_attempt.rs:3258-3271 | crates/diesel_models/src/payment_attempt.rs:3571-3584 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/diesel_models/src/payment_attempt.rs:2832\u0060 calls \u0060Some\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:3256\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":2618}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b8a50da77f0c7dab26cf2b30ebcd0d2f675770dd1d6edb237d28eb899abc75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:325-338 | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs:313-326 | crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs:326-339 | crates/hyperswitch_connectors/src/connectors/payjustnow/transformers.rs:247-260 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore/transformers.rs:155-168 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:1032-1045 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/boku/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/zen/transformers.rs\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 7 separate duplicated blocks between them, totalling at least 61 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:325\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, BokuResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, PaymentsResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/boku/transformers.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"151d4b6c528e0e82ddffd75e581bb5737ff53119f75715311321412be3e8fdf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201314 lines \u00D7 31): crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:303-303 | crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs:134-139 | crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs:125-138 | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs:113-118 | crates/hyperswitch_connectors/src/connectors/d24/transformers.rs:152-165 | crates/hyperswitch_connectors/src/connectors/elavon_pg/transformers.rs:132-137 | crates/hyperswitch_connectors/src/connectors/envoy/transformers.rs:135-140 | crates/hyperswitch_connectors/src/connectors/etisalat/transformers.rs:127-132 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub/transformers.rs:130-135 | crates/hyperswitch_connectors/src/connectors/givepayments/transformers.rs:118-123 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex/transformers.rs:141-146 | crates/hyperswitch_connectors/src/connectors/hyperpg/transformers.rs:124-129 | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs:116-121 | crates/hyperswitch_connectors/src/connectors/ilixium/transformers.rs:132-137 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions/transformers.rs:125-130 | crates/hyperswitch_connectors/src/connectors/interpayments/transformers.rs:122-135 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital/transformers.rs:140-145 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs:131-136 | crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs:116-121 | crates/hyperswitch_connectors/src/connectors/merchante/transformers.rs:122-127 | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs:114-119 | crates/hyperswitch_connectors/src/connectors/payconex/transformers.rs:125-138 | crates/hyperswitch_connectors/src/connectors/paynearme/transformers.rs:127-140 | crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs:122-127 | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs:124-129 | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs:114-119 | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs:150-155 | crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs:128-133 | crates/hyperswitch_connectors/src/connectors/truelayer/transformers.rs:234-239 | crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:149-154 | crates/hyperswitch_connectors/src/connectors/worldpayraft/transformers.rs:126-139 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/elavon_pg/transformers.rs\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 30 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:303\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, CheckbookPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, CitigatePaymentsResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c148f0595fae856d0d98a32f23ee9faca9b16fd5163f027918ca934143f2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/cybersource.rs:537-550 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1320-1333 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1475-1488 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1625-1638 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1783-1796 | crates/hyperswitch_connectors/src/connectors/paypal.rs:433-446 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 130 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:537\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa95d66eb4b4ea89b444e0d8571d9f80028b0a8d4546c87f62a5671611237a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 6): crates/hyperswitch_domain_models/src/router_data.rs:1777-1787 | crates/hyperswitch_domain_models/src/router_data.rs:2119-2129 | crates/hyperswitch_domain_models/src/router_data.rs:2401-2409 | crates/hyperswitch_domain_models/src/router_data.rs:2435-2442 | crates/hyperswitch_domain_models/src/router_data.rs:2657-2670 | crates/hyperswitch_domain_models/src/router_data.rs:2701-2710 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb738fcc7c752dbe94ec91d1e9a62c910e870c1abe8ee32b3d6ef4a0d7dee3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:75-88 | crates/router/src/core/utils.rs:1265-1278 | crates/router/src/core/utils.rs:1384-1397 | crates/router/src/core/utils.rs:1501-1514 | crates/router/src/core/utils.rs:1701-1714 | crates/router/src/core/utils.rs:1959-1972 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/fulfillment_flow.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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":"crates/router/src/core/fraud_check/flows/fulfillment_flow.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"94180e97de8c6152c257332997144008fc57fce8ef440d431f279fea68cecbbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 6): crates/storage_impl/src/business_profile.rs:436-449 | crates/storage_impl/src/business_profile.rs:472-484 | crates/storage_impl/src/business_profile.rs:516-529 | crates/storage_impl/src/business_profile.rs:603-615 | crates/storage_impl/src/merchant_account.rs:601-613 | crates/storage_impl/src/merchant_account.rs:633-645 \u2014 before extracting anything, compare \u0060crates/storage_impl/src/business_profile.rs\u0060 and \u0060crates/storage_impl/src/merchant_account.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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 \u0060crates/storage_impl/src/business_profile.rs:436\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b731630380a314fe1b34e7da8b65c890aaac41e863c39f241efb02ad8b545c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): crates/analytics/src/sqlx.rs:609-622 | crates/analytics/src/sqlx.rs:771-784 | crates/analytics/src/sqlx.rs:907-920 | crates/analytics/src/sqlx.rs:1131-1144 | crates/analytics/src/sqlx.rs:1338-1351 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/sqlx.rs:609\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6d711c981d58064f34824c1f8db5af34115c048a86d6433457cc158d1ff942"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): crates/diesel_models/src/payment_method.rs:533-546 | crates/diesel_models/src/payment_method.rs:566-579 | crates/diesel_models/src/payment_method.rs:596-609 | crates/diesel_models/src/payment_method.rs:631-644 | crates/diesel_models/src/payment_method.rs:896-909 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/diesel_models/src/payment_method.rs:630\u0060 calls \u0060Some\u0060 and \u0060crates/diesel_models/src/payment_method.rs:895\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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cf63216d376513d78371c4f2546ee84c74d857a7134f3e2ea640d651d543e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/nomupay.rs:708-721 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:205-217 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:768-780 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1213-1225 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1138-1150 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/nomupay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/truelayer.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a932e35797e53ca45e926ce8c9798a1ca766985b8063761a479c05a0dfe22c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): crates/router/src/core/payments/operations/payment_confirm.rs:1154-1167 | crates/router/src/core/payments/operations/payment_create.rs:810-823 | crates/router/src/core/payments/operations/payment_session.rs:354-366 | crates/router/src/core/payments/operations/payment_status.rs:91-103 | crates/router/src/core/payments/operations/payment_update.rs:637-650 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:1154\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2912caa2297f0f7d99fbf6b01bd115f54255fd8bc0a92a4f26825c081b8e334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): crates/router/src/core/payments/transformers.rs:157-170 | crates/router/src/core/payments/transformers.rs:930-943 | crates/router/src/core/payments/transformers.rs:2129-2142 | crates/router/src/core/payments/transformers.rs:2479-2492 | crates/router/src/core/payments/transformers.rs:8848-8861 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f981c1f50622bae55e5dd719a9758ebb97c96f1a8b6cb863199fa32cb2ac9063"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 5): crates/router/src/core/payments/transformers.rs:2217-2230 | crates/router/src/core/payments/transformers.rs:5847-5859 | crates/router/src/core/payments/transformers.rs:7409-7421 | crates/router/src/core/payments/transformers.rs:7968-7980 | crates/router/src/core/utils.rs:1820-1832 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/transformers.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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 \u0060crates/router/src/core/payments/transformers.rs:2217\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payments/transformers.rs:2215\u0060 calls \u0060as_ref\u0060 and \u0060crates/router/src/core/payments/transformers.rs:5845\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6efc03e0e198684d2a7719812888e1a7f3fabb9dbcbef72ad996f33671b05ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): crates/router/src/core/payouts.rs:2033-2046 | crates/router/src/core/payouts.rs:2249-2262 | crates/router/src/core/payouts.rs:3013-3026 | crates/router/src/core/payouts.rs:3156-3169 | crates/router/src/core/payouts.rs:3367-3380 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payouts.rs:2033\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f97c86c50cf770b67c3992e4656169047e82552426c0512ed3014574c5448cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): crates/storage_impl/src/payments/payment_attempt.rs:3066-3079 | crates/storage_impl/src/payments/payment_attempt.rs:3102-3115 | crates/storage_impl/src/payments/payment_attempt.rs:3137-3150 | crates/storage_impl/src/payments/payment_attempt.rs:3172-3185 | crates/storage_impl/src/payments/payment_attempt.rs:3248-3261 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":3066}}}],"partialFingerprints":{"codehealthFindingId/v1":"6669e1c51184cc9ef7072e5cf1b25289dbdd1599577c2a56cf2fee6db2f67b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/airwallex.rs:105-118 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:103-114 | crates/hyperswitch_connectors/src/connectors/payu.rs:84-96 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:97-109 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/iatapay.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 100 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 \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs:105\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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cfc2d29d5bbcb6a2025c8b5c3a27e7dc35cf440b75306f05125076ea89018b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs:388-401 | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs:294-307 | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs:349-362 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:786-799 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs:388\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, GigadatTransactionStatusResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, LoonioPaymentResponseData, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ef4f79bd1c125ce3aeb184eeee76a4584f6ee5d25d1c195e1de4c109a0ff39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1051-1064 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1123-1136 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1766-1778 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1843-1856 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1051\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, \u0060crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1138\u0060 calls \u0060clone\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1858\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":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42c7630afd2d4840f8d3b90c8f604f4d11767c327849ba0e01d899328c19934"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): crates/router/src/connection.rs:55-68 | crates/router/src/connection.rs:91-104 | crates/router/src/connection.rs:115-128 | crates/router/src/connection.rs:139-152 \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 \u0060crates/router/src/connection.rs:55\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":"crates/router/src/connection.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3cc80e9b17a5fbdf6ab479d228ffd1b772f2401820a654b21fae863163a1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): crates/router/src/core/fraud_check/operation/fraud_check_post.rs:428-441 | crates/router/src/core/fraud_check/operation/fraud_check_post.rs:473-486 | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:285-298 | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:333-346 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs\u0060 and \u0060crates/router/src/core/fraud_check/operation/fraud_check_pre.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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 \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs:428\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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded0f69b1aa3355a550a3c0969e7244526da39f012073eddce629c019cda7ecb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 4): crates/router/src/core/payment_methods.rs:5619-5632 | crates/router/src/core/payment_methods.rs:5778-5791 | crates/router/src/core/payment_methods/vault.rs:2777-2790 | crates/router/src/core/payment_methods/vault.rs:3468-3477 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods.rs\u0060 and \u0060crates/router/src/core/payment_methods/vault.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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 \u0060crates/router/src/core/payment_methods.rs:5619\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93987bd48a213da29bbd5af854bba085cdebee8f383c3529c1d54e02d93575c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): crates/router/src/core/user_role.rs:219-232 | crates/router/src/core/user_role.rs:303-316 | crates/router/src/core/user_role.rs:574-587 | crates/router/src/core/user_role.rs:649-662 \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 \u0060crates/router/src/core/user_role.rs:219\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcea48f140cce0db301b179de23ac5527d69e89ea57dd33c40938cdcea27006b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): crates/router/src/db/capture.rs:61-74 | crates/router/src/db/dispute.rs:310-323 | crates/router/src/db/refund.rs:651-663 | crates/router/src/db/reverse_lookup.rs:97-109 \u2014 before extracting anything, compare \u0060crates/router/src/db/dispute.rs\u0060 and \u0060crates/router/src/db/refund.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060crates/router/src/db/capture.rs:61\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060new\u0060 to \u0060diesel_refund::RefundNew\u0060 in one and \u0060ReverseLookupNew\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":"crates/router/src/db/capture.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"59524dc14809444fe6186d00522abdf7af5ac258a99f38a997b87a1e08bd84c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): crates/router/src/routes/authentication.rs:105-118 | crates/router/src/routes/authentication.rs:150-163 | crates/router/src/routes/authentication.rs:230-242 | crates/router/src/routes/authentication.rs:304-317 \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 \u0060crates/router/src/routes/authentication.rs:105\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":"crates/router/src/routes/authentication.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b024ce3348b0c9dfad7ee0276677458da1be37078d9cfb37e0e4c79800a0f41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 4): crates/storage_impl/src/lib.rs:330-343 | crates/storage_impl/src/lib.rs:361-374 | crates/storage_impl/src/mock_db.rs:155-167 | crates/storage_impl/src/mock_db.rs:182-194 \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 \u0060crates/storage_impl/src/lib.rs:330\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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5f8a834b42aeb1d46fc5eef768853f67c65722e70773847a66cdd2fe4cd5b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/analytics/src/payment_intents/core.rs:96-109 | crates/analytics/src/payments/core.rs:76-89 | crates/analytics/src/refunds/core.rs:71-84 \u2014 \u0060crates/analytics/src/payment_intents/core.rs\u0060 and \u0060crates/analytics/src/payments/core.rs\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 6 separate duplicated blocks between them, totalling at least 76 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/core.rs:96\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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d759e50ed950a9377eabba73cf84d2802ed10d4381ce05d5ef086b5c68ce86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:41-53 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:40-53 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:41-54 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs\u0060 and \u0060crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 95 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":"crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5084569e3c3506250cfbc39ee720f257e2ce607e56f9baee763bc3f70930abe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/diesel_models/src/payment_intent.rs:1417-1430 | crates/diesel_models/src/payment_intent.rs:1692-1705 | crates/diesel_models/src/payment_intent.rs:1760-1773 \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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1909dd8f3bc764c971b5cde5ef5dcce6e156caee16abcadcc73c0d7374af662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1136-1149 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2769-2782 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1361-1374 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1136\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, \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1375\u0060 calls \u0060BankDebit\u0060, \u0060try_from\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1150\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a636839d2068eab8e28f2a78a2d03462f8131159dde8877015a24a014991b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2045-2058 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3047-3060 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1563-1576 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2045\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 \u0060value\u0060 to \u0060\u0026BankOfAmericaRouterData\u003C\u0026PaymentsCancelRouterData\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsCancelRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2045}}}],"partialFingerprints":{"codehealthFindingId/v1":"18638b63036fc8d9f8a4459b38ef18e3fb571860e20e6c70a5ce7e3599e8e326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:303-316 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:392-405 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:411-424 \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 \u0060crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:303\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, MifinityPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, MifinityPsyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7cb2fe122ab319afef533d7363aa75e3cca2e12dcb32a02db0b57dea268c85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/payme.rs:366-379 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:454-464 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1051-1061 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/payme.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 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 \u0060crates/hyperswitch_connectors/src/connectors/payme.rs:366\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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfe627660091a9b0e7fd177b46830a8d139f562030ff093a09704c0fe09cfdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs:980-993 | crates/hyperswitch_domain_models/src/router_request_types.rs:1238-1251 | crates/hyperswitch_domain_models/src/router_request_types.rs:1261-1274 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060common_utils::types::BrowserInformation\u0060 in one and \u0060api_models::payments::BrowserInformation\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":"crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"5460e7b78bce5768c59b2316fa6a2a805de2c353515eda5c12a9f6a2dc1847a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:1393-1406 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2062-2074 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2103-2115 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:1393\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"103f7cbdb41cd73307edc19d9a04a1673944ea2db2b5e6efddbb439270c38526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2904-2941 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3222-3259 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3403-3440 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2904\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2904}}}],"partialFingerprints":{"codehealthFindingId/v1":"5340ea553668711bb1e32a77f4c1c1668f52d534cecfb6ce1524dd16e59396c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 3): crates/hyperswitch_constraint_graph/src/graph.rs:228-240 | crates/hyperswitch_constraint_graph/src/graph.rs:290-303 | crates/hyperswitch_constraint_graph/src/graph.rs:424-435 \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 \u0060crates/hyperswitch_constraint_graph/src/graph.rs:228\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb60d7e36719d72e5ec354560f2bc1a76db95f2ede35e05e1d7e3f324833ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/hyperswitch_interfaces/src/api.rs:289-302 | crates/hyperswitch_interfaces/src/connector_integration_v2.rs:198-211 | crates/pm_auth/src/types/api.rs:80-93 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060res\u0060 to \u0060types::Response\u0060 in one and \u0060auth_types::Response\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":"crates/hyperswitch_interfaces/src/api.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9227da7cf2e810c87eeb36a68224efba51dfd87a99dc9184f421ff28e9650ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/router/src/analytics.rs:579-591 | crates/router/src/analytics.rs:634-646 | crates/router/src/analytics.rs:689-702 \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 \u0060crates/router/src/analytics.rs:579\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":"crates/router/src/analytics.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb956954a5aa127fbeb8df028a3492f9568650e91427923cc7c79b7ba000243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/router/src/analytics.rs:750-762 | crates/router/src/analytics.rs:881-893 | crates/router/src/analytics.rs:936-949 \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 \u0060crates/router/src/analytics.rs:750\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":"crates/router/src/analytics.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3e865f381b45ff46c3ef95a6795137b1814f366ba14537470ec1d93d77ab00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/router/src/analytics.rs:1269-1281 | crates/router/src/analytics.rs:1308-1321 | crates/router/src/analytics.rs:1352-1364 \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 \u0060crates/router/src/analytics.rs:1269\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":"crates/router/src/analytics.rs"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f7bf438f8d683d761d4b20d3c4289429e6cef3eeebc4039dbb6595210d7733"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/router/src/analytics.rs:2944-2956 | crates/router/src/analytics.rs:2982-2995 | crates/router/src/analytics.rs:3026-3038 \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 \u0060crates/router/src/analytics.rs:2944\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":"crates/router/src/analytics.rs"},"region":{"startLine":2944}}}],"partialFingerprints":{"codehealthFindingId/v1":"418b50125a2da81700d3391c5f67957e8dd27ea992ac11a1502cd5d0f0d21d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/core/payment_methods.rs:5591-5604 | crates/router/src/core/payment_methods/vault.rs:2749-2762 | crates/router/src/core/payment_methods/vault.rs:3297-3310 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods.rs\u0060 and \u0060crates/router/src/core/payment_methods/vault.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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 \u0060crates/router/src/core/payment_methods.rs:5591\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5591}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f9adedb163adbc44ac8db23abbbca084c7e5e66c126dbb5823a53e22836f34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 3): crates/router/src/core/payment_methods/transformers.rs:1409-1418 | crates/router/src/core/payment_methods/transformers.rs:2172-2185 | crates/router/src/core/payment_methods/transformers.rs:2502-2513 \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 \u0060crates/router/src/core/payment_methods/transformers.rs:1409\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"325c0924225d39cba54d8da578c7e5d803e702640326b9b749979a8c0819d785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/core/payments.rs:5400-5413 | crates/router/src/core/payments.rs:5598-5611 | crates/router/src/core/payments.rs:6179-6192 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":5400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9285278a25294d525434477e6e709eb3bc6929303d2f7e80316275486e6594b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:494-507 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:772-785 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:376-389 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 173 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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"9401a58c31bfc6927e16fce2b1a8e476d83d75b37ca6c471f83c37998728c3bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:3431-3444 | crates/router/src/core/payments/transformers.rs:3589-3602 | crates/router/src/core/payments/transformers.rs:3717-3730 \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 \u0060crates/router/src/core/payments/transformers.rs:3431\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3431}}}],"partialFingerprints":{"codehealthFindingId/v1":"006a0cb8278c54883383029d7744afeb4f391cd6c693617082d2eacdf77e3bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:5585-5599 | crates/router/src/core/payments/transformers.rs:5861-5875 | crates/router/src/core/payments/transformers.rs:7901-7914 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5585}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c1cd98ddc53a6ab8019dc3fa994d6b5554d76f5f34b63c2fe8d55f1618ab47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/router/src/core/user.rs:636-648 | crates/router/src/core/user.rs:1383-1396 | crates/router/src/core/user.rs:2302-2314 \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":"crates/router/src/core/user.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"debc950cfc5428199ff74f9d931530a925f07b486d49d34dbb0a47507715d174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/router/src/core/user/theme.rs:338-350 | crates/router/src/core/user/theme.rs:373-385 | crates/router/src/core/user/theme.rs:533-546 \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, \u0060crates/router/src/core/user/theme.rs:388\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/core/user/theme.rs:351\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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00f52a0640fe58599f774d5acd216f4e27e0c192ae14c133e3e6cc14ded2044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): crates/router/src/routes/payment_methods.rs:718-731 | crates/router/src/routes/payment_methods.rs:824-836 | crates/router/src/routes/payment_methods.rs:1204-1217 \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 \u0060crates/router/src/routes/payment_methods.rs:718\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e27b3f9ecf09a1e183ebd83ff4964058a2a1be71b8380a5e93c1e60658e3f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/routes/payouts.rs:118-131 | crates/router/src/routes/payouts.rs:395-408 | crates/router/src/routes/payouts.rs:629-642 \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 \u0060crates/router/src/routes/payouts.rs:118\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d97a90242bc7b9d7d3929bd840cd97fe7d05525c61c0d6bd4a691aca9b3bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/routes/routing.rs:171-184 | crates/router/src/routes/routing.rs:1104-1117 | crates/router/src/routes/routing.rs:1138-1151 \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 \u0060crates/router/src/routes/routing.rs:171\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b1f9fcb62d2d824693e4cc96684b4c32fe2ab9a6a32a6badc079e16cd10e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/services/authentication.rs:1119-1132 | crates/router/src/services/authentication.rs:2616-2629 | crates/router/src/services/authentication.rs:2889-2902 \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 \u0060crates/router/src/services/authentication.rs:1119\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45b14418d281bc5a008ec0ce616e9e9fe4ed94c878de8aeb3f6544f7115f9ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 3): crates/router/src/services/authentication.rs:1850-1859 | crates/router/src/services/authentication.rs:2594-2604 | crates/router/src/services/authentication.rs:2688-2701 \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 \u0060crates/router/src/services/authentication.rs:2688\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e46e6c9052b059a5e9a762282e6095e7a9c06d31237bc24fdbd77ddb1fc87ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/utils.rs:203-216 | crates/router/src/utils.rs:222-235 | crates/router/src/utils.rs:271-284 \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 \u0060crates/router/src/utils.rs:203\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":"crates/router/src/utils.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaef3a53d3b53cd5c9b06fa081c54fe2bb1227879cb49c50c32902f11a42a09a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/storage_impl/src/merchant_connector_account.rs:1338-1351 | crates/storage_impl/src/merchant_connector_account.rs:1583-1596 | crates/storage_impl/src/merchant_connector_account.rs:1714-1727 \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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"217ed85fbfe55fd24e16eb51e681f4090bd081f0b56122f84f00229dfeb08f70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/storage_impl/src/merchant_connector_account.rs:1616-1629 | crates/storage_impl/src/merchant_connector_account.rs:1648-1661 | crates/storage_impl/src/merchant_connector_account.rs:1682-1695 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:1616\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1616}}}],"partialFingerprints":{"codehealthFindingId/v1":"d271e17cc86a8f715849045180ce5abc5dc6c108a9a8c3fdb42d4f97da1c0390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/analytics/src/auth_events/core.rs:225-238 | crates/analytics/src/payment_intents/core.rs:53-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. 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":"crates/analytics/src/auth_events/core.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bf4af80c05887ee779d668cb3e9cea97f2579a3cc1c0ccfdc3fc82ff14aef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/analytics/src/connector_events/events.rs:50-63 | crates/analytics/src/outgoing_webhook_event/events.rs:50-61 \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 \u0060crates/analytics/src/connector_events/events.rs: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":"crates/analytics/src/connector_events/events.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0702cba9a92383632f58b5c3c2928f1856df6ef5e51ac8c0db7d2c88844ba664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/analytics/src/payment_intents/core.rs:381-394 | crates/analytics/src/payment_intents/core.rs:396-409 \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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"33acc4be98699832cff85426211b640622f90988ac688648202625832a8e1485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/analytics/src/sqlx.rs:629-642 | crates/analytics/src/sqlx.rs:1358-1371 \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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"e383d2f0cb1c7715d19902cd4c73c2ca370e3f99446672b1b34b66cbe66c1287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/api_models/src/payments.rs:4167-4180 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4140-4153 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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 \u0060crates/api_models/src/payments.rs:4167\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":"crates/api_models/src/payments.rs"},"region":{"startLine":4167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d17379d54d44aebbce68a0cc79d41d9a1a62dd666eda28e5033d6536c6264ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/diesel_models/src/payment_attempt.rs:1486-1499 | crates/diesel_models/src/payment_attempt.rs:4375-4389 \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 \u0060crates/diesel_models/src/payment_attempt.rs:1486\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":1486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77844311aa063511e4bf497989bd8dcb8135e9ee0bbbbe4606be0b5a5f5b826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:1068-1081 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1201-1214 \u2014 before extracting anything, compare \u0060crates/diesel_models/src/payment_intent.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d99e2031111140f31b24437fcff019dc21fd6bf976b7c2fdd35763073b3b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:2152-2165 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1455-1468 \u2014 before extracting anything, compare \u0060crates/diesel_models/src/payment_intent.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/diesel_models/src/payment_intent.rs:2152\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":2152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a49fff0a17bfdde93f776272ce65d57df7bcdf5213418d31058537b31f08cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/external_services/src/grpc_client.rs:295-308 | crates/external_services/src/grpc_client/revenue_recovery.rs:25-38 \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 \u0060crates/external_services/src/grpc_client.rs:295\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 \u0060headers\u0060 to \u0060GrpcHeaders\u0060 in one and \u0060GrpcRecoveryHeaders\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":"crates/external_services/src/grpc_client.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a86304c0c8362128a74ece1b78caa7e5a0d065ccf7bbf902caf85461916921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/external_services/src/http_client/client.rs:44-57 | crates/injector/src/injector.rs:106-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"87da62713d7f91be84d9b7b193463e8da151a6f8a6adad62b1288a72f8e83b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/external_services/src/superposition.rs:332-345 | crates/external_services/src/superposition.rs:585-598 \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":"crates/external_services/src/superposition.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb6f33c1d76fd6ddc0309551ce7c3a6da369fa62577451a3810a1aa271e2172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen.rs:1580-1593 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1405-1418 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 137 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"35325405f7b741895cfe785fc7d7be04c6a42d738ae65a513bfe278d7e50fafd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3537-3550 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3671-3684 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3537}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a41d8fe05649ef8c7cada590dc0ad745ad09924512b59bf9affe0a6160df4d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs:472-485 | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs:2025-2038 \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 \u0060crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs:472\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AmazonpayPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, TesouroSyncResponse, PaymentsSyncData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae433b93ef8aabe9eabdfc88afc4f9b5f1d00edbf5335c95acbeb5288ea948a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/archipel.rs:453-466 | crates/hyperswitch_connectors/src/connectors/archipel.rs:853-866 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsSyncRouterData\u0060 in one and \u0060\u0026RefundSyncRouterData\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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec923ceb52be54b0ecd5338f09e829f3f754e8a7f3292e8dd6b9f2bdff2854c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:407-420 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:677-690 \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 \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:407\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"521532f658aa935c536b035faa51c108b1f00f757ea70ad4da44ee926eae7f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:400-413 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:702-715 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 289 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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"15aeb8388e58605227d63787dbb8ddc6039ff0550aaeff392091aadca03863ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:494-507 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:796-809 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 289 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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f653b6d873ed18d65b456117e66b5df046c649b20e9b194f06fb675fe8c677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:630-643 | crates/hyperswitch_connectors/src/connectors/klarna.rs:251-264 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/klarna.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 101 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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fedc66783e35405c8974db4d46a17c7cba8d0a9e5dc169fe3f46ca33e957318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/datatrans.rs:155-167 | crates/hyperswitch_connectors/src/connectors/helcim.rs:181-194 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/datatrans.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/helcim.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 75 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 \u0060crates/hyperswitch_connectors/src/connectors/helcim.rs:181\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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bfbcfa7b946ffbf4d5a5806b83a4ee19ccd5f51b66d61d2af5a2b1d1e76f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/dwolla.rs:739-752 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:696-709 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/dwolla.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/jpmorgan.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 52 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":"crates/hyperswitch_connectors/src/connectors/dwolla.rs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"6662377b38ba8bb4b8e7dd206731f200f9946ee3592be98f353f97ba98fab801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:288-301 | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:406-416 \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 \u0060crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:288\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026DwollaRouterData\u003C\u0027a, \u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026DwollaRouterData\u003C\u0027a, \u0026RefundsRouterData\u003CF\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efec3d363632e54c085ca8398c06b9776eae66e1a148be4b77ae6c734eaf8ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:520-533 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:324-337 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs\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 6 separate duplicated blocks between them, totalling at least 64 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:520\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":"crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a214867b2ed6d424c0de029f6584bb85a0b3256fee21287bd951d74e01df6a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:482-495 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:670-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 \u0060crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:482\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":"crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e9ef4cb314b16550ae8c164b6bfc6283db1f44ae0ae8860a6f78c6d3130a12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:296-309 | crates/hyperswitch_connectors/src/connectors/hipay.rs:59-72 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/hipay.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb815aa34f20939a1cdb8e513c28bf1e9df55367d06e7f2b17651b40f840c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:857-870 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:887-899 \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 \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs:857\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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"17526f84346d5d8317d21156049e616218c16d8edcc5a24f5469f96be3a3527c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gpayments.rs:393-406 | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs:485-498 \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 \u0060crates/hyperswitch_connectors/src/connectors/gpayments.rs:393\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gpayments.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e3d66b0d13b972ce6b8e6f83910659266bdb96275ea823e2048d25b149289c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:164-177 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:273-286 \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 \u0060item\u0060 to \u0060\u0026SetupMandateRouterData\u0060 in one and \u0060\u0026HelcimRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c48e978365eefa8b9ff27f93d84aef9a9f590ff6a0af3978393290fd75a360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs:125-138 | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs:125-138 \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 \u0060crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs:125\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":"crates/hyperswitch_connectors/src/connectors/inespay/transformers.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f8136cf15832d2829dd1525aa05b012fcdfe2b3a58ea2631d406d4f77b1984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:373-386 | crates/hyperswitch_connectors/src/connectors/razorpay/transformers.rs:339-352 \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 \u0060crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:373\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, MifinityPsyncResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, RazorpaySyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43465565230e1d5227877fcbd07c6def5e5de430740ed7fe5d520ef381f98da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/netcetera.rs:386-398 | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs:263-276 \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 \u0060crates/hyperswitch_connectors/src/connectors/netcetera.rs:386\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":"crates/hyperswitch_connectors/src/connectors/netcetera.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"978a18648b1c66fbaca9189502a0e5c380dbae03cf52ea1a3cc8eae59b1ad0f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:256-268 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:276-289 \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 \u0060crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:276\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":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab1083eca2e6eb889c341e519577ab4ac974baed5b663c82d3c642fa8b28360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:497-510 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1343-1356 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060response\u0060 to \u0060NmiCompleteResponse\u0060 in one and \u0060StandardResponse\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":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8761fbd412eff321fd85b55cf1ba83bbb42a2a174c9e9040fb090254aacfd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nomupay.rs:337-350 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:368-381 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/nomupay.rs: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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5165412ece5ca0dc4d9cf3add20be7f25b4049d0004c4191a1269ac5ed0baf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nomupay.rs:539-552 | crates/hyperswitch_connectors/src/connectors/trustly.rs:554-567 \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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ff5efcdb14638ec775162b65ba0b3e03987fbfa859835a4c650d07cdd13933"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:736-749 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1218-1231 \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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"da696b15c9f1b113cd7c3c3dd8eeec2030e8dc28c68b7c93a06c9dcf70e37d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1111-1124 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1336-1349 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40d61bdafb62a6fd9a0cc45c25903e2074e0e42fadbedacf46563e9a83f53e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal.rs:177-187 | crates/hyperswitch_connectors/src/connectors/paypal.rs:376-389 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:177\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d616516465003fb342dea1d9cbc8c465f2e4d1555a0371af38ae6705b14ef8d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:292-305 | crates/router/src/core/unified_connector_service/transformers.rs:5355-5368 \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 \u0060crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:292\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":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51375897401aab699283b8b973e1782356991a4a18bac0996725a8414d19af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:477-490 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:533-546 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:477\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, ProphetpaySyncResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, ProphetpayVoidResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"669cb83fb2d8d8691cc6eab776ed3ca4066d3b7c41ade7d3d6b2d47ce6e37f1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1136-1148 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1193-1206 \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 \u0060item\u0060 to \u0060\u0026RedsysRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026RedsysRouterData\u003C\u0026PaymentsAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d6a5d2f74320857ddd22c7a13bf54ea42535bd6c3884d6f27af88602ab7c82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:2281-2292 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:2320-2333 \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 \u0060crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:2281\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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":2281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35ceefd3d0aa980458b420a773b55eccb5bbf5906adc7a482def0dfad215159"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs:152-165 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs:217-230 \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 \u0060crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs: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":"crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a0c67b7f10a67d99bf59223f24f34179c6fbbe3c59302dea3e1c9bc8a8e571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:94-107 | crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs:70-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. 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":"crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1aaf66d831b62e2e0dc6bf70f4cf0330c99ede12d904df7ae92287595b2b692"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2280-2293 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2419-2432 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2280\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2280}}}],"partialFingerprints":{"codehealthFindingId/v1":"691d0452a20046690c63ac314df76f78e0309678a60cf9f03eedc047c7931c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2379-2392 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2405-2418 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2379\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95b067582e898389e415f50d945ef3e25c342f4a718c334c0c11566f4e5db6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:7707-7720 | crates/router/src/types.rs:1402-1415 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/types.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7707}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88241c14a647667e91b25a92161f71ce7ffb1db79111c829ff0b87f241cd841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/hyperswitch_constraint_graph/src/graph.rs:214-227 | crates/hyperswitch_constraint_graph/src/graph.rs:274-286 \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 \u0060crates/hyperswitch_constraint_graph/src/graph.rs:214\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_constraint_graph/src/graph.rs:286\u0060 calls \u0060push\u0060, \u0060get_analysis_trace\u0060 and \u0060crates/hyperswitch_constraint_graph/src/graph.rs:227\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":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56c196c4cdfe268ddbd073dbf4d5a621438274b3dad68e946a1e6c6c60a5da6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/hyperswitch_domain_models/src/payment_method_data.rs:4609-4622 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4690-4702 \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 \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs:4609\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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":4609}}}],"partialFingerprints":{"codehealthFindingId/v1":"e409f5f6ba22cbd8a1e339f7c50d66ee2ada894bfacb762dc8a17c4a963931f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/payment_methods/src/core/migration/payment_methods.rs:531-544 | crates/payment_methods/src/core/migration/payment_methods.rs:664-676 \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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"383954694d968e982627067a5e2e3af7bb998d6722e4403fb1d8fc532331b38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/payment_methods/src/core/migration/payment_methods.rs:538-551 | crates/router/src/core/payment_methods/cards.rs:2432-2446 \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 \u0060crates/payment_methods/src/core/migration/payment_methods.rs:538\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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dd2d80966e426c22317f80df62b4fbf269da8c54391966d6223d725aab2208"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/router/src/analytics.rs:586-598 | crates/router/src/analytics.rs:757-770 \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 \u0060crates/router/src/analytics.rs:586\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":"crates/router/src/analytics.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"528d41cf17ba142a5f6da044714c7f142788321d755c25232e1e3f26c19da736"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/compatibility/stripe/customers.rs:153-166 | crates/router/src/compatibility/stripe/customers.rs:195-208 \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 \u0060crates/router/src/compatibility/stripe/customers.rs:153\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":"crates/router/src/compatibility/stripe/customers.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c70e83f38e7247d425ba04141ea8a7c853b7dab85b8e4dc0103d0711ce53b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents.rs:115-128 | crates/router/src/compatibility/stripe/setup_intents.rs:101-114 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:115\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"17da884275914ee8cc8d9845e638f46026903e391191b998bca2557f4e267ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/router/src/core/admin.rs:2082-2095 | crates/router/src/core/admin.rs:2259-2270 \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 \u0060crates/router/src/core/admin.rs:2082\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d6c41ca3b49530eb65e00369459b9a0b2bf8a79f0b8a654c70b6eea100f848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/router/src/core/authentication.rs:413-425 | crates/router/src/core/authentication.rs:1408-1421 \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 \u0060crates/router/src/core/authentication.rs:413\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/authentication.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"0790a612e9e870d27db76990305d9de0a79226b19a8bb463b61716f5af7e1fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/conditional_config.rs:104-117 | crates/router/src/core/surcharge_decision_config.rs:38-51 \u2014 before extracting anything, compare \u0060crates/router/src/core/conditional_config.rs\u0060 and \u0060crates/router/src/core/surcharge_decision_config.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f049499dc8c8eafd853e4d2528e20d25e5c8a24c22a4d24d86c47d2e1bc65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/conditional_config.rs:156-169 | crates/router/src/core/conditional_config.rs:197-210 \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 \u0060crates/router/src/core/conditional_config.rs: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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"42619281717f3fed215c7310bc26e730de9d49f0c81da71f1ef0bbb80481031e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/router/src/core/customers.rs:230-242 | crates/router/src/core/customers.rs:352-365 \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 \u0060crates/router/src/core/customers.rs:230\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":"crates/router/src/core/customers.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f48618cb8418118e949a5bec9268b25b346f0250a5d6ffe2161c5f39467e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/customers.rs:627-640 | crates/router/src/core/customers.rs:653-666 \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 \u0060crates/router/src/core/customers.rs:627\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":"crates/router/src/core/customers.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fd9c86a7d3fa71d18d09d939d08166258a8596a2328c4a6377186b0539a684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/disputes.rs:114-127 | crates/router/src/core/disputes.rs:494-510 \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 \u0060crates/router/src/core/disputes.rs:114\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/disputes.rs:113\u0060 calls \u0060get_processor\u0060 and \u0060crates/router/src/core/disputes.rs:493\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":"crates/router/src/core/disputes.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f918e76af9f438c2966430a3a178ba7305f4a74591355ff171e9dca216c1312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/router/src/core/payment_link.rs:102-115 | crates/router/src/core/payment_link.rs:897-908 \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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e5e349b48337c12bfd84064fafbc97d1f81e99f46dad417f1406dc85404174"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/payment_link.rs:384-397 | crates/router/src/core/payment_link.rs:490-503 \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 \u0060crates/router/src/core/payment_link.rs:384\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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d5d48b76021c307b50b003ab7757b5bf24a335ac044e6f2123f5a62bef0471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/payment_methods.rs:424-437 | crates/router/src/core/payout_link.rs:256-269 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods.rs:424\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e845f8495bc6b568739bd27221556d8b9763f8cf63063007296a63a15e2a4f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): crates/router/src/core/payment_methods.rs:1039-1076 | crates/router/src/core/payment_methods.rs:1079-1116 \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 \u0060crates/router/src/core/payment_methods.rs:1039\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ade4e465729f1e2b6d0c4e62a1c48cb212d286862e744443243bfb539c65a25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/router/src/core/payment_methods.rs:3434-3447 | crates/router/src/core/payment_methods.rs:4096-4108 \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 \u0060crates/router/src/core/payment_methods.rs:3434\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3434}}}],"partialFingerprints":{"codehealthFindingId/v1":"36477bb14d5af6c0cdeb2f23d58dd0f7065b7c88cea72a8f9c68c13761212171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/router/src/core/payment_methods.rs:3854-3867 | crates/router/src/core/payment_methods.rs:3878-3889 \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 \u0060crates/router/src/core/payment_methods.rs:3854\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3854}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7775a89c58c513acd88a24311cd7caded750e1cabe23ff5efad853f11e2a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:2053-2062 | crates/router/src/core/payments/tokenization.rs:940-953 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/payments/tokenization.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/cards.rs:2053\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc775dde4a79f56e842c181e3d8d212e5b7f2d58a01349d37fca1cece35fac24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:3878-3891 | crates/router/src/core/payment_methods/cards.rs:4047-4060 \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 \u0060crates/router/src/core/payment_methods/cards.rs:3878\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, \u0060crates/router/src/core/payment_methods/cards.rs:3893\u0060 calls \u0060Some\u0060, \u0060now\u0060 and \u0060crates/router/src/core/payment_methods/cards.rs:4061\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3878}}}],"partialFingerprints":{"codehealthFindingId/v1":"282437e5787bce658c64ade5db7fa5d82ca543603cbbaae176145c87503a5798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/payment_methods/tokenize/card_executor.rs:182-195 | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:105-118 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/tokenize/card_executor.rs\u0060 and \u0060crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3041f03d1b64e51607bb9161e0423a13091ff1e2ae74dc999073f6e0368cedd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201314 lines \u00D7 2): crates/router/src/core/payments/access_token.rs:37-44 | crates/router/src/core/payments/access_token.rs:137-150 \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":"crates/router/src/core/payments/access_token.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2674151cc2a0b68333d896c23bd09e65f67a490c021a55a18fb04b6ba82a72b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:6975-6988 | crates/router/src/core/payments/helpers.rs:6999-7012 \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 \u0060crates/router/src/core/payments/helpers.rs:6975\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":6975}}}],"partialFingerprints":{"codehealthFindingId/v1":"671800edaeadad70cf355819f74dd925b174502ea656c35e8afd29e4706eb7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/router/src/core/payments/list.rs:170-182 | crates/router/src/core/payments/list.rs:245-258 \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 \u0060crates/router/src/core/payments/list.rs:170\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/list.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba7ce399fd181138b90eab4e57a905179888ba3c702b090ea231b5d0930456d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/payments/operations/payment_complete_authorize.rs:403-416 | crates/router/src/core/payments/operations/payment_confirm.rs:1024-1037 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 as WHOLE FILES: this scan already matched 6 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"306dc5dd91e97440c40ea992583c63547e8978540eaafad71a8ddcbeb90f42ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/router/src/core/payments/operations/payment_update.rs:243-254 | crates/router/src/core/payments/operations/payment_update.rs:257-270 \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 \u0060crates/router/src/core/payments/operations/payment_update.rs:243\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_update.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"36050326bd8a956ad5b59835490834d0c77808254ec805035bbb44c8c1fbdeb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/router/src/core/payments/routing/utils.rs:873-886 | crates/router/src/core/payments/routing/utils.rs:920-931 \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 \u0060crates/router/src/core/payments/routing/utils.rs:873\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":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"b524d156ccdd7e7c22e451116cbcdf5f6f6795b66a9fca8ff5fcfc207e5dd6c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:1860-1873 | crates/router/src/core/payments/tokenization.rs:2139-2152 \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 \u0060crates/router/src/core/payments/tokenization.rs:1860\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":1860}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec49176a30c34b546a653d425ea265ece3200d4ac18385d480cbee6aebd1c03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:503-516 | crates/router/src/core/payments/transformers.rs:779-792 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"62624a06a0a4b0a8ecce401bbc49b1f0f08eff12ddb2dd7f4b649c414023826b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/payouts/helpers.rs:1149-1162 | crates/router/src/core/payouts/helpers.rs:1201-1214 \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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd644b3dbff72c614792138c8badf42863673669ad83542e994d7c2898a40c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/refunds.rs:851-864 | crates/router/src/core/refunds.rs:1505-1518 \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 \u0060crates/router/src/core/refunds.rs:851\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"a800115a2d8b645fb37c801704e3d62ff6640ff821285e979d0f871e90d555e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): crates/router/src/core/revenue_recovery.rs:1664-1677 | crates/router/src/core/revenue_recovery.rs:1740-1749 \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 \u0060crates/router/src/core/revenue_recovery.rs:1664\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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":1664}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06d258df01002b897c52ddaab6644b97bebf69c7319f7bbf7fe2c16a512a7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/router/src/core/revenue_recovery/external_triggers.rs:1081-1092 | crates/router/src/workflows/revenue_recovery.rs:208-221 \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 \u0060tracking_data\u0060 to \u0060\u0026pcr::RecoveryRequestTrackingData\u0060 in one and \u0060\u0026pcr_storage_types::RevenueRecoveryWorkflowTrackingData\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":"crates/router/src/core/revenue_recovery/external_triggers.rs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"39364c011900f275cb74dce035a96f595859894ca058285e1d63d3cfa6983a0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/surcharge_decision_config.rs:91-104 | crates/router/src/core/surcharge_decision_config.rs:133-146 \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 \u0060crates/router/src/core/surcharge_decision_config.rs:91\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/surcharge_decision_config.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9c353524e4912c42907e7044a600f37493d1a8ca743961927d37c59135d129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:1366-1379 | crates/router/src/core/unified_authentication_service.rs:1700-1713 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/unified_authentication_service.rs:1714\u0060 calls \u0060as_ref\u0060 and \u0060crates/router/src/core/unified_authentication_service.rs:1380\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd730599a16215a78a1be9c3a78f7faee2755b8151716c3896d81239944d1bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:1934-1946 | crates/router/src/core/unified_authentication_service.rs:2032-2045 \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 \u0060crates/router/src/core/unified_authentication_service.rs:1934\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8701515a76cf3c308693bb965fc35818f255295188ae0c77696e6feb998929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:1982-1994 | crates/router/src/core/unified_connector_service.rs:2022-2035 \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 \u0060crates/router/src/core/unified_connector_service.rs:2022\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad207ab9adda9923cc8fdb415bb775a3c1ff067d74fca36807d809fed48f843a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/user.rs:452-465 | crates/router/src/utils/user_role.rs:647-660 \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":"crates/router/src/core/user.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe039ac470c032722b59aedbe59082117c0ac595a9047fa095a952c84dd32b67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/user.rs:668-681 | crates/router/src/core/user.rs:1496-1509 \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":"crates/router/src/core/user.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0b523e9efe356a7b1d5d6ca401f3b367db00ff2b8e861a1e16d0326e551c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:145-158 | crates/router/src/core/webhooks/incoming_v2.rs:86-99 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/incoming.rs\u0060 and \u0060crates/router/src/core/webhooks/incoming_v2.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 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 \u0060crates/router/src/core/webhooks/incoming.rs:145\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e30f86747019691eef187eccd42f95283aab757e8243da6f5fce00ab7849f5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:956-969 | crates/router/src/core/webhooks/outgoing_v2.rs:260-271 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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 \u0060crates/router/src/core/webhooks/outgoing.rs:956\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9373e44942bb9563272b5dad463e5d9fc604ac69e941fb6210dfb8f4b041201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:1043-1056 | crates/router/src/core/webhooks/outgoing_v2.rs:349-362 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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 \u0060crates/router/src/core/webhooks/outgoing.rs:1043\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1e6d819d6f7bfe9e2b8f6a90428ed21d8eb5b5e370a78c37615f59d2062390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/router/src/db/address.rs:678-691 | crates/storage_impl/src/payments/payment_attempt.rs:563-575 \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 \u0060crates/router/src/db/address.rs:678\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":"crates/router/src/db/address.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda4d4a4af15bb686d7abf919efaebe00b2997cfd4c0cc9a78cf91407683c8b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/router/src/db/events.rs:561-573 | crates/storage_impl/src/kv_router_store.rs:476-489 \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 \u0060crates/router/src/db/events.rs:561\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":"crates/router/src/db/events.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"851b694a957dc1d90db28c8e36991656b747f5bbbafc62d4cac6d2b6cd7e5ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/db/events.rs:553-566 | crates/router/src/db/events.rs:665-678 \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 \u0060crates/router/src/db/events.rs:553\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":"crates/router/src/db/events.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea61fb1761d2ae2a1ffa564c8128a5b76a28cc1690362f52dd1b130fd040b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/db/refund.rs:1838-1851 | crates/router/src/db/refund.rs:1943-1956 \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 \u0060crates/router/src/db/refund.rs:1838\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":"crates/router/src/db/refund.rs"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e894b7c37dda870045391c2da87e590c6f07770088f7ce019afa0e23138a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/db/refund.rs:2169-2182 | crates/router/src/db/refund.rs:2272-2285 \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 \u0060crates/router/src/db/refund.rs:2169\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":"crates/router/src/db/refund.rs"},"region":{"startLine":2169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a11241a9de333e6ae7065fa86191ae90a98a64e028ca460e56ec2200bd59574"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/routes/dummy_connector/utils.rs:157-170 | crates/router/src/routes/dummy_connector/utils.rs:196-209 \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 \u0060crates/router/src/routes/dummy_connector/utils.rs:157\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":"crates/router/src/routes/dummy_connector/utils.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1841e81bc3aa8a1f7147babf161c2d28b67d0eb3ff97b71e656bceef7cbd02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/routes/payment_methods.rs:2001-2014 | crates/router/src/routes/payment_methods.rs:2057-2070 \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 \u0060crates/router/src/routes/payment_methods.rs:2001\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d7da93d59dacda3c29850cb6fc74f44c7ab559391205bab3454fa57345cfbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/routes/payments.rs:2242-2255 | crates/router/src/routes/payments.rs:3244-3257 \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 \u0060crates/router/src/routes/payments.rs:2242\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cfafb9e2d624ce5109dd54fe8996ebfd7ae9301863412f691e175d0b99e899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/routes/payments.rs:4670-4683 | crates/router/src/routes/payments.rs:4857-4870 \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":4670}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e34a613262515e55d65c96e2f4f6d91404c00edd21067e07acc2b4bcbe6b02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/routes/refunds.rs:202-215 | crates/router/src/routes/refunds.rs:256-269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/refunds.rs:202\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":"crates/router/src/routes/refunds.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57179ec59e97a34c2105b12427eaf945062f4981e7a9b521e26f2c47f84b639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/routes/routing.rs:914-939 | crates/router/src/routes/routing.rs:1014-1039 \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 \u0060crates/router/src/routes/routing.rs:914\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e24bd877a67a7727135d9f29653d8100db673ccb1960b4e965dfb8fed21cf6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/services/authentication.rs:1549-1562 | crates/router/src/services/authentication.rs:1588-1601 \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 \u0060crates/router/src/services/authentication.rs:1549\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8366de7c1a4d8a304c3bf5b90d4b747b02701515b1aa20e63f03475d4a3029a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/types/transformers.rs:2579-2592 | crates/router/src/types/transformers.rs:2622-2635 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060api_models::admin::CardBlockingConfig\u0060 in one and \u0060diesel_models::business_profile::CardBlockingConfig\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aed994520499138f16d62ffb7eaa97c62838ea638f3e999ac8661912a16ddc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/types/transformers.rs:2662-2675 | crates/router/src/types/transformers.rs:2685-2698 \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 \u0060crates/router/src/types/transformers.rs:2662\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 \u0060item\u0060 to \u0060api_models::admin::WebhookDetailsResponse\u0060 in one and \u0060diesel_models::business_profile::WebhookDetails\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":2662}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c3bd5ee3cab196a320fc42747407b17bca9e99e3b5bd5d2857da7ab3dd19fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 2): crates/router/src/workflows/outgoing_webhook_retry.rs:51-64 | crates/router/src/workflows/outgoing_webhook_retry.rs:310-319 \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":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c0f9e975e95eda0ddb231a2c992d60b09aea6b4ae9df3fcaac65bf81778605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router_derive/src/macros/xss_validation.rs:189-202 | crates/router_derive/src/macros/xss_validation.rs:221-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router_derive/src/macros/xss_validation.rs:189\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":"crates/router_derive/src/macros/xss_validation.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6cd62f3baccbca9c1438b332fff84578e06625c1bf21e0871581a5aa3784ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/scheduler/src/utils.rs:65-78 | crates/scheduler/src/utils.rs:123-136 \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 \u0060crates/scheduler/src/utils.rs:65\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":"crates/scheduler/src/utils.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e4c750765775376604c4fdb0ea96abf2df0752109c9929549435890872bf11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/storage_impl/src/customers.rs:440-453 | crates/storage_impl/src/customers.rs:510-522 \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 \u0060crates/storage_impl/src/customers.rs:440\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a684903fb1ea3114f85bd974089e2265e1b5f1a42e3d0b977b38cf8746905f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:89-101 | crates/storage_impl/src/merchant_connector_account.rs:126-139 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:89\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d016580a5160e7c85ea451bb053d42adcfcb29dd57bccd442d744453e7fbb09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:1568-1581 | crates/storage_impl/src/merchant_connector_account.rs:1605-1618 \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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bf21a8164d6bc165ad8267d69cb0bcb51659fbcee21e07664be9f0dfd37efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/subscriptions/src/core.rs:281-294 | crates/subscriptions/src/core.rs:420-433 \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 \u0060crates/subscriptions/src/core.rs:281\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":"crates/subscriptions/src/core.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68b0ca8050b7805d878a18468c5748f91dcd75d853aa30f5355333d1f34fa3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 86): crates/hyperswitch_connectors/src/connectors/affirm.rs:662-674 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:967-979 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:609-621 | crates/hyperswitch_connectors/src/connectors/authipay.rs:633-645 | crates/hyperswitch_connectors/src/connectors/bambora.rs:702-714 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:573-585 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1162-1174 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:669-681 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:973-985 | crates/hyperswitch_connectors/src/connectors/boku.rs:516-528 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:671-683 | crates/hyperswitch_connectors/src/connectors/calida.rs:512-524 | crates/hyperswitch_connectors/src/connectors/celero.rs:584-596 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:449-461 | crates/hyperswitch_connectors/src/connectors/citigate.rs:461-473 | crates/hyperswitch_connectors/src/connectors/coingate.rs:416-428 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:448-460 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:667-679 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:874-886 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:574-586 | crates/hyperswitch_connectors/src/connectors/elavon.rs:448-460 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:490-502 | crates/hyperswitch_connectors/src/connectors/envoy.rs:564-576 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:480-492 | crates/hyperswitch_connectors/src/connectors/finix.rs:870-882 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:734-746 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:472-484 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:655-667 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:590-602 | crates/hyperswitch_connectors/src/connectors/forte.rs:591-603 | crates/hyperswitch_connectors/src/connectors/getnet.rs:593-605 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:554-566 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:463-475 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:486-498 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:657-669 | crates/hyperswitch_connectors/src/connectors/helcim.rs:688-700 | crates/hyperswitch_connectors/src/connectors/hipay.rs:625-637 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:451-463 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:461-473 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:553-565 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:461-473 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:490-502 | crates/hyperswitch_connectors/src/connectors/inespay.rs:479-491 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:503-515 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:520-532 | crates/hyperswitch_connectors/src/connectors/katapult.rs:462-474 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1342-1354 | crates/hyperswitch_connectors/src/connectors/loonio.rs:518-530 | crates/hyperswitch_connectors/src/connectors/merchante.rs:480-492 | crates/hyperswitch_connectors/src/connectors/mollie.rs:716-728 | crates/hyperswitch_connectors/src/connectors/moneris.rs:679-691 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:459-471 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:408-420 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1081-1093 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:636-648 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1141-1153 | crates/hyperswitch_connectors/src/connectors/payconex.rs:461-473 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:453-465 | crates/hyperswitch_connectors/src/connectors/payload.rs:932-944 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:462-474 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:968-980 | crates/hyperswitch_connectors/src/connectors/paystack.rs:463-475 | crates/hyperswitch_connectors/src/connectors/paytm.rs:451-463 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:830-842 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:451-463 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:533-545 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:581-593 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:591-603 | crates/hyperswitch_connectors/src/connectors/shift4.rs:707-719 | crates/hyperswitch_connectors/src/connectors/sift.rs:459-471 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:665-677 | crates/hyperswitch_connectors/src/connectors/square.rs:712-724 | crates/hyperswitch_connectors/src/connectors/stax.rs:748-760 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:541-553 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:761-773 | crates/hyperswitch_connectors/src/connectors/thunes.rs:448-460 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:605-617 | crates/hyperswitch_connectors/src/connectors/trustly.rs:398-410 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:635-647 | crates/hyperswitch_connectors/src/connectors/volt.rs:618-630 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:999-1011 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:463-475 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:859-871 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:808-820 | crates/hyperswitch_connectors/src/connectors/xendit.rs:726-738 | crates/hyperswitch_connectors/src/connectors/zift.rs:638-650 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 as WHOLE FILES: this scan already matched 8 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026RefundsRouterData\u003CExecute\u003E\u0060 in one and \u0060\u0026RefundExecuteRouterData\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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c13126c3d3a7e45027ca217c307faa883f389b25e4691e70b481704a99ddf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 51): crates/analytics/src/api_event/metrics/latency.rs:55-68 | crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:52-66 | crates/analytics/src/auth_events/metrics/authentication_count.rs:49-63 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:49-63 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:49-63 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:52-66 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:50-64 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:50-64 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:50-64 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:50-64 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:50-64 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:50-64 | crates/analytics/src/disputes/metrics/dispute_status_metric.rs:54-66 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:54-66 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:53-65 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:53-65 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:52-64 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:52-64 | crates/analytics/src/frm/metrics/frm_blocked_rate.rs:52-64 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:47-59 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:54-66 | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:68-82 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:57-70 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:54-66 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:69-81 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:59-71 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:56-68 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:59-71 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:56-68 | crates/analytics/src/payments/distribution/payment_error_message.rs:56-68 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:57-69 | crates/analytics/src/payments/metrics/connector_success_rate.rs:56-68 | crates/analytics/src/payments/metrics/payment_count.rs:50-62 | crates/analytics/src/payments/metrics/payment_success_count.rs:51-63 | crates/analytics/src/payments/metrics/retries_count.rs:58-70 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:58-70 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:57-69 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:51-63 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:66-78 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:52-64 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:58-70 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:54-66 | crates/analytics/src/payments/metrics/success_rate.rs:53-65 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:57-69 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:56-68 | crates/analytics/src/refunds/metrics/refund_count.rs:50-62 | crates/analytics/src/refunds/metrics/refund_success_count.rs:54-66 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:55-67 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:51-63 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:54-66 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:55-67 \u2014 before extracting anything, compare \u0060crates/analytics/src/api_event/metrics/latency.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060crates/analytics/src/api_event/metrics/latency.rs:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:70\u0060 calls \u0060set_filter_clause\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs:67\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":"crates/analytics/src/api_event/metrics/latency.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d5c56330e828659ce3455e060aca8fa1a52946eda241b5fab1f7ab1023bc78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 24): crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:71-83 | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:87-99 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:75-87 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:71-83 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:86-98 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:80-92 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:79-91 | crates/analytics/src/payments/distribution/payment_error_message.rs:73-85 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:74-86 | crates/analytics/src/payments/metrics/debit_routing.rs:75-87 | crates/analytics/src/payments/metrics/payment_count.rs:67-79 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:69-81 | crates/analytics/src/payments/metrics/payment_success_count.rs:68-80 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:75-87 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:75-87 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:68-80 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:83-95 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:69-81 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:75-87 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:71-83 | crates/analytics/src/payments/metrics/success_rate.rs:70-82 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:73-85 | crates/analytics/src/refunds/metrics/refund_count.rs:67-79 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:68-80 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/payment_intent_count.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 92 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":"crates/analytics/src/payment_intents/metrics/payment_intent_count.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d493193989a56bdb4005d5846ac916fb8979fde238cc24bba7dcc8359c0686b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 16): crates/analytics/src/payments/metrics/avg_ticket_size.rs:136-148 | crates/analytics/src/payments/metrics/connector_success_rate.rs:131-143 | crates/analytics/src/payments/metrics/debit_routing.rs:142-154 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:136-148 | crates/analytics/src/payments/metrics/payment_success_count.rs:129-141 | crates/analytics/src/payments/metrics/retries_count.rs:126-138 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:137-149 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:132-144 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:142-154 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:199-211 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:154-166 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:130-142 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:133-145 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:126-138 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:126-138 | crates/analytics/src/payments/metrics/success_rate.rs:125-137 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs\u0060 and \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 146 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 \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs:136\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":"crates/analytics/src/payments/metrics/avg_ticket_size.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0634cd48f855f331b97fd70f40d86ee6e04f7ff7601deceafc662d99c8878eed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 13): crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:122-134 | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:150-162 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:126-138 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:122-134 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:152-164 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:134-146 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:135-147 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:147-159 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:132-144 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:127-139 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:139-151 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:132-144 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:127-139 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/payment_intent_count.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 92 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 \u0060crates/analytics/src/payment_intents/metrics/payment_intent_count.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/payment_intent_count.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c40e94b6ca015b4d5f47c428ffd4d5109e2b026f22891adcc01b9239318071"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201313 lines \u00D7 11): crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:292-298 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:409-421 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:504-516 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:607-619 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:697-709 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:789-801 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:878-890 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1006-1018 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1119-1131 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1217-1229 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1314-1326 \u2014 all 11 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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:292\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eabe247b932a2ee69458ffc514ca9cbc0d1c235fab6e2a02aeb3eebe17934b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): crates/diesel_models/src/payment_attempt.rs:1249-1261 | crates/diesel_models/src/payment_attempt.rs:1302-1314 | crates/diesel_models/src/payment_attempt.rs:1351-1363 | crates/diesel_models/src/payment_attempt.rs:1398-1410 | crates/diesel_models/src/payment_attempt.rs:1490-1502 | crates/diesel_models/src/payment_attempt.rs:3844-3856 | crates/diesel_models/src/payment_attempt.rs:4109-4121 | crates/diesel_models/src/payment_attempt.rs:4379-4391 \u2014 all 8 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 \u0060crates/diesel_models/src/payment_attempt.rs:1249\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, \u0060crates/diesel_models/src/payment_attempt.rs:1262\u0060 calls \u0060Some\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:1503\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"37936fdc68b3ddd7348ce5bfe8ab8a2a582d806ca49d9d53fd07df1bd2831814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 8): crates/diesel_models/src/payment_attempt.rs:1248-1259 | crates/diesel_models/src/payment_attempt.rs:1301-1312 | crates/diesel_models/src/payment_attempt.rs:1350-1361 | crates/diesel_models/src/payment_attempt.rs:1397-1408 | crates/diesel_models/src/payment_attempt.rs:1489-1500 | crates/diesel_models/src/payment_attempt.rs:3843-3855 | crates/diesel_models/src/payment_attempt.rs:4378-4390 | crates/storage_impl/src/payments/payment_attempt.rs:2942-2954 \u2014 there are 8 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 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/diesel_models/src/payment_attempt.rs:1248\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, \u0060crates/diesel_models/src/payment_attempt.rs:1262\u0060 calls \u0060Some\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:1503\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f3f24a46878062c88aa180d3b0f2777964527fd914418945471206eb7f523f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): crates/diesel_models/src/payment_intent.rs:1704-1716 | crates/diesel_models/src/payment_intent.rs:1772-1784 | crates/diesel_models/src/payment_intent.rs:1835-1847 | crates/diesel_models/src/payment_intent.rs:1903-1915 | crates/diesel_models/src/payment_intent.rs:1969-1981 | crates/diesel_models/src/payment_intent.rs:2039-2051 | crates/diesel_models/src/payment_intent.rs:2109-2121 | crates/diesel_models/src/payment_intent.rs:2175-2187 \u2014 all 8 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, \u0060crates/diesel_models/src/payment_intent.rs:1848\u0060 calls \u0060default\u0060 and \u0060crates/diesel_models/src/payment_intent.rs:1717\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"552b52076cc80594e3829c3f0333865639370f378dfe4678a278f48334e0dd5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:393-405 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:197-209 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:135-147 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:77-89 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:184-196 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:455-467 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:131-143 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:176-188 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/boku/transformers.rs\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 10 separate duplicated blocks between them, totalling at least 88 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:210\u0060 calls \u0060WeChatPayQr\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:406\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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0d95ce5df8ec892b77517bb77381e3683c888f34b1c27020779379061e7804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/nuvei.rs:307-318 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:387-397 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:470-480 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:556-566 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:815-827 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:903-915 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1079-1089 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1161-1172 \u2014 all 8 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, \u0060crates/hyperswitch_connectors/src/connectors/nuvei.rs:398\u0060 calls \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/nuvei.rs:319\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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f259d023684b92c6996692f53ddde667176ef432bfd5f7dd7261738921774a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:471-482 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:565-576 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:773-784 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:867-878 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:855-866 | crates/hyperswitch_connectors/src/connectors/redsys.rs:316-328 | crates/hyperswitch_connectors/src/connectors/redsys.rs:635-647 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 289 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsAuthenticateRouterData\u0060 in one and \u0060\u0026PaymentsPostAuthenticateRouterData\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f696769d2d3834897850e2beb2525036a571ad938ee81652a1c16329a7abca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 7): crates/router/src/core/payouts.rs:2029-2041 | crates/router/src/core/payouts.rs:2245-2257 | crates/router/src/core/payouts.rs:2499-2510 | crates/router/src/core/payouts.rs:2726-2738 | crates/router/src/core/payouts.rs:3009-3021 | crates/router/src/core/payouts.rs:3152-3164 | crates/router/src/core/payouts.rs:3363-3375 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecd26575ea01ed4c86bfed7832c9faaa1c323fa238922da72a6dac9c7336b19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 6): crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:82-93 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:76-87 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:78-89 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:76-87 | crates/analytics/src/payments/metrics/retries_count.rs:71-83 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:71-83 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 117 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 \u0060crates/analytics/src/payments/metrics/retries_count.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:80\u0060 calls \u0060set_filter_clause\u0060 and \u0060crates/analytics/src/payments/metrics/retries_count.rs:71\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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c550c6716447c8485159b6114797997074b42930d5bb910a6854d12e70b4ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): crates/analytics/src/refunds/metrics/refund_success_count.rs:114-126 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:109-121 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:179-191 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:171-183 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:114-126 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:109-121 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/refund_success_count.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/refund_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 141 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 \u0060crates/analytics/src/refunds/metrics/refund_success_count.rs:114\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":"crates/analytics/src/refunds/metrics/refund_success_count.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc03adcbb635f1e133480114b7ff9e1d7857853d708372ad295d30aef483149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): crates/diesel_models/src/query/blocklist.rs:205-217 | crates/diesel_models/src/query/blocklist.rs:254-266 | crates/diesel_models/src/query/blocklist.rs:406-418 | crates/diesel_models/src/query/blocklist.rs:654-666 | crates/diesel_models/src/query/blocklist.rs:1063-1075 | crates/diesel_models/src/query/blocklist.rs:1144-1156 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/diesel_models/src/query/blocklist.rs:205\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2271081d2b878506d6484a4b7cf4a740b64117a3126b84fb0d7d0dae0688b1eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): crates/hyperswitch_domain_models/src/router_data.rs:1389-1401 | crates/hyperswitch_domain_models/src/router_data.rs:1718-1730 | crates/hyperswitch_domain_models/src/router_data.rs:2057-2069 | crates/hyperswitch_domain_models/src/router_data.rs:2355-2367 | crates/hyperswitch_domain_models/src/router_data.rs:2609-2621 | crates/hyperswitch_domain_models/src/router_data.rs:2796-2808 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_domain_models/src/router_data.rs:1389\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c0ee9d0222008668e98df2619a8f6f6ae93938c58a62cc688bd421d03ea5c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:120-132 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:96-108 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:122-134 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:104-116 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:105-117 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/payments_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 121 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 \u0060crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:120\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":"crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"927ca42d0f1bfe74436c84ec329edd7e079f3d6cdf752ccdf1e0700a7248d3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs:256-268 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:695-707 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:774-786 | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs:228-240 | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs:245-257 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs:256\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, BlackhawknetworkRedeemResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060\u0026CeleroRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"d194d973c3bef92891d730d8031ed27a24c01972df8d06cfbfa07d15dc2d1822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs:164-177 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:229-242 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:402-414 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1866-1880 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1918-1932 \u2014 there are 5 copies across 4 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs:164\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, DigitalvirgoPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, GlobepayPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"269dbe46311388425ca90e70ad43455d32b3b2e9abc69d7563a2c56f59035679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/santander.rs:322-334 | crates/hyperswitch_connectors/src/connectors/santander.rs:1195-1207 | crates/hyperswitch_connectors/src/connectors/santander.rs:1501-1513 | crates/hyperswitch_connectors/src/connectors/santander.rs:1781-1793 | crates/hyperswitch_connectors/src/connectors/santander.rs:1911-1923 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/santander.rs:322\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 \u0060req\u0060 to \u0060\u0026PaymentsUpdatePostConfirmRouterData\u0060 in one and \u0060\u0026PaymentsAuthorizeRouterData\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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0be077771bbc7440f1b14257939a479479d4ac9e977858ec4da4624b16d37f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/router/src/compatibility/stripe/payment_intents.rs:148-160 | crates/router/src/compatibility/stripe/payment_intents.rs:238-250 | crates/router/src/compatibility/stripe/setup_intents.rs:134-146 | crates/router/src/compatibility/stripe/setup_intents.rs:220-232 | crates/router/src/compatibility/stripe/setup_intents.rs:307-319 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:148\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c38af06682b2d9ba014be35abd68d685a4d18c7d70f2ee6da3d8a7e22e3734d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/router/src/core/payments/flows/authorize_flow.rs:1924-1936 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:865-877 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1016-1028 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1132-1144 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1270-1282 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/flows/authorize_flow.rs\u0060 and \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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 \u0060crates/router/src/core/payments/flows/authorize_flow.rs:1924\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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"904e49d826dd5d7f7050b9c4065ccbab5667c4c2c03e19b212258d276cad0cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:179-191 | crates/router/src/core/payments/operations/payment_attempt_record.rs:127-139 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:167-179 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:305-317 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:158-170 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_attempt_record.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdb9dc56d5116c77dfc8e9b7f16896f8167fb2b13eb1c22d79d972d898181b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 5): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:208-218 | crates/router/src/core/payments/operations/payment_attempt_record.rs:166-176 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:198-210 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:336-348 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:187-197 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_attempt_record.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:208\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b1a4898c08dbcaa796f28cf7cf67abef8b1d26e2369bd27ad3417f2d256b30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:164-176 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:155-167 | crates/router/src/core/payments/operations/payment_session.rs:203-215 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:176-188 | crates/router/src/core/payments/operations/tax_calculation.rs:171-183 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 200 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 \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:164\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a997ddbe1f23e2e975988c9cc1e9ca239db4668bf0f0a3f106780cf075a921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/diesel_models/src/payment_method.rs:535-547 | crates/diesel_models/src/payment_method.rs:568-580 | crates/diesel_models/src/payment_method.rs:598-610 | crates/diesel_models/src/payment_method.rs:751-763 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"7947208699785504c4b369a2d888cfce9a7754de16750d80aa2b6ccdc52a7896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs:377-389 | crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs:193-205 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:377-389 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:411-423 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs:377\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AffirmCompleteAuthorizeResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, CoingatePaymentsResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bef70f84a64cc2f017133707928737de72a5760ad448d596b498456a8458ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:235-247 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:420-432 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:336-348 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:426-438 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs\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 7 separate duplicated blocks between them, totalling at least 60 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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf39cf8625cbae70691504cebca96e62f38725c74db0ad06b44a707875e01e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:302-314 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:391-403 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:410-422 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1502-1514 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs\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 9 separate duplicated blocks between them, totalling at least 85 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:302\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, MifinityPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, MifinityPsyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1515\u0060 calls \u0060Ok\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:315\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":"crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d31407adde6a6cf0bcf5c24605ece20765f96f81d91f672f5fefa33b38803b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:884-896 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:898-910 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:912-924 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:926-938 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:884\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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"9988e40e162855aadd7114bfc3a9e359ff4a27f53578c1aebe129f2d6ce57123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:2738-2750 | crates/hyperswitch_connectors/src/utils.rs:3234-3246 | crates/router/src/connector/utils.rs:1039-1051 | crates/router/src/connector/utils.rs:1179-1191 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04dbad37ae310a892543f3fa873b652ecd4e6bc182fca6167a8c0615775ca01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/router/src/core/payment_methods/cards.rs:5424-5436 | crates/router/src/core/payment_methods/cards.rs:5441-5453 | crates/router/src/core/superposition_sdk_config.rs:64-76 | crates/router/src/core/superposition_sdk_config.rs:81-93 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/superposition_sdk_config.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 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 \u0060crates/router/src/core/payment_methods/cards.rs:5424\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6100fb8c0f26e53ecec21f2b462578e42eb1720183d56517a36bdd38a22f8e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): crates/router/src/core/payments.rs:247-258 | crates/router/src/core/payments.rs:2326-2338 | crates/router/src/core/payments.rs:2411-2423 | crates/router/src/core/payments/session_operation.rs:154-166 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments.rs\u0060 and \u0060crates/router/src/core/payments/session_operation.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments.rs:247\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, \u0060crates/router/src/core/payments.rs:2341\u0060 calls \u0060with_profile_id\u0060, \u0060get_id\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/payments.rs:2426\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":"crates/router/src/core/payments.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb97bc4293a392225784100950893441a26575162813869c8666279c46944180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/router/src/core/payments/tokenization.rs:488-500 | crates/router/src/core/payments/tokenization.rs:514-527 | crates/router/src/core/payments/tokenization.rs:964-976 | crates/router/src/core/payments/tokenization.rs:2418-2431 \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 \u0060crates/router/src/core/payments/tokenization.rs:488\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ddd256ed78f46e191933abbc517249bc87f316609214f9863fa32209939015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 4): crates/router/src/core/payments/transformers.rs:370-382 | crates/router/src/core/payments/transformers.rs:693-705 | crates/router/src/core/payments/transformers.rs:1130-1139 | crates/router/src/core/payments/transformers.rs:1825-1835 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"7264156497a38e7f659615d77bc92c065c8fa8c0231b67f50274da39c1790c35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/router/src/core/payouts.rs:2005-2017 | crates/router/src/core/payouts.rs:2985-2997 | crates/router/src/core/payouts.rs:3128-3140 | crates/router/src/core/payouts.rs:3339-3351 \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 \u0060crates/router/src/core/payouts.rs:2005\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f52dd2cf5bbe796ccc702de937adb07a26677b06f141b4259685225db509c1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/router/src/core/user/dashboard_metadata.rs:374-386 | crates/router/src/core/user/dashboard_metadata.rs:399-411 | crates/router/src/core/user/dashboard_metadata.rs:493-505 | crates/router/src/core/user/dashboard_metadata.rs:672-684 \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 \u0060crates/router/src/core/user/dashboard_metadata.rs:374\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":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0797925a23b5008bb1917e9dc3d6eda714ca54010adcd317ea07e7c6bff9bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/router/src/core/user/theme.rs:153-165 | crates/router/src/core/user/theme.rs:211-223 | crates/router/src/core/user/theme.rs:309-321 | crates/router/src/core/user/theme.rs:419-431 \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 \u0060crates/router/src/core/user/theme.rs:153\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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"33084900a3c357ab75708bc3dfefcbcf1eddbfeda73680ce1829989e4cf44068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/router/src/routes/payouts.rs:118-131 | crates/router/src/routes/payouts.rs:395-408 | crates/router/src/routes/payouts.rs:592-604 | crates/router/src/routes/payouts.rs:629-642 \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 \u0060crates/router/src/routes/payouts.rs:118\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3153c89112bb88020de739bf5a2ea36acb5c89bbc01ebdd57c3aae302225e01f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/router/src/services/authentication.rs:624-636 | crates/router/src/services/authentication.rs:729-741 | crates/router/src/services/authentication.rs:1216-1228 | crates/router/src/services/authentication.rs:3017-3029 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3a4bc55eebfc2c422bea9716d6093fec102615b25dadea13b364ce6a06cfb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): crates/storage_impl/src/customers.rs:1565-1577 | crates/storage_impl/src/customers.rs:1815-1827 | crates/storage_impl/src/customers.rs:1833-1845 | crates/storage_impl/src/customers.rs:1851-1863 \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 \u0060crates/storage_impl/src/customers.rs:1565\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"0281c4cb7aa9e54f64811e7fd81eb93326f3733e3e4280d3446051b181e0a41d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): crates/storage_impl/src/merchant_connector_account.rs:434-446 | crates/storage_impl/src/merchant_connector_account.rs:490-502 | crates/storage_impl/src/merchant_connector_account.rs:563-575 | crates/storage_impl/src/merchant_connector_account.rs:616-627 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:434\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d56f3e3a33dc1347e06e0500154a64c5f7f58638a99b14cb6128daa276fd46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/analytics/src/payments/distribution/payment_error_message.rs:78-90 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:85-98 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:78-90 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/distribution/payment_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 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 \u0060crates/analytics/src/payments/distribution/payment_error_message.rs:78\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/distribution/payment_error_message.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e9b101b4bda86e2b35a9ce1449266b8bb7ba4a0dc65acb6cc8c5aab1a39cdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): crates/analytics/src/payments/metrics/debit_routing.rs:41-52 | crates/analytics/src/payments/metrics/payment_count.rs:40-52 | crates/analytics/src/payments/metrics/payment_success_count.rs:41-53 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/debit_routing.rs\u0060 and \u0060crates/analytics/src/payments/metrics/payment_count.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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":"crates/analytics/src/payments/metrics/debit_routing.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1469308b98edf36a1b3d40236d41cd794a7917021cecea6d79611c29b62b6efa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/diesel_models/src/payment_attempt.rs:1444-1456 | crates/diesel_models/src/payment_attempt.rs:1493-1505 | crates/diesel_models/src/payment_attempt.rs:4112-4124 \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 \u0060crates/diesel_models/src/payment_attempt.rs:1444\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, \u0060crates/diesel_models/src/payment_attempt.rs:4126\u0060 calls \u0060now\u0060 and \u0060crates/diesel_models/src/payment_attempt.rs:1506\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d69afad7f0a305088971cb049faf3ec91e98999c276d8bbbc278b05c52079a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1479-1491 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1544-1556 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:850-862 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs\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 15 separate duplicated blocks between them, totalling at least 138 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1479\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"46998cbf8d90f942d2bd6a4baa28d08d3f88ca3979a240fadafddb9e881388db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:314-326 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:374-386 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:517-529 \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 \u0060crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:314\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, FortePaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, FortePaymentsSyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/forte/transformers.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"502b242da2335bcb21c10c9f5bdbbfa875da8b6023819555ab386bd1d0dd0972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs:289-301 | crates/hyperswitch_connectors/src/connectors/hyperpg/transformers.rs:75-87 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital/transformers.rs:91-103 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/hyperpg/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital/transformers.rs\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 4 separate duplicated blocks between them, totalling at least 43 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. 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":"crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b85470b7edab21a6d0276c69d40293d58567b53c9f3bb81f8a73790c5bef47a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/nordea.rs:281-293 | crates/hyperswitch_connectors/src/connectors/nordea.rs:466-478 | crates/hyperswitch_connectors/src/connectors/nordea.rs:631-643 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026AccessTokenAuthenticationRouterData\u0060 in one and \u0060\u0026RefreshTokenRouterData\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":"crates/hyperswitch_connectors/src/connectors/nordea.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c8c229a6d57438f66945a984db566236a9f085defa8a8b84f2ce6a864f552f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:2239-2251 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1015-1025 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1149-1159 \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. 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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":2239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db40b5fbf2608d51c36d178c3c39a6dd46cdf7aa3c62303faeb7f74314e346b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:1034-1047 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:413-425 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:588-600 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/volt/transformers.rs\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 7 separate duplicated blocks between them, totalling at least 61 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:1034\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, Shift4NonThreeDsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, VoltPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae2ee6bce69ae80b7eb6be3d36daf9b560cf89edc253b4953b188b3406acd75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpay.rs:410-422 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:570-582 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:675-687 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs: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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"4035f3322664356da2146054cdef9bf7caa6307461a8febe098047dc5a92a0a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_connectors/src/utils.rs:1310-1322 | crates/hyperswitch_connectors/src/utils.rs:1417-1429 | crates/hyperswitch_connectors/src/utils.rs:7408-7420 \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 \u0060crates/hyperswitch_connectors/src/utils.rs:1310\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f67c96a703c12aaa7d822eba987385926ed3c5310f844e222857330d3dcf30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_connectors/src/utils.rs:2216-2228 | crates/hyperswitch_connectors/src/utils.rs:2270-2282 | crates/hyperswitch_connectors/src/utils.rs:2323-2335 \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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2057297d81d33f3e3653b440cc21e9b6a6e769029a22cdcf669e8cf62b48cca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_domain_models/src/address.rs:126-138 | crates/hyperswitch_domain_models/src/address.rs:164-176 | crates/hyperswitch_domain_models/src/bulk_tokenization.rs:320-332 \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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060address\u0060 to \u0060api_models::payments::AddressDetails\u0060 in one and \u0060AddressDetails\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":"crates/hyperswitch_domain_models/src/address.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7822f19099894e925207ca9a196e48c9ff7b7ef9fb10b9b0192a2698cd40e613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/hyperswitch_domain_models/src/router_data.rs:1305-1317 | crates/hyperswitch_domain_models/src/router_data.rs:2271-2283 | crates/hyperswitch_domain_models/src/router_data.rs:2533-2545 \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 \u0060crates/hyperswitch_domain_models/src/router_data.rs:1305\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 \u0060payment_data\u0060 to \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::Authorize\u003E\u0060 in one and \u0060\u0026payments::PaymentConfirmData\u003Crouter_flow_types::ExternalVaultProxy\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d10821e9bc5ed37db376901510974d57ead1d1582c285e1094d8ad5c0da193c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/analytics.rs:601-613 | crates/router/src/analytics.rs:649-661 | crates/router/src/analytics.rs:718-730 \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 \u0060crates/router/src/analytics.rs:601\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":"crates/router/src/analytics.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8e03daaa7bed356c93f8cdaf1dd9b0d3637a98c3d603ff4f0ec29f7e41679e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/analytics.rs:773-785 | crates/router/src/analytics.rs:896-908 | crates/router/src/analytics.rs:957-969 \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 \u0060crates/router/src/analytics.rs:773\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":"crates/router/src/analytics.rs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"607b5db84a7911f1315da60d1ebc2a7a24a41fd9d4e845c3b9ebfc50db01e5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/analytics.rs:1004-1016 | crates/router/src/analytics.rs:1052-1064 | crates/router/src/analytics.rs:1113-1125 \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 \u0060crates/router/src/analytics.rs:1004\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":"crates/router/src/analytics.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fe72f0d21a6f5dc0679868fb3263e637e8389226413232d9082292457c1253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:2612-2624 | crates/router/src/core/payment_methods/cards.rs:3002-3014 | crates/router/src/core/payment_methods/cards.rs:3079-3091 \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 \u0060crates/router/src/core/payment_methods/cards.rs:2612\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2612}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ef053b865af9218943ed75ae8dc5b1210729445101f2d72c8e2b4b0fc158e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/core/payments.rs:830-842 | crates/router/src/core/payments.rs:1831-1843 | crates/router/src/core/payments.rs:3336-3348 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b063a3990c093dffc2946b7cf97d166fd8a027c37caaf2afb645e1268392d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): crates/router/src/core/payments/helpers.rs:3784-3796 | crates/router/src/core/payments/helpers.rs:8887-8898 | crates/router/src/core/payouts/helpers.rs:93-104 \u2014 \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/core/payouts/helpers.rs\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 6 separate duplicated blocks between them, totalling at least 85 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments/helpers.rs:3784\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3784}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ba50e20f732c2695043cfed1595d5f72c6c0c845024027dfe336271fbd359b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/core/payments/helpers.rs:5985-5997 | crates/router/src/core/payments/helpers.rs:6134-6146 | crates/router/src/core/payments/helpers.rs:6572-6584 \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 \u0060crates/router/src/core/payments/helpers.rs:5985\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5985}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b538ad99278e0aa6b69ddb5d68e8e977bb132a10e6dd4c0a3ded73d8f7bff64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): crates/router/src/core/payments/operations/payment_status.rs:460-472 | crates/router/src/core/refunds.rs:476-487 | crates/router/src/core/refunds.rs:1135-1147 \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":"crates/router/src/core/payments/operations/payment_status.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"658ffaf3c33ae53ff213ab79986d2d05bd7722b5a3d540d560cab8a1bb11b87e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:1018-1029 | crates/router/src/core/payments/transformers.rs:2565-2577 | crates/router/src/core/payments/transformers.rs:8902-8914 \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 \u0060crates/router/src/core/payments/transformers.rs:2565\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96d9faf829b7c75a1bac18605d08efa24256703b8cfcc2f48d8fd7e3d42937a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:5585-5597 | crates/router/src/core/payments/transformers.rs:7653-7665 | crates/router/src/core/payments/transformers.rs:7901-7913 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5585}}}],"partialFingerprints":{"codehealthFindingId/v1":"87150f82988de07f85b03f15b4f5ae2eda679ca4e619512f0683b42e5930b784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): crates/router/src/core/payouts.rs:2222-2233 | crates/router/src/core/payouts.rs:2476-2487 | crates/router/src/core/payouts.rs:2702-2714 \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 \u0060crates/router/src/core/payouts.rs:2222\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce566973524bc26922f5df9d0560a476af42d7f707fcecd579463ba9bb26b708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): crates/router/src/core/refunds.rs:237-247 | crates/router/src/core/refunds.rs:612-624 | crates/router/src/core/refunds.rs:1309-1321 \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 \u0060crates/router/src/core/refunds.rs:237\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e6ecb270cad333b5ee6dfb7e5c09842706b159b0f6ff8fb634b256ba2a4acc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): crates/router/src/core/routing.rs:2762-2773 | crates/router/src/core/routing/helpers.rs:2227-2239 | crates/router/src/core/routing/helpers.rs:2374-2386 \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 \u0060crates/router/src/core/routing/helpers.rs:2227\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":"crates/router/src/core/routing.rs"},"region":{"startLine":2762}}}],"partialFingerprints":{"codehealthFindingId/v1":"497f9e4d67335a1a6b6e04bb2b34210be1f376f07cb6f1f7873c757b4920b392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/core/user.rs:574-586 | crates/router/src/core/user.rs:1358-1370 | crates/router/src/core/user.rs:2250-2262 \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 \u0060crates/router/src/core/user.rs:574\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":"crates/router/src/core/user.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"7002e75d540ff6630bbfe32d4756b230005ef9f861b92c1b365d7a3a21d9f6c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/core/webhooks/outgoing.rs:1253-1266 | crates/router/src/core/webhooks/outgoing.rs:1351-1363 | crates/router/src/core/webhooks/outgoing_v2.rs:607-619 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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 \u0060crates/router/src/core/webhooks/outgoing.rs:1253\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9183db09518ec25b6c2045a1dc6052d6545f6096d95a37b2243f18530dba1d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): crates/router/src/db/refund.rs:683-695 | crates/router/src/db/refund.rs:1457-1467 | crates/router/src/db/refund.rs:1516-1526 \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, \u0060crates/router/src/db/refund.rs:696\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/db/refund.rs:1468\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":"crates/router/src/db/refund.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbeb3626692634a13725e0f08063aa00c866f2d9da9ee186bdedb01fde17acb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/routes/payment_methods.rs:1943-1955 | crates/router/src/routes/payment_methods.rs:2000-2012 | crates/router/src/routes/payment_methods.rs:2056-2068 \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 \u0060crates/router/src/routes/payment_methods.rs:1943\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"605af9b340b8255ad3eef1e3b0414db77747ff2a013208bf2d3106e6e5cba5c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): crates/router/src/routes/payments.rs:1552-1563 | crates/router/src/routes/payments.rs:4439-4451 | crates/router/src/routes/payments.rs:4514-4526 \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 \u0060crates/router/src/routes/payments.rs:1552\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d5e0d9124971a8eff3d85d315ab8bf7bead29566f22ac11e7503a16fb6c605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/routes/payouts.rs:391-403 | crates/router/src/routes/payouts.rs:468-480 | crates/router/src/routes/payouts.rs:545-557 \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 \u0060crates/router/src/routes/payouts.rs:391\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7b6bf33bbdbc0399e61dc94ab3f4874b9f5235549c28aeaf5ad35b2260af74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): crates/router/src/services/authentication.rs:1115-1127 | crates/router/src/services/authentication.rs:2887-2897 | crates/router/src/services/authentication.rs:2953-2963 \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 \u0060crates/router/src/services/authentication.rs:1115\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"efcbf2094df5f70500f5d5ab448e083dca8cadc7b129db112b31f025c8df0479"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 3): crates/router/src/services/authentication.rs:3716-3728 | crates/router/src/services/authentication.rs:6562-6574 | crates/router/src/services/authentication.rs:6624-6633 \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 \u0060crates/router/src/services/authentication.rs:3716\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3716}}}],"partialFingerprints":{"codehealthFindingId/v1":"071c8f0f4295080c1c45850e95edc6bb121eb05b7116591e846b2fd5c2d6f704"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/smithy-core/src/generator.rs:87-99 | crates/smithy-core/src/generator.rs:120-132 | crates/smithy-core/src/generator.rs:153-165 \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 \u0060crates/smithy-core/src/generator.rs:87\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":"crates/smithy-core/src/generator.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"712e1607748ec7fb914ebef91cf3cf68b9480f4af6d7dca55517c5ba79acef47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/storage_impl/src/business_profile.rs:1501-1513 | crates/storage_impl/src/business_profile.rs:1516-1528 | crates/storage_impl/src/business_profile.rs:1531-1543 \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 \u0060crates/storage_impl/src/business_profile.rs:1501\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a124f5fcd52e0cf3d872c2603dcd49121176ce70653ce7fb11840f24d5305fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): crates/storage_impl/src/connection.rs:27-38 | crates/storage_impl/src/utils.rs:149-160 | crates/storage_impl/src/utils.rs:253-265 \u2014 before extracting anything, compare \u0060crates/storage_impl/src/connection.rs\u0060 and \u0060crates/storage_impl/src/utils.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060crates/storage_impl/src/utils.rs:253\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":"crates/storage_impl/src/connection.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0de1c0e1fe4087995a112d5aa0dd3bf23c24a09da475d42f16ed498780ae053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/analytics/src/frm/metrics/frm_blocked_rate.rs:82-94 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:84-96 \u2014 before extracting anything, compare \u0060crates/analytics/src/frm/metrics/frm_blocked_rate.rs\u0060 and \u0060crates/analytics/src/frm/metrics/frm_triggered_attempts.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060crates/analytics/src/frm/metrics/frm_blocked_rate.rs:82\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, \u0060crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:83\u0060 calls \u0060attach_printable\u0060 and \u0060crates/analytics/src/frm/metrics/frm_blocked_rate.rs:81\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":"crates/analytics/src/frm/metrics/frm_blocked_rate.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d6940116e177d0dbec1607281748ffda5b92727021ce54bdbacd26b33bb53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/analytics/src/payment_intents/accumulator.rs:169-181 | crates/analytics/src/payments/accumulator.rs:307-319 \u2014 \u0060crates/analytics/src/payment_intents/accumulator.rs\u0060 and \u0060crates/analytics/src/payments/accumulator.rs\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 9 separate duplicated blocks between them, totalling at least 94 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/accumulator.rs:169\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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b7cbbd9f9a66b27fa96baaf2e09df53f9dadff2dc26f90ce8f51c98942b05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/analytics/src/payments/metrics/avg_ticket_size.rs:41-53 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:41-52 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs\u0060 and \u0060crates/analytics/src/payments/metrics/payment_processed_amount.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 130 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/analytics/src/payments/metrics/payment_processed_amount.rs:53\u0060 calls \u0060add_select_column\u0060 and \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs:53\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":"crates/analytics/src/payments/metrics/avg_ticket_size.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a8cb6e25c7211a53d9516132eaf62d4909a02258ede2b07f280ca96e0aab1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:164-176 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:156-168 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 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 \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:164\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":"crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7839668a0c343e3310681c9f8479b5cacd97d199de13c2b8e62e74bb24ba1269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:40-52 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:43-55 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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":"crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"12efdd04ca8e5ab85d56183c95ad158de9d03706402e6876ebb597415265b1ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2342-2354 | crates/api_models/src/payment_methods.rs:2372-2384 \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 \u0060crates/api_models/src/payment_methods.rs:2342\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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe20f912a4ecc4ce9c935873b099aa3f813f58097a505297377b6c4de0fbd049"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/common_utils/src/types.rs:686-698 | crates/common_utils/src/types.rs:722-733 \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 \u0060crates/common_utils/src/types.rs:686\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":"crates/common_utils/src/types.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69fb4c063d80c2b7d72185cf4cfe418f1bf61a184222a58c2847e920eaf29c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/diesel_models/src/payment_attempt.rs:3371-3383 | crates/diesel_models/src/payment_attempt.rs:3753-3764 \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 \u0060crates/diesel_models/src/payment_attempt.rs:3371\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":3371}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f896e35d7151825fde024dc35f0013693d6255c8eb65c0e4989e7d48b1df707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/euclid/src/dssa/state_machine.rs:358-370 | crates/euclid/src/dssa/state_machine.rs:490-502 \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 \u0060crates/euclid/src/dssa/state_machine.rs:358\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":"crates/euclid/src/dssa/state_machine.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"455c76863c65db0c8e8b84b17217afca01f854d6fef496628298c58c8e03d8ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3108-3119 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:2608-2620 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs\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 6 separate duplicated blocks between them, totalling at least 61 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:2608\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3108}}}],"partialFingerprints":{"codehealthFindingId/v1":"107f3fe0d43d95c40a66266cc60f819b923427c95786ced9e46e0646a642d77f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:726-738 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:803-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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:726\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AuthorizedotnetCustomerResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, AuthorizedotnetSetupMandateResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"100918766b3853f3b8c52a8edbc1269c1be46e65def6e91203378bb73f37f5c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1233-1245 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2539-2551 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1233\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0057f3ad5ae224ad4e87296fe8c204431ff0662127aafacaa8a39c2eeb108908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:219-231 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:440-451 \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 \u0060crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:219\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":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7975516c132a306594cd208d9c3f3dd8ba17cf393f0d45429787824991fd5e1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:903-915 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:163-175 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 70 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:903\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, BluesnapPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, OpayoPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f395d1a106c7b5cf52370d6a0eb6c8eb260636490a25e543e901a8f090bb4ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2758-2770 | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:189-201 \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, \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2757\u0060 calls \u0060OpenBanking\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:188\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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":2758}}}],"partialFingerprints":{"codehealthFindingId/v1":"38dfd6fd48514b196174b2991710e942cdcc52c5a16d77846a717317f4352d7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:177-189 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:986-998 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs: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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ebecd84c34f771250c10087607ded4b0dbcb2a6b1bcf3dc530a07beaa806fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:953-965 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:619-631 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:953\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 \u0060item\u0060 to \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsCompleteAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026WellsfargoRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"1314e535e429fe63f51e7a785d94666cceef4881f6ffe93ed2337a561e882109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2299-2311 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1024-1036 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f330c94ddf886701e8cd1db3ce2f4633ec113162dfba65cbf0335c87948400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:404-416 | crates/hyperswitch_connectors/src/connectors/paybox.rs:227-239 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paybox.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9c3946bf37478ee49e623bbfec95d1c14fc63eaa8523314ad4850cf92ad797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:296-313 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:378-395 \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 \u0060crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:296\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, ItaubankPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, ItaubankPaymentsSyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"264baa5c80eab53d377d73e6c03249f2f0760fe4ad515f952ad19493b66b695e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs:368-380 | crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs:489-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 \u0060crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs:368\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":"crates/hyperswitch_connectors/src/connectors/mollie/transformers.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d004f3061504a4bb5676e8b0b3bce1409aae00d5adfc3172c622e80e3e4cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei.rs:648-660 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1196-1207 \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 \u0060crates/hyperswitch_connectors/src/connectors/nuvei.rs:648\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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c9b644a049a3489e4c87cbd93cf6696546893e3890729189163d6bce140f67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1524-1536 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:1566-1578 \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 \u0060value\u0060 to \u0060\u0026types::PaymentsSyncRouterData\u0060 in one and \u0060\u0026types::PaymentsCancelPostCaptureSyncRouterData\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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"75caec6b8195ce1b8e02de2f8a4ab9e3909de5083cd5e24457456bc7be909ba8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/peachpayments.rs:151-163 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:766-778 \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 \u0060crates/hyperswitch_connectors/src/connectors/peachpayments.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/peachpayments.rs:779\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/peachpayments.rs:164\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":"crates/hyperswitch_connectors/src/connectors/peachpayments.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee4cd7bfebeb772324fd2dfcf682cb64619fb63a8338f426a207a8c49323643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:828-840 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:853-865 \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 \u0060crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:828\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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e40d50553d4fa2ecd8b9b0639f0fff3a80bdad2cc5d27515d6c5ffd3a79f383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1977-1989 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1994-2006 \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 \u0060crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1977\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc20212e943cc94fdcc533ecfad3ddca5ab161ff35de935479b049fd923f9a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/shift4.rs:404-416 | crates/hyperswitch_connectors/src/connectors/square.rs:563-575 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs:404\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":"crates/hyperswitch_connectors/src/connectors/shift4.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5c32ec9405118a57fcb3ce02018123b7168bd071ad81dd23eafc86a0968f48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1016-1028 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:1090-1102 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs: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":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"06621dab76b9cb2b5988aaf496d56af563fb3fdc64acb4ce5c75672699ffc20f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:136-148 | crates/hyperswitch_connectors/src/connectors/tsys_transit.rs:50-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. 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":"crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2861ca1337882bca416bd4779d797bbf76ae506e9a5bd8418a057491f7d9562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs:262-274 | crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs:308-320 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs:262\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 \u0060data\u0060 to \u0060\u0026PaymentsSyncRouterData\u0060 in one and \u0060\u0026PaymentsCancelRouterData\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":"crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e5f2d3b73663a4c439829d296ddb11484c6b0fc46844fb92f1c02816766ae0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2589-2601 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:4069-4081 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2589\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c638f7dcd5506fd1e2289368699a3d6ce17de2f9bbe4436c90f45c15c569e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:545-566 | crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:1086-1107 \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 \u0060crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:545\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060PaymentsCaptureResponseRouterData\u003CZiftCaptureResponse\u003E\u0060 in one and \u0060\u0026SetupMandateRouterData\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":"crates/hyperswitch_connectors/src/connectors/zift/transformers.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e25b581ed7dda998d15125463342607a83829c94b648415a7acc268cc75053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:383-395 | crates/router/src/utils.rs:670-682 \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 \u0060crates/hyperswitch_connectors/src/utils.rs:383\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"67866ba7793b14b50a5e875bdfe931a0891c9071f7774882b7264d8cef69c27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments.rs:645-657 | crates/router/src/types/transformers.rs:1917-1929 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/payments.rs\u0060 and \u0060crates/router/src/types/transformers.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060crates/hyperswitch_domain_models/src/payments.rs:645\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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7b21817888b9d4c3a48edbaa0d8e810cbc2791cdecd8adca4baba9ec3a9ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201313 lines \u00D7 2): crates/router/src/core/authentication.rs:702-710 | crates/router/src/core/authentication.rs:1085-1097 \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 \u0060crates/router/src/core/authentication.rs:1085\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":"crates/router/src/core/authentication.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca21f51808d410a922438d409ae9bac03aaa11d140ed99a160570277b59216e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/conditional_config.rs:158-170 | crates/router/src/core/surcharge_decision_config.rs:93-105 \u2014 before extracting anything, compare \u0060crates/router/src/core/conditional_config.rs\u0060 and \u0060crates/router/src/core/surcharge_decision_config.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 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 \u0060crates/router/src/core/conditional_config.rs: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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2c7c132dd5cad1e1f195ded033b0df3ec85e47424bb14b2be64959e20d37a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/router/src/core/fraud_check/flows/sale_flow.rs:131-142 | crates/router/src/core/fraud_check/flows/transaction_flow.rs:91-103 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/transaction_flow.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 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 \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs:131\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":"crates/router/src/core/fraud_check/flows/sale_flow.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8bd4ff4b3c2559dc7d3bde472030037cc3f9027e2d29469df2d2ca0ce6db82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/fraud_check/flows/sale_flow.rs:155-167 | crates/router/src/core/fraud_check/flows/transaction_flow.rs:122-134 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/transaction_flow.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 110 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":"crates/router/src/core/fraud_check/flows/sale_flow.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"19693a5b3d766935bc2cb18833c6d0debcc48d2b3f66449b3e49cf39dd3f4900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payment_method_balance.rs:360-373 | crates/router/src/core/payments/types.rs:327-339 \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 \u0060crates/router/src/core/payment_method_balance.rs:360\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":"crates/router/src/core/payment_method_balance.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d172ec88cb82b61fc146f5d0b23f500ac3b22bb7457c36d9e0360ab9592f416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payment_methods.rs:7957-7969 | crates/router/src/core/payment_methods.rs:8129-8141 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":7957}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a482ccebcef53e24f89b7d4f9209fe3ac4c1a482405a2e7bb58f9b606baa2e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:1845-1857 | crates/router/src/core/payment_methods/cards.rs:2432-2444 \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 \u0060crates/router/src/core/payment_methods/cards.rs:1845\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1845}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b68a4db4791773d9d82899b2258f436de21c322c8d87b995fde0af4a6938df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:2319-2331 | crates/router/src/core/payment_methods/cards.rs:2382-2394 \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 \u0060crates/router/src/core/payment_methods/cards.rs:2319\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":2319}}}],"partialFingerprints":{"codehealthFindingId/v1":"226518ecb9a89d702fb29655a2af49566a8db748c6e08ae7ba74f34d06c9185c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:7360-7372 | crates/router/src/core/payment_methods/cards.rs:7425-7436 \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 \u0060crates/router/src/core/payment_methods/cards.rs:7360\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":7360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2eb9f283181ead17a684bc5c5f652ba213b9bfe57397e92c5a28296385fd4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:7494-7506 | crates/router/src/core/payment_methods/cards.rs:7513-7525 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":7494}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0d66160527c6d9d02f98208635ed93abff5ace0f26ddbcdf836af5c35d23e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/router/src/core/payment_methods/migration.rs:184-195 | crates/router/src/core/payment_methods/migration.rs:301-313 \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 \u0060crates/router/src/core/payment_methods/migration.rs:184\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":"crates/router/src/core/payment_methods/migration.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba73f47a2798aa954589c302f178beb47709557fe46c2e38e2d0bb73bb8d6418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payment_methods/network_tokenization.rs:205-217 | crates/router/src/core/payment_methods/network_tokenization.rs:378-390 \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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ada48745cb6d1a4fbd5e1eea838de1b96b6ead3fa7f529b8b1794dbf4fcf39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payment_methods/network_tokenization.rs:408-420 | crates/router/src/core/payment_methods/network_tokenization.rs:454-466 \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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2cb7f97505d102732b00ef52fb4e0d6e681933eda7877afa2698e005ecfdd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments.rs:250-262 | crates/router/src/core/payments.rs:2188-2200 \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 \u0060crates/router/src/core/payments.rs:250\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":"crates/router/src/core/payments.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e46c2b444378d155be959b94005d2e60b765bd66fb02eaf2168e29a6f45d613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments.rs:12742-12754 | crates/router/src/core/payments.rs:13880-13892 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":12742}}}],"partialFingerprints":{"codehealthFindingId/v1":"1778d80d6b88a7d0503efb365a2fc820283a8a619c211399a3df9d1b85bca626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments/flows/authorize_flow.rs:1381-1393 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1299-1311 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/flows/authorize_flow.rs\u0060 and \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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 \u0060crates/router/src/core/payments/flows/authorize_flow.rs:1381\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060types::RouterData\u003CF, types::PaymentsAuthorizeData, types::PaymentsResponseData\u003E\u0060 in one and \u0060types::RouterData\u003CF, types::CompleteAuthorizeData, types::PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"1810c7b1ccefc5ed8dcc9c5372b45c0a2a3ca493c46d9a65ebfa0fd82e6c0681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:8332-8344 | crates/router/src/core/payouts/helpers.rs:1336-1348 \u2014 \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/core/payouts/helpers.rs\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 6 separate duplicated blocks between them, totalling at least 85 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments/helpers.rs:8332\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8332}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1831d045f5ccfc054aeca01b71c85665ba99c40f8afc0181c10185844b4795"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:9098-9110 | crates/router/src/core/payments/helpers.rs:9252-9264 \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9098}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b020aef9f7ccec5bed701154cc82889e1241bff8306f6523951106b7df0d083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:691-703 | crates/router/src/core/payments/operations/payment_recurrence.rs:221-233 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 191 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:691\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fcdc8aac09f8cfe3fa88f09ef60fe787b727160d75ebd23bc16e2f93149273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:945-956 | crates/router/src/core/payments/operations/payment_create.rs:518-530 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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 \u0060crates/router/src/core/payments/operations/payment_create.rs:518\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4dd6ccc08a7a89337baf6cde4b5d24bbbc4c4b4cc35250968eac268708a10d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/router/src/core/payments/operations/payment_create_intent.rs:137-149 | crates/router/src/core/payments/operations/payment_update_intent.rs:218-228 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_create_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update_intent.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060crates/router/src/core/payments/operations/payment_create_intent.rs:137\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_create_intent.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c6fe87b83dec1baf88d392a84af3734545315b46fc2a10350f62f7b8b83498"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/router/src/core/payments/operations/payment_recurrence.rs:214-226 | crates/router/src/core/payments/operations/payment_update.rs:160-170 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 51 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 \u0060crates/router/src/core/payments/operations/payment_recurrence.rs:214\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_recurrence.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edaa1980f23643ecb3583d1c937c4e1de35b32c8150864b3f72e99d3087c1cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:3323-3335 | crates/router/src/core/payments/transformers.rs:3484-3496 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a3c1d82a5a205986aabb33354e97c1b6152d4bf7233d80bc3d129f058f7768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:5887-5899 | crates/router/src/core/payments/transformers.rs:7615-7627 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5887}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bf45e643ab34db1b49c8412f48d1872a726baa08b2ab1363ba9f82f89aad1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/router/src/core/refunds.rs:823-835 | crates/router/src/core/refunds.rs:1457-1468 \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 \u0060crates/router/src/core/refunds.rs:823\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7887e28a5de319158dcf6358c7a2ce439921b2d1c96b52e0a3babe5f98f1597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/refunds.rs:1473-1485 | crates/router/src/core/refunds.rs:1904-1916 \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 \u0060crates/router/src/core/refunds.rs:1473\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"296ea602402362049833d2d48de4581285b6cb9a0f92c93de79a420ebe4ca9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/router/src/core/refunds.rs:1727-1739 | crates/router/src/core/refunds_v2.rs:1199-1210 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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 \u0060crates/router/src/core/refunds.rs:1727\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbbc34d747e1f23061a50c648d2ba1d5e9ab9d57ae96ade55704f33467a67e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/refunds.rs:2604-2616 | crates/router/src/core/refunds.rs:2764-2776 \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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb7ddb38fc7a6e416ea309044d3b2c6ab7b81bebe4790bc39527d10df3f4e34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/router/src/core/user.rs:169-181 | crates/router/src/core/user.rs:182-193 \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 \u0060crates/router/src/core/user.rs:169\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":"crates/router/src/core/user.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d497096f42d306da8e1a1ee7ec0e7408d7170b03aa395aea6e43c6d39f98dc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/user.rs:550-563 | crates/router/src/core/user.rs:2224-2236 \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 \u0060crates/router/src/core/user.rs:550\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":"crates/router/src/core/user.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6093be17386e4bd70c21b474db0c272df360ad8ad77b3e12605a504b966fd22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/user.rs:3605-3617 | crates/router/src/core/user.rs:3642-3654 \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":"crates/router/src/core/user.rs"},"region":{"startLine":3605}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ca74be768d5a60cfa39f47a8802c567ae78058ccfa49a566040bba89f02e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/utils.rs:2208-2220 | crates/router/src/core/utils.rs:2234-2246 \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 \u0060crates/router/src/core/utils.rs:2208\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":"crates/router/src/core/utils.rs"},"region":{"startLine":2208}}}],"partialFingerprints":{"codehealthFindingId/v1":"db099317332d703b3dfa39e6ffe27c7b90186f325b28970f59e68533db14d887"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/db/api_keys.rs:179-191 | crates/router/src/db/organization.rs:51-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 \u0060crates/router/src/db/api_keys.rs:179\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":"crates/router/src/db/api_keys.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"89612172e3c3ed640307cb6b3094b9c774268ec8ca366725c38a510ddf96a4b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): crates/router/src/db/user_role.rs:548-557 | crates/router/src/db/user_role.rs:620-632 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"crates/router/src/db/user_role.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"8679e3cd1601a22525c57d32ec37f8329f25b407eeb8cf9ae5fc7478ed5e8dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/routes/admin.rs:121-133 | crates/router/src/routes/admin.rs:156-168 \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 \u0060crates/router/src/routes/admin.rs:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/admin.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f12f749fb2533c220d04d38767e7b20790d74132b278996289a6d4990f32b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/routes/hierarchical_resources.rs:127-139 | crates/router/src/routes/hierarchical_resources.rs:211-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 \u0060crates/router/src/routes/hierarchical_resources.rs:127\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":"crates/router/src/routes/hierarchical_resources.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"575478b64fcc7a10902104b27e9d8ed902c50ecef488294632f7091b76c580f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/routes/payment_methods.rs:512-524 | crates/router/src/routes/payment_methods.rs:668-680 \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 \u0060crates/router/src/routes/payment_methods.rs:512\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"acab949dcddbaa3fe9e46b383d4c7c91cf782c1d8f12b7335582006a5cf6f083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/routes/payments.rs:176-188 | crates/router/src/routes/payments.rs:1035-1047 \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9602716eec3ce35913ef9a88dfad3c3855d5a737b2072b4e9ff454b0cc717bdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/router/src/routes/payments.rs:992-1003 | crates/router/src/routes/payments.rs:3547-3559 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/routes/payments.rs:991\u0060 calls \u0060Some\u0060, \u0060PaymentIntentId\u0060 and \u0060crates/router/src/routes/payments.rs:3545\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d297bd22ae6863550915c7bc715b31e2f291ef2bc6d3b83748bda1a9979a731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/routes/payments.rs:1391-1403 | crates/router/src/routes/payments.rs:2785-2797 \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 \u0060crates/router/src/routes/payments.rs:1391\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"6243573dac7fc73fd6c2c98311961aa03d5f7ef02247f9ad645fc7305fffb082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/router/src/routes/payments.rs:2101-2112 | crates/router/src/routes/payments.rs:2123-2135 \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 \u0060crates/router/src/routes/payments.rs:2101\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7d56ad912e385cf1ebcf4cd3be7696751c4219268a69533139e9a103c7a485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/routes/subscription.rs:342-354 | crates/router/src/routes/subscription.rs:503-515 \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 \u0060crates/router/src/routes/subscription.rs:342\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":"crates/router/src/routes/subscription.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e2cd3705231c1fb96bb53f7359b1a32485aebee78a2f10bbb74af64786f2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/routes/webhooks.rs:22-34 | crates/router/src/routes/webhooks.rs:144-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/webhooks.rs:22\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":"crates/router/src/routes/webhooks.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cbf5fdae51f89024ba2458f727c616b303851ebe42930973555a9870a66635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/services/authentication.rs:4064-4076 | crates/router/src/services/authentication.rs:4103-4115 \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 \u0060crates/router/src/services/authentication.rs:4064\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4064}}}],"partialFingerprints":{"codehealthFindingId/v1":"680aee202258cd197cdb54bf74808ee16ae7281e26036a5914ed15aa2b38e387"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/router/src/services/kafka/deja_record_sink.rs:217-229 | crates/router/src/services/kafka/deja_record_sink.rs:269-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/services/kafka/deja_record_sink.rs:217\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, \u0060crates/router/src/services/kafka/deja_record_sink.rs:215\u0060 calls \u0060as_deref\u0060 and \u0060crates/router/src/services/kafka/deja_record_sink.rs:268\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":"crates/router/src/services/kafka/deja_record_sink.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba9db50bd3f542fbb7a5ccfc1027f9aa6f0ea5cabea9718e56d6ad8500f732d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/types/domain/user.rs:1042-1054 | crates/router/src/types/domain/user.rs:1063-1075 \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 \u0060crates/router/src/types/domain/user.rs:1042\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 \u0060value\u0060 to \u0060user_api::SignUpWithMerchantIdRequest\u0060 in one and \u0060user_api::SignUpRequest\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":"crates/router/src/types/domain/user.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f3b85c82015fe3e9f12d0e0f3388bb7e47e044c8cd01f33f552d94817806a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/types/storage/refund.rs:326-338 | crates/router/src/types/storage/refund.rs:566-578 \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 \u0060crates/router/src/types/storage/refund.rs:326\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bc49d9ce2d847ed46e6fc7d5698d2a143e18f7980d306c2218f3909c38a4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/utils/db_utils.rs:26-38 | crates/storage_impl/src/utils.rs:313-325 \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":"crates/router/src/utils/db_utils.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"64295b7cce5f1513e0c96fa4961a3ec567e9ad1f868ffdd7313bb6a954cfc1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/workflows/payment_method_modular_backward_compat.rs:819-831 | crates/router/src/workflows/payment_method_modular_forward_compat.rs:526-538 \u2014 before extracting anything, compare \u0060crates/router/src/workflows/payment_method_modular_backward_compat.rs\u0060 and \u0060crates/router/src/workflows/payment_method_modular_forward_compat.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6e5ffe9a70b0737553843e8f6bf1bed59448c17c411b5f4adbecf310b05d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router_derive/src/macros/xss_validation.rs:172-184 | crates/router_derive/src/macros/xss_validation.rs:204-216 \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 \u0060crates/router_derive/src/macros/xss_validation.rs:172\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":"crates/router_derive/src/macros/xss_validation.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b7bf1faec13302540842367e518ab28ca522fcb24b12d94b9e962b91077c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/smithy/src/lib.rs:292-305 | crates/smithy/src/lib.rs:323-335 \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 \u0060crates/smithy/src/lib.rs:292\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":"crates/smithy/src/lib.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d0b1bab70452ff67b69ceba18094d2dfeda032c3ee097fa5bb4a994ecfa9f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/storage_impl/src/connection.rs:53-65 | crates/storage_impl/src/utils.rs:208-220 \u2014 before extracting anything, compare \u0060crates/storage_impl/src/connection.rs\u0060 and \u0060crates/storage_impl/src/utils.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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":"crates/storage_impl/src/connection.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bd676adbd94648644db9616d022b406732fa62018623398bfde525f7d5522f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:1636-1647 | crates/storage_impl/src/merchant_connector_account.rs:1668-1680 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:1636\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa80db138808c662d15d27296cf2e7f9bcd338fc3ba514b32e7621bf6e14912"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:2156-2166 | crates/storage_impl/src/payments/payment_attempt.rs:2601-2613 \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 \u0060crates/storage_impl/src/payments/payment_attempt.rs:2156\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f933d86b0f8f71e09ae5da2173ce73584a13cc42869015d29850ac587b9fff35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 88): crates/hyperswitch_connectors/src/connectors/affirm.rs:244-255 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:527-538 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:434-445 | crates/hyperswitch_connectors/src/connectors/authipay.rs:281-292 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:305-316 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:697-708 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:325-336 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:400-411 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:751-762 | crates/hyperswitch_connectors/src/connectors/boku.rs:259-270 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:239-250 | crates/hyperswitch_connectors/src/connectors/calida.rs:234-245 | crates/hyperswitch_connectors/src/connectors/celero.rs:250-261 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:224-235 | crates/hyperswitch_connectors/src/connectors/citigate.rs:232-243 | crates/hyperswitch_connectors/src/connectors/coingate.rs:226-237 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:217-228 | crates/hyperswitch_connectors/src/connectors/d24.rs:228-239 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:335-346 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:403-414 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:273-284 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:256-267 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:540-551 | crates/hyperswitch_connectors/src/connectors/elavon.rs:190-201 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:261-272 | crates/hyperswitch_connectors/src/connectors/envoy.rs:335-346 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:251-262 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:395-406 | crates/hyperswitch_connectors/src/connectors/finix.rs:513-524 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:239-250 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:319-330 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:350-361 | crates/hyperswitch_connectors/src/connectors/forte.rs:253-264 | crates/hyperswitch_connectors/src/connectors/getnet.rs:262-273 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:280-291 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:232-243 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:252-263 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:492-503 | crates/hyperswitch_connectors/src/connectors/helcim.rs:346-357 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:222-233 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:231-242 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:373-384 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:232-243 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:251-262 | crates/hyperswitch_connectors/src/connectors/inespay.rs:240-251 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:369-380 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:272-283 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:286-297 | crates/hyperswitch_connectors/src/connectors/katapult.rs:233-244 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1176-1187 | crates/hyperswitch_connectors/src/connectors/loonio.rs:252-263 | crates/hyperswitch_connectors/src/connectors/merchante.rs:251-262 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:282-293 | crates/hyperswitch_connectors/src/connectors/mollie.rs:448-459 | crates/hyperswitch_connectors/src/connectors/moneris.rs:358-369 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:230-241 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:308-319 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:682-693 | crates/hyperswitch_connectors/src/connectors/nordea.rs:914-925 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:386-397 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:884-895 | crates/hyperswitch_connectors/src/connectors/payconex.rs:232-243 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:272-283 | crates/hyperswitch_connectors/src/connectors/payload.rs:503-514 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:233-244 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:498-509 | crates/hyperswitch_connectors/src/connectors/paystack.rs:224-235 | crates/hyperswitch_connectors/src/connectors/paytm.rs:222-233 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:382-393 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:222-233 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:215-226 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:233-244 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:361-372 | crates/hyperswitch_connectors/src/connectors/sift.rs:230-241 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:336-347 | crates/hyperswitch_connectors/src/connectors/stax.rs:413-424 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:310-321 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:437-448 | crates/hyperswitch_connectors/src/connectors/thunes.rs:219-230 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:376-387 | crates/hyperswitch_connectors/src/connectors/trustly.rs:234-245 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:308-319 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:765-776 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:232-243 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:344-355 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:432-443 | crates/hyperswitch_connectors/src/connectors/zift.rs:322-333 | crates/hyperswitch_connectors/src/connectors/zsl.rs:190-201 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 as WHOLE FILES: this scan already matched 8 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 \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs:244\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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6fdfe7a16dd1ce6ccfd5c6a41bc1e9dee828ab826e6490ae9e6139296d7e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 66): crates/analytics/src/api_event/metrics/latency.rs:56-69 | crates/analytics/src/api_event/metrics/status_code_count.rs:57-70 | crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:53-67 | crates/analytics/src/auth_events/metrics/authentication_count.rs:50-64 | crates/analytics/src/auth_events/metrics/authentication_error_message.rs:52-66 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:50-64 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:50-64 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:53-67 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:51-65 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:51-65 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:51-65 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:51-65 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:51-65 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:51-65 | crates/analytics/src/disputes/metrics/dispute_status_metric.rs:55-67 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:55-67 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:54-66 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:54-66 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:53-65 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:53-65 | crates/analytics/src/frm/metrics/frm_blocked_rate.rs:53-65 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:48-60 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:55-67 | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:69-83 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:58-71 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:55-67 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:70-82 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:63-76 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:62-75 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:67-78 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:60-72 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:57-69 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:63-74 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:60-72 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:57-69 | crates/analytics/src/payments/distribution/payment_error_message.rs:57-69 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:58-70 | crates/analytics/src/payments/metrics/connector_success_rate.rs:57-69 | crates/analytics/src/payments/metrics/debit_routing.rs:60-71 | crates/analytics/src/payments/metrics/payment_count.rs:51-63 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:54-65 | crates/analytics/src/payments/metrics/payment_success_count.rs:52-64 | crates/analytics/src/payments/metrics/retries_count.rs:59-71 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:59-71 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:58-70 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:60-71 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:87-101 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:52-64 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:67-79 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:53-65 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:60-71 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:59-71 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:55-67 | crates/analytics/src/payments/metrics/success_rate.rs:54-66 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:58-70 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:57-69 | crates/analytics/src/refunds/metrics/refund_count.rs:51-63 | crates/analytics/src/refunds/metrics/refund_processed_amount.rs:56-67 | crates/analytics/src/refunds/metrics/refund_success_count.rs:55-67 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:56-68 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:52-64 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:83-97 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:63-74 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:82-96 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:55-67 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:56-68 \u2014 before extracting anything, compare \u0060crates/analytics/src/api_event/metrics/latency.rs\u0060 and \u0060crates/analytics/src/api_event/metrics/status_code_count.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 \u0060crates/analytics/src/api_event/metrics/latency.rs:56\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, \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:62\u0060 calls \u0060add_select_column\u0060 and \u0060crates/analytics/src/api_event/metrics/latency.rs:55\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":"crates/analytics/src/api_event/metrics/latency.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9757dca9486a5f87a96c2f2de734e0eb0bed9bfeb5d5e3021e38d5dacf901c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 64): crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:139-150 | crates/analytics/src/auth_events/metrics/authentication_count.rs:126-137 | crates/analytics/src/auth_events/metrics/authentication_error_message.rs:144-155 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:129-140 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:130-141 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:136-147 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:130-141 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:140-151 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:132-143 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:137-148 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:133-144 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:137-148 | crates/analytics/src/disputes/metrics/dispute_status_metric.rs:104-115 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:104-115 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:105-115 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:106-116 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:104-114 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:105-115 | crates/analytics/src/frm/metrics/frm_blocked_rate.rs:100-111 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:102-112 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:118-129 | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:146-157 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:122-133 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:118-129 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:148-159 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:130-141 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:131-142 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:143-154 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:128-139 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:123-134 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:135-146 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:128-139 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:123-134 | crates/analytics/src/payments/distribution/payment_error_message.rs:170-181 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:132-143 | crates/analytics/src/payments/metrics/connector_success_rate.rs:127-138 | crates/analytics/src/payments/metrics/debit_routing.rs:138-149 | crates/analytics/src/payments/metrics/payment_count.rs:118-128 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:132-143 | crates/analytics/src/payments/metrics/payment_success_count.rs:125-136 | crates/analytics/src/payments/metrics/retries_count.rs:122-133 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:133-144 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:128-139 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:138-149 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:195-206 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:119-129 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:150-161 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:126-137 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:129-140 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:122-133 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:122-133 | crates/analytics/src/payments/metrics/success_rate.rs:121-132 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:160-171 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:152-163 | crates/analytics/src/refunds/metrics/refund_count.rs:107-117 | crates/analytics/src/refunds/metrics/refund_processed_amount.rs:115-125 | crates/analytics/src/refunds/metrics/refund_success_count.rs:110-121 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:105-116 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:108-118 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:175-186 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:123-133 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:167-178 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:110-121 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:105-116 \u2014 before extracting anything, compare \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs\u0060 and \u0060crates/analytics/src/auth_events/metrics/authentication_count.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 188 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 \u0060crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs: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. 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":"crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff7a507d86ee56613e3abb58d54cf83692be758e02e2adb2a79708fd1f494c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 11): crates/router/src/services/authentication.rs:4207-4218 | crates/router/src/services/authentication.rs:4344-4355 | crates/router/src/services/authentication.rs:4433-4444 | crates/router/src/services/authentication.rs:4528-4539 | crates/router/src/services/authentication.rs:4616-4626 | crates/router/src/services/authentication.rs:4700-4711 | crates/router/src/services/authentication.rs:4770-4781 | crates/router/src/services/authentication.rs:4863-4874 | crates/router/src/services/authentication.rs:4967-4978 | crates/router/src/services/authentication.rs:5080-5091 | crates/router/src/services/authentication.rs:5173-5184 \u2014 all 11 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 before the matched lines, \u0060crates/router/src/services/authentication.rs:4525\u0060 calls \u0060get_role_info\u0060, \u0060check_permission\u0060 and \u0060crates/router/src/services/authentication.rs:4205\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4207}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed031f61e04493c134f2661f922660f4e0dcea0c8ca968a436c97e28ac371b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 10): crates/analytics/src/payments/metrics/connector_success_rate.rs:94-105 | crates/analytics/src/payments/metrics/payment_count.rs:85-96 | crates/analytics/src/payments/metrics/retries_count.rs:89-100 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:95-106 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:162-173 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:86-97 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:96-107 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:89-100 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:89-100 | crates/analytics/src/payments/metrics/success_rate.rs:88-99 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs\u0060 and \u0060crates/analytics/src/payments/metrics/payment_count.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 161 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 \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs:108\u0060 calls \u0060clone\u0060 and \u0060crates/analytics/src/payments/metrics/payment_count.rs:98\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":"crates/analytics/src/payments/metrics/connector_success_rate.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad8f7145f80ed259c429f2ada06f1b62e235bc0d2ac095680f24b97fdde65f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/billwerk.rs:225-236 | crates/hyperswitch_connectors/src/connectors/finix.rs:220-231 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:306-317 | crates/hyperswitch_connectors/src/connectors/mollie.rs:200-211 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:112-123 | crates/hyperswitch_connectors/src/connectors/square.rs:242-253 | crates/hyperswitch_connectors/src/connectors/stax.rs:301-312 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:114-125 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/billwerk.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/finix.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 81 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026TokenizationRouterData\u0060 in one and \u0060\u0026RouterData\u003CPaymentMethodToken, PaymentMethodTokenizationData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcde83ee7c537394e346d8279e8f5d6b9398302574690f281663b118b60dd9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:182-193 | crates/router/src/core/payments/operations/payment_attempt_record.rs:130-141 | crates/router/src/core/payments/operations/payment_capture_v2.rs:158-169 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:170-183 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:308-321 | crates/router/src/core/payments/operations/payment_get.rs:168-179 | crates/router/src/core/payments/operations/payment_session_intent.rs:131-144 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:161-172 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_attempt_record.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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, \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:180\u0060 calls \u0060into\u0060 and \u0060crates/router/src/core/payments/operations/payment_capture_v2.rs:156\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7280fa3590420640446d3c3964a5a5d4184b5099f270b4aa6f0b7786ab27f81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 7): crates/router/src/core/fraud_check/flows/fulfillment_flow.rs:77-87 | crates/router/src/core/utils.rs:796-807 | crates/router/src/core/utils.rs:1267-1277 | crates/router/src/core/utils.rs:1386-1396 | crates/router/src/core/utils.rs:1503-1513 | crates/router/src/core/utils.rs:1703-1713 | crates/router/src/core/utils.rs:1961-1971 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/fulfillment_flow.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 99 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":"crates/router/src/core/fraud_check/flows/fulfillment_flow.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"340777fd3f4c72525d11b7b781b563f51a12e86322b05ce32801dd592a132d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): crates/analytics/src/refunds/metrics/refund_count.rs:85-96 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:83-94 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:86-97 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:153-164 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:145-156 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:83-94 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/refund_count.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/refund_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 114 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 \u0060crates/analytics/src/refunds/metrics/refund_count.rs:85\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, \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:167\u0060 calls \u0060clone\u0060 and \u0060crates/analytics/src/refunds/metrics/refund_count.rs:98\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":"crates/analytics/src/refunds/metrics/refund_count.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"003673f4a98d136b135c24e537913babf1017dc8cae955432b0d4098dc3a2851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:688-699 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:943-954 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:1035-1046 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:308-319 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:459-470 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:515-526 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:688\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 \u0060item\u0060 to \u0060\u0026DeutschebankRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, GlobepaySyncResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"2548ad761f58f3eaaafad57bd4fe8479aae9205a642550c0eb5bce278fee36ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): crates/router/src/analytics.rs:696-707 | crates/router/src/analytics.rs:943-954 | crates/router/src/analytics.rs:1099-1110 | crates/router/src/analytics.rs:1315-1326 | crates/router/src/analytics.rs:2989-3000 | crates/router/src/analytics.rs:3161-3172 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/analytics.rs:696\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":"crates/router/src/analytics.rs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bf82a0e42e43b1677d8cd64808f08e2cdc5e57777ec126056b0373d3815d84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): crates/router/src/core/payment_methods/network_tokenization.rs:156-166 | crates/router/src/core/payment_methods/network_tokenization.rs:328-338 | crates/router/src/core/payment_methods/network_tokenization.rs:583-594 | crates/router/src/core/payment_methods/network_tokenization.rs:863-874 | crates/router/src/core/payment_methods/network_tokenization.rs:931-942 | crates/router/src/core/payment_methods/network_tokenization.rs:1091-1102 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/network_tokenization.rs:156\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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e68528f75d9fdda127ddceaaaed5b1d9c0de482cf426e72f4b87718d9450312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 6): crates/router/src/core/payments/flows/authorize_flow.rs:1779-1790 | crates/router/src/core/payments/flows/authorize_flow.rs:1922-1932 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:863-873 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1014-1024 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1130-1140 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1268-1278 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/flows/authorize_flow.rs\u0060 and \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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 \u0060crates/router/src/core/payments/flows/authorize_flow.rs:1779\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"b033960b838f96b5da46b69c46342011ec83ef6dceeceba97f248ed791de0eca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): crates/router/src/core/payouts.rs:2012-2023 | crates/router/src/core/payouts.rs:2228-2239 | crates/router/src/core/payouts.rs:2482-2493 | crates/router/src/core/payouts.rs:2992-3003 | crates/router/src/core/payouts.rs:3135-3146 | crates/router/src/core/payouts.rs:3346-3357 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payouts.rs:2012\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4e0c6d6cbdfe7c6a41318189765920934095fcbcb222c016d5834147ca119e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:126-137 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:120-131 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:146-157 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:123-134 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:127-138 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:126\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feeb820aeadb9cb0dcc2ea68ee0b31b94724007b7096fbb8393adc9315d735a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1659-1669 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:256-267 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1810-1821 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1932-1943 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2058-2069 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"097ffac681d1937d8779c7017f9f0532e3fea97700319e6d6e8e7e1fa3436f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:64-75 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:171-182 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:402-413 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:476-487 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:662-673 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs\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 15 separate duplicated blocks between them, totalling at least 145 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:76\u0060 calls \u0060GooglePay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:414\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":"crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28bb18576ac8aaa4927ed4eeca9a641c5c66d16aef10b71d7328497a484613b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): crates/router/src/core/payment_methods.rs:5617-5628 | crates/router/src/core/payment_methods.rs:5776-5787 | crates/router/src/core/payment_methods/vault.rs:2775-2786 | crates/router/src/core/payment_methods/vault.rs:3323-3334 | crates/router/src/core/payment_methods/vault.rs:3466-3477 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods.rs\u0060 and \u0060crates/router/src/core/payment_methods/vault.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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 \u0060crates/router/src/core/payment_methods.rs:5617\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5617}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d6dc70e7969996dff43117173353eb00cc5cb509ac6e83b09eb94fc4387da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): crates/router/src/core/payment_methods/network_tokenization.rs:179-190 | crates/router/src/core/payment_methods/network_tokenization.rs:261-272 | crates/router/src/core/payment_methods/network_tokenization.rs:351-362 | crates/router/src/core/payment_methods/network_tokenization.rs:546-557 | crates/router/src/core/payment_methods/network_tokenization.rs:607-618 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"49211523971d282ed865fc8e9b15ff914e40bb8df1ae9be88c4e4a589465c5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:324-335 | crates/router/src/core/payments/operations/payment_capture_v2.rs:242-253 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:436-447 | crates/router/src/core/payments/operations/payment_get.rs:271-282 | crates/router/src/core/payments/operations/payment_session_intent.rs:241-251 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_capture_v2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cf95e642189ed3eebb45779c3f1642abef985bffc6e4e62940757d51c65d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): crates/router/src/core/payments/operations/payment_cancel.rs:232-243 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:173-184 | crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:155-166 | crates/router/src/core/payments/operations/payment_capture.rs:280-291 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:167-178 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"4855ebe00218c1883ea9d5ea8abbf41afac8929424a735ee3eb1326e253035d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): crates/router/src/routes/payment_methods.rs:298-309 | crates/router/src/routes/payment_methods.rs:350-361 | crates/router/src/routes/payment_methods.rs:401-412 | crates/router/src/routes/payment_methods.rs:965-976 | crates/router/src/routes/payment_methods.rs:1749-1760 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/payment_methods.rs:298\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58cd643c93225ed2746516e1c7d14952522560da0ea17bbdab85686fd6e6f89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 5): crates/router/src/services/authentication.rs:4009-4020 | crates/router/src/services/authentication.rs:5075-5086 | crates/router/src/services/authentication.rs:5170-5179 | crates/router/src/services/authentication.rs:5283-5294 | crates/router/src/services/authentication.rs:5366-5377 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/services/authentication.rs:4009\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, \u0060crates/router/src/services/authentication.rs:5170\u0060 calls \u0060get_role_info\u0060 and \u0060crates/router/src/services/authentication.rs:4009\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4009}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b3ea74b279659965440d10967a0d6209f17b6c837dac286ed98e007da96a67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): crates/storage_impl/src/utils.rs:155-166 | crates/storage_impl/src/utils.rs:188-199 | crates/storage_impl/src/utils.rs:215-226 | crates/storage_impl/src/utils.rs:260-271 | crates/storage_impl/src/utils.rs:288-299 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/storage_impl/src/utils.rs:155\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":"crates/storage_impl/src/utils.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d6c423877e8bcc095872f294a1551c1b27473e9411576b692d5d8091f1f4b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:77-88 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:77-88 | crates/analytics/src/sdk_events/metrics/average_payment_time.rs:79-91 | crates/analytics/src/sdk_events/metrics/load_time.rs:79-91 \u2014 before extracting anything, compare \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/total_smart_retries.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 179 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 \u0060crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:77\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":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc6f47d16d774290e659454fe30cbede8b47386a3e9e2896bb65820ac5104e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/airwallex.rs:245-256 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:183-194 | crates/hyperswitch_connectors/src/connectors/payload.rs:162-173 | crates/hyperswitch_connectors/src/connectors/stripe.rs:335-346 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4908772f1d42d2351dc241e06cb92e7ed8299eb4230615ebb08cefef914b1f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2090-2101 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3090-3101 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:5029-5040 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:2186-2197 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026BankOfAmericaRouterData\u003C\u0026RefundsRouterData\u003CF\u003E\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026RefundsRouterData\u003CF\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b57ff82efbd77e5f34fbf4081efdad4a4618eaf99128e1dd32a7d67706999b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1502-1513 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1567-1578 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2049-2060 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2267-2278 \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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1502\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"762c12317dd08e9006c37c90963a1bc9a35d04288bdf19a8c2953a2c32a8adc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/cybersource.rs:2180-2191 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1517-1528 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1296-1307 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1251-1262 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 130 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:2180\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46518663b7c4613991d39107ea08b3804af0422952f92e38378055e734aa18d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2803-2814 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3006-3017 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3087-3098 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4112-4123 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2803\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, \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3004\u0060 calls \u0060NetworkToken\u0060, \u0060CardDetailsForNetworkTransactionId\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2802\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2803}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7c12b92201d6c727d9a2afd2f7cbc5f17b6e10a1883874111bef928a298a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/fiserv.rs:402-413 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:508-517 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:646-655 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:865-876 \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 \u0060crates/hyperswitch_connectors/src/connectors/fiserv.rs:402\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":"crates/hyperswitch_connectors/src/connectors/fiserv.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad6c185c8087be378bbe10c578bcfd996e6d3ec497cf2252ea9619b8f2dad3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/moneris.rs:236-246 | crates/hyperswitch_connectors/src/connectors/payu.rs:298-309 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:318-328 | crates/hyperswitch_connectors/src/connectors/volt.rs:251-261 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/moneris.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payu.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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":"crates/hyperswitch_connectors/src/connectors/moneris.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"81be049345cc717a60b8ad8de31f47e6dc834c582ea3bb4f34c2d8694644a6e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:416-427 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:490-501 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:676-687 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:429-440 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 69 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:441\u0060 calls \u0060Neteller\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:428\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":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b32e4b6f2f88a5f8311307abb35b037fd66d6e2de12bab10daae19034238f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:2575-2586 | crates/hyperswitch_connectors/src/utils.rs:2948-2959 | crates/hyperswitch_domain_models/src/router_request_types.rs:2053-2064 | crates/hyperswitch_domain_models/src/router_request_types.rs:2082-2093 \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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96882aa2375ce0dcec670b6abdfb0e1b817a9fa71816597d4d6c3fb01e93463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:309-320 | crates/router/src/core/payments/operations/payment_session.rs:311-322 | crates/router/src/core/payments/operations/payment_update_metadata.rs:337-348 | crates/router/src/core/payments/operations/tax_calculation.rs:494-505 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 174 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 \u0060crates/router/src/core/payments/operations/payment_update_metadata.rs: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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"751339f3940b9dde00be4088abf99f6f4db416982a7247577604eff4928f164b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/router/src/core/relay.rs:193-204 | crates/router/src/core/relay.rs:325-336 | crates/router/src/core/relay.rs:464-475 | crates/router/src/core/relay.rs:597-608 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/relay.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"db591d0f0051f830baba3000a97870ccfbe37d86d935e468095ee1043e236ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/router/src/core/user/theme.rs:32-43 | crates/router/src/core/user/theme.rs:153-164 | crates/router/src/core/user/theme.rs:309-320 | crates/router/src/core/user/theme.rs:585-596 \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 \u0060crates/router/src/core/user/theme.rs: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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"872bd346fc3a7da2f7ad17d909b4d9c1188c0376a7363f3d304597603872559d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/router/src/routes/hierarchical_resources.rs:80-91 | crates/router/src/routes/hierarchical_resources.rs:125-136 | crates/router/src/routes/hierarchical_resources.rs:167-178 | crates/router/src/routes/hierarchical_resources.rs:209-220 \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 \u0060crates/router/src/routes/hierarchical_resources.rs: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060json_payload\u0060 to \u0060web::Json\u003Capi_resources::GenerateHierarchicalResourceRequest\u003E\u0060 in one and \u0060web::Json\u003Capi_resources::ListHierarchicalResourcesRequest\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/routes/hierarchical_resources.rs:137\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/routes/hierarchical_resources.rs:92\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":"crates/router/src/routes/hierarchical_resources.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b3bd03a27a29ad8108d2e4e50c27abb8b00021eeda9daeb84306604257f485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/storage_impl/src/business_profile.rs:1500-1511 | crates/storage_impl/src/business_profile.rs:1515-1526 | crates/storage_impl/src/business_profile.rs:1530-1541 | crates/storage_impl/src/business_profile.rs:1545-1556 \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 \u0060crates/storage_impl/src/business_profile.rs:1500\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf103089e223ddacf1a64c79aa3f3cb0f3b0be17875849fde6d4b903a9b84aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 4): crates/storage_impl/src/merchant_connector_account.rs:462-473 | crates/storage_impl/src/merchant_connector_account.rs:518-529 | crates/storage_impl/src/merchant_connector_account.rs:671-681 | crates/storage_impl/src/merchant_connector_account.rs:963-973 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:462\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c626aaeaa354402e7bffb4d718082b4e76c00d1383309f4e6d5852640aa364c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/api_models/src/admin.rs:1206-1217 | crates/api_models/src/admin.rs:1348-1359 | crates/api_models/src/admin.rs:2212-2223 \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. 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":"crates/api_models/src/admin.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b33033bd4953944f77d3f46d794946dbb20b4b360e4a828abb176307e1783e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/api_models/src/payment_methods.rs:2499-2510 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4585-4596 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4669-4680 \u2014 before extracting anything, compare \u0060crates/api_models/src/payment_methods.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060CardDetailFromLocker\u0060 in one and \u0060payment_methods::CardDetailsPaymentMethod\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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46e58529bd3d718810faf1ebe2fd9e0019e75a8631b26deb7aa0e4d528063d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/common_types/src/payments.rs:800-811 | crates/common_types/src/payments.rs:956-967 | crates/common_types/src/payments.rs:975-986 \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. 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":"crates/common_types/src/payments.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dba3ce8efdef8111b5590c73e8468550a42ba4e85ef730ee403315c63714b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1315-1326 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1561-1572 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1732-1743 \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. 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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e4341ce056368b9ee104bbb73271164792e1d9df5fd4037ba12b8462ba28ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1829-1839 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2303-2314 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1028-1039 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1829\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d883a2bba71fba085a07a8b8cdc0ba1f3cdae29f4ab86f36f0e51f3baf5438d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs:82-93 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:698-709 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:284-295 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs\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 5 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":"crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4424a0430fc95a535e872c583a97fa81676119496334a215d0c0811a56ca276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs:64-75 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs:64-75 | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs:84-95 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs\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 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs:64\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 \u0060item\u0060 to \u0060\u0026CustombillingRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026JuspaythreedsserverRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"221b77f5807330d265c915be1813a95cfa0f3a36c6e870b6cc6881f5c9acf149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:176-187 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:985-996 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1427-1438 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:176\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"857c13094145f42f152609d05381eedb57da91233bdad48f7317526d3389720f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1760-1771 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1885-1896 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2010-2021 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1760\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8398ac5b610bf855860e385d64cb7ac0c5a8c9abebdca2f435febcd55cd54b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/dwolla.rs:333-344 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:559-570 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:760-771 \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":"crates/hyperswitch_connectors/src/connectors/dwolla.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb621865d56683ccf3648e3261d6efeffb4d70f10413140ff893c9d89ad6b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/finix.rs:532-543 | crates/hyperswitch_connectors/src/connectors/finix.rs:713-724 | crates/hyperswitch_connectors/src/connectors/finix.rs:798-809 \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 \u0060crates/hyperswitch_connectors/src/connectors/finix.rs:532\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":"crates/hyperswitch_connectors/src/connectors/finix.rs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c40742a75a4ad23dbbb5c3a47655a85b1b6b03ffda25612b5ed1d7eecdd951b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1462-1473 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1588-1599 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1750-1761 \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 \u0060crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1462\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5007f588f162dc7f73950e76eb367a1c87dc417ccf31bc0b10e083b1f29e1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpay/payout_transformers.rs:52-63 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:740-751 | crates/hyperswitch_connectors/src/connectors/worldpaymodular/transformers.rs:228-239 \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":"crates/hyperswitch_connectors/src/connectors/worldpay/payout_transformers.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a2a6b0ba9f102fddce0201e72f23658daafe5f3db71bfbd00116f894c4541c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:228-238 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:656-667 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:743-754 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026SetupMandateRouterData\u0060 in one and \u0060\u0026PaymentsCancelRouterData\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f55413ca691774c6bbc961a3051a7ff0b885a58da4d7cc666aaa4dfb033aa62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): crates/hyperswitch_domain_models/src/router_data.rs:1565-1575 | crates/hyperswitch_domain_models/src/router_data.rs:2154-2164 | crates/hyperswitch_domain_models/src/router_data.rs:2693-2704 \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 \u0060crates/hyperswitch_domain_models/src/router_data.rs:1565\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, \u0060crates/hyperswitch_domain_models/src/router_data.rs:1576\u0060 calls \u0060Some\u0060, \u0060zero\u0060 and \u0060crates/hyperswitch_domain_models/src/router_data.rs:2705\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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d1a7b1eb94af72de45b8a5f8a1f1f5f9de8d5ac3c0362639208fb6562cbb56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/analytics.rs:1483-1494 | crates/router/src/analytics.rs:1552-1563 | crates/router/src/analytics.rs:2873-2884 \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 \u0060crates/router/src/analytics.rs:1483\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 \u0060json_payload\u0060 to \u0060web::Json\u003CGetAuthEventFilterRequest\u003E\u0060 in one and \u0060web::Json\u003CGetPaymentFiltersRequest\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/analytics.rs"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc9822108f2dfa38355174f76a51292e421bbdee0bfdf18a3705d13c7e4bfee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/core/analytics_report.rs:480-491 | crates/router/src/workflows/blocklist_export.rs:255-266 | crates/router/src/workflows/blocklist_profile_clone.rs:167-178 \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 \u0060crates/router/src/core/analytics_report.rs:480\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 \u0060tracking_data\u0060 to \u0060\u0026AnalyticsReportTrackingData\u0060 in one and \u0060\u0026storage::BlocklistProfileCloneTrackingData\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":"crates/router/src/core/analytics_report.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee15713133c81ed0714d15971867737f7ab3c8adad1e47938d0ea1d723f1da3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): crates/router/src/core/fraud_check/flows/record_return.rs:62-71 | crates/router/src/core/fraud_check/flows/sale_flow.rs:59-70 | crates/router/src/core/fraud_check/flows/transaction_flow.rs:67-76 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/record_return.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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":"crates/router/src/core/fraud_check/flows/record_return.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"717f3f355e180d52439500f91c3f62952cf573efb045c6aa7e4c49d8e8680eec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:85-96 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:85-96 | crates/router/src/core/payments/operations/tax_calculation.rs:102-113 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 195 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 \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:85\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, \u0060crates/router/src/core/payments/operations/tax_calculation.rs:115\u0060 calls \u0060get_required_value\u0060, \u0060get_total_amount\u0060, \u0060into\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:98\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":"crates/router/src/core/payments/operations/payment_cancel_post_capture.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0e9797c35cf3ea269952f4ca8150b62bc22caeb2fc55aa97a778863102f667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/core/payments/operations/payment_confirm.rs:2839-2850 | crates/router/src/core/payments/operations/payment_recurrence.rs:557-568 | crates/router/src/core/payments/operations/payment_reject.rs:265-276 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 191 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2839}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5bc67c654a77280ee1a2e93c0502d9b56571774184688ca83e302a32601d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:89-98 | crates/router/src/core/payments/operations/payment_update_metadata.rs:87-96 | crates/router/src/core/payments/operations/tax_calculation.rs:106-117 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update_metadata.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 218 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 \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs:89\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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2640da6e85e3b6d25e53ee30a1b962f677940c2c5504e995c9207cb17a722e99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/core/payments/tokenization.rs:487-500 | crates/router/src/core/payments/tokenization.rs:550-561 | crates/router/src/core/payments/tokenization.rs:963-976 \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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8914dedc3af4ac2ebf19865c0fce299547226df7456505a564326ca0723239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/core/payouts.rs:2211-2222 | crates/router/src/core/payouts.rs:2465-2476 | crates/router/src/core/payouts.rs:3118-3129 \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 \u0060crates/router/src/core/payouts.rs:2211\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee65c27cf91b554a534a10caa8a8ef70a62c4e2d0b8bd73a863803a8eb9a8bda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/core/unified_connector_service.rs:3631-3642 | crates/router/src/core/unified_connector_service.rs:3843-3854 | crates/router/src/core/unified_connector_service.rs:3884-3895 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060response\u0060 to \u0060PaymentServiceAuthorizeResponse\u0060 in one and \u0060payments_grpc::PaymentServiceSetupRecurringResponse\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":3631}}}],"partialFingerprints":{"codehealthFindingId/v1":"3862b5e116eac7ad8d29671f3b899092c1bda608558d5401fcea2f94abf5e473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/core/unified_connector_service/transformers.rs:5938-5949 | crates/router/src/core/unified_connector_service/transformers.rs:5976-5987 | crates/router/src/core/unified_connector_service/transformers.rs:6012-6023 \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 \u0060crates/router/src/core/unified_connector_service/transformers.rs:5938\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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":5938}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f4fbf764b103d153b9c1fd02294ec48f58784290e84a611149d2f7a16af4e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/core/webhooks/incoming.rs:1109-1120 | crates/router/src/core/webhooks/incoming.rs:3225-3236 | crates/router/src/core/webhooks/incoming.rs:3469-3480 \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 \u0060crates/router/src/core/webhooks/incoming.rs:1109\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1930056cc0d40c1dd4b76f48346260bbfa027533ea0c92f9b5f409e2d84f0814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/db/user_role.rs:327-338 | crates/router/src/db/user_role.rs:426-437 | crates/router/src/db/user_role.rs:492-503 \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":"crates/router/src/db/user_role.rs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5caeb85e4a6b82e76a2da2de10a140c96652fc598423353c09f4c1a3604b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/routes/admin.rs:667-678 | crates/router/src/routes/admin.rs:949-960 | crates/router/src/routes/admin.rs:1217-1228 \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 \u0060crates/router/src/routes/admin.rs:667\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccb12a5e63a83dbf02b6d18b2100c53169f1c6038fb4b74daf1d04ac6e128d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): crates/router/src/routes/app.rs:2941-2951 | crates/router/src/routes/app.rs:2990-3000 | crates/router/src/routes/app.rs:3093-3104 \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 \u0060crates/router/src/routes/app.rs:2941\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, \u0060crates/router/src/routes/app.rs:3092\u0060 calls \u0060service\u0060, \u0060resource\u0060, \u0060route\u0060 and \u0060crates/router/src/routes/app.rs:2940\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":"crates/router/src/routes/app.rs"},"region":{"startLine":2941}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc447ca2a96805c302290c1476d7b0dca25d1378916b7dabdcc1ac25a6ed5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/routes/routing.rs:74-85 | crates/router/src/routes/routing.rs:362-373 | crates/router/src/routes/routing.rs:404-415 \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 \u0060crates/router/src/routes/routing.rs:74\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6478894e011a6f2dcf005c086da16f9a031f01b5c71e0411a084acf37354dc24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/routes/routing.rs:723-734 | crates/router/src/routes/routing.rs:850-861 | crates/router/src/routes/routing.rs:1239-1250 \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 \u0060crates/router/src/routes/routing.rs:723\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a94840720a16b424810e8764f8b71ccae0741a9c0e740e0eb259a3e198c975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u201312 lines \u00D7 4): crates/router/src/types/storage/refund.rs:158-169 | crates/router/src/types/storage/refund.rs:239-250 | crates/router/src/types/storage/refund.rs:318-329 | crates/router/src/types/storage/refund.rs:558-562 \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 \u0060crates/router/src/types/storage/refund.rs:158\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/types/storage/refund.rs:173\u0060 calls \u0060apply_pagination\u0060 and \u0060crates/router/src/types/storage/refund.rs:333\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a58adca7a8cf73c39ff56bbebc3277636cb4858ef17c72cebf90af50eb2ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 3): crates/router/src/types/storage/refund.rs:173-182 | crates/router/src/types/storage/refund.rs:254-263 | crates/router/src/types/storage/refund.rs:404-415 \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 \u0060crates/router/src/types/storage/refund.rs:173\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eba438a4ae15bc2d12a84bff60359698547770b436c6143f2fef43667d1bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): crates/router/src/types/transformers.rs:1033-1044 | crates/router/src/types/transformers.rs:1108-1119 | crates/router/src/types/transformers.rs:1181-1191 \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 \u0060crates/router/src/types/transformers.rs:1033\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060domain::MerchantConnectorAccount\u0060 in one and \u0060domain::MerchantConnectorAccountWithoutEncrypted\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c7b24d3e35845caedf3232044b71ecc7235ef2414a1ee2aa51cd56eeb6ed05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/analytics/src/clickhouse.rs:598-609 | crates/analytics/src/sqlx.rs:1569-1580 \u2014 before extracting anything, compare \u0060crates/analytics/src/clickhouse.rs\u0060 and \u0060crates/analytics/src/sqlx.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 91 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 \u0060crates/analytics/src/clickhouse.rs:598\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":"crates/analytics/src/clickhouse.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ef6ea6736cc31d13e6989ee9c1446a97c2240ee3f6b499249e56fd94a8fad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/analytics/src/connector_events/events.rs:40-51 | crates/analytics/src/outgoing_webhook_event/events.rs:28-39 \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 \u0060crates/analytics/src/connector_events/events.rs: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":"crates/analytics/src/connector_events/events.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5ff5e226e4ffc1b550aa369eca35b269de540b60480be69db221e35ebb2674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/analytics/src/payment_intents/accumulator.rs:198-211 | crates/analytics/src/payments/accumulator.rs:353-366 \u2014 \u0060crates/analytics/src/payment_intents/accumulator.rs\u0060 and \u0060crates/analytics/src/payments/accumulator.rs\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 9 separate duplicated blocks between them, totalling at least 94 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060metrics\u0060 to \u0060\u0026PaymentIntentMetricRow\u0060 in one and \u0060\u0026PaymentMetricRow\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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7e82082d2d7cd26cf4d685ab6b9a9eeb5ad767bf356ccb3a6db473f4b33d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/analytics/src/payment_intents/core.rs:181-192 | crates/analytics/src/payments/core.rs:227-238 \u2014 \u0060crates/analytics/src/payment_intents/core.rs\u0060 and \u0060crates/analytics/src/payments/core.rs\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 6 separate duplicated blocks between them, totalling at least 76 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/core.rs:181\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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf86148f41a659b1976b71c7c4fe12847cf65e2711c0fe5c11eb07ab7369d57b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/analytics/src/payments/accumulator.rs:429-440 | crates/analytics/src/sdk_events/accumulator.rs:62-73 \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 \u0060crates/analytics/src/payments/accumulator.rs:429\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 \u0060metrics\u0060 to \u0060\u0026PaymentMetricRow\u0060 in one and \u0060\u0026SdkEventMetricRow\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":"crates/analytics/src/payments/accumulator.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"651d549ee89e03466b6f9d7da7b8c799285a8df06ed7455ad05f17e70be11de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2394-2405 | crates/api_models/src/payment_methods.rs:2449-2460 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5070e52fd67e39d90e9e4703aa47e8f14a36435a6a044789f7bf6ce2bd154e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2477-2487 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4646-4657 \u2014 before extracting anything, compare \u0060crates/api_models/src/payment_methods.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 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. 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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2477}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59ee330106dd64cf2970932447a10a5ed552b0209eff080bf131c72dd71aa3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/api_models/src/payments.rs:4054-4071 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4035-4052 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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 \u0060crates/api_models/src/payments.rs:4054\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":"crates/api_models/src/payments.rs"},"region":{"startLine":4054}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd602b88c4feabec0398f8f8c1b225fa2959ab82776dd73f93c9cbd7e766284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:863-874 | crates/diesel_models/src/query/blocklist.rs:949-960 \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 \u0060crates/diesel_models/src/query/blocklist.rs:863\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf836e4025d6490c14fd9a59d2e1e351f7d9d5f7c17508d078aa48319d8bd1c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/euclid/src/frontend/ast/lowering.rs:172-183 | crates/euclid/src/frontend/ast/lowering.rs:198-209 \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 \u0060crates/euclid/src/frontend/ast/lowering.rs:172\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":"crates/euclid/src/frontend/ast/lowering.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"417a6aafd50a6b8cf38b89a9136e3eb84e418f83d270b7ce1aa800a9dc333cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4359-4370 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4589-4599 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4359\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":4359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ace14259a78b9a15f1e587e5883f2813111a0843b1b891c3430def697217f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4594-4605 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4861-4872 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4594\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":4594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24df35ae565401958a28b2b81d558e2756887eaa138a0bc20e0c261056ffc42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:782-793 | crates/hyperswitch_connectors/src/connectors/payload.rs:846-857 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payload.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 41 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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:782\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e511f41ff8b45f9ac7ff8a63b4c348447df2d3a36017957481aa94bf469ecdab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1051-1062 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1373-1384 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1051\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15aa83ce2b00d16f09e3eba685d2bdac8377c1846b3e92b87c0c8ab205927e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:796-807 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1834-1845 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 214 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb0c228882bd384e5c0f95cdcf77c589cdb1b54c08106e6173e786c33c384bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/braintree.rs:645-656 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1311-1322 \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 \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs:645\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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d9dab2be658c24a3b99a741dc47d2c91f606287fa912abb7360942b68e030d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:895-906 | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:1077-1088 \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 \u0060crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:895\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 \u0060item\u0060 to \u0060ChargebeeWebhookBody\u0060 in one and \u0060ChargebeeInvoiceBody\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 before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:1076\u0060 calls \u0060as_ref\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:894\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":"crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"d54c1c390c28c7336b0ef2fc84e3c80b51a4f6c0da398faa3129fc3b48792d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:2771-2782 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:2796-2807 \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 \u0060crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:2771\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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":2771}}}],"partialFingerprints":{"codehealthFindingId/v1":"2686fe6689e1c886196695b4448a07eda3f0a91c773d47af483649800f803668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:294-305 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:124-134 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:294\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7f17700d646a611fb46b94fb343f94214d6ae993e86ff40eeb8dbc9a737ae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2287-2298 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2425-2435 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f77febb09e737431640807b4944da1cb3c3af5f33d287a6806f8b76a68b66ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2597-2608 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2697-2708 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2597\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c572258e6403651de08da61419943b152eb16ccb4abbb815ed3775809ff77d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3151-3162 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1489-1500 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3151\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 \u0060item\u0060 to \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in one and \u0060\u0026WellsfargoRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":3151}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ba5e2f11cc5ad2e22f21babc9e9ac32ce0593c4e70258aa84f0822afd1fe0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4442-4453 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1980-1991 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060PaymentsCancelResponseRouterData\u003CCybersourcePaymentsResponse\u003E\u0060 in one and \u0060PaymentsCancelResponseRouterData\u003CWellsfargoPaymentsResponse\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":4442}}}],"partialFingerprints":{"codehealthFindingId/v1":"df22e7e37b6bb8a1a908cdb72d22f7606a31f10efbfa05fde5fd4c6419e2f367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:395-406 | crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:347-358 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:395\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 \u0060item\u0060 to \u0060\u0026DatatransRouterData\u003C\u0026types::PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026ZiftRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae3f8b209deb85406630394c8bfcc63cb3376ba89f771f5f6fb81e963968e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/elavon.rs:268-279 | crates/hyperswitch_connectors/src/connectors/zift.rs:397-408 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/elavon.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/zift.rs\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7e94f8950d30c59ff0603d3d078ef78d75fdb448a721d009418a73065fc118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:1141-1152 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:1251-1262 \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 \u0060item\u0060 to \u0060\u0026FiservRouterData\u003C\u0026types::PaymentsCaptureRouterData\u003E\u0060 in one and \u0060\u0026FiservRouterData\u003C\u0026types::RefundsRouterData\u003CF\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c379940096626b378b254fd736892a7b2da8e86c3428179128a0f64f6e9bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:184-195 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:293-304 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:184\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":"crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f67c00ddd1537b0cfe5d5c0ff4e88fef52b2e8abf1df85d09d9882a718cc8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi.rs:875-886 | crates/hyperswitch_connectors/src/connectors/nmi.rs:901-912 \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 \u0060crates/hyperswitch_connectors/src/connectors/nmi.rs:875\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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4726aedae73cf8caf8065ba8d354ef0d0a59a1ca022dfb768afacb2249288a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi.rs:1144-1155 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1712-1722 \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 \u0060crates/hyperswitch_connectors/src/connectors/nmi.rs:1144\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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6850e004e2c37ea7c3d3363769f969313445ed8b4dfb8717bf19d090442e42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nordea/transformers.rs:315-326 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:810-821 \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, \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:809\u0060 calls \u0060Some\u0060, \u0060BankDebit\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/nordea/transformers.rs:314\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":"crates/hyperswitch_connectors/src/connectors/nordea/transformers.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd626905d45ce65e7d3d3a7de3006cbd28a9ccce3cbf9b134ecef33e9413c49c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payjustnow.rs:753-764 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:562-573 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/payjustnow.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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":"crates/hyperswitch_connectors/src/connectors/payjustnow.rs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48092215f948913f47b43d6618047e9f9253a2f267a2f4a47d5279bd661c0ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1273-1284 | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1331-1342 \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 \u0060crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1273\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":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"776509b76788efde7a9fca381409a60e51a259c12bcd220edf66f60b7ef1e0b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/powertranz.rs:160-171 | crates/hyperswitch_interfaces/src/api.rs:398-409 \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 \u0060crates/hyperswitch_connectors/src/connectors/powertranz.rs:160\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, \u0060crates/hyperswitch_connectors/src/connectors/powertranz.rs:156\u0060 calls \u0060set_error_response_body\u0060, \u0060from_utf8\u0060, \u0060unwrap_or\u0060 and \u0060crates/hyperswitch_interfaces/src/api.rs:395\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":"crates/hyperswitch_connectors/src/connectors/powertranz.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67259371e30403ba3970d2873061d4645b493868881e51df1cf41aec8a4ae97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys.rs:827-838 | crates/hyperswitch_connectors/src/connectors/redsys.rs:904-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/redsys.rs: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":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"567dc1fe12712680cb7718fd83af0b1c925df1b5fbe9ff05d93883e7253b7cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1171-1182 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1525-1536 \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 \u0060item\u0060 to \u0060\u0026RedsysRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026RedsysRouterData\u003C\u0026PaymentsCompleteAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d89551f01bdcea9d6a88e6aa93062c060d97f84fcc34188a71c3aebc0209b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:380-391 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:719-730 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/zen/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 68 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":"crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c097bcf3993ec52ee9fc2f8adecaf28e31c9e19952c24f8dc4e0325d28d781f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs:404-421 | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs:502-519 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, SilverflowCaptureResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, SilverflowVoidResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"119387ae3ee0c42fc546086bbd18fd3c5a5184fca0ea35da051091da4baa5125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/square/transformers.rs:113-124 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:494-504 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/zen/transformers.rs\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 10 separate duplicated blocks between them, totalling at least 86 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":"crates/hyperswitch_connectors/src/connectors/square/transformers.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efb3723cb5cf5071ef4b52b5168d36e116d9bd74c8e1f55fda62ea5ab5ab9e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe.rs:3365-3376 | crates/hyperswitch_connectors/src/connectors/wise.rs:536-547 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wise.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":3365}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8e42254675ba11e02194e13b2b742241e85ad7db0ffcd0fb641a6d65a59ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:4169-4180 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:4277-4288 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:4169\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":4169}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb3e995d993d646cb572987fe6a1f742ce7f4d4ad1e8f68d8d72b3e9f3b1ee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs:1346-1357 | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs:2039-2050 \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 \u0060crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs:1346\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":"crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"e687cffad371fd0f8709bd0280f15bc0f12c9fa428a081bc9b546672036398c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2052-2063 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3073-3084 \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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"3906a15a35d1a7613a74ec184c2472b2de7276b9e4eac202a12a99edc089a2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2122-2133 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3136-3147 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2122\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"93feed78ac35efb29154f6b3c511fb1e6e9fee493d89a1de336efa36f49778ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/xendit.rs:681-692 | crates/hyperswitch_connectors/src/connectors/xendit.rs:790-801 \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":"crates/hyperswitch_connectors/src/connectors/xendit.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"517963375761412dce118326d959df1e66216e544ad41566441824dc7bad1c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:296-307 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:362-373 \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 \u0060crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:296\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":"crates/hyperswitch_connectors/src/connectors/zen/transformers.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9982819836c29e0aa731ec8b53a414df9a1160c5bbf771019d021759121117ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1838-1849 | crates/router/src/connector/utils.rs:1606-1617 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d415160da4142be79e25c43c5a4095863790a52b855c6474fafd94507cd436e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:3262-3273 | crates/router/src/connector/utils.rs:910-921 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":3262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7f0cc4dea2b976a343fb1d0c2a6d1a3fd517c7f23a3f9b470c182feef78108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_constraint_graph/src/builder.rs:204-215 | crates/hyperswitch_constraint_graph/src/builder.rs:229-240 \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 \u0060crates/hyperswitch_constraint_graph/src/builder.rs:204\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":"crates/hyperswitch_constraint_graph/src/builder.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"db64f25611c881abf62ee25685e2e0c10f94ddecf005bdd4f906e524fdd2dc8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_domain_models/src/business_profile.rs:342-353 | crates/hyperswitch_domain_models/src/business_profile.rs:490-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060ProfileSetter\u0060 in one and \u0060ProfileDbBuilder\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":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d40e11ec24dffd819c428f8340aaf32a54cf84c3d8435ce6508240ba59c726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_domain_models/src/payment_method_data.rs:4257-4268 | crates/payment_methods/src/client/create.rs:230-241 \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 \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs:4257\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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":4257}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfe4da20370640fab3956b4a4681f3b0c164dd637b81e4c108b267bdf75a5fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments.rs:631-642 | crates/router/src/types/transformers.rs:1903-1914 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/payments.rs\u0060 and \u0060crates/router/src/types/transformers.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bfdfcc992369981e06f429385b416ddd9229abcfc64f4eac86d820e315ec36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2528-2539 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2921-2932 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2528\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff29db865de0780aa7cd4ee045d7546538e0ca38a2b635a061aa8eae77ac1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/payment_methods/src/core/migration/payment_methods.rs:244-255 | crates/payment_methods/src/core/migration/payment_methods.rs:851-862 \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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c8d31048029e3c80820f559031eaf6b82b4c5a2a983dc24bd26712f44156b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): crates/router/src/bin/scheduler.rs:470-479 | crates/scheduler/src/consumer/workflows.rs:32-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 \u0060crates/router/src/bin/scheduler.rs:470\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":"crates/router/src/bin/scheduler.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e68cc5ca95f4c7a0f89b201a675953d49df13211a0efc8e78cc70440508fea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents.rs:126-137 | crates/router/src/routes/payments.rs:1939-1950 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/routes/payments.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs: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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8852e0d35ac46bd311dcdafe4fdd6b27f51ab30a3eb1dc99e204247967774542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents/types.rs:653-664 | crates/router/src/compatibility/stripe/setup_intents/types.rs:620-631 \u2014 \u0060crates/router/src/compatibility/stripe/payment_intents/types.rs\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents/types.rs\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 125 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. 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":"crates/router/src/compatibility/stripe/payment_intents/types.rs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41c4b56b65f34cc20dbeca9846fada1e31e22968cc3823fd55664623f4325d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/admin.rs:608-619 | crates/router/src/core/admin.rs:621-632 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/admin.rs:608\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":"crates/router/src/core/admin.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7963f3a081534760a94bf1c6cb9dad76ae1a32edd6533d3425fb2d2b00a72e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/admin.rs:2151-2162 | crates/router/src/core/admin.rs:2330-2341 \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 \u0060crates/router/src/core/admin.rs:2151\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":"crates/router/src/core/admin.rs"},"region":{"startLine":2151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bb036d3ce8d5108d6420b2ce6a9f451b29f341c137edac64fa095b26fb848a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods.rs:2687-2698 | crates/router/src/core/payment_methods.rs:2744-2755 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e125e3945d58a7c8a0920d48c3f1673166885f05aeb4fc232b93e0402f2152e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/core/payment_methods.rs:3073-3083 | crates/router/src/core/payment_methods.rs:3777-3788 \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 \u0060crates/router/src/core/payment_methods.rs:3073\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3073}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c726dd1af8731cf6af161ea1c63076e5e07814c055d695ba520a42b8aad19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/batch_retrieve.rs:53-64 | crates/router/src/core/payment_methods/tokenize.rs:86-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/batch_retrieve.rs:53\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":"crates/router/src/core/payment_methods/batch_retrieve.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d5b53b82d1968768d2e96086c585b3db0aeaf93ef3d40bd5147cde7a8d5095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:1217-1228 | crates/router/src/core/payment_methods/cards.rs:1243-1254 \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 \u0060crates/router/src/core/payment_methods/cards.rs:1217\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63d2740ccb61ad1e232ea090a0d41a90f5377542d574db68fcdbb3d145480e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:1316-1327 | crates/router/src/core/payment_methods/cards.rs:1417-1428 \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 \u0060crates/router/src/core/payment_methods/cards.rs:1316\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3af8cf9bf843e10edaee881c359c9217ca38f74d051b621a26de5e7438c16e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:3729-3740 | crates/router/src/core/payment_methods/cards.rs:4112-4123 \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 \u0060crates/router/src/core/payment_methods/cards.rs:3729\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3729}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8a3128e0e4e20d5f4b337aee1a10ea315b4011e016ce28f0f0cf8cec1316df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/network_tokenization.rs:661-672 | crates/router/src/core/payment_methods/network_tokenization.rs:734-746 \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 \u0060crates/router/src/core/payment_methods/network_tokenization.rs:661\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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"5787a8539d3b5bcc315184ec793376162ba7070f4f3fc7725f60ae2edb437a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/tokenize.rs:431-442 | crates/router/src/core/payment_methods/tokenize/card_executor.rs:545-556 \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 \u0060crates/router/src/core/payment_methods/tokenize.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6332d898c8b3c536fc68f24f07227f559849db35dbdd65da50ca92610ce218eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:366-385 | crates/router/src/core/payment_methods/transformers.rs:411-428 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6f763d8b9493a3c1e09cc76fdb5d211becefdac4b992f87afae70ad0f7add3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:512-523 | crates/router/src/core/payment_methods/transformers.rs:538-549 \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 \u0060crates/router/src/core/payment_methods/transformers.rs:512\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4296867d6ba415690a31642942fcc28f0566a7a17ddc23a65d0a2f170e97eb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/utils.rs:631-642 | crates/router/src/core/payment_methods/utils.rs:753-764 \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 \u0060crates/router/src/core/payment_methods/utils.rs:631\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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"9688057a25e455607f444eabb3c5e8127eeb23dd82fa02be488b65fe22bc0e81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/utils.rs:715-726 | crates/router/src/core/payment_methods/utils.rs:732-743 \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 \u0060crates/router/src/core/payment_methods/utils.rs:715\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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d41b6671546141ff0316dd2ee3192c9048d5de4b16022181d8ada84f25c9c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments.rs:2298-2309 | crates/router/src/core/payments.rs:2378-2389 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edb86a26d9a3d445429855e033aacc019689ff3d93228671d34304f7b6c4520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments.rs:3934-3945 | crates/router/src/core/payments.rs:8046-8057 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":3934}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1ecdfaad71e420c5414fed978bf040b618e8c6fd7bb48853c7d8d95382ffc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:221-233 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:201-212 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/proxy_payments_intent.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 289 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:221\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74cfa12e09188aa877cd46ab67e12b17db040a6af9f2f919fa36741829125cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:83-94 | crates/router/src/core/payments/operations/payment_update_metadata.rs:83-94 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update_metadata.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 194 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 \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:83\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":"crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a19c6940bfaf5f0a453c89a33b093f54a22463ae36d7d57f9ac6b6aa2b67f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:450-461 | crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:440-454 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 96 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:450\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"30551ca56ec5cd6b78fd37fa754e9f7a529b5b46914488300bdca350553fdcbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:715-727 | crates/router/src/core/payments/operations/payment_recurrence.rs:249-260 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 191 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:715\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfd26672a97c40ceeeae2b8bc263b20829e20cdb6bbd9ac9431f556130ed206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:1439-1450 | crates/router/src/core/payments/operations/payment_create.rs:984-995 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:1439\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"96028a9c19f27e566601431f14ab1de0b9fc6d4b817cb450796f4d105d0ae64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/core/payments/operations/payment_reject.rs:172-182 | crates/router/src/core/payments/operations/payment_status.rs:620-631 \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 after the matched lines, \u0060crates/router/src/core/payments/operations/payment_status.rs:632\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/core/payments/operations/payment_reject.rs:183\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":"crates/router/src/core/payments/operations/payment_reject.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3102e2216615a613164c3b588b12f4aa5afd4a619b33e3dbbccb1ce6e806267"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): crates/router/src/core/payments/operations/payment_response.rs:2683-2694 | crates/router/src/core/payments/operations/payment_response.rs:3099-3108 \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 \u0060crates/router/src/core/payments/operations/payment_response.rs:2683\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6318f892dd5af8d95510bd2446eda6cba18fb770cad7542b67de1b725ea71b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): crates/router/src/core/payments/operations/payment_response.rs:2736-2747 | crates/router/src/core/refunds.rs:737-746 \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 \u0060crates/router/src/core/payments/operations/payment_response.rs:2736\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c2555fb201badf64daabe7e5444cb75fb5f6fa88d979bcb2bf21f5e4cc9728"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): crates/router/src/core/payments/routing.rs:4027-4049 | crates/router/src/core/payments/routing.rs:4434-4457 \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 \u0060crates/router/src/core/payments/routing.rs:4027\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":4027}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc7fd6f503f94ae660ff423ce537ac53eaf9b78041c2f74b05a6451d09a4aea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:1729-1740 | crates/router/src/core/payments/tokenization.rs:1782-1793 \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 \u0060crates/router/src/core/payments/tokenization.rs:1782\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"17776339adf867c1757d14ec183f82a04d8329044990daa9f72d3e079bbc2a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:1244-1255 | crates/router/src/core/payments/transformers.rs:2007-2018 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a40d1d94d2ed1911027b66dc1e5386e91cb1c98dc5eacd6a83a44d3ab9bd45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:7369-7380 | crates/router/src/core/payments/transformers.rs:7476-7487 \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 \u0060crates/router/src/core/payments/transformers.rs:7369\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":7369}}}],"partialFingerprints":{"codehealthFindingId/v1":"8744b4485fb8d5346c294653c3d04761dfc6290725272ab617e4c0806a79e04a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/types.rs:376-387 | crates/router/src/core/payments/types.rs:415-426 \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 \u0060crates/router/src/core/payments/types.rs:376\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":"crates/router/src/core/payments/types.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d236b0d1f9f2ad09c3672ec1487741ff620845193ab651d5415f632222e57143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): crates/router/src/core/payouts.rs:553-578 | crates/router/src/core/payouts/guards.rs:192-217 \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 \u0060crates/router/src/core/payouts.rs:553\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payout_data\u0060 to \u0060\u0026mut PayoutData\u0060 in one and \u0060\u0026PayoutData\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"067f8f44862b03a3ee3158303c655e8455fad905a0eeafcdf7883b0d9bda9db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payouts.rs:731-742 | crates/router/src/core/payouts.rs:883-894 \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 \u0060crates/router/src/core/payouts.rs:731\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab311d4d13f906b4f3c1cc7f8bfc13016fe2868661aaa6da21e73baaeeb9092"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/core/payouts.rs:779-789 | crates/router/src/core/payouts.rs:851-862 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payouts.rs:850\u0060 calls \u0060clone\u0060, \u0060get_required_value\u0060 and \u0060crates/router/src/core/payouts.rs:777\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa7180701e2ed95dafe3644a2bf94c0c667ffdff64bfee338d7fb68c16ac0c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payouts.rs:980-991 | crates/router/src/core/payouts.rs:1094-1105 \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":"crates/router/src/core/payouts.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7e60784d0abe291ba9d2a710356740ecad78fd4011c189f5adf3715bc34900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/core/payouts.rs:2943-2954 | crates/router/src/core/payouts/helpers.rs:853-863 \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 \u0060crates/router/src/core/payouts.rs:2943\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2943}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3169c6cc8d581b7b9b6b6bded425be6e1045e1c52d4b4dba2700af564304b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/core/payouts.rs:4076-4086 | crates/router/src/core/payouts.rs:4117-4128 \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":"crates/router/src/core/payouts.rs"},"region":{"startLine":4076}}}],"partialFingerprints":{"codehealthFindingId/v1":"2881b0df16a09912837bc373b82a532f54a8127e8140c7b64d83303c4099412e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/core/payouts/proxy.rs:838-848 | crates/router/src/core/payouts/validator.rs:220-231 \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 \u0060crates/router/src/core/payouts/proxy.rs:838\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts/proxy.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d41efec72ac44e867d1827cfb6d9a30e9e93d83ae2d02593a3c550063d56c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/routing/helpers.rs:853-864 | crates/router/src/core/routing/helpers.rs:909-920 \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 \u0060crates/router/src/core/routing/helpers.rs:853\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa9356e4c2e9a197c3ec5c5a3749dd85d8c1b3dcae3720b0cdbfa11ff7e9b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:1090-1101 | crates/router/src/core/unified_connector_service.rs:1169-1180 \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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7c0632ce8246e42bf5fe66dea044dd1cb4ea934d9bd408905e10591aca307a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:4399-4411 | crates/router/src/core/unified_connector_service.rs:4639-4651 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/unified_connector_service.rs:4414\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/unified_connector_service.rs:4652\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":4399}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf369c19ec880d725d296f7568ecb1ab0fa658cfdeeb51feffe0ca3ac97996f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/user_role/role.rs:186-197 | crates/router/src/core/user_role/role.rs:319-330 \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 \u0060crates/router/src/core/user_role/role.rs:186\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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"432016e0d0030aef945936396b4d9660a91358c081cecf98158aeac44dfe1193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/webhooks/webhook_events.rs:265-278 | crates/router/src/core/webhooks/webhook_events.rs:340-351 \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":"crates/router/src/core/webhooks/webhook_events.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b4d64cb7ecbc8cd7b6e6f78a069c63af2994600f937532fdca3fb9f169c287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/db/refund.rs:709-720 | crates/router/src/db/refund.rs:1481-1492 \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 \u0060crates/router/src/db/refund.rs:709\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":"crates/router/src/db/refund.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d58b6654122c8fdc8bf7ea046dcbd2d76c61bd79b1dd39d3b4479917769d04d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/db/user.rs:307-318 | crates/router/src/db/user.rs:381-392 \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 \u0060crates/router/src/db/user.rs:307\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":"crates/router/src/db/user.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b510028dba2994b9afc5b3a0aaa7ad7d5b30a1fd1e55e5bbfdd3f8954ada093d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/events/outgoing_webhook_logs.rs:119-130 | crates/router/src/events/outgoing_webhook_logs.rs:163-174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/events/outgoing_webhook_logs.rs:159\u0060 calls \u0060DisputeDetails\u0060 and \u0060crates/router/src/events/outgoing_webhook_logs.rs:118\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":"crates/router/src/events/outgoing_webhook_logs.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd9f2b4ac27fed71e467d83c6163219032d18d13126cd13888b202eeea23295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/routes/admin.rs:57-68 | crates/router/src/routes/admin.rs:91-102 \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 \u0060crates/router/src/routes/admin.rs:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/admin.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"32404e761ebf1361d97fb72575ca155a4ad7712610bc47ab9660d5a819398c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/routes/admin.rs:302-313 | crates/router/src/routes/admin.rs:345-356 \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 \u0060crates/router/src/routes/admin.rs:302\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6a61048de24eb8f0b124009f3157c2a356aed6f18e9a2351216f3cc5ab859e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/routes/customers.rs:240-251 | crates/router/src/routes/customers.rs:275-286 \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 \u0060crates/router/src/routes/customers.rs:240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/customers.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8e726e70d4ab9afbd413ead97d55c862705f4b182f4ec073f658c7af69fedb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/routes/customers.rs:310-321 | crates/router/src/routes/customers.rs:345-355 \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 \u0060crates/router/src/routes/customers.rs:310\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":"crates/router/src/routes/customers.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1e5c042f18fcc92ba4cef7ca3d7a4c6af75c98adecc614e23ef20fefc9bbe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/routes/disputes.rs:706-717 | crates/router/src/routes/disputes.rs:746-757 \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 \u0060crates/router/src/routes/disputes.rs:706\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79245718b88caa0dc6e5700613674b63c451fea98303b1b0376f89370e3e6f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/routes/payment_link.rs:75-86 | crates/router/src/routes/payment_link.rs:226-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 \u0060crates/router/src/routes/payment_link.rs: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":"crates/router/src/routes/payment_link.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a572ea0ba86ec1c34e3ad128f71e872e87e84c84925836d2853b36b238ea0969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/routes/payment_link.rs:144-155 | crates/router/src/routes/payment_link.rs:185-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/payment_link.rs:144\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":"crates/router/src/routes/payment_link.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea04d1e41d8adce800ce3039978d4358010daf483b89f9fa779823f2d565cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/routes/payments.rs:826-838 | crates/router/src/routes/payments.rs:1311-1322 \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 \u0060crates/router/src/routes/payments.rs:826\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fcc452307356571574c3b9e0ce37bbb77dc7be241b46f6a388757bf06cd5e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/routes/payments.rs:1128-1139 | crates/router/src/routes/payments.rs:1222-1233 \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 \u0060crates/router/src/routes/payments.rs:1128\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc2b9602af98715c7d582d0b63faf757e72c36beb98c2604d7cf744c285ff73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/routes/payments.rs:1171-1182 | crates/router/src/routes/payments.rs:1953-1963 \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 \u0060crates/router/src/routes/payments.rs:1171\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d6334a06a0b7379b9c8a49f4103f0b55e80bed516529b396c8e4920698f4ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/routes/profiles.rs:393-404 | crates/router/src/routes/profiles.rs:463-474 \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 \u0060crates/router/src/routes/profiles.rs:393\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":"crates/router/src/routes/profiles.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"78655106f8f5c639fd84107f68c1714d4f2163e61b3f315265366ce3b5092915"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/services/authentication.rs:3620-3631 | crates/router/src/services/authentication.rs:3927-3938 \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 \u0060crates/router/src/services/authentication.rs:3620\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3620}}}],"partialFingerprints":{"codehealthFindingId/v1":"76522e36c2861c15028f2b83bb416d2bb6bfa3473fdaff5e0cd37c4ab807eb99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/services/authentication.rs:5630-5641 | crates/router/src/services/authentication.rs:5750-5761 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":5630}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f97d2440f2e5993a93cfb0e0fcf92db2f8fb9d5b9845126517ca927de096c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/services/authentication/blacklist.rs:26-37 | crates/router/src/services/authentication/blacklist.rs:43-53 \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":"crates/router/src/services/authentication/blacklist.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a56249bb8c8dc817f545375631158faa70682ad9db967986e0c8193431bfcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/types/api/customers.rs:35-46 | crates/router/src/types/api/customers.rs:71-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 \u0060crates/router/src/types/api/customers.rs:35\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":"crates/router/src/types/api/customers.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c3eb62af2d06dfe87e72ca870be1210b26e18ce6a8aea464c7470287e840df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/router/src/types/storage/dispute.rs:49-60 | crates/router/src/types/storage/refund.rs:98-108 \u2014 before extracting anything, compare \u0060crates/router/src/types/storage/dispute.rs\u0060 and \u0060crates/router/src/types/storage/refund.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/router/src/types/storage/dispute.rs:49\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":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2a7d0298b412212b4bcb7384703e58f88aba6cfd439e4f8555f793f29cdd8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/types/storage/dispute.rs:112-123 | crates/router/src/types/storage/dispute.rs:176-187 \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":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b735d2754161b36da58d2e13da93e47a05cf5405b4d883bd4ef2c4b8a511cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/types/storage/dispute.rs:137-151 | crates/router/src/types/storage/dispute.rs:201-215 \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 \u0060crates/router/src/types/storage/dispute.rs:137\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":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f97f006e2858dbdaa54605e7289368ff0e92df26a0f03e73f3da2e77967530a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/types/transformers.rs:580-591 | crates/router/src/types/transformers.rs:627-638 \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 \u0060crates/router/src/types/transformers.rs:580\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 \u0060address\u0060 to \u0060\u0026domain::Address\u0060 in one and \u0060domain::Address\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"9252dbc8f03dada810c7c67b7896305d0a269595c3b909a52519f751f6f8742a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/types/transformers.rs:2707-2718 | crates/router/src/types/transformers.rs:2725-2736 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060api_models::admin::BusinessPaymentLinkConfig\u0060 in one and \u0060diesel_models::business_profile::BusinessPaymentLinkConfig\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":2707}}}],"partialFingerprints":{"codehealthFindingId/v1":"396b43fe6691bdf254ef934f5e4adf607aef296a5457115ef6c1e71e5ec378ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/smithy-core/src/types.rs:229-241 | crates/smithy-core/src/types.rs:245-257 \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 \u0060crates/smithy-core/src/types.rs:229\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":"crates/smithy-core/src/types.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55cb90ff64b7790b99f7459694634d55b1f27a0c1d60f867d975b3a456382b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/storage_impl/src/merchant_account.rs:295-306 | crates/storage_impl/src/merchant_account.rs:387-399 \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 \u0060crates/storage_impl/src/merchant_account.rs:295\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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c60af2a5aa1f29f71d9d1efb207a753131d7d2a36ea03da70390bd16f059b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:1444-1455 | crates/storage_impl/src/merchant_connector_account.rs:1793-1803 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:1444\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"299bd54c4c2af3e0bfe3fe5c573d7389534c40394bfd5bad293ed8a6cf2c89a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:1744-1755 | crates/storage_impl/src/merchant_connector_account.rs:1787-1798 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:1744\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"b395ad69de2b1489ff4e1a63ee49f6d55d776e078828d35b4d7de4da85b843dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): crates/storage_impl/src/payments/payment_attempt.rs:820-831 | crates/storage_impl/src/payments/payment_attempt.rs:928-936 \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 \u0060crates/storage_impl/src/payments/payment_attempt.rs:820\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf7357c8c1d9a06213d544936e64406c9a8014efceae1b24e4e2d0633bff7c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 40): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:588-598 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:610-620 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:921-931 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:341-351 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1157-1167 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:859-869 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:987-997 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1493-1503 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1558-1568 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2040-2050 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2258-2268 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:115-125 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:116-126 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:643-653 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2997-3007 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3078-3088 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3868-3878 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4015-4025 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4103-4113 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:144-154 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:106-116 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:255-265 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:446-456 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:214-224 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:540-550 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:642-652 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1809-1819 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:849-859 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:410-420 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:83-93 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:271-281 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:737-747 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:864-874 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:153-163 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:137-147 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:104-114 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:222-232 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:255-265 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1382-1392 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:241-251 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"78086fde1a954cfddda0d40453c77d146bdabb908bc68f4cf39c04df3b20d9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 28): crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:66-78 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:73-83 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:77-87 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:73-83 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:83-94 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:77-88 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:83-94 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:77-88 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:76-86 | crates/analytics/src/payments/metrics/connector_success_rate.rs:77-88 | crates/analytics/src/payments/metrics/payment_count.rs:69-79 | crates/analytics/src/payments/metrics/payment_success_count.rs:70-80 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:77-87 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:78-89 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:70-80 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:71-81 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:73-83 | crates/analytics/src/payments/metrics/success_rate.rs:72-82 | crates/analytics/src/refunds/metrics/refund_count.rs:69-79 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:70-80 | crates/analytics/src/sdk_events/metrics/average_payment_time.rs:79-91 | crates/analytics/src/sdk_events/metrics/load_time.rs:79-91 | crates/analytics/src/sdk_events/metrics/payment_attempts.rs:74-86 | crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs:74-86 | crates/analytics/src/sdk_events/metrics/payment_method_selected_count.rs:74-86 | crates/analytics/src/sdk_events/metrics/payment_methods_call_count.rs:82-94 | crates/analytics/src/sdk_events/metrics/sdk_initiated_count.rs:74-86 | crates/analytics/src/sdk_events/metrics/sdk_rendered_count.rs:74-86 \u2014 before extracting anything, compare \u0060crates/analytics/src/frm/metrics/frm_triggered_attempts.rs\u0060 and \u0060crates/analytics/src/payment_intents/metrics/payment_intent_count.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 116 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 \u0060crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:66\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, \u0060crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:65\u0060 calls \u0060add_filter_clause\u0060 and \u0060crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:73\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":"crates/analytics/src/frm/metrics/frm_triggered_attempts.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"076ef8c83efeac3241f5ce2950f19311bb106f88904a3bcd526229febf27911f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 14): crates/analytics/src/payments/metrics/connector_success_rate.rs:99-109 | crates/analytics/src/payments/metrics/debit_routing.rs:110-120 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:104-114 | crates/analytics/src/payments/metrics/payment_success_count.rs:97-107 | crates/analytics/src/payments/metrics/retries_count.rs:94-104 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:100-110 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:110-120 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:167-177 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:122-132 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:98-108 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:101-111 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:94-104 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:94-104 | crates/analytics/src/payments/metrics/success_rate.rs:93-103 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs\u0060 and \u0060crates/analytics/src/payments/metrics/debit_routing.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 92 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 \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs:99\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":"crates/analytics/src/payments/metrics/connector_success_rate.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac1a26e0780be5fdb02bd1e53fb87693caffee8ef3453a86f73743938a0d26a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:182-193 | crates/router/src/core/payments/operations/payment_attempt_record.rs:130-141 | crates/router/src/core/payments/operations/payment_capture_v2.rs:158-169 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:170-183 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:308-321 | crates/router/src/core/payments/operations/payment_get.rs:168-179 | crates/router/src/core/payments/operations/payment_session_intent.rs:131-144 | crates/router/src/core/payments/operations/payment_update_intent.rs:161-171 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:161-172 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_attempt_record.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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, \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:180\u0060 calls \u0060into\u0060 and \u0060crates/router/src/core/payments/operations/payment_capture_v2.rs:156\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"573583143c030686e10eb77d66cd06e63cdae63a7c5d3e450a9baaa6c82d707a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): crates/analytics/src/refunds/metrics/refund_processed_amount.rs:98-108 | crates/analytics/src/refunds/metrics/refund_success_count.rs:93-103 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:88-98 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:158-168 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:106-116 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:150-160 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:93-103 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:88-98 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/refund_success_count.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 101 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 \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs:98\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":"crates/analytics/src/refunds/metrics/refund_processed_amount.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c011d7a31cacd5e8988d4bbdaa91984b0e41a1f80dd1a446999bb21594f8c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/adyen.rs:579-587 | crates/hyperswitch_connectors/src/connectors/adyen.rs:951-959 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:454-464 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:636-646 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1094-1102 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1937-1945 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:287-295 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:740-748 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 141 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:579\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3469728f425685bf6e89a5d3e1039f1d0a189943ffdf1a8b054ae7ae26fee8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/archipel.rs:275-285 | crates/hyperswitch_connectors/src/connectors/archipel.rs:386-396 | crates/hyperswitch_connectors/src/connectors/archipel.rs:477-487 | crates/hyperswitch_connectors/src/connectors/archipel.rs:582-592 | crates/hyperswitch_connectors/src/connectors/archipel.rs:681-691 | crates/hyperswitch_connectors/src/connectors/archipel.rs:786-796 | crates/hyperswitch_connectors/src/connectors/archipel.rs:877-887 | crates/hyperswitch_connectors/src/connectors/archipel.rs:999-1009 \u2014 all 8 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 \u0060crates/hyperswitch_connectors/src/connectors/archipel.rs:275\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c2a6a97b16fef8e223fd4a4be228b43b375b1576c6940212aa5fd24d1fdc43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): crates/analytics/src/sqlx.rs:608-618 | crates/analytics/src/sqlx.rs:655-665 | crates/analytics/src/sqlx.rs:770-780 | crates/analytics/src/sqlx.rs:906-916 | crates/analytics/src/sqlx.rs:1130-1140 | crates/analytics/src/sqlx.rs:1337-1347 | crates/analytics/src/sqlx.rs:1447-1457 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/sqlx.rs:608\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17b5334c2c66a17de697a132aee04c20b8ef8b5c208e46eec62c28c25bae15c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1482-1492 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1547-1557 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:104-114 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2986-2996 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3067-3077 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:853-863 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:142-152 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 125 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1482\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, \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2983\u0060 calls \u0060Some\u0060, \u0060into\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1481\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"e936882dad1f21653dd99e2662f1ce373f017a55f287ccc3633d5978c73efe0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/cybersource.rs:505-515 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1040-1050 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1288-1298 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1443-1453 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1593-1603 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1751-1761 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1915-1925 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:505\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b86562fb04629805863b1b472fb7b5aaad7c78aed97563f9ba6771fcbc6cc4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/worldpay.rs:285-294 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:393-401 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:539-549 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:658-666 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:787-796 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:911-919 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1024-1032 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs:285\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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0b96555ab9f470f5199c80ae5dbdfb7cd19b65e17ee318581b052c4e6948bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): crates/router/src/core/payouts.rs:2011-2021 | crates/router/src/core/payouts.rs:2227-2237 | crates/router/src/core/payouts.rs:2481-2491 | crates/router/src/core/payouts.rs:2708-2718 | crates/router/src/core/payouts.rs:2991-3001 | crates/router/src/core/payouts.rs:3134-3144 | crates/router/src/core/payouts.rs:3345-3355 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payouts.rs:2011\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bcd0d4232c9e72908abca4668f2210e88e6476f114dc206b5fac0292d525b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:296-306 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1100-1110 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:401-411 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2736-2746 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:566-576 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:804-814 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b76f61ee5ffd2074a1273247768d61182faef63f57efb78f500f68688c5a5f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1564-1575 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1589-1600 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2467-2478 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2492-2503 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:749-759 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:777-787 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 289 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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1564\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"8967c8b2adde48c2d8dd9fbe6888521e56cd4cbe6d2229abc3b0cc9dfc1ac772"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): crates/router/src/core/payment_link.rs:641-651 | crates/router/src/core/payments/transformers.rs:2216-2226 | crates/router/src/core/payments/transformers.rs:5846-5856 | crates/router/src/core/payments/transformers.rs:7408-7418 | crates/router/src/core/payments/transformers.rs:7967-7977 | crates/router/src/core/utils.rs:1819-1829 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/transformers.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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 \u0060crates/router/src/core/payment_link.rs:641\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, \u0060crates/router/src/core/payments/transformers.rs:2215\u0060 calls \u0060as_ref\u0060 and \u0060crates/router/src/core/payments/transformers.rs:5845\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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"88480c476700b6362e0cc6e32d4b8d03a2b60de85abb712b5ac834bf85c16caa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): crates/router/src/core/payments/helpers.rs:6018-6028 | crates/router/src/core/payments/helpers.rs:6167-6177 | crates/router/src/core/payments/helpers.rs:6605-6615 | crates/router/src/core/payments/helpers.rs:6723-6733 | crates/router/src/core/payouts/helpers.rs:645-655 | crates/router/src/core/payouts/helpers.rs:1730-1740 \u2014 \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/core/payouts/helpers.rs\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 6 separate duplicated blocks between them, totalling at least 85 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments/helpers.rs:6018\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":6018}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a79c2d3a6ce596173dd4c03fa5a2d89544701fd917e339cf83a244e79227ee0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): crates/router/src/core/payments/transformers.rs:160-170 | crates/router/src/core/payments/transformers.rs:933-943 | crates/router/src/core/payments/transformers.rs:2132-2142 | crates/router/src/core/payments/transformers.rs:2482-2492 | crates/router/src/core/payments/transformers.rs:3983-3993 | crates/router/src/core/payments/transformers.rs:8851-8861 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments/transformers.rs:160\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1eee505000e848508ca0a43934508697f170ede9eacc872c35e2a91cab91f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1457-1467 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1597-1607 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1842-1852 | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:1411-1421 | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:1500-1510 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1457\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AciPaymentsResponse, Req, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, AciCaptureResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5b456d77fe077d5eebc0183eb2f9bc05f432fc44232930377b6eb8eac096c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:991-1001 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:208-218 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:133-143 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:72-82 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:726-736 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs\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 9 separate duplicated blocks between them, totalling at least 77 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:991\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, \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1003\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:220\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"b222a2ee6e073162e4270187e88a57816e2dd3f1555d0b18acaf9ac2492f8213"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:242-252 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:265-275 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:212-222 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:273-283 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:178-188 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:242\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c666e5e79b04d1197cb61325fd588a671f1e39b5cb1917605957d65ff82862f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:304-314 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:327-337 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:277-287 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:338-348 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:242-252 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:304\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"913051e05726fa23bdaa9f4015e1ae0de77f173934ff859a8e079cd78fd7d5a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs:62-72 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs:62-72 | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs:82-92 | crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs:60-70 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs:62-72 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs\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 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs:62\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 \u0060item\u0060 to \u0060\u0026CustombillingRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026JuspaythreedsserverRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9154b37da4a4ab6a9271335516edb1ca748137955fbdac7e7d7bd5c1535c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:204-214 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:613-623 | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs:212-222 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:139-149 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:760-770 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs\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 6 separate duplicated blocks between them, totalling at least 64 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:612\u0060 calls \u0060Upi\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs:211\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":"crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c335a1f12dff243ceab9fb96cd188cd31d23e519556a8959084aaf259b64f1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/router/src/core/payments.rs:249-259 | crates/router/src/core/payments.rs:2187-2197 | crates/router/src/core/payments.rs:2329-2339 | crates/router/src/core/payments.rs:2414-2424 | crates/router/src/core/payments/session_operation.rs:157-167 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments.rs\u0060 and \u0060crates/router/src/core/payments/session_operation.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/payments.rs:2341\u0060 calls \u0060with_profile_id\u0060, \u0060get_id\u0060, \u0060clone\u0060 and \u0060crates/router/src/core/payments.rs:2426\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":"crates/router/src/core/payments.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e554dd4f3108557cffafab0dbb91bb4a6e8afff1b30968753fd753a8952b973b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/router/src/core/utils.rs:1246-1256 | crates/router/src/core/utils.rs:1365-1375 | crates/router/src/core/utils.rs:1482-1492 | crates/router/src/core/utils.rs:1682-1692 | crates/router/src/core/utils.rs:1940-1950 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/utils.rs:1246\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":"crates/router/src/core/utils.rs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a8583dba85f2c7770595594ad564684af4f4854e2cbb637d39e6e9df8f84d97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/router/src/db/address.rs:679-689 | crates/storage_impl/src/merchant_connector_account.rs:1338-1348 | crates/storage_impl/src/merchant_connector_account.rs:1583-1593 | crates/storage_impl/src/merchant_connector_account.rs:1714-1724 | crates/storage_impl/src/payments/payment_attempt.rs:564-574 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/address.rs:679\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 \u0060key_store\u0060 to \u0060\u0026domain::MerchantKeyStore\u0060 in one and \u0060\u0026MerchantKeyStore\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":"crates/router/src/db/address.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c55d55599901dbe46f49a8aecdf1b7c39f8242c4655bda9163a8e1dfa174298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/storage_impl/src/business_profile.rs:433-444 | crates/storage_impl/src/business_profile.rs:469-479 | crates/storage_impl/src/business_profile.rs:600-610 | crates/storage_impl/src/merchant_connector_account.rs:1287-1298 | crates/storage_impl/src/merchant_connector_account.rs:1406-1417 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/storage_impl/src/business_profile.rs:433\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c0c68e4d626adb8fda50b59008a3a1eafbe8a2ccfd848efc1a17d2dd81bbbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): crates/storage_impl/src/payments/payment_attempt.rs:114-124 | crates/storage_impl/src/payments/payment_attempt.rs:186-196 | crates/storage_impl/src/payments/payment_attempt.rs:284-294 | crates/storage_impl/src/payments/payment_attempt.rs:350-360 | crates/storage_impl/src/payments/payment_attempt.rs:534-544 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/storage_impl/src/payments/payment_attempt.rs:114\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":"crates/storage_impl/src/payments/payment_attempt.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5335e2ad4b3a0140bf918d20c1c3c13031b2a949dfa0b045f127ff2130f4227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:967-977 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1115-1125 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1225-1235 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1334-1344 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:967\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, \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1112\u0060 calls \u0060get_connector_mandate_id\u0060, \u0060ok_or\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:966\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fc80fc292130a58a799e8f088deda4c4c0dd4d15e0aad8d81e7f7eee5613a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/coinbase.rs:234-244 | crates/hyperswitch_connectors/src/connectors/nmi.rs:390-400 | crates/hyperswitch_connectors/src/connectors/opennode.rs:236-246 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:417-427 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/coinbase.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/opennode.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 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":"crates/hyperswitch_connectors/src/connectors/coinbase.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c561d43079de943f3918d05c370fce25b04a779b155beda225fcf33f25cefc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1466-1476 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1528-1538 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1592-1602 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1754-1764 \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 \u0060crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:1466\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca676084795f40f45946f40d4b5ae008dfc01363dcf07ab943074600da754db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/shift4.rs:265-275 | crates/hyperswitch_connectors/src/connectors/shift4.rs:364-374 | crates/hyperswitch_connectors/src/connectors/shift4.rs:424-434 | crates/hyperswitch_connectors/src/connectors/shift4.rs:640-650 \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 \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs:265\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":"crates/hyperswitch_connectors/src/connectors/shift4.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e934f5bd87be84068be0f6870678ba4d94697350250fa769c8d44a44bf896d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/stripe.rs:954-964 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1139-1149 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1938-1948 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2101-2111 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:954\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"116fcd9e7f5979c1eea6e00feccbe52d736fcbf513c2a948fb30c43ef3c34b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2461-2470 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2796-2806 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3189-3199 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3291-3301 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2461\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2461}}}],"partialFingerprints":{"codehealthFindingId/v1":"7210fe4a1acf195989019056a1ca58743629f5a99729a79924d21df8ed8cb5ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1025-1035 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1123-1133 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1228-1238 | crates/router/src/core/split_payments.rs:595-605 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1025\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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"079804d16d6c3abea3cf6e2e7ecb7eebd4528a2879d6d1aadc05501762dd88cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:88-97 | crates/router/src/core/payments/operations/payment_session.rs:90-100 | crates/router/src/core/payments/operations/payment_update_metadata.rs:86-95 | crates/router/src/core/payments/operations/tax_calculation.rs:105-115 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 174 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 \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs:88\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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a53dab0e96dbb9b219cdf927808e7f4cc6a9d6749cfcc30ea0d198d9be5171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/core/payments/transformers.rs:145-155 | crates/router/src/core/payments/transformers.rs:867-877 | crates/router/src/core/payments/transformers.rs:2446-2456 | crates/router/src/core/payments/transformers.rs:8815-8825 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b653a59af2a26059686db5d131bf14bfd128968b799d304404134869d7974d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/db/refund.rs:401-411 | crates/router/src/db/refund.rs:423-433 | crates/router/src/db/refund.rs:1269-1279 | crates/router/src/db/refund.rs:1291-1301 \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. 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":"crates/router/src/db/refund.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fba280bd27460c8512ab8ae7ce228c64f39ad8a88360a3d89454564725dc19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/db/refund.rs:1748-1758 | crates/router/src/db/refund.rs:1862-1872 | crates/router/src/db/refund.rs:2079-2089 | crates/router/src/db/refund.rs:2191-2201 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/refund.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"0256f846ef2aa4666844de5132c5c533e32579ab64a9b9eda304b14289b66fcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/routes/disputes.rs:314-324 | crates/router/src/routes/disputes.rs:756-766 | crates/router/src/routes/refunds.rs:660-670 | crates/router/src/routes/refunds.rs:865-875 \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 \u0060crates/router/src/routes/disputes.rs:314\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca600238f35990f4abaa8a9d2a6c8933e1583f7476527a395eba5742567a5a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/routes/payment_methods.rs:513-524 | crates/router/src/routes/payment_methods.rs:604-614 | crates/router/src/routes/payment_methods.rs:669-680 | crates/router/src/routes/payment_methods.rs:1707-1717 \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 \u0060crates/router/src/routes/payment_methods.rs:513\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, \u0060crates/router/src/routes/payment_methods.rs:512\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/routes/payment_methods.rs:603\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"6631121acfa058db9b87c6559d9b48cbc1381904c62092a1d87e0131a2c4802f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/routes/payments.rs:1701-1711 | crates/router/src/routes/payments.rs:1757-1767 | crates/router/src/routes/payments.rs:1815-1825 | crates/router/src/routes/payments.rs:1873-1883 \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 \u0060crates/router/src/routes/payments.rs:1701\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c267989d23dff30ef99e63999395dcddf28a91a85c920d47cc7835c842f2295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/routes/routing.rs:765-775 | crates/router/src/routes/routing.rs:807-817 | crates/router/src/routes/routing.rs:955-965 | crates/router/src/routes/routing.rs:1056-1066 \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 \u0060crates/router/src/routes/routing.rs:765\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":"crates/router/src/routes/routing.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b03fdefed44b6e9b83c3cf6ce3da96f3f750964a4a9bfb0934ec9f0d1355778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/services/authentication.rs:1119-1129 | crates/router/src/services/authentication.rs:2616-2626 | crates/router/src/services/authentication.rs:2889-2899 | crates/router/src/services/authentication.rs:2955-2965 \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 \u0060crates/router/src/services/authentication.rs:1119\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ceb234e98aba00ba5abb6f4b16b2c97e1e24546b92da91f5cf4f70dbae68da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/types/transformers.rs:1032-1042 | crates/router/src/types/transformers.rs:1107-1117 | crates/router/src/types/transformers.rs:1180-1190 | crates/router/src/types/transformers.rs:1349-1359 \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. 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":"crates/router/src/types/transformers.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"333a3ec4f684c8e439bc521c4e919cf7e776e69f68848d459a8edbf6953969a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4): crates/router/src/utils.rs:779-806 | crates/router/src/utils.rs:844-871 | crates/router/src/utils.rs:921-948 | crates/router/src/utils.rs:985-1012 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84f918d5a222c71beeb8c5e414bc7422486e4e213a66f9d1747eb6d9c58b000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/analytics/src/payments/metrics/debit_routing.rs:43-53 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:44-54 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:46-57 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/debit_routing.rs\u0060 and \u0060crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 215 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 \u0060crates/analytics/src/payments/metrics/debit_routing.rs:43\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":"crates/analytics/src/payments/metrics/debit_routing.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d508f8a8e40f0801ab6ebd915491f69c073406af9272e0ac4da427e4315b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:41-53 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:44-56 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:46-56 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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":"crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7a0edd88c7946b7f08b4b60dbd97cad700154b3d34d6fff556de4c80895824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/analytics/src/sqlx.rs:584-595 | crates/analytics/src/sqlx.rs:1267-1278 | crates/analytics/src/sqlx.rs:1321-1332 \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 \u0060crates/analytics/src/sqlx.rs:584\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"0417ca184d25e149885b8cde634cdd2244e98987e446607507c0eeb322a8d569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4372-4382 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4601-4611 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4868-4878 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4372\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, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4881\u0060 calls \u0060to_string\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4385\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":4372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b32c01affe373428db82f4fa8fa538ce68837b9bed2b3b3eb4c9eac97ce8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/airwallex.rs:1100-1110 | crates/hyperswitch_connectors/src/connectors/calida.rs:637-646 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:728-737 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/calida.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs:1100\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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdddba8b5f24d4d05ff9201653eb888c5015a2b7ee2c3e7fa55defdcaba5436d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:331-341 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:435-445 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:245-255 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:331\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1badb9fa03c974faf3a5ce8beed31d4781f28ab6085916d47bf39f5b3964e731"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/boku.rs:278-288 | crates/hyperswitch_connectors/src/connectors/boku.rs:362-372 | crates/hyperswitch_connectors/src/connectors/boku.rs:442-452 \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 \u0060crates/hyperswitch_connectors/src/connectors/boku.rs:278\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":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b408dc732f4110b05d2663aeda659ed6bf08d53e0e16ad00d9043acee0fa107f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/checkout.rs:194-204 | crates/hyperswitch_connectors/src/connectors/paypal.rs:208-218 | crates/hyperswitch_connectors/src/connectors/paypal.rs:414-425 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 114 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 \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs:194\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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2672b9705795789a03cea4f08e83ad28af3bd7301f67b9b43c7a7c3f6705bcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/nmi.rs:614-624 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:323-333 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2011-2021 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/nmi.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payeezy.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b05e10e4719eb4d9f923a59677512e3bb61d99daab7647c2c24a756f8c8e96e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/payme.rs:336-346 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:267-277 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:606-616 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/payme.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/trustpay.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac10af94a9552218707e178dd969ba56158775534ac0a98893633cab1ee90ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1009-1018 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1194-1204 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1236-1246 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1009\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026PaypalRouterData\u003C\u0026PaymentsPostSessionTokensRouterData\u003E\u0060 in one and \u0060\u0026PaypalRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa25f20d37a868c41f6574ec47d6e0380c197b062142cd1a8e5601d43c7f458e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:369-378 | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:390-400 | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:476-486 \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 \u0060crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:369\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, ZslPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, ZslWebhookResponse, PaymentsSyncData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"82219fba9527c0926fbfeecd0e6719e93c1a625ffe31b9fd0eefd61136761662"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_connectors/src/utils.rs:2247-2257 | crates/hyperswitch_connectors/src/utils.rs:2303-2313 | crates/hyperswitch_connectors/src/utils.rs:2356-2366 \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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6134b485c7a9cb06ebfe11ee2a9b716c0d644b940a66d142ad9b348b4e3c40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_domain_models/src/lib.rs:1135-1145 | crates/router/src/core/payments/transformers.rs:8452-8462 | crates/router/src/core/payments/transformers.rs:8530-8540 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060 and \u0060crates/router/src/core/payments/transformers.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/hyperswitch_domain_models/src/lib.rs:1135\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 \u0060config\u0060 to \u0060api_models::admin::PaymentLinkConfigRequest\u0060 in one and \u0060diesel_models::PaymentLinkConfigRequestForPayments\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4863aff73f9165915698301effe216aca1579d621ecc76320f915eccc390846f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_domain_models/src/payments.rs:798-808 | crates/hyperswitch_domain_models/src/payments.rs:852-862 | crates/hyperswitch_domain_models/src/payments.rs:890-900 \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 \u0060crates/hyperswitch_domain_models/src/payments.rs:798\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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"16db2217e59844bf7dc5d696f0263ee2ccd007b34cad37c34dbe063415837e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_domain_models/src/type_encryption.rs:175-186 | crates/hyperswitch_domain_models/src/type_encryption.rs:414-424 | crates/hyperswitch_domain_models/src/type_encryption.rs:887-897 \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 \u0060crates/hyperswitch_domain_models/src/type_encryption.rs:175\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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"555aa79c26f4035e92b1136cec53f5f7bb9d9ecd444d3b25ed1ec603086ba418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/fraud_check/flows/checkout_flow.rs:158-168 | crates/router/src/core/fraud_check/flows/sale_flow.rs:154-164 | crates/router/src/core/fraud_check/flows/transaction_flow.rs:121-131 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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 \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:158\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, \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:169\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs:165\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":"crates/router/src/core/fraud_check/flows/checkout_flow.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2d6e82ea9daf09a209ed76a46552ef23b4e8a906054d92b08634403cba19a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/fraud_check/flows/record_return.rs:117-127 | crates/router/src/core/fraud_check/flows/sale_flow.rs:169-179 | crates/router/src/core/fraud_check/flows/transaction_flow.rs:135-145 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/record_return.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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, \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs:181\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/fraud_check/flows/record_return.rs:129\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":"crates/router/src/core/fraud_check/flows/record_return.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a7383a10b15e6f53feade00a08d0cfbd5b437353fd2d3b4a61d5a0ddb895c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payment_link.rs:234-244 | crates/router/src/core/payment_link.rs:268-278 | crates/router/src/core/payment_link.rs:910-920 \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":"crates/router/src/core/payment_link.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bc9015a92e2612e2d2093952326b74afffda66d626e5219d72985a4232f3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payment_methods.rs:3432-3442 | crates/router/src/core/payment_methods.rs:3749-3759 | crates/router/src/core/payment_methods.rs:4094-4104 \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 \u0060crates/router/src/core/payment_methods.rs:3432\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3432}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e427e30b3e9886055f429dd9228c28375644bfa93270df2bcb6399fab86bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:5214-5224 | crates/router/src/core/payment_methods/cards.rs:5228-5236 | crates/router/src/core/payment_methods/cards.rs:5242-5250 \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, \u0060crates/router/src/core/payment_methods/cards.rs:5237\u0060 calls \u0060insert\u0060 and \u0060crates/router/src/core/payment_methods/cards.rs:5225\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5214}}}],"partialFingerprints":{"codehealthFindingId/v1":"104f6251b576fe75ce74c27e44d760b9d7b935f5e722898ce122d7ee7d599281"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:5440-5449 | crates/router/src/core/pm_auth.rs:117-126 | crates/router/src/core/superposition_sdk_config.rs:79-89 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/superposition_sdk_config.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 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 \u0060crates/router/src/core/payment_methods/cards.rs:5440\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5440}}}],"partialFingerprints":{"codehealthFindingId/v1":"758c5080972365cd5b7738e3e9f8a29e0a6c04320c0568bc6f1763452fd730c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payment_methods/network_tokenization.rs:131-141 | crates/router/src/core/payment_methods/network_tokenization.rs:303-313 | crates/router/src/core/payment_methods/network_tokenization.rs:1172-1182 \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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5b03834ede007be4adf1a45943ec31a856fcde8e46fa52c6b37f40bdf0c942"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/router/src/core/payments.rs:5520-5529 | crates/router/src/core/payments.rs:5668-5677 | crates/router/src/core/payments.rs:6219-6229 \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 \u0060crates/router/src/core/payments.rs:5520\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":"crates/router/src/core/payments.rs"},"region":{"startLine":5520}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e3ce20888c40de0093c4b08fd4c4b6f5a519d27573319e83ceb4b9fb72a753"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payments/helpers.rs:499-509 | crates/router/src/utils.rs:823-833 | crates/router/src/utils.rs:964-974 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/utils.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/router/src/core/payments/helpers.rs:499\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacbfa6b6546341e1490fa1fb486cf4ba28206de9ec49e409b6dead54f760778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payments/operations/payment_approve.rs:312-322 | crates/router/src/core/payments/operations/payment_capture.rs:411-421 | crates/router/src/core/payments/operations/payment_status.rs:700-710 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_approve.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_capture.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/router/src/core/payments/operations/payment_approve.rs:312\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":"crates/router/src/core/payments/operations/payment_approve.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f3be78c983ee0a48830afacaab717788efeb10628ce3628a1fcd5c28225082"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payments/operations/payment_complete_authorize.rs:145-155 | crates/router/src/core/payments/operations/payment_create.rs:134-144 | crates/router/src/core/payments/operations/payment_create.rs:1873-1883 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7afec72c9e7b74a32fb32fd117d4ce5b4f9898d95d5036972be5275160ce730"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payments/operations/payment_complete_authorize.rs:310-320 | crates/router/src/core/payments/operations/payment_confirm.rs:527-537 | crates/router/src/core/payments/operations/payment_update.rs:292-302 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 as WHOLE FILES: this scan already matched 6 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48fb953a6d2e0e50e201903b612921fd6749cd29ad394f20beab25d861bbce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payments/operations/payment_confirm.rs:449-459 | crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:439-449 | crates/router/src/core/payments/operations/payment_recurrence.rs:131-141 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 96 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"345b514d58106450feb25bf3b080f3eb3c0eac5a1ff5bec85e383a4f700a910c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payments/operations/payment_create.rs:936-946 | crates/router/src/core/payments/operations/payment_update.rs:786-796 | crates/router/src/core/payments/operations/tax_calculation.rs:325-335 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 170 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 \u0060crates/router/src/core/payments/operations/payment_create.rs:936\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef048d8d29a2a50258d62b0ae5e07aef98c1a09627fbcafb3b372a61868c816d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:2323-2333 | crates/router/src/core/payments/transformers.rs:2568-2578 | crates/router/src/core/payments/transformers.rs:8905-8915 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac4c8f7d12d9a8ce8c204358e497137bc547da8fb718d417cc993323bfaa609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): crates/router/src/db/events.rs:215-224 | crates/router/src/db/relay.rs:50-58 | crates/storage_impl/src/tokenization.rs:53-63 \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 \u0060crates/router/src/db/events.rs:215\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":"crates/router/src/db/events.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f77c47df3971bd8dcf5836483129cb78f9cabe53503a31a31dc4d05dca8c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/routes/payments.rs:1715-1725 | crates/router/src/routes/payments.rs:1829-1839 | crates/router/src/routes/payments.rs:3438-3449 \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 \u0060crates/router/src/routes/payments.rs:1715\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6bb38f76979ca8125e997074e4e884c3bee1666fb9f66f8bbd85be3196fdee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/routes/payouts.rs:100-110 | crates/router/src/routes/payouts.rs:243-253 | crates/router/src/routes/payouts.rs:284-294 \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 \u0060crates/router/src/routes/payouts.rs:100\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f48191bc05086a7da18417f6fa9c2c1f7f478faa267ec0b1a1722c5d6d30d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/routes/refunds.rs:203-213 | crates/router/src/routes/refunds.rs:257-267 | crates/router/src/routes/refunds.rs:363-373 \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 \u0060crates/router/src/routes/refunds.rs:203\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":"crates/router/src/routes/refunds.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"581cd3cfa8fa547a0997bc946f079ffc6084678b27f48810849260bf64206640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): crates/router/src/services/authentication.rs:1847-1856 | crates/router/src/services/authentication.rs:2378-2388 | crates/router/src/services/authentication.rs:2591-2600 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e827613c5cafcae7136adff19e7605f4d5c3e6261ebc6af832edd26565d2d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/analytics/src/auth_events/core.rs:172-182 | crates/analytics/src/refunds/core.rs:333-343 \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 \u0060crates/analytics/src/auth_events/core.rs:172\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":"crates/analytics/src/auth_events/core.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"227de45b40c4913e113ba1c5160098c9867ae791df5415950ef7570bd093fe92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/analytics/src/payment_intents/accumulator.rs:146-156 | crates/analytics/src/payment_intents/accumulator.rs:276-286 \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 \u0060crates/analytics/src/payment_intents/accumulator.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0381d0e417cba77e9047a30c0dbf8e9dcc20238baa42608627557d8cd6652a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/analytics/src/sqlx.rs:1114-1125 | crates/analytics/src/sqlx.rs:1213-1224 \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 \u0060crates/analytics/src/sqlx.rs:1114\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7299cac0b0f07d7b880f38f05dca87976f136e2f0f71cc4ce11efbd5ddbef707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/api_models/src/payments.rs:12962-12972 | crates/api_models/src/payments.rs:13097-13107 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":12962}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ae5fd2a6f6a8e0381766a67d0b1ce4cc99a067f5aa997741d38376c3315e2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/diesel_models/src/payment_method.rs:1882-1892 | crates/hyperswitch_domain_models/src/mandates.rs:390-400 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060connector_id\u0060 to \u0060\u0026common_utils::id_type::MerchantConnectorAccountId\u0060 in one and \u0060\u0026id_type::MerchantConnectorAccountId\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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"8172293935505efa5c2c63c6a92bc13ac226a41305d29946126eb6b7433e5171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:918-928 | crates/diesel_models/src/query/blocklist.rs:1006-1016 \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 \u0060crates/diesel_models/src/query/blocklist.rs:918\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, \u0060crates/diesel_models/src/query/blocklist.rs:1003\u0060 calls \u0060is_null\u0060 and \u0060crates/diesel_models/src/query/blocklist.rs:915\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f55bb467a0453c46654a3b70de09a3cb00cfcc5c3f41f8b7a12512ba2438c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/diesel_models/src/query/user/sample_data.rs:82-92 | crates/diesel_models/src/query/user/sample_data.rs:106-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 \u0060crates/diesel_models/src/query/user/sample_data.rs:82\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":"crates/diesel_models/src/query/user/sample_data.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bde9733fc10765119b1ee28de639f0dd01a4a983dfa8302c21acb1119ad03f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/drainer/src/health_check.rs:134-144 | crates/router/src/db/health_check.rs:36-46 \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 \u0060crates/drainer/src/health_check.rs: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":"crates/drainer/src/health_check.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d57f8cbe5be439fafd03365460e85af9072c069275fa4ef13d2517355f15988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/drainer/src/settings.rs:172-182 | crates/router/src/configs/settings.rs:2056-2066 \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 \u0060crates/drainer/src/settings.rs:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/drainer/src/settings.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"582e51e56e8bc0e2ef922dc52491cac1c3961f2621ad12f05602f56f19c66ec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/euclid_wasm/src/lib.rs:410-420 | crates/euclid_wasm/src/lib.rs:532-542 \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 \u0060crates/euclid_wasm/src/lib.rs: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":"crates/euclid_wasm/src/lib.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c1e44fb6d3f3d7aa37028850dff123609d83559f0ef499f47373bfd339813d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/external_services/src/superposition.rs:998-1008 | crates/external_services/src/superposition.rs:1024-1034 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/external_services/src/superposition.rs:998\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":"crates/external_services/src/superposition.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12497731a4363fa2ba25fd63d0b9af380229df31467bebdcadd617547b26ce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:441-451 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:586-596 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:441\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":"crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbaac52efa5a69b9a41ef96cca18c76c7bd2b283005d7ca95e4fb5f835d543e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3517-3527 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3736-3746 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3517\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, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3735\u0060 calls \u0060get_address_info\u0060, \u0060get_optional_billing\u0060, \u0060and_then\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3515\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3517}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a921b104fa675a9f57b9d88336ba0e9affa0360f1289b8f4a849a45e6a31ad6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1273-1283 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1380-1390 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1273\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a513a6ef0f3f5d32079cb3c46aae1ceeaa8a684f29244d8410f16983bc04c9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bambora.rs:431-441 | crates/hyperswitch_connectors/src/connectors/bambora.rs:612-622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs:431\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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecd78eee4513bac069bdc9012095cc329b9122cb966c9b1ee1309119b26597e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1148-1158 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2787-2797 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1148\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceea0d0f6ed00a9c15d42116e3c2913142684734136375f31ac8df695d369b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:417-427 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:447-457 \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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:417\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be5a75fea32134f30a6119fbfcd5317d39e8f1b0ec3e4755c9ad39e0ce2f873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:412-422 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:478-487 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs\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 10 separate duplicated blocks between them, totalling at least 90 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:412\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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"577f46e9a973aa1e10756871309d85d92dbc699ce7047347509ea9593b8f73a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/breadpay.rs:314-324 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:700-710 \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":"crates/hyperswitch_connectors/src/connectors/breadpay.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8db45b81cbd25084936418e016774581e9b3ac568dbcb9af91b346374f1b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:196-206 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:220-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:233\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:209\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":"crates/hyperswitch_connectors/src/connectors/celero/transformers.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"7086483a3cf67f180c99a996e6ba958188d6af10ca9647e4a14138710a139b4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2387-2397 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2456-2466 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2387\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56853cb621200cf185d4cb9ed829adf4969fa5db869f45e862579b6fb89f54f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:605-615 | crates/hyperswitch_connectors/src/connectors/paybox.rs:382-392 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paybox.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e898bdc90b6509589f2b73ca6f08bf91c118beb164fc342fa6318c16c874201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:803-813 | crates/hyperswitch_connectors/src/connectors/paybox.rs:537-547 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paybox.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a874b4c9fdf71ee64437fc39cfb6475325ccf9c79c51cc8df5ccaab0c9a6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs:207-217 | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs:541-551 \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 \u0060item\u0060 to \u0060\u0026GetnetRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026GetnetRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4772ae0fdb56309028ed696ed75f423e65e350a227ba7fe400f0dc842a40a031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gigadat.rs:789-799 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:872-882 \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 \u0060crates/hyperswitch_connectors/src/connectors/gigadat.rs:789\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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f4a2fc5923d00fbc0dcf909cff0f04866e6d3643375c9ba51c456426ad253a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/globepay.rs:450-460 | crates/hyperswitch_connectors/src/connectors/globepay.rs:524-534 \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 \u0060crates/hyperswitch_connectors/src/connectors/globepay.rs:450\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":"crates/hyperswitch_connectors/src/connectors/globepay.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"904951a3515d3443af2592ef0a871feff48ca1c3e8c7fa9b49afbcb31024a2a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gocardless.rs:511-521 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:585-595 \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 \u0060crates/hyperswitch_connectors/src/connectors/gocardless.rs:511\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":"crates/hyperswitch_connectors/src/connectors/gocardless.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab60de19369996ef42c7ef92a49a5fd61674326e0201af08131e12fae8bb7552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:248-258 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:325-335 \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 \u0060crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a647d5c2f503b67c1ea16ddb7dd708f20227ee416da56eb8ef69658cf05dae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/helcim.rs:276-284 | crates/hyperswitch_connectors/src/connectors/helcim.rs:365-375 \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 \u0060crates/hyperswitch_connectors/src/connectors/helcim.rs:276\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":"crates/hyperswitch_connectors/src/connectors/helcim.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eb57888e13aebc6177e7ddfb4771894488aa7a3c286c424ad4f160e2c6c881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/mollie.rs:381-391 | crates/hyperswitch_connectors/src/connectors/mollie.rs:467-477 \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 \u0060crates/hyperswitch_connectors/src/connectors/mollie.rs:381\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":"crates/hyperswitch_connectors/src/connectors/mollie.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"c916cc900c665d421475ef9119d7a116ef134dc7adf1131841ba99bd773d2d32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:548-558 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:765-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 \u0060crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:548\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":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf5d841b15b630c485350f89173272c56d5c9b3116a30420d38b6456ac5c251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexinets.rs:432-442 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:515-525 \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 \u0060crates/hyperswitch_connectors/src/connectors/nexinets.rs:432\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":"crates/hyperswitch_connectors/src/connectors/nexinets.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fdfc8e71e3f15d47096062ad925f4c431ef2c3cf2c5cf344a151025a5b8cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1175-1185 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1440-1450 \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 \u0060crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1175\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 \u0060item\u0060 to \u0060\u0026NmiRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in one and \u0060ResponseRouterData\u003CVoid, StandardResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fa93d8f2d65ae8f712230fb86ce3982bcbb88638b8c7d19d6e767423f68284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1523-1533 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1539-1549 \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":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6981b771195fc0ab78898afd249c93295e6bb1e600f3298cd555e114568c15a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nomupay.rs:460-470 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:729-739 \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 \u0060crates/hyperswitch_connectors/src/connectors/nomupay.rs:460\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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9a27339b03bee12e83efd9e66787c3acda9513fe8c71fcf2ee7fbcc34e6b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payeezy.rs:240-250 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:341-351 \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 \u0060crates/hyperswitch_connectors/src/connectors/payeezy.rs:240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/payeezy.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d09226bddfec3c2197140cd090892e0ae8c81cf6417d8a94ca2f31ff643e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payload.rs:429-439 | crates/hyperswitch_connectors/src/connectors/payload.rs:522-532 \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 \u0060crates/hyperswitch_connectors/src/connectors/payload.rs:429\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":"crates/hyperswitch_connectors/src/connectors/payload.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e84f79ea5e61b5f32f75c6bf8f2556c73a651b5c29fb0466f80d73b3854937"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payload/transformers.rs:174-183 | crates/hyperswitch_connectors/src/connectors/payload/transformers.rs:426-436 \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":"crates/hyperswitch_connectors/src/connectors/payload/transformers.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3d5e04b7333f64b77803172c051850c480270728d4eb8debc3351e86fd51b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:409-419 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:424-434 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026PaypalRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026PaypalRouterData\u003C\u0026PaymentsPostSessionTokensRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"608ee02b774596799873f2cff94006d7963ecb6d1fc855b0cb6031a7490454eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:2805-2815 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:3206-3216 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:2805\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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":2805}}}],"partialFingerprints":{"codehealthFindingId/v1":"836af9fc89e5e296847a5c26b94ce18121d20f10de36a9ff51b9519c770f388e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1130-1140 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1165-1175 \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 \u0060crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1130\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":"crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c98d965cd14b9486d2bce5ec47aa4020efe66787280a66009a0ebbad5c392a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/placetopay.rs:553-563 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:632-642 \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 \u0060crates/hyperswitch_connectors/src/connectors/placetopay.rs:553\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":"crates/hyperswitch_connectors/src/connectors/placetopay.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e97000f50ea7381e3ce3f598cb0e2769a5ae7b462a49d4bfc4179a9b3cbf20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1301-1311 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1565-1575 \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 \u0060crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1301\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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5248e3ff05bd80c7d654cae3321eb0e094ddee020d31a98fffe4e001173a6d3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/riskified.rs:478-488 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:555-563 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/riskified.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/signifyd.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 93 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 \u0060crates/hyperswitch_connectors/src/connectors/riskified.rs:478\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":"crates/hyperswitch_connectors/src/connectors/riskified.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf561584666cef212de63468dc9adfdb052b57d7e08d4b5cc378cc18c541e785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:218-228 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs: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 \u0060crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:218\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":"crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"12cb706a04459cc583d64831c78889a2d6df42ac6227ad2bf5324e93649c00d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe.rs:1322-1332 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1571-1581 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:1322\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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7d1fd64a6c99f86e6af793327a18817e05baf622ca84892ca0cd68a1210363"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:740-750 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:817-827 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:740\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":"crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d02e12bdb594f0725595e32fa0e8092558add9dad8f0497bc56ddeb02b82740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/wise.rs:289-299 | crates/hyperswitch_connectors/src/connectors/wise.rs:631-641 \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 \u0060crates/hyperswitch_connectors/src/connectors/wise.rs: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":"crates/hyperswitch_connectors/src/connectors/wise.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d459465ab291ae527ae44972fbaa126950f7d4b873f1524d4298aeda3de2fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:4718-4728 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:4736-4746 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:4718\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":4718}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2dc2aaf14b6886cf02756c95cd050fae3fc1ffa6a82d0cc68bb5baf9e71bed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:524-534 | crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:1058-1068 \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 \u0060crates/hyperswitch_connectors/src/connectors/zift/transformers.rs:524\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 \u0060item\u0060 to \u0060PaymentsCaptureResponseRouterData\u003CZiftCaptureResponse\u003E\u0060 in one and \u0060\u0026SetupMandateRouterData\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":"crates/hyperswitch_connectors/src/connectors/zift/transformers.rs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"e190bcd958244032079668fad23e78137ea3b07b8ac331dfa58728245b963dd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/zsl.rs:210-220 | crates/hyperswitch_connectors/src/connectors/zsl.rs:249-259 \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 \u0060crates/hyperswitch_connectors/src/connectors/zsl.rs:210\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":"crates/hyperswitch_connectors/src/connectors/zsl.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a81bb4032d5741c81d10bcee9077ccff1d0a6f4595b4b9795d9807f2cc36755"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:348-358 | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:454-464 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:348\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, ZslPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, ZslWebhookResponse, PaymentsSyncData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:467\u0060 calls \u0060try_from\u0060, \u0060clone\u0060, \u0060to_string\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:361\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":"crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34ee3aa62caa6424d786558f79236fac533eeb80e78a2cb94a5d6b9ce310a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:974-986 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1178-1188 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:974\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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce504d9dd761a07c65eb869fd5acdd925c29500f391d530e830e13e85139bca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1019-1030 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1122-1132 \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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c21194c881e97f3d01353285c54cc57ec3a274736745451a53b7728460b64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_domain_models/src/router_request_types.rs:845-855 | crates/hyperswitch_domain_models/src/router_request_types.rs:870-880 \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 \u0060crates/hyperswitch_domain_models/src/router_request_types.rs:845\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 \u0060data\u0060 to \u0060PaymentsAuthorizeData\u0060 in one and \u0060SetupMandateRequestData\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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"93378a762f56b9e9cead550c4cc9b588b7bc1f158892b7eefa026180eb79caf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_domain_models/src/tokenization.rs:72-82 | crates/hyperswitch_domain_models/src/tokenization.rs:103-113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/tokenization.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfed4ff7ab08370958a374a04775e8f709535ab24febebe7849c87921891bf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_domain_models/src/type_encryption.rs:681-691 | crates/hyperswitch_domain_models/src/type_encryption.rs:757-767 \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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"c856062672b36eb489509ef49e98121ae5d69bf9394ea78bbccdfc26670dbf6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs:856-866 | crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs:895-905 \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 \u0060crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs:856\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":"crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"429251a766d16124a8a251efdaa99abbbe320a93c27255ba58bd14d6be885779"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201311 lines \u00D7 3): crates/router/src/analytics.rs:1790-1793 | crates/router/src/analytics.rs:1837-1847 | crates/router/src/analytics.rs:2225-2235 \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 \u0060crates/router/src/analytics.rs:1790\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":"crates/router/src/analytics.rs"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca2e5f7b3780bb0c4b49f9e5ad88eb10483cbe8340bb544a3cf3aff451f5db1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/analytics.rs:2342-2352 | crates/router/src/analytics.rs:2408-2418 \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 \u0060crates/router/src/analytics.rs:2342\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":"crates/router/src/analytics.rs"},"region":{"startLine":2342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5088b54bda4deeebe5e140b7b6fff2b9e45689077806522e70e00911d9a65d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/bin/router.rs:11-21 | crates/router/src/bin/scheduler.rs:30-39 \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":"crates/router/src/bin/router.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02a926ebe61b2c2186ec31d9fc4d10c05407ea7ad33d356bf7bb577e53e732d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/admin.rs:3180-3190 | crates/router/src/core/admin.rs:3260-3270 \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 \u0060crates/router/src/core/admin.rs:3180\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3180}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c38a12e832d45854efc16051e19c0bde96fa673d96df0d49b55d71e0ec6e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/admin.rs:3654-3664 | crates/router/src/core/admin.rs:3888-3898 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":3654}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e159b7a9f974142be90418d14e0514ec4c275506d43600706b7f03158a83a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/authentication/utils.rs:151-161 | crates/router/src/core/unified_authentication_service/utils.rs:241-251 \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 \u0060crates/router/src/core/authentication/utils.rs: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":"crates/router/src/core/authentication/utils.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0d0616b8b82ddb680e1f15a54c9d93d2f8ac23741fb1fc9412f76996500d12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/blocklist/batch.rs:356-366 | crates/router/src/core/blocklist/export.rs:79-89 \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":"crates/router/src/core/blocklist/batch.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"22500a27b9c2c67bc50181b7042b37f092f9d33c1448b2d3abcaa6ce68fb2d75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/conditional_config.rs:251-261 | crates/router/src/core/surcharge_decision_config.rs:189-199 \u2014 before extracting anything, compare \u0060crates/router/src/core/conditional_config.rs\u0060 and \u0060crates/router/src/core/surcharge_decision_config.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 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 \u0060crates/router/src/core/conditional_config.rs:251\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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"973b374417484693c9e9cd8beff6d919ff819d0c7606377fe9a9d67106b64bad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/connector_onboarding.rs:31-41 | crates/router/src/core/connector_onboarding.rs: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 \u0060crates/router/src/core/connector_onboarding.rs:31\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":"crates/router/src/core/connector_onboarding.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ef5e2a80b821687a6b34ed3a06c12880aec115601933512e066c1f088194f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/connector_onboarding/paypal.rs:156-166 | crates/router/src/core/connector_onboarding/paypal.rs:172-182 \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 \u0060crates/router/src/core/connector_onboarding/paypal.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/connector_onboarding/paypal.rs:183\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/connector_onboarding/paypal.rs:167\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":"crates/router/src/core/connector_onboarding/paypal.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf1705364062d52c75b8b40414a93f7d65b75e5873ba5785ca5af531ffff046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/core/customers.rs:1469-1478 | crates/router/src/core/customers.rs:1623-1633 \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 \u0060crates/router/src/core/customers.rs:1469\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":"crates/router/src/core/customers.rs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"6859e9f749c334b852e647c77015c0463113294153c4fc141073fa931d465332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/mandate/utils.rs:44-54 | crates/router/src/core/webhooks/utils.rs:95-105 \u2014 \u0060crates/router/src/core/mandate/utils.rs\u0060 and \u0060crates/router/src/core/webhooks/utils.rs\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 4 separate duplicated blocks between them, totalling at least 51 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":"crates/router/src/core/mandate/utils.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe17058ae5ec0c6393995536ac557441337ad9af3061c9a9af05c15df25b7b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payment_link/validator.rs:53-63 | crates/router/src/core/payouts/validator.rs:665-675 \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 \u0060crates/router/src/core/payment_link/validator.rs:53\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":"crates/router/src/core/payment_link/validator.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b6baa361f2d5d55151143cdd685cc294e2ebc968a5750b5b1a41f18e909cce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payment_methods.rs:344-354 | crates/router/src/core/payout_link.rs:94-104 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"be85bd84c637671a24a3e6330cd3f8b8dd5b64f4a6b8764690dd305bfedcd4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payment_methods.rs:1142-1152 | crates/router/src/core/payment_methods.rs:1262-1272 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b09f2981111269723d9935cf2bf793ec57b9dbab202a7ca3d1cc1245d2e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payment_methods.rs:4964-4975 | crates/router/src/core/payment_methods.rs:5130-5140 \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 \u0060crates/router/src/core/payment_methods.rs:4964\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, \u0060crates/router/src/core/payment_methods.rs:5141\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/core/payment_methods.rs:4976\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":4964}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90b3aa7f3d6e139f031a35e2e5be404aa63f80dc15b2b51fb2b6c53e87eda6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:6338-6348 | crates/router/src/core/payments/payment_methods.rs:763-773 \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 \u0060crates/router/src/core/payment_methods/cards.rs:6338\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6338}}}],"partialFingerprints":{"codehealthFindingId/v1":"806d67282d030c60b532c82ee1039052cafb701d58b30e9da20e5425e409690c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:349-359 | crates/router/src/core/payment_methods/transformers.rs:395-403 \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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"e132bddd9fd96045324a6b553944210c571afbc31d420847c80a0c4471254965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:759-769 | crates/router/src/core/payment_methods/transformers.rs:1172-1182 \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 \u0060crates/router/src/core/payment_methods/transformers.rs:759\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2799890fe68ba1bc775b32549472c92ffeb71dd7e17cad19167a1922d91659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:1579-1589 | crates/router/src/core/payment_methods/transformers.rs:1703-1713 \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 \u0060crates/router/src/core/payment_methods/transformers.rs:1579\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 \u0060response\u0060 to \u0060\u0026RetrievePaymentMethodResponse\u0060 in one and \u0060\u0026CreatePaymentMethodResponse\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58c8b6c3ad86e22f8d6c664ec5bea2720e847227f0f2db367abf846b9b9bf4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments.rs:7111-7121 | crates/router/src/core/payments.rs:9179-9189 \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 \u0060crates/router/src/core/payments.rs:7111\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":"crates/router/src/core/payments.rs"},"region":{"startLine":7111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77c9e326d427ce0531bccd3cb891f77ba4b361ddaee6bd9d99520248286465e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/flows/authorize_flow.rs:1473-1483 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:673-683 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/flows/authorize_flow.rs\u0060 and \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 108 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 \u0060crates/router/src/core/payments/flows/authorize_flow.rs:1473\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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1473}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef298b473e97d0ce32b02f47a3de4a2d2b624e863cd0f2648094e3680c497497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:6593-6603 | crates/router/src/core/payments/helpers.rs:6711-6721 \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 \u0060crates/router/src/core/payments/helpers.rs:6593\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":6593}}}],"partialFingerprints":{"codehealthFindingId/v1":"c533606c9df72ef3921b868e3f1e26bcb65acf4a46038ca8a6f43799130d7e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:7746-7755 | crates/router/src/core/payments/helpers.rs:7865-7876 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payments/helpers.rs:7864\u0060 calls \u0060clone\u0060, \u0060expose\u0060 and \u0060crates/router/src/core/payments/helpers.rs:7745\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":7746}}}],"partialFingerprints":{"codehealthFindingId/v1":"b617aeabf60d7fd3e39cb07b1faa816b5bd16e6c4eeb3a889525271923e53600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:8945-8955 | crates/router/src/core/payments/helpers.rs:8958-8968 \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 \u0060crates/router/src/core/payments/helpers.rs:8945\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8945}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6015820762ca8246dd5215a6aa351bf2f22a1546bbf9793db104fc18f0558b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/operations/payment_complete_authorize.rs:719-729 | crates/router/src/core/payments/operations/payment_update.rs:1024-1034 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 7 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb32101bcfb421833d7fd231ef701968fc5f17d90355e08660a8d4048fc6b7e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:104-114 | crates/router/src/core/payments/operations/payment_recurrence.rs:65-74 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 191 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e72ba5945fc33efec1cce95b2581596e188de79f4f1bb4ad0d1778543feed68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:643-653 | crates/router/src/core/payments/operations/payment_create.rs:197-207 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:643\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b09fb71c1a9fc5b5931e7032c6551896579c35dbe70a681208225b1fff4737"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:845-854 | crates/router/src/core/payments/operations/payment_recurrence.rs:263-273 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_recurrence.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 191 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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:845\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b035fc5ef5507871ec53d8765d9d2b9699fb0f0be672aca4c7a214c75a8864e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/core/payments/operations/payment_post_session_tokens.rs:116-125 | crates/router/src/core/payments/operations/tax_calculation.rs:119-129 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_post_session_tokens.rs\u0060 and \u0060crates/router/src/core/payments/operations/tax_calculation.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 236 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":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c00efe08e00b5cb8051a95f8779094423ae827a7c66ed09374e413428bf73d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/operations/payment_reject.rs:82-92 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:98-108 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_reject.rs\u0060 and \u0060crates/router/src/core/payments/operations/payments_incremental_authorization.rs\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":"crates/router/src/core/payments/operations/payment_reject.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53656e1d9c1809364b0a39b736cd986127d541ed86b96844812a0def4a3aedf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/operations/payment_response.rs:1742-1752 | crates/router/src/core/payments/operations/payment_response.rs:5381-5391 \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 \u0060crates/router/src/core/payments/operations/payment_response.rs:1742\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"9513faeddd42d86bb50eb246c28e1efe83a65c60aab792372afb0565612bc5cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:357-367 | crates/router/src/core/payments/tokenization.rs:1050-1060 \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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4e3be82b2225f669c594fc20b8af1551da3f0aab96332af6c838ba35f7b386"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:1559-1569 | crates/router/src/core/payments/tokenization.rs:1667-1677 \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 \u0060crates/router/src/core/payments/tokenization.rs:1559\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"758c9d9b7f4c363c6396c61c2e1f9f1339d9317f9b9ec068033f4f561b815e56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:613-623 | crates/router/src/core/payments/transformers.rs:1042-1052 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2361ca6df67f02bd563a6f3f13fdf369867a4ad3a8192046a8749070f662f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:6448-6458 | crates/router/src/core/payments/transformers.rs:6515-6525 \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6448}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa893a9cf92d6cbaeb561acb5ca9689be53be584d751c3f8f6134628afe5df68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payouts.rs:1129-1139 | crates/router/src/core/webhooks/incoming.rs:1475-1485 \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 \u0060crates/router/src/core/payouts.rs:1129\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9410d03496e2006ef7ab30e5939eef6d314dec4c1b5a3d4e8795065711caa15a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/core/refunds.rs:796-806 | crates/router/src/core/refunds.rs:1440-1449 \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 \u0060crates/router/src/core/refunds.rs:796\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b07b5f1f8ca0f3612a05f73d46e28e87cbd8c783ec74ea3b5a2bb86da08129"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/refunds.rs:1011-1021 | crates/router/src/core/refunds.rs:1587-1597 \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 \u0060crates/router/src/core/refunds.rs:1011\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8eefd44f51c9214e7d26b2ed7ebf7c0b5cb17d5b4c47d5e028c130e06cb726b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/revenue_recovery/types.rs:1312-1322 | crates/router/src/workflows/revenue_recovery.rs:1672-1683 \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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf017648c24184310f8638a11019330771292d72f0aff341f4461cc5eacac4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/routing/helpers.rs:1083-1093 | crates/router/src/core/routing/helpers.rs:1115-1125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/routing/helpers.rs:1126\u0060 calls \u0060now\u0060 and \u0060crates/router/src/core/routing/helpers.rs:1094\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c04d0b3e4f5bf27b6864b9370f9eb7835922b4d408748888e5c0e3fd6980d01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/core/superposition_proxy.rs:212-221 | crates/router/src/core/superposition_proxy.rs:281-291 \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 \u0060crates/router/src/core/superposition_proxy.rs:212\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":"crates/router/src/core/superposition_proxy.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ea5462172349725756db2cac64cc9fc03d1f1201982084525e4ce73e1c49ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/core/unified_connector_service/connector_config.rs:978-988 | crates/router/src/core/unified_connector_service/connector_config.rs:996-1005 \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 \u0060crates/router/src/core/unified_connector_service/connector_config.rs:978\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":"crates/router/src/core/unified_connector_service/connector_config.rs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"02caafc5230b36cc6469d9aa492d43d90c449ae480342a52c3abe9a7bea43cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:128-133 | crates/router/src/core/webhooks/incoming_v2.rs:129-139 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/incoming.rs\u0060 and \u0060crates/router/src/core/webhooks/incoming_v2.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 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 \u0060crates/router/src/core/webhooks/incoming_v2.rs:129\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39f53c53e89defbdf487030a598f3506f2176b83d053819d46733a36ab03488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/webhooks/incoming_v2.rs:259-269 | crates/router/src/core/webhooks/incoming_v2.rs:279-289 \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 \u0060crates/router/src/core/webhooks/incoming_v2.rs:259\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":"crates/router/src/core/webhooks/incoming_v2.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aeb1ba06bc8cab567e1419f3b38178f4c8ffc210af5cc7891692ac49ee0c944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/db/dispute.rs:387-397 | crates/router/src/db/refund.rs:764-774 \u2014 before extracting anything, compare \u0060crates/router/src/db/dispute.rs\u0060 and \u0060crates/router/src/db/refund.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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":"crates/router/src/db/dispute.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55da2a22a2d3975ea0c7dbfb08147dda06c373b0f109119bfba37e0830e9e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/db/refund.rs:444-454 | crates/router/src/db/refund.rs:1312-1322 \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":"crates/router/src/db/refund.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"85106561c723f651702bfbabb28150e5302a3f97d06c49a78a2000ac637c7196"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/routes/authentication.rs:311-321 | crates/router/src/routes/payments.rs:3384-3395 \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 \u0060crates/router/src/routes/authentication.rs:311\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":"crates/router/src/routes/authentication.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada07688b9f47872a8b58387e2e4f5676883e21759c72074b9e59eee5fc6a45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/routes/disputes.rs:145-155 | crates/router/src/routes/disputes.rs: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 \u0060crates/router/src/routes/disputes.rs:145\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1b690144e0fd411f7a7c131b06bcc570ac431c78a66edbbf33281d5c7d2790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/routes/disputes.rs:558-567 | crates/router/src/routes/payouts.rs:101-111 \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 \u0060crates/router/src/routes/disputes.rs:558\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"349b065bc6e92383bd91ed5403fa296cf2e2d4bbccab257c6d55ee6cb50b7ede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/routes/payment_methods.rs:1162-1172 | crates/router/src/routes/payment_methods.rs:1252-1262 \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 \u0060crates/router/src/routes/payment_methods.rs:1162\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbb6f01ff14b6962904ffbc34e9fcbce9da520bc429270ddc039be00768392b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/routes/payments.rs:975-985 | crates/router/src/routes/payments.rs:1281-1291 \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb2ac08e2bf5a2811a782054cc4536b945d8838e66ea537e516cd9a7ba393a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/routes/pm_auth.rs:53-64 | crates/router/src/routes/pm_auth.rs:111-121 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/pm_auth.rs:53\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":"crates/router/src/routes/pm_auth.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"312fd2f83f080a9f633771dd508963474da768a574140d6314c73298b66f0d71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 2): crates/router/src/routes/refunds.rs:799-806 | crates/router/src/routes/refunds.rs:856-866 \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 \u0060crates/router/src/routes/refunds.rs:799\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":"crates/router/src/routes/refunds.rs"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d8c89a0c718844abef226328222c199f1725cae08fd59e72ea7c3ca139b4a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/routes/user/theme.rs:61-71 | crates/router/src/routes/user/theme.rs:253-263 \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 \u0060crates/router/src/routes/user/theme.rs:61\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":"crates/router/src/routes/user/theme.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5594cf01ac60312e85bc8cbc40aa98cc8101b0d954d0c189fa8f22d30af84d9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/services/authentication.rs:3497-3507 | crates/router/src/services/authentication.rs:3835-3845 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3497}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7daa0540a8f3cf34d6538d4b5c7ab90f569ab7510272e9d1461b7dcd07a2b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/services/authentication.rs:4513-4523 | crates/router/src/services/authentication.rs:4751-4761 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/services/authentication.rs:4764\u0060 calls \u0060Err\u0060 and \u0060crates/router/src/services/authentication.rs:4525\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4513}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1281ab9a1e88dbf0b99144b7c711c8c2db5495d81be67d76be7b56e8fcd625a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/services/authentication/decision.rs:85-95 | crates/router/src/services/authentication/decision.rs:112-122 \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 \u0060crates/router/src/services/authentication/decision.rs:85\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":"crates/router/src/services/authentication/decision.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24da3c8428d4e0fe150a49b42552c74de04ae446f93cfe07ca2796ec0a7fbd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/types/transformers.rs:611-621 | crates/router/src/types/transformers.rs:658-668 \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 \u0060crates/router/src/types/transformers.rs:611\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 \u0060address\u0060 to \u0060\u0026domain::Address\u0060 in one and \u0060domain::Address\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"959a66876d5462a51a66c04c8dd43d76e8a73e3b8508f107b2681835590d3653"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/smithy/src/lib.rs:744-753 | crates/smithy/src/lib.rs:906-916 \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 \u0060crates/smithy/src/lib.rs:744\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":"crates/smithy/src/lib.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"35401ed536acdbb6087548e6fd1256418899a40070318ea2ab1dfb1b2627baa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/storage_impl/src/merchant_account.rs:1243-1253 | crates/storage_impl/src/merchant_account.rs:1385-1395 \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 \u0060crates/storage_impl/src/merchant_account.rs:1243\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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b4c1b94505f8c230e802ddb3be1918b342b75ddd0cc908a8e0b884c8ea48dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:1929-1938 | crates/storage_impl/src/merchant_connector_account.rs:2068-2078 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:1929\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5670e1482f1568ba9dd581e23d340a351064349da59c4f4eaadcf472c3dbe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 134): crates/hyperswitch_connectors/src/connectors/aci.rs:263-271 | crates/hyperswitch_connectors/src/connectors/aci.rs:360-368 | crates/hyperswitch_connectors/src/connectors/aci.rs:447-455 | crates/hyperswitch_connectors/src/connectors/aci.rs:548-556 | crates/hyperswitch_connectors/src/connectors/aci.rs:632-640 | crates/hyperswitch_connectors/src/connectors/adyen.rs:690-699 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1053-1061 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1605-1613 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1834-1842 | crates/hyperswitch_connectors/src/connectors/adyen.rs:2536-2544 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:272-281 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:363-372 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:451-460 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:629-638 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:718-726 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:806-814 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:879-887 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:992-1000 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:1064-1072 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:215-224 | crates/hyperswitch_connectors/src/connectors/bambora.rs:352-361 | crates/hyperswitch_connectors/src/connectors/bambora.rs:436-445 | crates/hyperswitch_connectors/src/connectors/bambora.rs:518-527 | crates/hyperswitch_connectors/src/connectors/bambora.rs:617-626 | crates/hyperswitch_connectors/src/connectors/bambora.rs:727-736 | crates/hyperswitch_connectors/src/connectors/bambora.rs:801-810 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:251-259 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:153-162 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:326-335 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:386-394 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:485-493 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:568-576 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:903-911 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:997-1005 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1084-1092 | crates/hyperswitch_connectors/src/connectors/checkout.rs:378-386 | crates/hyperswitch_connectors/src/connectors/checkout.rs:476-484 | crates/hyperswitch_connectors/src/connectors/checkout.rs:559-567 | crates/hyperswitch_connectors/src/connectors/checkout.rs:640-648 | crates/hyperswitch_connectors/src/connectors/checkout.rs:654-662 | crates/hyperswitch_connectors/src/connectors/checkout.rs:741-749 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:256-264 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:330-338 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2209-2217 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:281-290 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:363-371 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:442-450 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:512-521 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:599-607 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:673-681 | crates/hyperswitch_connectors/src/connectors/envoy.rs:168-176 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:312-321 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:312-320 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:508-516 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:551-559 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:690-698 | crates/hyperswitch_connectors/src/connectors/getnet.rs:450-458 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:239-248 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:325-334 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:428-437 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:538-547 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:719-728 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:812-821 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:904-913 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:977-986 | crates/hyperswitch_connectors/src/connectors/helcim.rs:626-635 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:396-404 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:469-477 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:577-585 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:651-659 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:289-297 | crates/hyperswitch_connectors/src/connectors/klarna.rs:277-286 | crates/hyperswitch_connectors/src/connectors/klarna.rs:390-398 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1200-1209 | crates/hyperswitch_connectors/src/connectors/mollie.rs:308-317 | crates/hyperswitch_connectors/src/connectors/mollie.rs:635-644 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:233-242 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:332-341 | crates/hyperswitch_connectors/src/connectors/noon.rs:815-824 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:227-235 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:391-399 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:474-482 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:560-568 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:743-752 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:820-829 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:908-917 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1083-1091 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1165-1174 | crates/hyperswitch_connectors/src/connectors/opennode.rs:259-268 | crates/hyperswitch_connectors/src/connectors/opennode.rs:334-343 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:245-254 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:346-355 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:440-449 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1430-1438 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1547-1555 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:402-411 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:640-649 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:901-909 | crates/hyperswitch_connectors/src/connectors/payu.rs:233-242 | crates/hyperswitch_connectors/src/connectors/payu.rs:321-330 | crates/hyperswitch_connectors/src/connectors/payu.rs:419-427 | crates/hyperswitch_connectors/src/connectors/payu.rs:504-512 | crates/hyperswitch_connectors/src/connectors/payu.rs:602-610 | crates/hyperswitch_connectors/src/connectors/payu.rs:694-702 | crates/hyperswitch_connectors/src/connectors/payu.rs:766-774 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:268-276 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:375-383 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:480-488 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:575-584 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:701-709 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:732-740 | crates/hyperswitch_connectors/src/connectors/santander.rs:838-847 | crates/hyperswitch_connectors/src/connectors/santander.rs:965-974 | crates/hyperswitch_connectors/src/connectors/shift4.rs:270-279 | crates/hyperswitch_connectors/src/connectors/shift4.rs:369-378 | crates/hyperswitch_connectors/src/connectors/shift4.rs:429-438 | crates/hyperswitch_connectors/src/connectors/shift4.rs:645-654 | crates/hyperswitch_connectors/src/connectors/shift4.rs:732-741 | crates/hyperswitch_connectors/src/connectors/shift4.rs:804-812 | crates/hyperswitch_connectors/src/connectors/stax.rs:328-337 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:262-271 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:341-350 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:540-548 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:629-638 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:736-745 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:838-847 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:945-954 | crates/hyperswitch_connectors/src/connectors/volt.rs:553-561 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1280-1288 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1237-1245 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1160-1168 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1256-1264 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1353-1361 | crates/hyperswitch_connectors/src/connectors/xendit.rs:655-663 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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 \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:263\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, \u0060crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:150\u0060 calls \u0060or_else\u0060, \u0060parse_struct\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:261\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad1288b09dd6f2caa79c5950ab5feff792d53cbd92fed216e5dd9e7aec35cda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 75): crates/hyperswitch_connectors/src/connectors/affirm.rs:494-503 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:785-794 | crates/hyperswitch_connectors/src/connectors/authipay.rs:456-465 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:482-491 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:918-927 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:502-511 | crates/hyperswitch_connectors/src/connectors/boku.rs:425-434 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:507-516 | crates/hyperswitch_connectors/src/connectors/calida.rs:428-437 | crates/hyperswitch_connectors/src/connectors/celero.rs:424-433 | crates/hyperswitch_connectors/src/connectors/citigate.rs:377-386 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:362-371 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:497-506 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:703-712 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:420-429 | crates/hyperswitch_connectors/src/connectors/elavon.rs:355-364 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:406-415 | crates/hyperswitch_connectors/src/connectors/envoy.rs:480-489 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:396-405 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:553-562 | crates/hyperswitch_connectors/src/connectors/finix.rs:696-705 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:386-395 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:488-497 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:506-515 | crates/hyperswitch_connectors/src/connectors/forte.rs:417-426 | crates/hyperswitch_connectors/src/connectors/getnet.rs:429-438 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:453-462 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:377-386 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:399-408 | crates/hyperswitch_connectors/src/connectors/helcim.rs:525-534 | crates/hyperswitch_connectors/src/connectors/hipay.rs:476-485 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:367-376 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:376-385 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:377-386 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:404-413 | crates/hyperswitch_connectors/src/connectors/inespay.rs:395-404 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:461-470 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:417-426 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:433-442 | crates/hyperswitch_connectors/src/connectors/katapult.rs:378-387 | crates/hyperswitch_connectors/src/connectors/loonio.rs:434-443 | crates/hyperswitch_connectors/src/connectors/merchante.rs:396-405 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:442-451 | crates/hyperswitch_connectors/src/connectors/mollie.rs:613-622 | crates/hyperswitch_connectors/src/connectors/moneris.rs:524-533 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:375-384 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:878-887 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:553-562 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:798-807 | crates/hyperswitch_connectors/src/connectors/payconex.rs:377-386 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:434-443 | crates/hyperswitch_connectors/src/connectors/payload.rs:672-681 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:378-387 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:788-797 | crates/hyperswitch_connectors/src/connectors/paystack.rs:379-388 | crates/hyperswitch_connectors/src/connectors/paytm.rs:367-376 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:554-563 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:367-376 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:377-386 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:515-524 | crates/hyperswitch_connectors/src/connectors/santander.rs:1654-1663 | crates/hyperswitch_connectors/src/connectors/sift.rs:375-384 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:498-507 | crates/hyperswitch_connectors/src/connectors/stax.rs:582-591 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:455-464 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:602-611 | crates/hyperswitch_connectors/src/connectors/thunes.rs:364-373 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:521-530 | crates/hyperswitch_connectors/src/connectors/trustly.rs:315-324 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:474-483 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:636-645 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:377-386 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:592-601 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:630-639 | crates/hyperswitch_connectors/src/connectors/zift.rs:483-492 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 as WHOLE FILES: this scan already matched 8 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 \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs:494\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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88560d9126f1d1faf6bfb6ec3aea2dbde705d4d0a2733f3c13f4a476b76fd01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 55): crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:264-273 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:293-300 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:373-380 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:448-455 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:541-548 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:613-620 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:218-227 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:298-307 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:372-381 | crates/hyperswitch_connectors/src/connectors/gpayments.rs:313-320 | crates/hyperswitch_connectors/src/connectors/gpayments.rs:486-493 | crates/hyperswitch_connectors/src/connectors/gpayments.rs:577-584 | crates/hyperswitch_connectors/src/connectors/netcetera.rs:334-341 | crates/hyperswitch_connectors/src/connectors/netcetera.rs:437-444 | crates/hyperswitch_connectors/src/connectors/nmi.rs:252-259 | crates/hyperswitch_connectors/src/connectors/nmi.rs:334-341 | crates/hyperswitch_connectors/src/connectors/nmi.rs:409-416 | crates/hyperswitch_connectors/src/connectors/nmi.rs:491-498 | crates/hyperswitch_connectors/src/connectors/nmi.rs:633-640 | crates/hyperswitch_connectors/src/connectors/nmi.rs:700-707 | crates/hyperswitch_connectors/src/connectors/nmi.rs:774-781 | crates/hyperswitch_connectors/src/connectors/payone.rs:350-359 | crates/hyperswitch_connectors/src/connectors/plaid.rs:244-251 | crates/hyperswitch_connectors/src/connectors/plaid.rs:321-328 | crates/hyperswitch_connectors/src/connectors/plaid.rs:401-408 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:221-230 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:308-317 | crates/hyperswitch_connectors/src/connectors/stripe.rs:360-369 | crates/hyperswitch_connectors/src/connectors/stripe.rs:551-560 | crates/hyperswitch_connectors/src/connectors/stripe.rs:921-930 | crates/hyperswitch_connectors/src/connectors/stripe.rs:936-945 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1325-1334 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1574-1583 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1747-1756 | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs:312-319 | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs:397-404 | crates/hyperswitch_connectors/src/connectors/trustly.rs:256-263 | crates/hyperswitch_connectors/src/connectors/trustly.rs:335-342 | crates/hyperswitch_connectors/src/connectors/trustly.rs:421-428 | crates/hyperswitch_connectors/src/connectors/trustly.rs:488-495 | crates/hyperswitch_connectors/src/connectors/trustly.rs:578-587 | crates/hyperswitch_connectors/src/connectors/trustly.rs:658-667 | crates/hyperswitch_connectors/src/connectors/trustly.rs:731-740 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:248-255 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:312-319 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:387-394 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:471-478 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:536-543 | crates/hyperswitch_connectors/src/connectors/wise.rs:292-301 | crates/hyperswitch_connectors/src/connectors/wise.rs:405-414 | crates/hyperswitch_connectors/src/connectors/wise.rs:477-486 | crates/hyperswitch_connectors/src/connectors/wise.rs:559-568 | crates/hyperswitch_connectors/src/connectors/wise.rs:634-643 | crates/hyperswitch_connectors/src/connectors/wise.rs:732-741 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:488-497 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/dummyconnector.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/adyenplatform.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:301\u0060 calls \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:274\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":"crates/hyperswitch_connectors/src/connectors/adyenplatform.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1eff931124f91e7aa90a9fb8bece1e9d8612a15d3d083ef9c9af81ccfdd2064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 40): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3105-3114 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:607-616 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:918-927 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:999-1008 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:338-347 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:856-865 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:984-993 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1490-1499 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1555-1564 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2255-2264 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:112-121 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:113-122 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:442-451 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2994-3003 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3075-3084 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3865-3874 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4012-4021 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4100-4109 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:141-150 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:103-112 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:252-261 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:443-452 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:229-238 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:211-220 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:639-648 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1806-1815 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:846-855 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:407-416 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:80-89 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:268-277 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:734-743 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:861-870 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:150-159 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:134-143 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:2605-2614 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:602-611 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:101-110 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:219-228 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:252-261 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:238-247 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 5 separate duplicated blocks between them, totalling at least 48 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3116\u0060 calls \u0060Card\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1010\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd11a98cdbbaad308ee72adb47f189f13a99394a1f224403881a0922bd367b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 38): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3102-3110 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:604-612 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:915-923 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:996-1004 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:335-343 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:853-861 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:981-989 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1487-1495 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1552-1560 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2252-2260 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:109-117 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:230-238 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:414-423 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:110-118 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:159-167 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:439-447 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2991-2999 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3072-3080 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3862-3870 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4009-4017 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4097-4105 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:175-183 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:138-146 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:100-108 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:226-234 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1124-1132 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1803-1811 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:843-851 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:404-412 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:77-85 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:265-273 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:731-739 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:858-866 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:147-155 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:131-139 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:2602-2610 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:98-106 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:249-257 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 5 separate duplicated blocks between them, totalling at least 48 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3100\u0060 calls \u0060Wallet\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:913\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5982ccb9ca4d8d37b6fc24b6954ff2215592e35024d845003d23d59e40cce40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 32): crates/hyperswitch_connectors/src/connectors/checkbook.rs:146-154 | crates/hyperswitch_connectors/src/connectors/citigate.rs:141-149 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:131-139 | crates/hyperswitch_connectors/src/connectors/d24.rs:142-150 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:148-157 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:170-178 | crates/hyperswitch_connectors/src/connectors/envoy.rs:247-255 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:160-168 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:139-147 | crates/hyperswitch_connectors/src/connectors/getnet.rs:153-161 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:140-148 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:151-159 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:134-142 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:139-147 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:144-152 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:150-158 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:174-182 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:193-201 | crates/hyperswitch_connectors/src/connectors/katapult.rs:142-150 | crates/hyperswitch_connectors/src/connectors/merchante.rs:160-168 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:142-150 | crates/hyperswitch_connectors/src/connectors/paybox.rs:149-157 | crates/hyperswitch_connectors/src/connectors/payconex.rs:141-149 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:142-150 | crates/hyperswitch_connectors/src/connectors/paytm.rs:134-142 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:134-142 | crates/hyperswitch_connectors/src/connectors/recurly.rs:352-360 | crates/hyperswitch_connectors/src/connectors/sift.rs:142-150 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:224-232 | crates/hyperswitch_connectors/src/connectors/thunes.rs:139-147 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:216-224 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:140-148 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/checkbook.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/citigate.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 119 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 \u0060crates/hyperswitch_connectors/src/connectors/checkbook.rs:146\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":"crates/hyperswitch_connectors/src/connectors/checkbook.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1b966b6e4459da0f4f421382861c70e22f076e6d381d5d3020d91f2fec1fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 28): crates/hyperswitch_connectors/src/connectors/adyen.rs:203-212 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:282-291 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:176-185 | crates/hyperswitch_connectors/src/connectors/checkout.rs:219-228 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1067-1076 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1942-1951 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:190-199 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:246-255 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:181-190 | crates/hyperswitch_connectors/src/connectors/paypal.rs:230-239 | crates/hyperswitch_connectors/src/connectors/paypal.rs:591-600 | crates/hyperswitch_connectors/src/connectors/paypal.rs:726-735 | crates/hyperswitch_connectors/src/connectors/redsys.rs:152-161 | crates/hyperswitch_connectors/src/connectors/stripe.rs:217-226 | crates/hyperswitch_connectors/src/connectors/stripe.rs:431-440 | crates/hyperswitch_connectors/src/connectors/stripe.rs:622-631 | crates/hyperswitch_connectors/src/connectors/stripe.rs:813-822 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1034-1043 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1218-1227 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1396-1405 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1645-1654 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1818-1827 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2018-2027 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2181-2190 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2356-2365 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2488-2497 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2725-2734 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:397-406 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 141 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:203\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"021f035db7aeda2d7592eec033f794159bd0ebad48d05d3d7187010a9d442d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 17): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3099-3108 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3154-3162 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:993-1002 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:210-219 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:200-208 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:172-181 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:135-144 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:224-232 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1122-1130 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:925-934 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1077-1086 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1800-1809 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:74-83 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:262-271 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:728-737 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:2599-2608 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:95-104 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 5 separate duplicated blocks between them, totalling at least 48 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3109\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3163\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3099}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b4731b2d1a40bc2d80d613bcf9e4def9a8c3a74d2398be0edba641ced1f809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 15): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:573-582 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2549-2558 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:304-313 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1108-1117 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1998-2007 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:386-395 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:128-137 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:409-418 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2744-2753 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:574-583 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:812-821 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:375-384 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:124-133 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:1493-1502 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:2108-2117 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\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 18 separate duplicated blocks between them, totalling at least 160 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:584\u0060 calls \u0060PaypalRedirect\u0060, \u0060AmazonPay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2560\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"07325f04f4be2e20ab759088fb21d0befff8c464936f53f39fcb95e5e5b125a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 14): crates/hyperswitch_connectors/src/connectors/fiserv.rs:419-428 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:523-531 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:661-670 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:769-777 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:882-890 | crates/hyperswitch_connectors/src/connectors/stripe.rs:737-746 | crates/hyperswitch_connectors/src/connectors/stripe.rs:957-965 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1142-1151 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1941-1949 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2104-2112 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:927-935 | crates/hyperswitch_connectors/src/connectors/xendit.rs:315-324 | crates/hyperswitch_connectors/src/connectors/xendit.rs:755-763 | crates/hyperswitch_connectors/src/connectors/xendit.rs:851-858 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiserv.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/trustpay.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/fiserv.rs:419\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":"crates/hyperswitch_connectors/src/connectors/fiserv.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3110e267a447f223d83ad490b597dd6a9a6cab31aa4bec7dd8ed5b1e0bfbe624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 13): crates/router/src/services/authentication.rs:3801-3810 | crates/router/src/services/authentication.rs:3963-3971 | crates/router/src/services/authentication.rs:4003-4011 | crates/router/src/services/authentication.rs:4061-4069 | crates/router/src/services/authentication.rs:4100-4108 | crates/router/src/services/authentication.rs:4149-4157 | crates/router/src/services/authentication.rs:4189-4196 | crates/router/src/services/authentication.rs:4282-4289 | crates/router/src/services/authentication.rs:4476-4484 | crates/router/src/services/authentication.rs:4852-4860 | crates/router/src/services/authentication.rs:5069-5077 | crates/router/src/services/authentication.rs:5277-5285 | crates/router/src/services/authentication.rs:5360-5368 \u2014 all 13 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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3801}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab39046e9e75bea9b9d028133aa360c7ccbd5c45491b8ee0837c548e93d9f500"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 12): crates/hyperswitch_connectors/src/connectors/airwallex.rs:991-998 | crates/hyperswitch_connectors/src/connectors/bambora.rs:725-734 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:996-1003 | crates/hyperswitch_connectors/src/connectors/braintree.rs:890-897 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:598-605 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:902-911 | crates/hyperswitch_connectors/src/connectors/mollie.rs:739-748 | crates/hyperswitch_connectors/src/connectors/payu.rs:503-510 | crates/hyperswitch_connectors/src/connectors/payu.rs:693-700 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:700-707 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:836-845 | crates/hyperswitch_connectors/src/connectors/zen.rs:468-476 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 75 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 \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs:991\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, \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs:999\u0060 calls \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs:898\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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17854def4fb39c20b16b5cf2aa076048b46a7c7e315ad3db3ef7868f44acb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 12): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2545-2554 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:300-309 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1104-1113 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:382-391 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:124-133 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:405-414 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2740-2749 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:570-579 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:738-747 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:808-817 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:371-380 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:664-673 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\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 18 separate duplicated blocks between them, totalling at least 160 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2543\u0060 calls \u0060AmazonPay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:298\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2545}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca7e8ceee095f84884bc05b8877d7338e304ee02b49ef850b32784b6df0c654"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 11): crates/hyperswitch_connectors/src/connectors/adyen.rs:1708-1717 | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:243-252 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1535-1544 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:277-286 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:231-240 | crates/hyperswitch_connectors/src/connectors/loonio.rs:711-720 | crates/hyperswitch_connectors/src/connectors/payone.rs:330-338 | crates/hyperswitch_connectors/src/connectors/paypal.rs:782-791 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3291-3300 | crates/hyperswitch_connectors/src/connectors/trustly.rs:638-647 | crates/hyperswitch_connectors/src/connectors/wise.rs:711-720 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 12 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. 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"712eb9349d6de8be6e1a793565df62f596be6239f19f19b0e91064293107bfd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 11): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2542-2551 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:379-388 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:121-130 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:61-70 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:168-177 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:399-408 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:473-482 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:659-668 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:735-744 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:368-377 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:661-670 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 123 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:72\u0060 calls \u0060ApplePay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2553\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2542}}}],"partialFingerprints":{"codehealthFindingId/v1":"effb23ecbccd42253d070a95541f9e4b77c28621167ea935d3029c423f2fa941"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): crates/hyperswitch_connectors/src/connectors/aci.rs:611-620 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1032-1041 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:695-704 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:823-832 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1044-1053 | crates/hyperswitch_connectors/src/connectors/braintree.rs:779-788 | crates/hyperswitch_connectors/src/connectors/checkout.rs:794-803 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:497-506 | crates/hyperswitch_connectors/src/connectors/noon.rs:561-570 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:524-533 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsCancelRouterData\u0060 in one and \u0060\u0026RouterData\u003CVoid, PaymentsCancelData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b7386250ccaadc74bc66a52b077076dcef425ebe449b3b6d23b7efd56bee71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): crates/hyperswitch_interfaces/src/conversion_impls.rs:261-270 | crates/hyperswitch_interfaces/src/conversion_impls.rs:372-381 | crates/hyperswitch_interfaces/src/conversion_impls.rs:444-453 | crates/hyperswitch_interfaces/src/conversion_impls.rs:574-583 | crates/hyperswitch_interfaces/src/conversion_impls.rs:667-676 | crates/hyperswitch_interfaces/src/conversion_impls.rs:866-875 | crates/hyperswitch_interfaces/src/conversion_impls.rs:909-918 | crates/hyperswitch_interfaces/src/conversion_impls.rs:969-978 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1089-1098 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1159-1168 \u2014 all 10 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 \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:261\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, \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:666\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:371\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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88c8bee35b8ce3f060ec6a8f657008e886c3c1b4eb0a1b3bb12d06da4da3f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:949-958 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:586-595 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2560-2569 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:202-211 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:587-596 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:189-198 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:386-395 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:460-469 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:136-145 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:961\u0060 calls \u0060Neteller\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2572\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6234f7a4ff04499eeeff125f462469e8654a7b0d690288393451a22af2ac61d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): crates/router/src/connection.rs:62-71 | crates/router/src/connection.rs:98-107 | crates/router/src/connection.rs:122-131 | crates/router/src/connection.rs:146-155 | crates/storage_impl/src/utils.rs:160-169 | crates/storage_impl/src/utils.rs:193-202 | crates/storage_impl/src/utils.rs:220-229 | crates/storage_impl/src/utils.rs:265-274 | crates/storage_impl/src/utils.rs:293-302 \u2014 there are 9 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 9 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/connection.rs:62\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":"crates/router/src/connection.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9110684cf76036e446905d4adbabe1b25d42941e183a935d6b6fa03292c55f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 8): crates/analytics/src/api_event/core.rs:140-148 | crates/analytics/src/disputes/core.rs:76-85 | crates/analytics/src/frm/core.rs:70-78 | crates/analytics/src/payment_intents/core.rs:122-131 | crates/analytics/src/payments/core.rs:130-139 | crates/analytics/src/payments/core.rs:200-209 | crates/analytics/src/refunds/core.rs:125-134 | crates/analytics/src/refunds/core.rs:172-180 \u2014 \u0060crates/analytics/src/api_event/core.rs\u0060 and \u0060crates/analytics/src/disputes/core.rs\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/api_event/core.rs:140\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":"crates/analytics/src/api_event/core.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"94de20c549d3607ac3ebe74723487c3ce0316b6cf62ade54cc188a643c4fcf30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/aci.rs:473-482 | crates/hyperswitch_connectors/src/connectors/aci.rs:574-583 | crates/hyperswitch_connectors/src/connectors/adyen.rs:885-894 | crates/hyperswitch_connectors/src/connectors/adyen.rs:990-999 | crates/hyperswitch_connectors/src/connectors/bambora.rs:96-105 | crates/hyperswitch_connectors/src/connectors/checkout.rs:104-113 | crates/hyperswitch_connectors/src/connectors/square.rs:88-97 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsCancelRouterData\u0060 in one and \u0060\u0026RouterData\u003CFlow, Request, Response\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:484\u0060 calls \u0060get_content_type\u0060, \u0060common_get_content_type\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:896\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"df09a2a40c349460682f7286b2f928f1e97e2c30982a8905d2a1603577718230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/adyen.rs:552-561 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:336-345 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:361-370 | crates/hyperswitch_connectors/src/connectors/checkout.rs:452-461 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:449-458 | crates/hyperswitch_connectors/src/connectors/paypal.rs:948-957 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:406-415 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 141 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026SetupMandateRouterData\u0060 in one and \u0060\u0026RouterData\u003CSetupMandate, SetupMandateRequestData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1d9c5f2cf9300066ef231c2c7c3892f87541031bb19d5e532ff34963d35248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:148-157 | crates/hyperswitch_connectors/src/connectors/braintree.rs:202-211 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:197-207 | crates/hyperswitch_connectors/src/connectors/payme.rs:159-168 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:146-155 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:155-164 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:213-222 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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 \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:148\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e25cca06052deb8350c4719395b5e20b5208553b9b6b4c9bbad547173b150ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/cybersource.rs:546-555 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1072-1081 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1329-1338 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1484-1493 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1634-1643 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1792-1801 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1947-1956 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:546\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1359d9c2a0e89fabff47f0c8fabe127e770772e37ff8aaf2045f96251fbc43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): crates/storage_impl/src/lib.rs:273-282 | crates/storage_impl/src/lib.rs:301-310 | crates/storage_impl/src/payments/payment_attempt.rs:113-122 | crates/storage_impl/src/payments/payment_attempt.rs:185-194 | crates/storage_impl/src/payments/payment_attempt.rs:283-292 | crates/storage_impl/src/payments/payment_attempt.rs:349-358 | crates/storage_impl/src/payments/payment_attempt.rs:533-542 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/storage_impl/src/lib.rs: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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cfa5293be7664bbb4522d7c471e837258a97d1cccd1c17d77a3f1dcb0b1588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:70-79 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:70-79 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:69-78 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:69-78 | crates/analytics/src/refunds/metrics/refund_processed_amount.rs:71-80 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:78-87 \u2014 before extracting anything, compare \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs\u0060 and \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 134 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, \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs:82\u0060 calls \u0060add_group_by_clause\u0060 and \u0060crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:81\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":"crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"4768f6a8e81bdfc328870d1544cae2845ca2cd9d80dda91d163f0e1d59828788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/braintree.rs:363-372 | crates/hyperswitch_connectors/src/connectors/checkout.rs:354-363 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:411-420 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:397-406 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:161-170 | crates/hyperswitch_connectors/src/connectors/stripe.rs:528-537 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 as WHOLE FILES: this scan already matched 7 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. 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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"0658d0910aeb0ffa9a433be60095c193dc7abd60914714f20c670d2f8b9780a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 6): crates/router/src/routes/authentication.rs:109-118 | crates/router/src/routes/authentication.rs:154-163 | crates/router/src/routes/authentication.rs:233-242 | crates/router/src/routes/authentication.rs:308-317 | crates/router/src/routes/payment_methods.rs:716-724 | crates/router/src/routes/payment_methods.rs:1202-1210 \u2014 there are 6 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 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/authentication.rs: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":"crates/router/src/routes/authentication.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"34946d34225000eee16fefc76c884394ebcf469676f8d655b83c253164f65a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/analytics/src/payments/distribution/payment_error_message.rs:142-151 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:104-113 | crates/analytics/src/payments/metrics/payment_count.rs:90-99 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:105-114 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:91-100 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/distribution/payment_error_message.rs\u0060 and \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 116 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 \u0060crates/analytics/src/payments/distribution/payment_error_message.rs:142\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":"crates/analytics/src/payments/distribution/payment_error_message.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2ba935eaf8085de707f18b2af215ac19a5bec8987af5c31bffdbdd6554bf0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/diesel_models/src/query/user/sample_data.rs:86-95 | crates/diesel_models/src/query/user/sample_data.rs:110-119 | crates/diesel_models/src/query/user/sample_data.rs:132-141 | crates/diesel_models/src/query/user/sample_data.rs:155-164 | crates/diesel_models/src/query/user/sample_data.rs:178-187 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/diesel_models/src/query/user/sample_data.rs: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":"crates/diesel_models/src/query/user/sample_data.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d09da2ec7642f893dcbc42860ec62efeff28ef60aa2ec1655a897df0661ce71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/adyen.rs:808-816 | crates/hyperswitch_connectors/src/connectors/braintree.rs:545-554 | crates/hyperswitch_connectors/src/connectors/payme.rs:661-670 | crates/hyperswitch_connectors/src/connectors/plaid.rs:301-310 | crates/hyperswitch_connectors/src/connectors/tsys.rs:260-269 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 55 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026RouterData\u003CPSync, PaymentsSyncData, PaymentsResponseData\u003E\u0060 in one and \u0060\u0026PaymentsSyncRouterData\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ea6ac1f547db127f1a294ecbd0996eab117eaa2a2c573542289a8e991ee1f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:811-820 | crates/hyperswitch_connectors/src/connectors/braintree.rs:661-670 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1327-1336 | crates/hyperswitch_connectors/src/connectors/payload.rs:434-444 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:551-560 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs:811\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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00491c5fa43ae7133078fb049f07042fafa22a34dc6fd54bf9bc152a82d6c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/paybox.rs:320-328 | crates/hyperswitch_connectors/src/connectors/paybox.rs:401-410 | crates/hyperswitch_connectors/src/connectors/paybox.rs:482-490 | crates/hyperswitch_connectors/src/connectors/paybox.rs:556-564 | crates/hyperswitch_connectors/src/connectors/paybox.rs:664-672 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/paybox.rs:320\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":"crates/hyperswitch_connectors/src/connectors/paybox.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc538a787d70a7d27852e0c2ad67f1f16ffc6583fee03e29528ef3086e029a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1270-1279 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:118-126 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:210-219 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1326-1335 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:498-506 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs\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 11 separate duplicated blocks between them, totalling at least 92 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1281\u0060 calls \u0060AmazonPay\u0060, \u0060ApplePay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs:128\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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e738bbd0a6fb5e07be80033a3d540a0286fcf9620d670d8c8bbd4f43a35cf98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:230-239 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:324-333 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:571-581 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:657-668 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:744-755 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:230\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c28ffe0fa62a6c252666aab9e9d62f9c54004e027a14f959ef45c3dbc93631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/hyperswitch_interfaces/src/conversion_impls.rs:118-127 | crates/hyperswitch_interfaces/src/conversion_impls.rs:155-164 | crates/hyperswitch_interfaces/src/conversion_impls.rs:717-726 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1011-1020 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1050-1059 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6567f092d098dc88d48c9a2b93bc80ce700d4c22c1beef3703ff8236bb1a3aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 5): crates/router/src/core/payment_methods/cards.rs:5424-5432 | crates/router/src/core/payment_methods/cards.rs:5441-5449 | crates/router/src/core/pm_auth.rs:118-127 | crates/router/src/core/superposition_sdk_config.rs:64-72 | crates/router/src/core/superposition_sdk_config.rs:81-89 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/superposition_sdk_config.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 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 \u0060crates/router/src/core/payment_methods/cards.rs:5424\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5424}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab5bc89ec35354ce957803a0628d8139446173b45a1c7229d90010e122bd6ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/router/src/core/payments/helpers.rs:467-476 | crates/router/src/utils.rs:797-807 | crates/router/src/utils.rs:862-872 | crates/router/src/utils.rs:939-949 | crates/router/src/utils.rs:1003-1013 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/utils.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/router/src/core/payments/helpers.rs:467\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2c95e30590ce3222397ac976e46fc0e254f8a0608f5a3b99ce5388a005357c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/router/src/core/payments/operations/payment_cancel.rs:77-86 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:85-96 | crates/router/src/core/payments/operations/payment_post_session_tokens.rs:85-96 | crates/router/src/core/payments/operations/payment_session.rs:89-98 | crates/router/src/core/payments/operations/tax_calculation.rs:102-113 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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 \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:85\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, \u0060crates/router/src/core/payments/operations/tax_calculation.rs:115\u0060 calls \u0060get_required_value\u0060, \u0060get_total_amount\u0060, \u0060into\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:98\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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ae7b184112f6e3be929cce664ccc69ce35a0e71c277214b9797278e654e215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/router/src/core/utils.rs:1364-1373 | crates/router/src/core/utils.rs:1481-1490 | crates/router/src/core/utils.rs:1681-1690 | crates/router/src/core/utils.rs:1939-1948 | crates/router/src/core/utils.rs:2054-2064 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/utils.rs:1364\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, \u0060crates/router/src/core/utils.rs:1376\u0060 calls \u0060get_required_value\u0060 and \u0060crates/router/src/core/utils.rs:2065\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":"crates/router/src/core/utils.rs"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8f9a1b72524c5433e2db39a6e5ac52333ff35c37ea63c6c23f53cb28402831"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/router/src/routes/payments.rs:1545-1554 | crates/router/src/routes/payments.rs:2172-2181 | crates/router/src/routes/payments.rs:4311-4320 | crates/router/src/routes/payments.rs:4676-4685 | crates/router/src/routes/payments.rs:4863-4872 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/payments.rs:1545\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cd8705ad1e0a22bf4351408bd7c506038ae918aef7e07267dc205292a9e634"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/router/src/routes/subscription.rs:100-109 | crates/router/src/routes/subscription.rs:136-145 | crates/router/src/routes/subscription.rs:172-181 | crates/router/src/routes/subscription.rs:386-395 | crates/router/src/routes/subscription.rs:470-479 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/subscription.rs:100\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 \u0060json_payload\u0060 to \u0060web::Json\u003Csubscription_types::CreateSubscriptionRequest\u003E\u0060 in one and \u0060web::Json\u003Csubscription_types::CreateAndConfirmSubscriptionRequest\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/routes/subscription.rs:99\u0060 calls \u0060into_inner\u0060 and \u0060crates/router/src/routes/subscription.rs:385\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":"crates/router/src/routes/subscription.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a54516831a9903037d7180c8184c596f4af6ad8391a05d88917d9f9ea75b016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): crates/router/src/services/authentication.rs:4157-4166 | crates/router/src/services/authentication.rs:4196-4205 | crates/router/src/services/authentication.rs:4289-4298 | crates/router/src/services/authentication.rs:4333-4342 | crates/router/src/services/authentication.rs:4422-4431 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/services/authentication.rs:4330\u0060 calls \u0060get_id_type_by_key_from_headers\u0060, \u0060to_string\u0060, \u0060get_required_value\u0060 and \u0060crates/router/src/services/authentication.rs:4420\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":4157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63c2f84fa079a73af29e8c9a97438689128bc7d81a91600c51f3704f6e17123"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:143-152 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:135-144 | crates/analytics/src/refunds/metrics/refund_count.rs:90-99 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:91-100 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 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 \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:143\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":"crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"988d7fdc016e384db7c916f88642b46d0ebea8bbb05226a015fb171ee0351fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): crates/diesel_models/src/query/customers.rs:178-185 | crates/diesel_models/src/query/customers.rs:208-215 | crates/diesel_models/src/query/customers.rs:243-252 | crates/diesel_models/src/query/customers.rs:291-300 \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 \u0060crates/diesel_models/src/query/customers.rs:178\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":"crates/diesel_models/src/query/customers.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b0992b6bcc3bddbcae303a4da84ed061d76ac0ee03b9fdfcfb1effb5acb265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/adyen.rs:1371-1380 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:198-207 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3210-3219 | crates/hyperswitch_connectors/src/connectors/wise.rs:613-622 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 88 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2f2b7e467340e4459cc0ba33b3a945d6d179a439ff527a398d6e41d2e54481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bambora.rs:595-604 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1859-1868 | crates/hyperswitch_connectors/src/connectors/redsys.rs:659-668 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:962-971 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 7 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. 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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec24e3d142c4210ccf5b9c46972ba3fd97773a94a0b26db586199c68795df58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:161-170 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:172-181 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:342-351 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:307-316 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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, \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:353\u0060 calls \u0060get_http_method\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:172\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"65041e6570e4174f74b37ad38903c8160ee6cd61723e875ad4d833b632740eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1047-1056 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1926-1933 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2629-2637 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1257-1265 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026BankOfAmericaRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d17f6ba716ab1c5cbb102c599ca5a3ee661101a7946c834db7f24b75890e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1577-1586 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2480-2489 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:761-770 | crates/hyperswitch_connectors/src/connectors/redsys.rs:1074-1083 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 289 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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1577\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"2417547a95efd2b6bf50b91ce830fca78f8f9d7185b9017d7fd3f54faf138473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1463-1472 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1528-1537 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2955-2964 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3036-3045 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1463\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71c40b5435311ded43eb4917051a12c3962e031dc6167e1233962060dbcf56d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:493-502 | crates/hyperswitch_connectors/src/connectors/riskified.rs:252-261 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:201-210 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:375-384 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/signifyd.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"12df65bda10534dfa38105638792d27b1db309ccdbcc7f5fc26ed2ebd8858387"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/flexiti.rs:251-260 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:253-262 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:260-269 | crates/hyperswitch_connectors/src/connectors/vgs.rs:215-224 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/flexiti.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/iatapay.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/flexiti.rs:251\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, \u0060crates/hyperswitch_connectors/src/connectors/flexiti.rs:250\u0060 calls \u0060attach_default_headers\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/truelayer.rs:259\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":"crates/hyperswitch_connectors/src/connectors/flexiti.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86aae396b3de8ec100fe199a2ba256b8c54d151ec0ab500c7c8dc2a73338b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:406-415 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:480-489 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:666-675 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:415-424 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 69 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":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa40d578d6877a4e4e7d6033aeba83f1e425744857d1dd6ca0b977d786f8bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/paypal.rs:235-244 | crates/hyperswitch_connectors/src/connectors/paypal.rs:442-451 | crates/hyperswitch_connectors/src/connectors/paypal.rs:596-605 | crates/hyperswitch_connectors/src/connectors/paypal.rs:731-740 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:235\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c3b2baa3e42c7fd74191716e067cac9718272c86a7d9d7d7cd7aa69755c53d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2910-2919 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2935-2943 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3409-3418 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3434-3442 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2910\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, \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2920\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:2944\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2910}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b2156837388ec0c3f822e1ad81b2623f114cc7b658a3ff80c429dae35df39a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_domain_models/src/business_profile.rs:288-297 | crates/hyperswitch_domain_models/src/business_profile.rs:436-445 | crates/hyperswitch_domain_models/src/business_profile.rs:766-775 | crates/hyperswitch_domain_models/src/business_profile.rs:900-909 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060ProfileSetter\u0060 in one and \u0060ProfileDbBuilder\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":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d00175514f6bb9a5a43916f93aeabc2b6f19c03fa29e6bf16a9aeb81fdab5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_domain_models/src/lib.rs:1134-1143 | crates/router/src/core/payments/transformers.rs:8451-8460 | crates/router/src/core/payments/transformers.rs:8529-8538 | crates/router/src/types/transformers.rs:2743-2753 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060 and \u0060crates/router/src/core/payments/transformers.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/hyperswitch_domain_models/src/lib.rs:1134\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060api_models::admin::PaymentLinkConfigRequest\u0060 in one and \u0060diesel_models::PaymentLinkConfigRequestForPayments\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6535acf54947a79610a6c8322ced20440732a74ab071188ff0bc77ed427cfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:950-959 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1053-1062 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1158-1167 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1307-1316 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60bf202ff1e5227e1fd3ab8b82e6b822a6481719e5c07e91f3838cddd27de4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/hyperswitch_interfaces/src/conversion_impls.rs:510-519 | crates/hyperswitch_interfaces/src/conversion_impls.rs:623-632 | crates/hyperswitch_interfaces/src/conversion_impls.rs:763-772 | crates/hyperswitch_interfaces/src/conversion_impls.rs:822-831 \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 \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:819\u0060 calls \u0060clone\u0060 and \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:621\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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a25cfc3ac0ac90ec43e75fcda15b80769204c75afa970afcb06d3d3780a3a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/router/src/compatibility/stripe/payment_intents.rs:128-137 | crates/router/src/routes/payments.rs:1941-1950 | crates/router/src/routes/payments.rs:3638-3647 | crates/router/src/routes/payments.rs:3685-3694 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/routes/payments.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 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, \u0060crates/router/src/routes/payments.rs:1952\u0060 calls \u0060get_locking_input\u0060, \u0060clone\u0060 and \u0060crates/router/src/routes/payments.rs:3649\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62a2425baaae0c42613975281d34ab182ab1868013e8173c153deb3f045319f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/router/src/compatibility/stripe/payment_intents.rs:212-221 | crates/router/src/compatibility/stripe/payment_intents.rs:304-313 | crates/router/src/compatibility/stripe/payment_intents.rs:561-570 | crates/router/src/routes/payments.rs:899-908 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/routes/payments.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"2347c8312fc67becb8f4dd14a76b89490fc7b417a16cf21ca3dde8d57f940487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): crates/router/src/core/admin.rs:3114-3122 | crates/router/src/core/admin.rs:3220-3228 | crates/router/src/core/admin.rs:3371-3380 | crates/router/src/core/admin.rs:3467-3476 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/admin.rs:3113\u0060 calls \u0060into\u0060 and \u0060crates/router/src/core/admin.rs:3370\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3114}}}],"partialFingerprints":{"codehealthFindingId/v1":"814bda035a40c3c5bf92c8cb8e8398bae486ec164a01959e25fc0e1439e4d3ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/router/src/core/configs/dimension_state.rs:159-168 | crates/router/src/core/configs/dimension_state.rs:180-189 | crates/router/src/core/configs/dimension_state.rs:344-353 | crates/router/src/core/configs/dimension_state.rs:364-373 \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 \u0060crates/router/src/core/configs/dimension_state.rs:159\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":"crates/router/src/core/configs/dimension_state.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ad22660fa0679986ec3bc915e2e2fa3c337cb30d2e02e92d7a4a9e5971ac53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/router/src/core/payment_methods/utils.rs:1007-1016 | crates/router/src/core/payments/helpers.rs:3782-3791 | crates/router/src/core/payments/helpers.rs:8885-8894 | crates/router/src/core/payouts/helpers.rs:91-100 \u2014 \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/core/payouts/helpers.rs\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 6 separate duplicated blocks between them, totalling at least 85 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":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd214d29b8ab68addb0c4d1cd2f09dab4bceed4629c32ad5261218ac180e8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/router/src/core/payments/flows/complete_authorize_flow.rs:821-830 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:983-992 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1091-1100 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1237-1246 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:821\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8f4bd8c97d4e38b19ad654f4ba1fa20049893bcf640a35705fbea2552379bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/router/src/core/payments/helpers.rs:6046-6055 | crates/router/src/core/payments/helpers.rs:6073-6082 | crates/router/src/core/payments/helpers.rs:6195-6204 | crates/router/src/core/payments/helpers.rs:6222-6231 \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 \u0060crates/router/src/core/payments/helpers.rs:6046\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":6046}}}],"partialFingerprints":{"codehealthFindingId/v1":"12406f5e0ed1f5f75a175f5353fe33f05b65a197b453e0e9d80381b38e5bc973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/router/src/db/blocklist.rs:1087-1096 | crates/router/src/db/blocklist.rs:1116-1125 | crates/router/src/db/blocklist.rs:1142-1151 | crates/router/src/db/blocklist.rs:1169-1178 \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 \u0060crates/router/src/db/blocklist.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/db/blocklist.rs:1086\u0060 calls \u0060unwrap_or_default\u0060 and \u0060crates/router/src/db/blocklist.rs:1141\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":"crates/router/src/db/blocklist.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1ce46e8835774c9de653b61a7d354383119836953c24c787b24ae5d830bbc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/smithy/src/lib.rs:125-134 | crates/smithy/src/lib.rs:531-540 | crates/smithy/src/lib.rs:647-656 | crates/smithy/src/lib.rs:815-824 \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 \u0060crates/smithy/src/lib.rs:125\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":"crates/smithy/src/lib.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a18e342e52b3f1be129157d3659a12986a1e934ce9d4107ad63c71d8210644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201310 lines \u00D7 8): crates/smithy/src/lib.rs:135-135 | crates/smithy/src/lib.rs:136-145 | crates/smithy/src/lib.rs:541-541 | crates/smithy/src/lib.rs:542-551 | crates/smithy/src/lib.rs:657-657 | crates/smithy/src/lib.rs:658-667 | crates/smithy/src/lib.rs:825-825 | crates/smithy/src/lib.rs:826-835 \u2014 all 8 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 \u0060crates/smithy/src/lib.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/smithy/src/lib.rs:135\u0060 calls \u0060Some\u0060 and \u0060crates/smithy/src/lib.rs:134\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":"crates/smithy/src/lib.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ea3b5c6c573f825c4e46d01c1433ea6963462d8e29ca320b8cc108c8d79f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 3): crates/analytics/src/payment_intents/accumulator.rs:168-177 | crates/analytics/src/payment_intents/accumulator.rs:298-304 | crates/analytics/src/payments/accumulator.rs:306-315 \u2014 \u0060crates/analytics/src/payment_intents/accumulator.rs\u0060 and \u0060crates/analytics/src/payments/accumulator.rs\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 9 separate duplicated blocks between them, totalling at least 94 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/accumulator.rs:168\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4a0fd0b743765f3e1e1d7408ef0ed4c4de457f2f91f419e50a5b2043b74604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource.rs:1218-1227 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1387-1396 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:829-838 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 488 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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c564affd1852f51a67335f572a2a93aeb1c9219df3276cee203fa667b1312a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource.rs:2010-2019 | crates/hyperswitch_connectors/src/connectors/redsys.rs:734-743 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1083-1092 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/redsys.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 125 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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b8abb6cf663fa32f37ab4020ab082cef512cf19b8d730328723f28bfda1777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:203-210 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2950-2959 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3031-3040 \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. 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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"197ee022ada6d7a259d9493d789f16b8c1f56c601ae3edee119ef6f4d32f98cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:588-597 | crates/hyperswitch_connectors/src/connectors/riskified.rs:369-378 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:455-464 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/signifyd.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca1c359eaed4dccab44f07c98861ac204e7769fa49e7f6d0303764343964510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:490-499 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:194-203 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:323-332 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs\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 11 separate duplicated blocks between them, totalling at least 97 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:488\u0060 calls \u0060GiftCard\u0060, \u0060CardRedirect\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs:193\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":"crates/hyperswitch_connectors/src/connectors/payme/transformers.rs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd5eeb800d82ada93c3d6f75f59d333fe57b3e4d01e36433d58e58e688b840d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/paypal.rs:2103-2110 | crates/hyperswitch_connectors/src/connectors/payu.rs:229-238 | crates/hyperswitch_connectors/src/connectors/tsys.rs:444-453 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payu.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:2103\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, \u0060crates/hyperswitch_connectors/src/connectors/payu.rs:241\u0060 calls \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:2113\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":2103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f816f089a38a42ba6e069cdc93a4172235e92231edc830262c4c7c759d2d23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1305-1314 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1374-1383 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1569-1578 \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 \u0060crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1305\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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa577bccc1e221045cf93def0f27a238efa8b1e8d56e8667c2deef7bd761333"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpay.rs:185-194 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:510-519 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:117-126 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs\u0060 as WHOLE FILES: this scan already matched 4 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. 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 \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs:185\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, \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs:195\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs:520\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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"df232436ec0e5b6e2f729d3ed3b7ff097c2a8b6f202ae907fd3250c8bc74479f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:173-188 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1588-1603 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1630-1645 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:173\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"893b593bcc5721154aab8ad416d4b8258b7952c2fa9817ffb488a5bdc1aa02c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:433-441 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:513-521 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:946-955 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:433\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dc16f35eb36cc925d621f02239c2d9533f8bb8eca43657563bf9b3c7ef7c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:4717-4726 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:4735-4744 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:4753-4762 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:4717\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":4717}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efad100a4528ff4af36afa2db7b8e0c13a641b9e15d76413e4db0eef8e34bb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_connectors/src/utils.rs:2469-2478 | crates/hyperswitch_connectors/src/utils.rs:3329-3338 | crates/hyperswitch_connectors/src/utils.rs:3359-3368 \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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e47aa26b70c79f70ee482599a9baaa0c679b4fb42d4c188b4808a03ba8c2daf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/admin.rs:3642-3651 | crates/router/src/core/admin.rs:3876-3885 | crates/router/src/types/api/admin.rs:456-465 \u2014 before extracting anything, compare \u0060crates/router/src/core/admin.rs\u0060 and \u0060crates/router/src/types/api/admin.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 57 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/admin.rs:3642\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3642}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b959b9b50be7d23450ba96dcab7d5ed9154b3f94d753098fe72f07e46245fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/disputes.rs:93-104 | crates/router/src/core/disputes.rs:475-484 | crates/router/src/core/disputes.rs:605-615 \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 \u0060crates/router/src/core/disputes.rs: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":"crates/router/src/core/disputes.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"003575acc17166c1d7dea13ffd9f8e3db0bc51ad30899e28e0fe2ef575a0d2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/payment_method_balance.rs:225-234 | crates/router/src/core/payment_method_balance.rs:407-416 | crates/router/src/core/payment_method_balance.rs:464-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":"crates/router/src/core/payment_method_balance.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"81beaf64a7d2bad8e6ac105b7735910ae9a41975791e5aa5777b1fa42c8d694f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:3949-3957 | crates/router/src/core/payment_methods/cards.rs:4014-4023 | crates/router/src/core/payment_methods/cards.rs:4086-4095 \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 \u0060crates/router/src/core/payment_methods/cards.rs:3949\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3949}}}],"partialFingerprints":{"codehealthFindingId/v1":"80083d98bcd6c58885ed09f5ceb2148f973340694a0c80e8fc905bab8f37982e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/payment_methods/transformers.rs:2155-2164 | crates/router/src/core/payment_methods/transformers.rs:2425-2434 | crates/router/src/core/payment_methods/transformers.rs:2486-2495 \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 \u0060crates/router/src/core/payment_methods/transformers.rs:2155\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"25aa521d9ae7e0c586aaffdd89c94cb350a523b7d60d75ab8cfccb6cdea62be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): crates/router/src/core/payments.rs:13888-13897 | crates/router/src/core/payouts/helpers.rs:1157-1165 | crates/router/src/core/payouts/helpers.rs:1209-1217 \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 \u0060crates/router/src/core/payments.rs:13888\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, \u0060crates/router/src/core/payouts/helpers.rs:1167\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/core/payouts/helpers.rs:1219\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":"crates/router/src/core/payments.rs"},"region":{"startLine":13888}}}],"partialFingerprints":{"codehealthFindingId/v1":"398618ecb650de454548ec0989bd1ca1623788078b5676e26e1ded5e5bfd1242"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/payments/helpers.rs:295-304 | crates/router/src/utils.rs:892-901 | crates/router/src/utils.rs:1032-1041 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/utils.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/router/src/core/payments/helpers.rs:295\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e048c8d3c185d84750d36f3e9e0018733f30571e8dd51db7107db24516f969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/payments/operations/payment_confirm_intent.rs:63-72 | crates/router/src/core/payments/operations/payment_update_intent.rs:69-78 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:64-73 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update_intent.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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 \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs:63\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":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd68106fb53c181b4edd5bd274b80f5e4898f489063e434916dd9c6688967a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:5939-5948 | crates/router/src/core/payments/transformers.rs:7667-7676 | crates/router/src/core/payments/transformers.rs:7982-7991 \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. 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5939}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e93439cc5dbb212c2d39ea0a8d18327bd625e9c6df957708291fbcfd78aaa55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:6359-6367 | crates/router/src/core/payments/transformers.rs:6522-6531 | crates/router/src/core/payments/transformers.rs:7884-7892 \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. 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6359}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ace206f24f0d44ccba3db25d29d9a8b2c7d7cdf67bd0e6d4721598c94fd3ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/user.rs:643-652 | crates/router/src/core/user.rs:1391-1400 | crates/router/src/core/user.rs:1544-1553 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/user.rs:641\u0060 calls \u0060check_email_token_in_blacklist\u0060 and \u0060crates/router/src/core/user.rs:1542\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":"crates/router/src/core/user.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"157bfbe4acf2162c60efb9fa206a97d16fccd46029f2f9138e31c658fea89a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): crates/router/src/routes/blocklist.rs:154-163 | crates/router/src/routes/blocklist.rs:452-459 | crates/router/src/routes/disputes.rs:81-89 \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 \u0060crates/router/src/routes/blocklist.rs:154\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, \u0060crates/router/src/routes/disputes.rs:80\u0060 calls \u0060into_inner\u0060 and \u0060crates/router/src/routes/blocklist.rs:153\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":"crates/router/src/routes/blocklist.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbace8f70bf871723e2f1001228ebee39f769342fa447ebecd3c222152698b38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/routes/disputes.rs:316-325 | crates/router/src/routes/disputes.rs:758-767 | crates/router/src/routes/payments.rs:2543-2552 \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 \u0060crates/router/src/routes/disputes.rs:316\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060HttpRequest\u0060 in one and \u0060actix_web::HttpRequest\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b153c31c53950e9e3e4946cd1bdfa7e21d889602b0f7e3fc3d1a587972ac4087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/routes/payment_methods.rs:442-451 | crates/router/src/routes/payment_methods.rs:1610-1619 | crates/router/src/routes/payment_methods.rs:1663-1672 \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 \u0060crates/router/src/routes/payment_methods.rs:442\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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8d05744b498647c6cea2e037c119749ba762342fad50411c800447a8aafc17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/routes/payments.rs:262-271 | crates/router/src/routes/payments.rs:976-985 | crates/router/src/routes/payments.rs:1282-1291 \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. 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, \u0060crates/router/src/routes/payments.rs:273\u0060 calls \u0060Err\u0060, \u0060get_or_generate_payment_id\u0060, \u0060log_and_return_error_response\u0060 and \u0060crates/router/src/routes/payments.rs:1293\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60ef418ad70a21ae665fb3bcbb08ae3cfd85e63631e3d157115e6c7f8812cfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/routes/payouts.rs:57-66 | crates/router/src/routes/payouts.rs:154-165 | crates/router/src/routes/payouts.rs:203-212 \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 \u0060crates/router/src/routes/payouts.rs:57\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/routes/payouts.rs:55\u0060 calls \u0060into_inner\u0060 and \u0060crates/router/src/routes/payouts.rs:202\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"437e623cb73f128e26fe4d826d0a8751705416f3ab8f8912e1d655ab4ad6cd1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/routes/subscription.rs:235-245 | crates/router/src/routes/subscription.rs:303-312 | crates/router/src/routes/subscription.rs:443-452 \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 \u0060crates/router/src/routes/subscription.rs:235\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/subscription.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"540facff805a2d905084ca040f991c7623146f65ced2a586619f37afa032287a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/services/authentication.rs:1858-1867 | crates/router/src/services/authentication.rs:2390-2399 | crates/router/src/services/authentication.rs:2603-2612 \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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4dcd23778f40c648cd0283f8ddb07643ef421d5a6a4c76eb5ee12f142656fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/workflows/payment_method_modular_backward_compat.rs:920-930 | crates/router/src/workflows/payment_method_modular_forward_compat.rs:598-608 | crates/router/src/workflows/payment_method_status_update.rs:84-93 \u2014 before extracting anything, compare \u0060crates/router/src/workflows/payment_method_modular_backward_compat.rs\u0060 and \u0060crates/router/src/workflows/payment_method_modular_forward_compat.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 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 \u0060crates/router/src/workflows/payment_method_modular_backward_compat.rs:920\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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"b113cca3963726bbc09958404d619aaf12a468ac7ed0b5ee95d74a318d4c9798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2923-2932 | crates/api_models/src/payment_methods.rs:3034-3043 \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 \u0060crates/api_models/src/payment_methods.rs:2923\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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2923}}}],"partialFingerprints":{"codehealthFindingId/v1":"8134907747f8d633c528bd3c23f00182bcf2dc1022303e3adaae87a6aa320370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): crates/api_models/src/payments.rs:4212-4228 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4185-4201 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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. 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":"crates/api_models/src/payments.rs"},"region":{"startLine":4212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29202dc3f8468378eac267d5a329b126e30106b19cb4a1f931b68976a2943a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/api_models/src/payments.rs:6862-6871 | crates/hyperswitch_domain_models/src/address.rs:66-75 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":6862}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d9803f1c023f204103c9e61babeec460dccdf70c00fcc55fb8bc0e21df1e76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/diesel_models/src/customers.rs:53-62 | crates/diesel_models/src/customers.rs:121-130 \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":"crates/diesel_models/src/customers.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c466f86abd3b2d93993ed5433a2247b127b904b34fd23fb6752db9d6985679ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/diesel_models/src/merchant_account.rs:129-138 | crates/hyperswitch_domain_models/src/merchant_account.rs:121-130 \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 after the matched lines, \u0060crates/diesel_models/src/merchant_account.rs:139\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_domain_models/src/merchant_account.rs:131\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":"crates/diesel_models/src/merchant_account.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b636644f3485d93fddba56468074698ddc6438a50d2236eed60256de2ed0a6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/diesel_models/src/payment_method.rs:1916-1925 | crates/diesel_models/src/payment_method.rs:1959-1968 \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 \u0060crates/diesel_models/src/payment_method.rs:1916\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":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff35e09f005a13e1f74df87e57b601a22bd04cb2d6e3ecbdf22403c66d0c828e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:84-93 | crates/diesel_models/src/query/blocklist.rs:1026-1035 \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 \u0060crates/diesel_models/src/query/blocklist.rs:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd608bfb50ec1ea83a0b00082f6852aa495b7b6d3911bc3e77d4659708ac569"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:369-378 | crates/diesel_models/src/query/blocklist.rs:1107-1116 \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 \u0060crates/diesel_models/src/query/blocklist.rs:369\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb65417144c3802741c9306f5abc6369dbfc156e9dce1e90944e2301fb732cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:892-901 | crates/diesel_models/src/query/blocklist.rs:979-988 \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 \u0060crates/diesel_models/src/query/blocklist.rs:892\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac924442c83a7a3bfdd3f965a7c229e8f94b6f78fb069c73c0ed0e632d45bfc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/drainer/src/health_check.rs:123-132 | crates/router/src/db/health_check.rs:26-34 \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 \u0060crates/drainer/src/health_check.rs:123\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":"crates/drainer/src/health_check.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59ee7976d6037e162928117f7376f19657f9972cabeabb3e4b640744752676f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci.rs:709-718 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1812-1821 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dae966f21b97430320d28d781954fbda90bc41a8d2fef483762a232b3db499a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen.rs:2340-2349 | crates/hyperswitch_connectors/src/connectors/checkout.rs:1193-1202 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 182 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2340}}}],"partialFingerprints":{"codehealthFindingId/v1":"b526e7d330ac8fc0da341228c962f02d280430b754da4e0c47d79bb7be56b143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3119-3128 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3170-3179 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3119\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b84e09c96a1447f36b773fe24dc3e99bd77878ff8dcebbb86656c76f3dd2cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3403-3412 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3800-3809 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3403}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0ef99fdaecb29428da0c5c9dcc310a9fdc6eae3c507442d1d359c1732e2c55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/affirm.rs:591-600 | crates/hyperswitch_connectors/src/connectors/getnet.rs:526-535 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/getnet.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 98 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 \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs:591\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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5adbf085b7cb18fc0c260769dc41b0251cf8c46fd199403ea14bbee8412d9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/airwallex.rs:168-177 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:161-170 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/tesouro.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 110 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 \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs:168\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, \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs:166\u0060 calls \u0060clone\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/tesouro.rs:160\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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c74cdf99a91603ac2d7a0ba7dee766489e3c677b751a41c019657111edea8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:287-296 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1318-1327 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:287\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dad8839bf0a0ba31ee059c932c702192c16c9d0ceaabc76232625081d08e142"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1006-1015 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:209-218 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs\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 4 separate duplicated blocks between them, totalling at least 37 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1006\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, \u0060crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:208\u0060 calls \u0060CardRedirect\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1005\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"120ff7c81f73ac83222ed38f39fa260630e34b3f8897696a747434f89725cdcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bambora.rs:496-505 | crates/hyperswitch_connectors/src/connectors/xendit.rs:634-643 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/xendit.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 93 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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"857a2a791a2b5d0f7a42fa4d7c1539fba256c4dda9d6adbed3f953d84b2ea6f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:467-476 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:546-555 \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 \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:467\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":"crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"27255cdf26ae1b0e0c762dae4c0077af77cec34900835671167a3a747968e4e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:405-414 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:534-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:405\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a54bc489d502191d8bb1defbd3c26b800eee1aa72bef83748a7dce30f795f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2580-2589 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3417-3426 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2580\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, \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3427\u0060 calls \u0060Some\u0060, \u0060to_owned\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2590\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfe8706d31b2ed236917149c48e74eb206bf0ae650f04b25aa295189e925873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:424-431 | crates/hyperswitch_connectors/src/connectors/shift4.rs:552-561 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs:424\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, \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs:562\u0060 calls \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs:432\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e5b5317325d915ee0d67cc9dc8809541df8390dc90c9e94e1bef733817771c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:756-765 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1373-1382 \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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs:756\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4aa201b8b181f1a75a80a874b4aebbb89b4a11bf8be0b29d54f079b293d4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:670-688 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4232-4250 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060\u0026BarclaycardConsumerAuthValidateResponse\u0060 in one and \u0060\u0026CybersourceConsumerAuthValidateResponse\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"97be0227a4cd191f4e9d5762976c128c6380a724b3d524aa6e89f82b313b7582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:547-556 | crates/hyperswitch_connectors/src/connectors/klarna.rs:364-373 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/klarna.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 101 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 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs:547\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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e7d133db36065243ae3be3bcb462e6f40b22752da5a8cf508fc99171840b78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:250-259 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:461-470 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026types::PaymentsSyncRouterData\u0060 in one and \u0060\u0026types::RefundSyncRouterData\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":"crates/hyperswitch_connectors/src/connectors/boku/transformers.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf17480fa15ce20017512e4a89d011d8419beccc5bd54b73086e90f9f97a7892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/braintree.rs:704-713 | crates/hyperswitch_connectors/src/connectors/noon.rs:630-639 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/noon.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 88 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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e10cc61922830b22f5a88fd7402f2c51e2e0eea76be6ad3fd3bf73e77684def"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/braintree.rs:945-954 | crates/hyperswitch_connectors/src/connectors/tsys.rs:591-600 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/tsys.rs\u0060 as WHOLE FILES: this scan already matched 7 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. 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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ad19519ddc27c866d46189ffcbb8f5656e559a88eb01a7b9551ddc60211347"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs:118-127 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:205-214 \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":"crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b52710e807dde104872cda35fa177cde9af2e8c0170167dba4cba84cdfbe6e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout.rs:1140-1149 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2265-2274 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c7b089dbd2dd6fa930a2b981cb6c6d2f24e2fc0aa675a7e758f2a38c79b8e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:164-173 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:203-212 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs\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 5 separate duplicated blocks between them, totalling at least 50 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:174\u0060 calls \u0060CardDetailsForNetworkTransactionId\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:213\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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8270c1a0a61a8fc5c347e4e8bbb226a763946768e01624e20417c263b0c51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/coingate.rs:436-445 | crates/hyperswitch_connectors/src/connectors/coingate.rs:508-517 \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 \u0060crates/hyperswitch_connectors/src/connectors/coingate.rs:436\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":"crates/hyperswitch_connectors/src/connectors/coingate.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"1410b2322e8a305a9a5f7fdf086578ef833bc5575b2c5f6b67a4e7d071589ee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:1371-1380 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1674-1683 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsAuthorizeRouterData\u0060 in one and \u0060\u0026PaymentsCompleteAuthorizeRouterData\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ed5569288206d8330e641acf5b77b8568e7d14d4a0727dd807d92b7a07bbff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:608-617 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:475-483 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/signifyd.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:608\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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"8108cf72b0828c0dfb61a804b4cf19846a116019a73b793e1b1e70aa7a99ad19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/datatrans.rs:519-528 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:603-612 \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 \u0060crates/hyperswitch_connectors/src/connectors/datatrans.rs:519\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":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3232ec557ac159591d5dea8ff69697eb401e03f41fe706bc6c145ff5159d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/deutschebank.rs:268-277 | crates/hyperswitch_connectors/src/connectors/paypal.rs:670-679 \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 \u0060crates/hyperswitch_connectors/src/connectors/deutschebank.rs: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":"crates/hyperswitch_connectors/src/connectors/deutschebank.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c9d670ba04faf6eef93fbd1de85aede2172bdd2841290547e01d2899305195"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/facilitapay.rs:290-299 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:267-276 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/facilitapay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/jpmorgan.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 84 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":"crates/hyperswitch_connectors/src/connectors/facilitapay.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71ae806f7a5fab6937bc8dceb0a5238aa0aab14f84db0f27b924848a5ae11f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:740-749 | crates/hyperswitch_connectors/src/connectors/paybox.rs:464-473 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paybox.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 54 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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b600a55ce567fd2018c42995bdc0274ae18fc45145b151b2c533db79a5f7734"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gigadat.rs:694-703 | crates/hyperswitch_connectors/src/connectors/wise.rs:384-393 \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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb8b563e58e5f9ccae0342b96ca90690052d5ea8ca22ccd13edbd507cfe6cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:299-308 | crates/hyperswitch_connectors/src/connectors/trustly.rs:702-711 \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":"crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97ac4092d46925c258f8fc8d53431a6d99b196e9bfd88a29913e79802e73237"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/helcim.rs:204-213 | crates/hyperswitch_connectors/src/connectors/opayo.rs:160-169 \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":"crates/hyperswitch_connectors/src/connectors/helcim.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4bd15b919fa6b4875afc14dbcdf697e7cf7ef5db087bc9d4e6cb4a36715801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/klarna.rs:176-185 | crates/hyperswitch_connectors/src/connectors/stax.rs:84-93 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/klarna.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stax.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2386ebd350ab9c058c8d093723e7b70ee65fa29ae18d593b93da77a09a4087"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/multisafepay.rs:375-384 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:470-479 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026RefundsRouterData\u003CExecute\u003E\u0060 in one and \u0060\u0026RefundSyncRouterData\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":"crates/hyperswitch_connectors/src/connectors/multisafepay.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9f162c2262ee8b5baf64fcb4dd31d2c8af867ee68d4a0073fc0f3ff0a3ec5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:227-236 | crates/hyperswitch_connectors/src/connectors/square.rs:146-155 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/nexixpay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/hyperswitch_connectors/src/connectors/nexixpay.rs:227\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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c529c0d7695e9e59921e72d5736fc22b7baf3e91a3fe0469311d61394323d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1102-1109 | crates/hyperswitch_connectors/src/connectors/shift4.rs:728-737 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/nexixpay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1102\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, \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs:740\u0060 calls \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1112\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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cfc16809f891f91603ec078189118f58ea8d9558d1af3b1812dbfe6a4eef37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:937-946 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:608-616 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"063e3ce9444db7952a2433cdade02749e9ef5a708fb06f9c25ba1e7403381f11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:4389-4400 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:4415-4426 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:4401\u0060 calls \u0060and_then\u0060, \u0060to_state_code_as_optional\u0060, \u0060ok\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:4427\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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":4389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7b3f291e5c51b63de393712ce34a3488295ab86b6337f24043d71be45e44b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payme.rs:184-193 | crates/hyperswitch_connectors/src/connectors/stax.rs:159-168 \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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"133e4ea8c664523a9057d278e01dd6179600d73bd90eb96fd5610970370a210b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:819-828 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:708-717 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 65 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:817\u0060 calls \u0060Some\u0060, \u0060Voucher\u0060, \u0060GiftCard\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:707\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":"crates/hyperswitch_connectors/src/connectors/payme/transformers.rs"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"b718711ce22d7f33da0ab71c2322b91f1e3523cc9e9c5073b7fe3af1ef8b2f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal.rs:1158-1167 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1258-1265 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:1158\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026SdkSessionUpdateRouterData\u0060 in one and \u0060\u0026PaymentsAuthorizeRouterData\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"359c18772bafc322f9b7085ed7dfb2af43920710da857a8d6423cafe2f1f2f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:345-354 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:367-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 \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:345\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 \u0060item\u0060 to \u0060\u0026PaypalRouterData\u003C\u0026PaymentsPostSessionTokensRouterData\u003E\u0060 in one and \u0060\u0026PaypalRouterData\u003C\u0026SdkSessionUpdateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f796f2e3122556328a2232599f87014eddb4abba4672b7f1eb75ca5e39757b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paysafe.rs:534-542 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:636-645 \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 \u0060crates/hyperswitch_connectors/src/connectors/paysafe.rs:534\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":"crates/hyperswitch_connectors/src/connectors/paysafe.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d161f686dd62b39f7ef5ce4f7ef9ee759ad77190d81a9edf30010435c507b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1263-1271 | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1320-1329 \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 \u0060crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:1263\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":"crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a974c2c64593340551994b4d40263b5c8fc9aa66fec692b2e821a6ab4bc7bf66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/prophetpay.rs:602-611 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:685-694 \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 \u0060crates/hyperswitch_connectors/src/connectors/prophetpay.rs:602\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":"crates/hyperswitch_connectors/src/connectors/prophetpay.rs"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daea232c0b17e910413afdf31693fb3ab2cacbd2a1d171c4dac29da6c2f86fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/riskified.rs:458-467 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:535-544 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/riskified.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/signifyd.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 93 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":"crates/hyperswitch_connectors/src/connectors/riskified.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75ebde39fea4928ce0cc3f760347a75c6dc9401d7a967698c05907fca596e31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:449-458 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:872-881 \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 \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:449\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":"crates/hyperswitch_connectors/src/connectors/wellsfargo.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"63845d747357906cd51a8076b622785e090c60b125c42501413bcf8dcfd188f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldline.rs:253-262 | crates/hyperswitch_connectors/src/connectors/worldline.rs:686-693 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldline.rs:253\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":"crates/hyperswitch_connectors/src/connectors/worldline.rs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f1f68bacfcf3a66a0cdf2be3fa4f7c31f9ddafa7197c65b35d971e7363ecc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2269-2278 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2406-2415 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2269\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"60591c63afc637130c828b623460a6404b8287ba0fc53073bf0c0d121bcfbfca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3228-3237 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3253-3261 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3228\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, \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3238\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3262\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":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":3228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aedef6a4a2b013c393810e20c5a6106758f3a0bc5f49901d192929c564375f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:269-278 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:323-332 \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":"crates/hyperswitch_connectors/src/connectors/zen/transformers.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7f1ab7e9945547e3b1ddd2436060bb57a0872a05a9f4554c00a510e88d48e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:379-388 | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:465-474 \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 \u0060crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:379\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, ZslPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, ZslWebhookResponse, PaymentsSyncData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa1f238c3801836b9ffec4d16e1b9f3564d3061663094ceae1699be40d32fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1941-1950 | crates/router/src/connector/utils.rs:1788-1797 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ed70d08c91c6b0cdd1f74524b323f7995b2d25d38cb309e59101baccdbf5a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_domain_models/src/lib.rs:139-148 | crates/hyperswitch_domain_models/src/lib.rs:763-772 \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 \u0060crates/hyperswitch_domain_models/src/lib.rs:139\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ab3a30948ba3568552e327c54fab0be65b6ae4bba07275ca1114dcddf5e8d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_domain_models/src/payment_method_data.rs:1194-1203 | crates/hyperswitch_domain_models/src/payment_method_data.rs:5108-5117 \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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db1bb4326ac368e386b00d4d31d5776639b59c178157ec5815d4e433c252fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2892-2901 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:3136-3145 \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 \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs:2892\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2892}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db825661a70cb195c7790fbb5908768ac560a19b50cdb48a8e4dab0bb5f2b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/payment_link/src/template_renderer.rs:61-70 | crates/payment_link/src/template_renderer.rs:168-175 \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 \u0060crates/payment_link/src/template_renderer.rs:61\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060payment_link_data\u0060 to \u0060PaymentLinkFormData\u0060 in one and \u0060PaymentLinkStatusData\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, \u0060crates/payment_link/src/template_renderer.rs:175\u0060 calls \u0060change_context\u0060 and \u0060crates/payment_link/src/template_renderer.rs:70\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":"crates/payment_link/src/template_renderer.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"680cb656f6ac82186435a6045d9757bd5ed48f3a1e3349b08e38b7b6c9efcf63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201310 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents.rs:32-41 | crates/router/src/compatibility/stripe/refunds.rs:26-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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:32\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d2139ec01fca5402a9a0d012e53749c6fc79d17e0db33880ba8d268be0dfa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents.rs:130-139 | crates/router/src/compatibility/stripe/setup_intents.rs:116-125 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/compatibility/stripe/payment_intents.rs:140\u0060 calls \u0060get_locking_input\u0060, \u0060clone\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs:127\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"29220aed09bf164ad4378030821d023c9a38d8d439889d0c2da9ebccfebc9a6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents.rs:221-230 | crates/router/src/routes/payments.rs:918-927 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/routes/payments.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:221\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0c17269a1a23771b2f2824f43ff3b9ca58f90ada689863ca990ae89f294d3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents.rs:401-410 | crates/router/src/compatibility/stripe/setup_intents.rs:289-298 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:401\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, \u0060crates/router/src/compatibility/stripe/payment_intents.rs:411\u0060 calls \u0060get_locking_input\u0060, \u0060clone\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs:300\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c2db9c779c3416568466cc39b65584bd5587a8bd5931db8f3de00f70de396c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/compatibility/stripe/setup_intents.rs:200-209 | crates/router/src/compatibility/stripe/setup_intents.rs:287-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/compatibility/stripe/setup_intents.rs:285\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs:198\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":"crates/router/src/compatibility/stripe/setup_intents.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea87c0bd8463a6ae4f2b68a4cf6043d80cfc3b6e53adc3b4d33a3b9894ffef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/blocklist/clone.rs:138-147 | crates/router/src/core/blocklist/export.rs:95-104 \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 \u0060crates/router/src/core/blocklist/clone.rs:138\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":"crates/router/src/core/blocklist/clone.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de9b27e218f09d1ba98f0217acda02de9a8800e6f5213f718f720ccd664f964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/disputes.rs:508-517 | crates/router/src/core/disputes.rs:640-649 \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":"crates/router/src/core/disputes.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6355e99bd4974735260d459b538918f5ffeafcb5a181dbc34c6ade20cfd022a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/router/src/core/fraud_check/operation/fraud_check_post.rs:105-113 | crates/router/src/core/fraud_check/operation/fraud_check_pre.rs:92-101 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs\u0060 and \u0060crates/router/src/core/fraud_check/operation/fraud_check_pre.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 80 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 \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs:105\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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbb29a6afc4a5bb9c275615892b605d7fcf878cdce5f23dbb57520787fc5b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payment_methods/network_tokenization.rs:670-679 | crates/router/src/core/payment_methods/network_tokenization.rs:791-800 \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 \u0060crates/router/src/core/payment_methods/network_tokenization.rs:670\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":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb0258a0a88191015641dcfed51310cda947b9640137e51c7a3e36abee6c3ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payments.rs:7707-7716 | crates/router/src/core/payments.rs:7843-7852 \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 \u0060crates/router/src/core/payments.rs:7707\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":"crates/router/src/core/payments.rs"},"region":{"startLine":7707}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6ce687180061f22977afb802593470ee52a98436a381168bbf6aba4e4dd02a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payments.rs:9534-9543 | crates/router/src/core/payments/vault_session.rs:434-443 \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 \u0060crates/router/src/core/payments.rs:9534\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, \u0060crates/router/src/core/payments/vault_session.rs:444\u0060 calls \u0060get_connector_name_as_string\u0060, \u0060get_id\u0060 and \u0060crates/router/src/core/payments.rs:9544\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":"crates/router/src/core/payments.rs"},"region":{"startLine":9534}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b07f4bb361ce633af6667edf69f4f6a0c040c6c79d9af8b255574b893b9f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payments.rs:14434-14445 | crates/router/src/core/payments/operations/payment_get_intent.rs:93-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":14434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3661291f1deb9d6c692454181a79eb3ef22d88a77eea9fb133d844c39edef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:6633-6642 | crates/router/src/core/payments/helpers.rs:6660-6669 \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 \u0060crates/router/src/core/payments/helpers.rs:6633\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":6633}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e305d73c13090ce3b9208234198da2af9f5e87b5623d9c919e1ad07786c7319"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/router/src/core/payments/list.rs:184-193 | crates/router/src/core/payments/list.rs:400-408 \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":"crates/router/src/core/payments/list.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f554419421974506057f1a7a8208571f7ae3dc7acfdea38857bc7726f15dba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/router/src/core/payments/operations/payment_create.rs:130-139 | crates/router/src/core/payments/operations/payment_update.rs:158-165 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 170 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 \u0060crates/router/src/core/payments/operations/payment_create.rs:130\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e34c79d7d4e7821aec60e377c22d1dc2f10f86751d83a582839a3107b5adac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payments/operations/payment_create_intent.rs:102-111 | crates/router/src/core/payments/operations/payment_update_intent.rs:150-159 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_create_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update_intent.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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":"crates/router/src/core/payments/operations/payment_create_intent.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"09762b4f1eb689df55e5dc0e2948f25aba06f70daf463f940a716206a67e291e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payments/routing.rs:3037-3046 | crates/router/src/core/payments/routing.rs:3267-3276 \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 \u0060crates/router/src/core/payments/routing.rs:3037\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3037}}}],"partialFingerprints":{"codehealthFindingId/v1":"6225469fda5101d414f2a31b6a903b67341212434d226200fa763620be59efa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:1366-1375 | crates/router/src/core/payments/tokenization.rs:1635-1644 \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 \u0060crates/router/src/core/payments/tokenization.rs:1366\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff60aeee7305d43ac4b642e1ba279076f6d8fa3ed254b6a7e6062ab84512e916"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payouts.rs:1054-1063 | crates/router/src/core/payouts.rs:1123-1132 \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 \u0060crates/router/src/core/payouts.rs:1054\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62e356461a5676b3c34cd04f14f05ba0f83f179bddf9a8c863d27a2a16bf1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payouts/helpers.rs:1468-1477 | crates/router/src/core/relay.rs:1211-1220 \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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12ed8ff8f60543befa5281016a032e4bbbba67603b88a60a978de18316fa6c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/relay.rs:960-969 | crates/router/src/core/relay.rs:1288-1297 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/relay.rs:1286\u0060 calls \u0060get_account\u0060, \u0060get_id\u0060 and \u0060crates/router/src/core/relay.rs:958\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":"crates/router/src/core/relay.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3954cd37ac2b2fd4c6c1d81403613d8134f8cd360670bd9c8b1df88875e506"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/router/src/core/relay.rs:1208-1217 | crates/router/src/core/unified_authentication_service.rs:2112-2120 \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 \u0060crates/router/src/core/relay.rs:1208\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":"crates/router/src/core/relay.rs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d326cd40999c1bf037dcd2d53fcd721d79d64055b474d25fc6c5ab66295b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/revenue_recovery/types.rs:967-976 | crates/router/src/core/revenue_recovery/types.rs:1269-1278 \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 \u0060crates/router/src/core/revenue_recovery/types.rs:967\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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"3788e6c5a7b92e17a2dec90973c5ffd2d84017af20e656fbb1f87d9463e04f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/routing.rs:2541-2550 | crates/router/src/core/routing.rs:2689-2698 \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":"crates/router/src/core/routing.rs"},"region":{"startLine":2541}}}],"partialFingerprints":{"codehealthFindingId/v1":"723048cf6cf94e308b4149077ab323ece821ce540e12a515e9ddb6c5fda69f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/routing/transformers.rs:26-35 | crates/router/src/core/routing/transformers.rs:43-52 \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 \u0060crates/router/src/core/routing/transformers.rs:26\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 \u0060value\u0060 to \u0060RoutingProfileMetadata\u0060 in one and \u0060RoutingAlgorithm\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":"crates/router/src/core/routing/transformers.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"693bcd58c4299d9b9f5b01470436065b7facf58286a4a57610ec7220ca426809"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/user.rs:1516-1525 | crates/router/src/core/user.rs:1622-1631 \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 \u0060crates/router/src/core/user.rs:1516\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":"crates/router/src/core/user.rs"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"484a3d159b06835ceb4a3f6b397eccc1a49af6f429989ec1f18c0369921fc577"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/user.rs:1660-1669 | crates/router/src/utils/user.rs:51-60 \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 \u0060crates/router/src/core/user.rs:1660\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":"crates/router/src/core/user.rs"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"330f48925623a89d9f6acfeaa63a83c2d084204ccd2bc5a43ba2b899e59617bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/utils.rs:578-587 | crates/router/src/core/utils.rs:816-825 \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":"crates/router/src/core/utils.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2eea48dde6af6dd7448f84949c1bffa1af323bbbf8c4dee2def2cfdec3b52c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/utils.rs:2287-2297 | crates/router/src/core/utils.rs:2323-2332 \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 \u0060crates/router/src/core/utils.rs:2287\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":"crates/router/src/core/utils.rs"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c45287c1e62148465aa47655c31a940f54fe8c4b95163b2acfe4827db51481"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/verification/utils.rs:92-101 | crates/router/src/core/verification/utils.rs:108-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/verification/utils.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ce6bce5989e4c7e940a966c0387b5c2871236b91b4b24696d8f334920f57fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/webhooks/network_tokenization_incoming.rs:352-361 | crates/router/src/core/webhooks/network_tokenization_incoming.rs:374-383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/webhooks/network_tokenization_incoming.rs:352\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, \u0060crates/router/src/core/webhooks/network_tokenization_incoming.rs:372\u0060 calls \u0060Some\u0060 and \u0060crates/router/src/core/webhooks/network_tokenization_incoming.rs:351\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":"crates/router/src/core/webhooks/network_tokenization_incoming.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef65c9a6f9b811a7f76c62b25e4b03d9d83bc606408b6c9477e4fb027e153d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/db/client_secret.rs:128-137 | crates/router/src/db/client_secret.rs:139-148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/client_secret.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f8b329a332aec81e56f2d5b9077086f661ace38cc471ff1af1ffa0e8e0d652"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/db/dispute.rs:458-468 | crates/router/src/db/dispute.rs:535-544 \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 \u0060crates/router/src/db/dispute.rs:458\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":"crates/router/src/db/dispute.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8f93506a8955e90ad5c1e1257c9b9e38b196ad065558266ca2a20f2519f5b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/routes/admin.rs:1022-1031 | crates/router/src/routes/admin.rs:1046-1055 \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 \u0060crates/router/src/routes/admin.rs:1022\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"694216ee8a66b1397c11805e30c915831a4fb58bcdb1b6c9c000c0e45ab8c3ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/routes/disputes.rs:402-411 | crates/router/src/routes/refunds.rs:769-778 \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 \u0060crates/router/src/routes/disputes.rs:402\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dc3a62f146baf0c5812b0cd7ba4fb9be1081a2310087c6f49baa715d636505"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/routes/disputes.rs:447-456 | crates/router/src/routes/disputes.rs:610-619 \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 \u0060crates/router/src/routes/disputes.rs:447\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"25479d34de25b8a039461ee4f4fed27b068c44e503ffc4215d518d8cbb545ca1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/routes/disputes.rs:557-566 | crates/router/src/routes/files.rs:40-49 \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 \u0060crates/router/src/routes/disputes.rs:557\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c44e678a1d6f7c98e7085827340b40fcb9e275eaa4f35e7ae210726a270ad32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/router/src/routes/disputes/utils.rs:42-50 | crates/router/src/routes/files/transformers.rs:30-39 \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 \u0060crates/router/src/routes/disputes/utils.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/routes/files/transformers.rs:27\u0060 calls \u0060Some\u0060, \u0060get_file_purpose\u0060 and \u0060crates/router/src/routes/disputes/utils.rs:41\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":"crates/router/src/routes/disputes/utils.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a871249d8c03c2e6c30c90580026564d4ae1c01aaedaf112648fe0f5a4e3f72b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/routes/payments.rs:837-848 | crates/router/src/routes/payments.rs:1948-1957 \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 \u0060crates/router/src/routes/payments.rs:837\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73bb199d055f69a826e1458bee76d6169723e2d5badd4edeffd6e9a46481625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/router/src/services/api/generic_link_response.rs:121-129 | crates/router/src/services/api/generic_link_response.rs:161-170 \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 \u0060crates/router/src/services/api/generic_link_response.rs:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/services/api/generic_link_response.rs:120\u0060 calls \u0060insert_locales_in_context_for_payout_link\u0060 and \u0060crates/router/src/services/api/generic_link_response.rs:161\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":"crates/router/src/services/api/generic_link_response.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0b6c1b55cac17cd61028903d93a790180876d63cb7441f8810bbecab9847c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): crates/router/src/services/authentication.rs:2503-2512 | crates/router/src/services/authentication.rs:2884-2891 \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 \u0060crates/router/src/services/authentication.rs:2503\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":2503}}}],"partialFingerprints":{"codehealthFindingId/v1":"e013b1aaea3cae34af9333b5abba8533c48e462b0c8995fa1e4f7c24f3daf0c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): crates/router/src/services/authentication.rs:5443-5452 | crates/router/src/services/authentication.rs:5481-5487 \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 \u0060crates/router/src/services/authentication.rs:5443\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":5443}}}],"partialFingerprints":{"codehealthFindingId/v1":"1361dc5e8a3e692fa2c136c8392ca84d6c69dc4b8e48c00c14523343b71532df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/types/api/payments.rs:92-101 | crates/router/src/types/api/payments.rs:107-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. 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":"crates/router/src/types/api/payments.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cf0e6a853f3052b68d46c158ae4088ea4098a52507cce0192b18e3fe1b3927"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/types/transformers.rs:600-609 | crates/router/src/types/transformers.rs:647-656 \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 \u0060crates/router/src/types/transformers.rs: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060address\u0060 to \u0060\u0026domain::Address\u0060 in one and \u0060domain::Address\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":"crates/router/src/types/transformers.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5527ba85c471ac882d423dc339113201a72de695513b768413d599a52359868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/subscriptions/src/core.rs:57-66 | crates/subscriptions/src/core.rs:207-216 \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 \u0060crates/subscriptions/src/core.rs:57\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":"crates/subscriptions/src/core.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"457d12ebe56b126ec2edb5a4f8b63addb8fe136c41cc8c99ae0518a3352d45c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 696): crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:234-240 | crates/hyperswitch_connectors/src/connectors/aci.rs:262-268 | crates/hyperswitch_connectors/src/connectors/aci.rs:359-365 | crates/hyperswitch_connectors/src/connectors/aci.rs:446-452 | crates/hyperswitch_connectors/src/connectors/aci.rs:547-553 | crates/hyperswitch_connectors/src/connectors/aci.rs:631-637 | crates/hyperswitch_connectors/src/connectors/aci.rs:729-736 | crates/hyperswitch_connectors/src/connectors/adyen.rs:688-696 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1052-1058 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1294-1300 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1392-1398 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1493-1499 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1604-1610 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1729-1735 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1833-1839 | crates/hyperswitch_connectors/src/connectors/adyen.rs:2535-2541 | crates/hyperswitch_connectors/src/connectors/affirm.rs:266-272 | crates/hyperswitch_connectors/src/connectors/affirm.rs:351-357 | crates/hyperswitch_connectors/src/connectors/affirm.rs:423-429 | crates/hyperswitch_connectors/src/connectors/affirm.rs:514-520 | crates/hyperswitch_connectors/src/connectors/affirm.rs:593-601 | crates/hyperswitch_connectors/src/connectors/affirm.rs:685-691 | crates/hyperswitch_connectors/src/connectors/affirm.rs:753-759 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:270-278 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:361-369 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:449-457 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:627-635 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:717-723 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:805-811 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:878-884 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:1063-1069 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:456-462 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:528-534 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:632-638 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:707-713 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:213-221 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:361-369 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:541-547 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:722-728 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:811-817 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:904-910 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:994-1000 | crates/hyperswitch_connectors/src/connectors/bambora.rs:260-267 | crates/hyperswitch_connectors/src/connectors/bambora.rs:351-358 | crates/hyperswitch_connectors/src/connectors/bambora.rs:434-442 | crates/hyperswitch_connectors/src/connectors/bambora.rs:516-524 | crates/hyperswitch_connectors/src/connectors/bambora.rs:615-623 | crates/hyperswitch_connectors/src/connectors/bambora.rs:799-807 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:237-244 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:331-338 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:414-421 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:506-514 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:600-608 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:684-691 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:380-388 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:511-517 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:626-632 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:715-721 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:843-849 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:961-969 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:1035-1041 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:518-524 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:614-620 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:720-726 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:732-738 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:848-854 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:938-944 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1064-1070 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1185-1191 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1260-1266 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1350-1356 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:250-256 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:347-353 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:424-430 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:522-528 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:599-605 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:692-698 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:772-778 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:151-159 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:325-332 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:423-431 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:385-391 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:484-490 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:567-573 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:810-816 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:902-908 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1083-1089 | crates/hyperswitch_connectors/src/connectors/boku.rs:283-289 | crates/hyperswitch_connectors/src/connectors/boku.rs:367-373 | crates/hyperswitch_connectors/src/connectors/boku.rs:447-453 | crates/hyperswitch_connectors/src/connectors/boku.rs:623-629 | crates/hyperswitch_connectors/src/connectors/braintree.rs:385-392 | crates/hyperswitch_connectors/src/connectors/braintree.rs:489-495 | crates/hyperswitch_connectors/src/connectors/braintree.rs:565-571 | crates/hyperswitch_connectors/src/connectors/braintree.rs:647-653 | crates/hyperswitch_connectors/src/connectors/braintree.rs:660-666 | crates/hyperswitch_connectors/src/connectors/braintree.rs:732-740 | crates/hyperswitch_connectors/src/connectors/braintree.rs:808-814 | crates/hyperswitch_connectors/src/connectors/braintree.rs:966-972 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1313-1319 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1326-1332 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:261-267 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:370-376 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:442-448 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:527-533 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:610-616 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:694-700 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:761-767 | crates/hyperswitch_connectors/src/connectors/calida.rs:448-454 | crates/hyperswitch_connectors/src/connectors/calida.rs:535-541 | crates/hyperswitch_connectors/src/connectors/calida.rs:601-607 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:297-304 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:328-334 | crates/hyperswitch_connectors/src/connectors/celero.rs:272-278 | crates/hyperswitch_connectors/src/connectors/celero.rs:353-359 | crates/hyperswitch_connectors/src/connectors/celero.rs:444-450 | crates/hyperswitch_connectors/src/connectors/celero.rs:517-523 | crates/hyperswitch_connectors/src/connectors/celero.rs:607-613 | crates/hyperswitch_connectors/src/connectors/celero.rs:688-694 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:246-252 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:320-326 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:387-393 | crates/hyperswitch_connectors/src/connectors/checkout.rs:377-383 | crates/hyperswitch_connectors/src/connectors/checkout.rs:475-481 | crates/hyperswitch_connectors/src/connectors/checkout.rs:558-564 | crates/hyperswitch_connectors/src/connectors/checkout.rs:639-645 | crates/hyperswitch_connectors/src/connectors/checkout.rs:653-659 | crates/hyperswitch_connectors/src/connectors/checkout.rs:740-746 | crates/hyperswitch_connectors/src/connectors/citigate.rs:254-260 | crates/hyperswitch_connectors/src/connectors/citigate.rs:319-325 | crates/hyperswitch_connectors/src/connectors/citigate.rs:397-403 | crates/hyperswitch_connectors/src/connectors/citigate.rs:484-490 | crates/hyperswitch_connectors/src/connectors/citigate.rs:552-558 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:255-261 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:329-335 | crates/hyperswitch_connectors/src/connectors/coingate.rs:248-254 | crates/hyperswitch_connectors/src/connectors/coingate.rs:323-329 | crates/hyperswitch_connectors/src/connectors/coingate.rs:439-447 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:239-245 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:304-310 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:382-388 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:471-477 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:539-545 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:469-475 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:726-732 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:820-826 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:916-922 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1005-1011 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1141-1147 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1239-1245 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1251-1257 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1407-1413 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1555-1563 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1715-1721 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1879-1885 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2030-2036 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2098-2104 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2208-2214 | crates/hyperswitch_connectors/src/connectors/d24.rs:250-256 | crates/hyperswitch_connectors/src/connectors/d24.rs:315-321 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:256-262 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:357-363 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:428-434 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:690-697 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:761-767 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:270-278 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:426-432 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:438-444 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:450-456 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:558-564 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:631-637 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:723-729 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:805-811 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:897-903 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:966-972 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:295-301 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:452-458 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:279-287 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:362-368 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:441-447 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:511-518 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:672-678 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:250-258 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:668-674 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:847-853 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:283-289 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:348-354 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:426-432 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:513-519 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:581-587 | crates/hyperswitch_connectors/src/connectors/envoy.rs:357-363 | crates/hyperswitch_connectors/src/connectors/envoy.rs:422-428 | crates/hyperswitch_connectors/src/connectors/envoy.rs:500-506 | crates/hyperswitch_connectors/src/connectors/envoy.rs:587-593 | crates/hyperswitch_connectors/src/connectors/envoy.rs:655-661 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:273-279 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:338-344 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:416-422 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:503-509 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:571-577 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:224-232 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:310-318 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:417-425 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:493-501 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:573-579 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:641-647 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:720-726 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:791-797 | crates/hyperswitch_connectors/src/connectors/finix.rs:161-167 | crates/hyperswitch_connectors/src/connectors/finix.rs:245-251 | crates/hyperswitch_connectors/src/connectors/finix.rs:971-977 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:311-317 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:261-267 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:326-332 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:406-412 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:495-501 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:563-569 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:341-347 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:418-424 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:508-514 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:589-595 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:678-684 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:754-760 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:427-433 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:550-556 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:626-632 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:760-766 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:824-830 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:271-279 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:372-378 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:448-454 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:526-532 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:613-619 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:681-687 | crates/hyperswitch_connectors/src/connectors/forte.rs:275-283 | crates/hyperswitch_connectors/src/connectors/forte.rs:350-358 | crates/hyperswitch_connectors/src/connectors/forte.rs:437-445 | crates/hyperswitch_connectors/src/connectors/forte.rs:521-529 | crates/hyperswitch_connectors/src/connectors/forte.rs:614-622 | crates/hyperswitch_connectors/src/connectors/forte.rs:688-696 | crates/hyperswitch_connectors/src/connectors/getnet.rs:284-290 | crates/hyperswitch_connectors/src/connectors/getnet.rs:362-368 | crates/hyperswitch_connectors/src/connectors/getnet.rs:449-455 | crates/hyperswitch_connectors/src/connectors/getnet.rs:528-536 | crates/hyperswitch_connectors/src/connectors/getnet.rs:616-622 | crates/hyperswitch_connectors/src/connectors/getnet.rs:692-698 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:302-310 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:473-479 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:715-723 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:792-800 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:875-883 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:947-955 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:254-260 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:319-325 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:397-403 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:486-492 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:554-560 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:323-331 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:426-434 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:536-544 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:717-725 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:810-818 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:975-983 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:274-280 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:339-345 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:419-425 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:509-515 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:577-583 | crates/hyperswitch_connectors/src/connectors/globepay.rs:273-281 | crates/hyperswitch_connectors/src/connectors/globepay.rs:346-354 | crates/hyperswitch_connectors/src/connectors/globepay.rs:453-461 | crates/hyperswitch_connectors/src/connectors/globepay.rs:527-535 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:248-256 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:333-341 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:423-431 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:514-522 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:588-596 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:680-688 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:251-259 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:328-336 | crates/hyperswitch_connectors/src/connectors/helcim.rs:279-285 | crates/hyperswitch_connectors/src/connectors/helcim.rs:368-376 | crates/hyperswitch_connectors/src/connectors/helcim.rs:452-460 | crates/hyperswitch_connectors/src/connectors/helcim.rs:545-553 | crates/hyperswitch_connectors/src/connectors/helcim.rs:624-632 | crates/hyperswitch_connectors/src/connectors/helcim.rs:711-719 | crates/hyperswitch_connectors/src/connectors/helcim.rs:795-803 | crates/hyperswitch_connectors/src/connectors/hipay.rs:168-175 | crates/hyperswitch_connectors/src/connectors/hipay.rs:339-345 | crates/hyperswitch_connectors/src/connectors/hipay.rs:409-415 | crates/hyperswitch_connectors/src/connectors/hipay.rs:496-502 | crates/hyperswitch_connectors/src/connectors/hipay.rs:570-576 | crates/hyperswitch_connectors/src/connectors/hipay.rs:648-654 | crates/hyperswitch_connectors/src/connectors/hipay.rs:717-723 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:244-250 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:309-315 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:387-393 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:474-480 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:542-548 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:135-141 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:325-331 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:253-259 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:318-324 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:396-402 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:484-490 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:552-558 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:272-280 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:395-401 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:468-474 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:576-582 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:650-656 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:254-260 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:319-325 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:397-403 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:484-490 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:552-558 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:273-279 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:338-344 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:424-430 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:513-519 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:581-587 | crates/hyperswitch_connectors/src/connectors/inespay.rs:262-268 | crates/hyperswitch_connectors/src/connectors/inespay.rs:337-343 | crates/hyperswitch_connectors/src/connectors/inespay.rs:415-421 | crates/hyperswitch_connectors/src/connectors/inespay.rs:502-508 | crates/hyperswitch_connectors/src/connectors/inespay.rs:580-586 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:273-281 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:409-415 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:484-490 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:565-571 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:681-687 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:766-772 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:287-294 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:391-397 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:481-487 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:550-556 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:634-641 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:720-726 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:786-792 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:294-300 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:359-365 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:437-443 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:526-532 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:594-600 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:308-314 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:373-379 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:453-459 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:543-549 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:611-617 | crates/hyperswitch_connectors/src/connectors/katapult.rs:255-261 | crates/hyperswitch_connectors/src/connectors/katapult.rs:320-326 | crates/hyperswitch_connectors/src/connectors/katapult.rs:398-404 | crates/hyperswitch_connectors/src/connectors/katapult.rs:485-491 | crates/hyperswitch_connectors/src/connectors/katapult.rs:553-559 | crates/hyperswitch_connectors/src/connectors/klarna.rs:275-283 | crates/hyperswitch_connectors/src/connectors/klarna.rs:480-488 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1198-1206 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1445-1451 | crates/hyperswitch_connectors/src/connectors/loonio.rs:274-280 | crates/hyperswitch_connectors/src/connectors/loonio.rs:454-460 | crates/hyperswitch_connectors/src/connectors/loonio.rs:731-739 | crates/hyperswitch_connectors/src/connectors/loonio.rs:803-811 | crates/hyperswitch_connectors/src/connectors/merchante.rs:273-279 | crates/hyperswitch_connectors/src/connectors/merchante.rs:338-344 | crates/hyperswitch_connectors/src/connectors/merchante.rs:416-422 | crates/hyperswitch_connectors/src/connectors/merchante.rs:503-509 | crates/hyperswitch_connectors/src/connectors/merchante.rs:571-577 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:304-310 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:383-390 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:462-468 | crates/hyperswitch_connectors/src/connectors/mollie.rs:225-233 | crates/hyperswitch_connectors/src/connectors/mollie.rs:306-314 | crates/hyperswitch_connectors/src/connectors/mollie.rs:384-392 | crates/hyperswitch_connectors/src/connectors/mollie.rs:470-478 | crates/hyperswitch_connectors/src/connectors/mollie.rs:545-553 | crates/hyperswitch_connectors/src/connectors/mollie.rs:633-641 | crates/hyperswitch_connectors/src/connectors/mollie.rs:816-824 | crates/hyperswitch_connectors/src/connectors/moneris.rs:257-265 | crates/hyperswitch_connectors/src/connectors/moneris.rs:380-386 | crates/hyperswitch_connectors/src/connectors/moneris.rs:453-459 | crates/hyperswitch_connectors/src/connectors/moneris.rs:544-550 | crates/hyperswitch_connectors/src/connectors/moneris.rs:625-631 | crates/hyperswitch_connectors/src/connectors/moneris.rs:702-708 | crates/hyperswitch_connectors/src/connectors/moneris.rs:771-777 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:252-258 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:317-323 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:395-401 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:482-488 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:550-556 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:231-239 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:330-338 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:431-437 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:505-511 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:269-277 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:349-357 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:435-443 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:518-526 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:601-609 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:679-687 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:341-347 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:427-433 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:519-525 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:612-618 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:704-710 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:774-780 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:898-904 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1005-1011 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1104-1110 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1177-1183 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:463-471 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:563-571 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:648-656 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:732-740 | crates/hyperswitch_connectors/src/connectors/noon.rs:344-352 | crates/hyperswitch_connectors/src/connectors/noon.rs:416-424 | crates/hyperswitch_connectors/src/connectors/noon.rs:503-511 | crates/hyperswitch_connectors/src/connectors/noon.rs:581-589 | crates/hyperswitch_connectors/src/connectors/noon.rs:658-666 | crates/hyperswitch_connectors/src/connectors/noon.rs:741-749 | crates/hyperswitch_connectors/src/connectors/noon.rs:813-821 | crates/hyperswitch_connectors/src/connectors/nordea.rs:713-721 | crates/hyperswitch_connectors/src/connectors/nordea.rs:838-846 | crates/hyperswitch_connectors/src/connectors/nordea.rs:936-944 | crates/hyperswitch_connectors/src/connectors/nordea.rs:1017-1023 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:317-323 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:408-414 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:486-492 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:573-579 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:659-665 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:737-743 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:815-823 | crates/hyperswitch_connectors/src/connectors/opayo.rs:255-263 | crates/hyperswitch_connectors/src/connectors/opayo.rs:322-330 | crates/hyperswitch_connectors/src/connectors/opayo.rs:400-408 | crates/hyperswitch_connectors/src/connectors/opayo.rs:485-493 | crates/hyperswitch_connectors/src/connectors/opayo.rs:552-560 | crates/hyperswitch_connectors/src/connectors/opennode.rs:257-265 | crates/hyperswitch_connectors/src/connectors/opennode.rs:332-340 | crates/hyperswitch_connectors/src/connectors/payconex.rs:254-260 | crates/hyperswitch_connectors/src/connectors/payconex.rs:319-325 | crates/hyperswitch_connectors/src/connectors/payconex.rs:397-403 | crates/hyperswitch_connectors/src/connectors/payconex.rs:484-490 | crates/hyperswitch_connectors/src/connectors/payconex.rs:552-558 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:243-251 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:344-352 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:438-446 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:301-307 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:376-382 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:454-460 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:529-535 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:603-609 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:678-684 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:294-300 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:368-374 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:476-482 | crates/hyperswitch_connectors/src/connectors/payload.rs:184-192 | crates/hyperswitch_connectors/src/connectors/payload.rs:417-425 | crates/hyperswitch_connectors/src/connectors/payload.rs:432-440 | crates/hyperswitch_connectors/src/connectors/payload.rs:525-533 | crates/hyperswitch_connectors/src/connectors/payload.rs:600-606 | crates/hyperswitch_connectors/src/connectors/payload.rs:692-698 | crates/hyperswitch_connectors/src/connectors/payload.rs:776-784 | crates/hyperswitch_connectors/src/connectors/payload.rs:868-876 | crates/hyperswitch_connectors/src/connectors/payload.rs:955-963 | crates/hyperswitch_connectors/src/connectors/payload.rs:1023-1029 | crates/hyperswitch_connectors/src/connectors/payload.rs:1119-1127 | crates/hyperswitch_connectors/src/connectors/payme.rs:264-272 | crates/hyperswitch_connectors/src/connectors/payme.rs:494-502 | crates/hyperswitch_connectors/src/connectors/payme.rs:595-603 | crates/hyperswitch_connectors/src/connectors/payme.rs:689-697 | crates/hyperswitch_connectors/src/connectors/payme.rs:775-783 | crates/hyperswitch_connectors/src/connectors/payme.rs:875-883 | crates/hyperswitch_connectors/src/connectors/payme.rs:966-974 | crates/hyperswitch_connectors/src/connectors/payme.rs:1056-1064 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:255-261 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:320-326 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:398-404 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:485-491 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:553-559 | crates/hyperswitch_connectors/src/connectors/paypal.rs:672-680 | crates/hyperswitch_connectors/src/connectors/paypal.rs:803-811 | crates/hyperswitch_connectors/src/connectors/paypal.rs:876-884 | crates/hyperswitch_connectors/src/connectors/paypal.rs:968-974 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1069-1075 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1429-1435 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1546-1552 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1829-1835 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2032-2038 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2105-2111 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2194-2200 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2261-2267 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2368-2374 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:181-189 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:400-408 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:522-528 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:537-543 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:550-556 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:639-646 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:717-723 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:808-814 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:900-906 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:991-997 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:1064-1070 | crates/hyperswitch_connectors/src/connectors/paystack.rs:246-252 | crates/hyperswitch_connectors/src/connectors/paystack.rs:321-327 | crates/hyperswitch_connectors/src/connectors/paystack.rs:399-405 | crates/hyperswitch_connectors/src/connectors/paystack.rs:486-492 | crates/hyperswitch_connectors/src/connectors/paystack.rs:564-570 | crates/hyperswitch_connectors/src/connectors/paytm.rs:244-250 | crates/hyperswitch_connectors/src/connectors/paytm.rs:309-315 | crates/hyperswitch_connectors/src/connectors/paytm.rs:387-393 | crates/hyperswitch_connectors/src/connectors/paytm.rs:474-480 | crates/hyperswitch_connectors/src/connectors/paytm.rs:542-548 | crates/hyperswitch_connectors/src/connectors/payu.rs:231-239 | crates/hyperswitch_connectors/src/connectors/payu.rs:319-327 | crates/hyperswitch_connectors/src/connectors/payu.rs:418-424 | crates/hyperswitch_connectors/src/connectors/payu.rs:601-607 | crates/hyperswitch_connectors/src/connectors/payu.rs:765-771 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:574-580 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:853-859 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:919-925 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:244-250 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:309-315 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:387-393 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:474-480 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:542-548 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:237-245 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:316-324 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:397-405 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:476-484 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:556-564 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:635-643 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:270-278 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:360-368 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:450-458 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:507-515 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:606-614 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:258-266 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:357-365 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:440-448 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:604-612 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:687-695 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:267-273 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:374-380 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:479-485 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:573-581 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:731-737 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:288-294 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:383-389 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:458-464 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:614-620 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:691-697 | crates/hyperswitch_connectors/src/connectors/redsys.rs:267-273 | crates/hyperswitch_connectors/src/connectors/redsys.rs:359-365 | crates/hyperswitch_connectors/src/connectors/redsys.rs:441-447 | crates/hyperswitch_connectors/src/connectors/redsys.rs:522-528 | crates/hyperswitch_connectors/src/connectors/redsys.rs:596-602 | crates/hyperswitch_connectors/src/connectors/redsys.rs:679-685 | crates/hyperswitch_connectors/src/connectors/redsys.rs:754-760 | crates/hyperswitch_connectors/src/connectors/redsys.rs:832-839 | crates/hyperswitch_connectors/src/connectors/redsys.rs:909-916 | crates/hyperswitch_connectors/src/connectors/santander.rs:222-230 | crates/hyperswitch_connectors/src/connectors/santander.rs:379-387 | crates/hyperswitch_connectors/src/connectors/santander.rs:836-844 | crates/hyperswitch_connectors/src/connectors/santander.rs:963-971 | crates/hyperswitch_connectors/src/connectors/santander.rs:1059-1067 | crates/hyperswitch_connectors/src/connectors/santander.rs:1674-1680 | crates/hyperswitch_connectors/src/connectors/santander.rs:1838-1844 | crates/hyperswitch_connectors/src/connectors/santander.rs:2092-2098 | crates/hyperswitch_connectors/src/connectors/santander.rs:2811-2819 | crates/hyperswitch_connectors/src/connectors/santander.rs:2961-2969 | crates/hyperswitch_connectors/src/connectors/santander.rs:2977-2985 | crates/hyperswitch_connectors/src/connectors/santander.rs:2991-2999 | crates/hyperswitch_connectors/src/connectors/shift4.rs:268-276 | crates/hyperswitch_connectors/src/connectors/shift4.rs:367-375 | crates/hyperswitch_connectors/src/connectors/shift4.rs:427-435 | crates/hyperswitch_connectors/src/connectors/shift4.rs:643-651 | crates/hyperswitch_connectors/src/connectors/shift4.rs:730-738 | crates/hyperswitch_connectors/src/connectors/shift4.rs:803-809 | crates/hyperswitch_connectors/src/connectors/sift.rs:252-258 | crates/hyperswitch_connectors/src/connectors/sift.rs:317-323 | crates/hyperswitch_connectors/src/connectors/sift.rs:395-401 | crates/hyperswitch_connectors/src/connectors/sift.rs:482-488 | crates/hyperswitch_connectors/src/connectors/sift.rs:550-556 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:137-143 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:358-364 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:434-440 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:518-524 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:603-609 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:688-694 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:765-771 | crates/hyperswitch_connectors/src/connectors/square.rs:267-275 | crates/hyperswitch_connectors/src/connectors/square.rs:354-362 | crates/hyperswitch_connectors/src/connectors/square.rs:433-441 | crates/hyperswitch_connectors/src/connectors/square.rs:508-516 | crates/hyperswitch_connectors/src/connectors/square.rs:586-594 | crates/hyperswitch_connectors/src/connectors/square.rs:656-664 | crates/hyperswitch_connectors/src/connectors/square.rs:735-743 | crates/hyperswitch_connectors/src/connectors/square.rs:805-813 | crates/hyperswitch_connectors/src/connectors/stax.rs:241-249 | crates/hyperswitch_connectors/src/connectors/stax.rs:326-334 | crates/hyperswitch_connectors/src/connectors/stax.rs:435-443 | crates/hyperswitch_connectors/src/connectors/stax.rs:511-519 | crates/hyperswitch_connectors/src/connectors/stax.rs:602-610 | crates/hyperswitch_connectors/src/connectors/stax.rs:673-681 | crates/hyperswitch_connectors/src/connectors/stax.rs:771-779 | crates/hyperswitch_connectors/src/connectors/stax.rs:842-850 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:332-338 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:397-403 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:475-481 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:564-570 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:632-638 | crates/hyperswitch_connectors/src/connectors/taxjar.rs:255-261 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:260-268 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:367-373 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:459-465 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:536-542 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:622-628 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:699-705 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:784-790 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:861-867 | crates/hyperswitch_connectors/src/connectors/thunes.rs:241-247 | crates/hyperswitch_connectors/src/connectors/thunes.rs:306-312 | crates/hyperswitch_connectors/src/connectors/thunes.rs:384-390 | crates/hyperswitch_connectors/src/connectors/thunes.rs:471-477 | crates/hyperswitch_connectors/src/connectors/thunes.rs:539-545 | crates/hyperswitch_connectors/src/connectors/tokenex.rs:256-262 | crates/hyperswitch_connectors/src/connectors/tokenex.rs:338-344 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:418-424 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:517-523 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:280-288 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:398-404 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:463-469 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:541-547 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:628-634 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:696-702 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:791-799 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:883-891 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:966-972 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:339-347 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:627-635 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:734-742 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:139-145 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:330-336 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:407-413 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:494-500 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:571-577 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:658-664 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:735-741 | crates/hyperswitch_connectors/src/connectors/tsys.rs:200-208 | crates/hyperswitch_connectors/src/connectors/tsys.rs:280-288 | crates/hyperswitch_connectors/src/connectors/tsys.rs:368-376 | crates/hyperswitch_connectors/src/connectors/tsys.rs:446-454 | crates/hyperswitch_connectors/src/connectors/tsys.rs:531-539 | crates/hyperswitch_connectors/src/connectors/tsys.rs:611-619 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:266-272 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:387-393 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:480-486 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:587-593 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:699-705 | crates/hyperswitch_connectors/src/connectors/vgs.rs:235-243 | crates/hyperswitch_connectors/src/connectors/vgs.rs:339-345 | crates/hyperswitch_connectors/src/connectors/vgs.rs:419-425 | crates/hyperswitch_connectors/src/connectors/volt.rs:272-280 | crates/hyperswitch_connectors/src/connectors/volt.rs:391-399 | crates/hyperswitch_connectors/src/connectors/volt.rs:466-474 | crates/hyperswitch_connectors/src/connectors/volt.rs:552-558 | crates/hyperswitch_connectors/src/connectors/volt.rs:641-649 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:426-432 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:658-664 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:765-771 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:849-855 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:982-988 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1103-1109 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1170-1176 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1279-1285 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1236-1242 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:254-260 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:319-325 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:397-403 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:486-492 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:554-560 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:436-442 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:516-522 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:949-956 | crates/hyperswitch_connectors/src/connectors/xendit.rs:407-414 | crates/hyperswitch_connectors/src/connectors/xendit.rs:654-660 | crates/hyperswitch_connectors/src/connectors/zen.rs:284-290 | crates/hyperswitch_connectors/src/connectors/zen.rs:355-361 | crates/hyperswitch_connectors/src/connectors/zen.rs:540-548 | crates/hyperswitch_connectors/src/connectors/zift.rs:132-139 | crates/hyperswitch_connectors/src/connectors/zift.rs:342-349 | crates/hyperswitch_connectors/src/connectors/zift.rs:417-424 | crates/hyperswitch_connectors/src/connectors/zift.rs:501-507 | crates/hyperswitch_connectors/src/connectors/zift.rs:576-582 | crates/hyperswitch_connectors/src/connectors/zift.rs:659-665 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/coingate.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 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 \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:234\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, \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs:444\u0060 calls \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:242\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8749a72c46cfb52ec77e7b68d1657c6596f9c29370130f4310b6884871e5a2e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 74): crates/hyperswitch_connectors/src/connectors/affirm.rs:404-412 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:607-615 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:509-517 | crates/hyperswitch_connectors/src/connectors/authipay.rs:366-374 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:829-837 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:405-413 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:457-465 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:423-431 | crates/hyperswitch_connectors/src/connectors/calida.rs:328-336 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:301-309 | crates/hyperswitch_connectors/src/connectors/citigate.rs:300-308 | crates/hyperswitch_connectors/src/connectors/coingate.rs:304-312 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:285-293 | crates/hyperswitch_connectors/src/connectors/d24.rs:296-304 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:409-417 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:612-620 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:346-354 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:334-342 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:649-657 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:329-337 | crates/hyperswitch_connectors/src/connectors/envoy.rs:403-411 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:319-327 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:474-482 | crates/hyperswitch_connectors/src/connectors/finix.rs:598-606 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:307-315 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:399-407 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:429-437 | crates/hyperswitch_connectors/src/connectors/forte.rs:332-340 | crates/hyperswitch_connectors/src/connectors/getnet.rs:343-351 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:358-366 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:300-308 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:320-328 | crates/hyperswitch_connectors/src/connectors/helcim.rs:433-441 | crates/hyperswitch_connectors/src/connectors/hipay.rs:390-398 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:290-298 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:299-307 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:449-457 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:300-308 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:319-327 | crates/hyperswitch_connectors/src/connectors/inespay.rs:318-326 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:531-539 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:340-348 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:354-362 | crates/hyperswitch_connectors/src/connectors/katapult.rs:301-309 | crates/hyperswitch_connectors/src/connectors/klarna.rs:461-469 | crates/hyperswitch_connectors/src/connectors/loonio.rs:324-332 | crates/hyperswitch_connectors/src/connectors/merchante.rs:319-327 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:364-372 | crates/hyperswitch_connectors/src/connectors/mollie.rs:526-534 | crates/hyperswitch_connectors/src/connectors/moneris.rs:434-442 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:298-306 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:204-212 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:755-763 | crates/hyperswitch_connectors/src/connectors/payconex.rs:300-308 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:349-357 | crates/hyperswitch_connectors/src/connectors/payload.rs:581-589 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:301-309 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:698-706 | crates/hyperswitch_connectors/src/connectors/paystack.rs:302-310 | crates/hyperswitch_connectors/src/connectors/paytm.rs:290-298 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:459-467 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:290-298 | crates/hyperswitch_connectors/src/connectors/shift4.rs:340-348 | crates/hyperswitch_connectors/src/connectors/sift.rs:298-306 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:415-423 | crates/hyperswitch_connectors/src/connectors/square.rs:489-497 | crates/hyperswitch_connectors/src/connectors/stax.rs:492-500 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:378-386 | crates/hyperswitch_connectors/src/connectors/thunes.rs:287-295 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:444-452 | crates/hyperswitch_connectors/src/connectors/volt.rs:447-455 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:477-485 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:300-308 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:417-425 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 as WHOLE FILES: this scan already matched 8 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. 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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e58faab6d64017faa7304e972d11d3c4e8aa12d35ae7a6fb28476f9849cb1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 64): crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:79-86 | crates/hyperswitch_connectors/src/connectors/affirm.rs:100-107 | crates/hyperswitch_connectors/src/connectors/archipel.rs:104-111 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:97-104 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:180-187 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:104-111 | crates/hyperswitch_connectors/src/connectors/calida.rs:96-103 | crates/hyperswitch_connectors/src/connectors/celero.rs:92-99 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:93-100 | crates/hyperswitch_connectors/src/connectors/citigate.rs:91-98 | crates/hyperswitch_connectors/src/connectors/coingate.rs:95-102 | crates/hyperswitch_connectors/src/connectors/ctp_mastercard.rs:60-67 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:85-92 | crates/hyperswitch_connectors/src/connectors/d24.rs:89-96 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:103-110 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:97-104 | crates/hyperswitch_connectors/src/connectors/elavon.rs:106-113 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:117-124 | crates/hyperswitch_connectors/src/connectors/envoy.rs:204-211 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:92-99 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:91-98 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:118-125 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:92-99 | crates/hyperswitch_connectors/src/connectors/globalpayments_heartland.rs:87-94 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:103-110 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:100-107 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:90-97 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:91-98 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:96-103 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:92-99 | crates/hyperswitch_connectors/src/connectors/inespay.rs:96-103 | crates/hyperswitch_connectors/src/connectors/interpayments.rs:75-82 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:114-121 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:142-149 | crates/hyperswitch_connectors/src/connectors/katapult.rs:91-98 | crates/hyperswitch_connectors/src/connectors/loonio.rs:104-111 | crates/hyperswitch_connectors/src/connectors/merchante.rs:92-99 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:91-98 | crates/hyperswitch_connectors/src/connectors/netcetera.rs:94-101 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:97-104 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:119-126 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:99-106 | crates/hyperswitch_connectors/src/connectors/payconex.rs:91-98 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:92-99 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:212-219 | crates/hyperswitch_connectors/src/connectors/paystack.rs:92-99 | crates/hyperswitch_connectors/src/connectors/paytm.rs:90-97 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:101-108 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:90-97 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:92-99 | crates/hyperswitch_connectors/src/connectors/plaid.rs:95-102 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:85-92 | crates/hyperswitch_connectors/src/connectors/saferpay.rs:84-91 | crates/hyperswitch_connectors/src/connectors/sift.rs:91-98 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:107-115 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:170-177 | crates/hyperswitch_connectors/src/connectors/taxjar.rs:90-97 | crates/hyperswitch_connectors/src/connectors/thunes.rs:88-95 | crates/hyperswitch_connectors/src/connectors/trustly.rs:102-109 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:112-119 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:168-175 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:90-97 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:92-99 | crates/hyperswitch_connectors/src/connectors/xendit.rs:105-112 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/coingate.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 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":"crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1ba74058123650cd52985e250aefd221f9b2639e576e971cbcf982b2913b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 51): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:592-600 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:614-622 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:925-933 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:223-231 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:345-353 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1161-1169 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:863-871 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:991-999 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1497-1505 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1562-1570 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2044-2052 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2262-2270 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:119-127 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:241-249 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:426-434 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:120-128 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:647-655 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:170-178 | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs:87-95 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3001-3009 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3082-3090 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3872-3880 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4019-4027 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4107-4115 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:342-350 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:432-440 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:184-192 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:703-711 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:148-156 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:110-118 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:259-267 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:450-458 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:180-188 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:289-297 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:218-226 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:544-552 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:646-654 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1813-1821 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:853-861 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:414-422 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:87-95 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:275-283 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:741-749 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:868-876 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:157-165 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:141-149 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:108-116 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:226-234 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:259-267 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1386-1394 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:245-253 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:222\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:591\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"3415085c10c07d1fba2422d902d2b3cdc6915b376e7f1c5045ffb311847a211b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 47): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:595-602 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:617-624 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:928-936 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:226-233 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:348-355 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1164-1172 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:866-873 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:994-1001 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1500-1507 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1565-1572 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2047-2054 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2265-2272 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:122-129 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:429-436 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:123-130 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:650-657 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:173-180 | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs:90-97 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3004-3011 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3085-3092 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3875-3882 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4022-4029 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4110-4117 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:617-624 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:151-158 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:262-269 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:183-190 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:292-299 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:221-228 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:547-554 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:764-771 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:649-656 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:417-424 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:744-751 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1533-1540 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:160-167 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:387-394 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:198-205 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:327-334 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:137-144 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:297-304 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:111-118 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:229-236 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:262-269 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1389-1396 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:248-255 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:726-733 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:595\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:592\u0060 calls \u0060GiftCard\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs:195\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d63630727dd0d5933dd03ba21304eea5c470fbd1c7f6b2930141c9797045c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 39): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3103-3111 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:605-613 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:916-924 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:997-1005 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:336-344 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:854-862 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:982-990 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1488-1496 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1553-1561 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2253-2261 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:110-118 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:111-119 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:160-168 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:440-448 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2992-3000 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3073-3081 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3863-3871 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4010-4018 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4098-4106 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:139-147 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:101-109 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:227-235 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1125-1133 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:209-217 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:637-645 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1804-1812 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:844-852 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:405-413 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:78-86 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:266-274 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:732-740 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:859-867 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:148-156 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:132-140 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:2603-2611 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:99-107 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:217-225 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:250-258 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:236-244 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 5 separate duplicated blocks between them, totalling at least 48 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3100\u0060 calls \u0060Wallet\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:913\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a315ec7ed36c91b2a512e52e4463b1b1ab02263fa7ad45b19f15aabcb98c6ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 34): crates/hyperswitch_connectors/src/connectors/adyen.rs:204-212 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:283-291 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:177-185 | crates/hyperswitch_connectors/src/connectors/checkout.rs:220-228 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:542-550 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1068-1076 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1325-1333 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1480-1488 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1630-1638 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1788-1796 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1943-1951 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:191-199 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:247-255 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:182-190 | crates/hyperswitch_connectors/src/connectors/paypal.rs:231-239 | crates/hyperswitch_connectors/src/connectors/paypal.rs:438-446 | crates/hyperswitch_connectors/src/connectors/paypal.rs:592-600 | crates/hyperswitch_connectors/src/connectors/paypal.rs:727-735 | crates/hyperswitch_connectors/src/connectors/redsys.rs:153-161 | crates/hyperswitch_connectors/src/connectors/stripe.rs:218-226 | crates/hyperswitch_connectors/src/connectors/stripe.rs:432-440 | crates/hyperswitch_connectors/src/connectors/stripe.rs:623-631 | crates/hyperswitch_connectors/src/connectors/stripe.rs:814-822 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1035-1043 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1219-1227 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1397-1405 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1646-1654 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1819-1827 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2019-2027 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2182-2190 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2357-2365 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2489-2497 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2726-2734 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:398-406 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 141 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:204\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"767ac6c473b53c245610455324d03f70b38688f8448180e8fa00d84575fc221e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 30): crates/hyperswitch_connectors/src/connectors/aci.rs:528-536 | crates/hyperswitch_connectors/src/connectors/adyen.rs:932-940 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:610-618 | crates/hyperswitch_connectors/src/connectors/bambora.rs:241-249 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:492-500 | crates/hyperswitch_connectors/src/connectors/bitpay.rs:236-244 | crates/hyperswitch_connectors/src/connectors/braintree.rs:610-618 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:278-286 | crates/hyperswitch_connectors/src/connectors/checkout.rs:721-729 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:273-281 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:274-282 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:791-799 | crates/hyperswitch_connectors/src/connectors/globepay.rs:254-262 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:250-258 | crates/hyperswitch_connectors/src/connectors/noon.rs:325-333 | crates/hyperswitch_connectors/src/connectors/opayo.rs:236-244 | crates/hyperswitch_connectors/src/connectors/payme.rs:576-584 | crates/hyperswitch_connectors/src/connectors/payu.rs:582-590 | crates/hyperswitch_connectors/src/connectors/plaid.rs:225-233 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:251-259 | crates/hyperswitch_connectors/src/connectors/square.rs:414-422 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1117-1125 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:715-723 | crates/hyperswitch_connectors/src/connectors/tsys.rs:181-189 | crates/hyperswitch_connectors/src/connectors/volt.rs:372-380 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:229-237 | crates/hyperswitch_connectors/src/connectors/worldline.rs:506-514 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:469-477 | crates/hyperswitch_connectors/src/connectors/xendit.rs:286-294 | crates/hyperswitch_connectors/src/connectors/zen.rs:265-273 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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 \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:528\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 \u0060req\u0060 to \u0060\u0026RouterData\u003CAuthorize, PaymentsAuthorizeData, PaymentsResponseData\u003E\u0060 in one and \u0060\u0026PaymentsAuthorizeRouterData\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e83b1c40a771e6025bff32f7d74453147135170ec7b4bc06cb03f2bc489903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 23): crates/hyperswitch_connectors/src/connectors/affirm.rs:734-742 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:1043-1051 | crates/hyperswitch_connectors/src/connectors/authipay.rs:719-727 | crates/hyperswitch_connectors/src/connectors/bambora.rs:780-788 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1064-1072 | crates/hyperswitch_connectors/src/connectors/coingate.rs:492-500 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:947-955 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:652-660 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:828-836 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:772-780 | crates/hyperswitch_connectors/src/connectors/forte.rs:669-677 | crates/hyperswitch_connectors/src/connectors/helcim.rs:776-784 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:631-639 | crates/hyperswitch_connectors/src/connectors/mollie.rs:797-805 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:486-494 | crates/hyperswitch_connectors/src/connectors/payload.rs:1004-1012 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:900-908 | crates/hyperswitch_connectors/src/connectors/shift4.rs:784-792 | crates/hyperswitch_connectors/src/connectors/square.rs:786-794 | crates/hyperswitch_connectors/src/connectors/stax.rs:823-831 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1097-1105 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:930-938 | crates/hyperswitch_connectors/src/connectors/xendit.rs:825-833 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 as WHOLE FILES: this scan already matched 8 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026RefundSyncRouterData\u0060 in one and \u0060\u0026RefundsRouterData\u003CRSync\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd54be68fc967806ba4484fee7ae030430afbf66c9765bb1b2a369cf85f02a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 22): crates/hyperswitch_connectors/src/connectors/aci.rs:423-431 | crates/hyperswitch_connectors/src/connectors/bambora.rs:407-415 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:607-615 | crates/hyperswitch_connectors/src/connectors/bitpay.rs:313-321 | crates/hyperswitch_connectors/src/connectors/checkout.rs:613-621 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:370-378 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1123-1131 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:354-362 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:593-601 | crates/hyperswitch_connectors/src/connectors/globepay.rs:327-335 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:569-577 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:330-338 | crates/hyperswitch_connectors/src/connectors/noon.rs:397-405 | crates/hyperswitch_connectors/src/connectors/opayo.rs:303-311 | crates/hyperswitch_connectors/src/connectors/payu.rs:399-407 | crates/hyperswitch_connectors/src/connectors/stripe.rs:896-904 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:458-466 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:747-755 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:293-301 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:280-288 | crates/hyperswitch_connectors/src/connectors/xendit.rs:486-494 | crates/hyperswitch_connectors/src/connectors/zen.rs:336-344 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 71 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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c513182e7410a24371b116403fb0bb3256cae59fd5196d90f7e575369fd7ee58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 20): crates/hyperswitch_connectors/src/connectors/aci.rs:340-348 | crates/hyperswitch_connectors/src/connectors/adyen.rs:670-678 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:428-436 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:696-704 | crates/hyperswitch_connectors/src/connectors/braintree.rs:470-478 | crates/hyperswitch_connectors/src/connectors/checkout.rs:539-547 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:984-992 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:698-706 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:416-424 | crates/hyperswitch_connectors/src/connectors/noon.rs:484-492 | crates/hyperswitch_connectors/src/connectors/opayo.rs:381-389 | crates/hyperswitch_connectors/src/connectors/payme.rs:756-764 | crates/hyperswitch_connectors/src/connectors/payu.rs:484-492 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:431-439 | crates/hyperswitch_connectors/src/connectors/stripe.rs:708-716 | crates/hyperswitch_connectors/src/connectors/tsys.rs:349-357 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:637-645 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:368-376 | crates/hyperswitch_connectors/src/connectors/worldline.rs:403-411 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:363-371 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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 \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:340\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 \u0060req\u0060 to \u0060\u0026PaymentsCaptureRouterData\u0060 in one and \u0060\u0026RouterData\u003CCapture, PaymentsCaptureData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"7452a3dbefd065ecbaef1c36ff63e91a75d6f8760e3766796abefa17bcd49dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 18): crates/analytics/src/payments/metrics/avg_ticket_size.rs:102-110 | crates/analytics/src/payments/metrics/connector_success_rate.rs:97-105 | crates/analytics/src/payments/metrics/debit_routing.rs:108-116 | crates/analytics/src/payments/metrics/payment_count.rs:88-96 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:102-110 | crates/analytics/src/payments/metrics/payment_success_count.rs:95-103 | crates/analytics/src/payments/metrics/retries_count.rs:92-100 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:103-111 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:98-106 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:108-116 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:165-173 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:89-97 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:120-128 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:96-104 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:99-107 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:92-100 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:92-100 | crates/analytics/src/payments/metrics/success_rate.rs:91-99 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs\u0060 and \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 146 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 \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs:102\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, \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs:108\u0060 calls \u0060clone\u0060 and \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs:112\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":"crates/analytics/src/payments/metrics/avg_ticket_size.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"001f543358948cd2cfa3a7b1d2e34ba7bd3a5244900e3f5020e8e01ebc299d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 17): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2544-2552 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:299-307 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1103-1111 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:381-389 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:123-131 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:404-412 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2739-2747 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:569-577 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:63-71 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:170-178 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:401-409 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:475-483 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:661-669 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:737-745 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:807-815 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:370-378 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:663-671 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\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 18 separate duplicated blocks between them, totalling at least 160 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2543\u0060 calls \u0060AmazonPay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:298\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2544}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dbc3b900ddc56aab054b3638bfe22ddbe802aa834f1234c1a05ea3a4e870f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 17): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:851-859 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:979-987 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1485-1493 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1550-1558 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2250-2258 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:107-115 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:108-116 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2989-2997 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3070-3078 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3860-3868 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4007-4015 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4095-4103 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:98-106 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:856-864 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:834-842 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:145-153 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:129-137 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 125 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:860\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:843\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b5a8b787056e4c6f7b0372c27e3da74e72ccec4fb24079271009ace8b8227a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 14): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:952-960 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:589-597 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2563-2571 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:320-328 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1123-1131 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:205-213 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:424-432 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:590-598 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:828-836 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:389-397 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1293-1301 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:139-147 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:234-242 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1350-1358 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:961\u0060 calls \u0060Neteller\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:598\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"b655ee2416b42071a2e1fb1b5b63efaa9a9f6c86091d35aa78ac87ce651862e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 14): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:1016-1024 | crates/hyperswitch_connectors/src/connectors/checkout.rs:958-966 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2080-2088 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:594-602 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:956-964 | crates/hyperswitch_connectors/src/connectors/globepay.rs:508-516 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:660-668 | crates/hyperswitch_connectors/src/connectors/noon.rs:794-802 | crates/hyperswitch_connectors/src/connectors/opayo.rs:533-541 | crates/hyperswitch_connectors/src/connectors/payu.rs:746-754 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:901-909 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1152-1160 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:625-633 | crates/hyperswitch_connectors/src/connectors/zen.rs:521-529 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 80 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026RefundSyncRouterData\u0060 in one and \u0060\u0026RefundsRouterData\u003CRSync\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"b434e8c86546ecde3bde53ef6e505f4687a53048e9f460ea4fc7e58da37924c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 14): crates/router/src/core/payments/operations/payment_response.rs:736-743 | crates/router/src/core/payments/operations/payment_response.rs:1343-1351 | crates/router/src/core/payments/operations/payment_response.rs:1509-1516 | crates/router/src/core/payments/operations/payment_response.rs:1835-1842 | crates/router/src/core/payments/operations/payment_response.rs:1883-1890 | crates/router/src/core/payments/operations/payment_response.rs:1925-1932 | crates/router/src/core/payments/operations/payment_response.rs:1982-1989 | crates/router/src/core/payments/operations/payment_response.rs:2030-2037 | crates/router/src/core/payments/operations/payment_response.rs:2078-2085 | crates/router/src/core/payments/operations/payment_response.rs:2122-2129 | crates/router/src/core/payments/operations/payment_response.rs:2164-2171 | crates/router/src/core/payments/operations/payment_response.rs:2216-2223 | crates/router/src/core/payments/operations/payment_response.rs:2454-2462 | crates/router/src/core/payments/operations/payment_response.rs:4755-4763 \u2014 all 14 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 \u0060crates/router/src/core/payments/operations/payment_response.rs:736\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"5040910b32b79efccfdc5717962c9b2f31e2e06cad38880e783d928cabc012e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:576-584 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:307-315 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1111-1119 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2001-2009 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:389-397 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:131-139 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:412-420 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2747-2755 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:577-585 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:815-823 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:127-135 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:172-180 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\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 18 separate duplicated blocks between them, totalling at least 160 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:585\u0060 calls \u0060AmazonPay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:316\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"248224321c60380ad50c9c8ab8661ce5cf1b1b5bd90fa34f24c0af1665de055e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:308-316 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1112-1120 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2002-2010 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:390-398 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:132-140 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:413-421 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2748-2756 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:816-824 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:128-136 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:222-230 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1338-1346 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:173-181 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:318\u0060 calls \u0060SamsungPay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1122\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32805f12ed4ba9cedec40f590736f340869f06fe2d3bf21524aae5aa9076a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): crates/router/src/core/payouts.rs:1041-1049 | crates/router/src/core/payouts.rs:1949-1957 | crates/router/src/core/payouts.rs:1992-2000 | crates/router/src/core/payouts.rs:2060-2068 | crates/router/src/core/payouts.rs:2275-2283 | crates/router/src/core/payouts.rs:2463-2471 | crates/router/src/core/payouts.rs:2526-2534 | crates/router/src/core/payouts.rs:2772-2780 | crates/router/src/core/payouts.rs:3116-3124 | crates/router/src/core/payouts.rs:3182-3190 | crates/router/src/core/payouts.rs:3301-3309 | crates/router/src/core/payouts.rs:3393-3401 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payouts.rs:1041\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88cd3c1ea370173f2cdfc57a0866d8db217999f874609989cd5222d4c70c922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12): crates/router/src/db/events.rs:223-231 | crates/router/src/db/events.rs:243-251 | crates/router/src/db/events.rs:264-272 | crates/router/src/db/events.rs:289-297 | crates/router/src/db/events.rs:314-322 | crates/router/src/db/events.rs:703-711 | crates/router/src/db/events.rs:725-733 | crates/router/src/db/relay.rs:57-65 | crates/router/src/db/relay.rs:83-91 | crates/router/src/db/relay.rs:102-110 | crates/router/src/db/relay.rs:126-134 | crates/storage_impl/src/tokenization.rs:62-70 \u2014 there are 12 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 12 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/events.rs:223\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":"crates/router/src/db/events.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3b874d489217eae41271446988969557ed712750ac9314bb55c7870ce144e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): crates/analytics/src/refunds/metrics/refund_count.rs:88-96 | crates/analytics/src/refunds/metrics/refund_processed_amount.rs:96-104 | crates/analytics/src/refunds/metrics/refund_success_count.rs:91-99 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:86-94 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:89-97 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:156-164 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:104-112 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:148-156 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:91-99 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:86-94 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/metrics/refund_count.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 68 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 \u0060crates/analytics/src/refunds/metrics/refund_count.rs:88\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, \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs:107\u0060 calls \u0060clone\u0060 and \u0060crates/analytics/src/refunds/metrics/refund_count.rs:98\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":"crates/analytics/src/refunds/metrics/refund_count.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d286b9484fe2170e622a37b78d665573ad7c1a83982b45b8277e43163aac971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:951-959 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:588-596 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2562-2570 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2013-2021 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:204-212 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:589-597 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:191-199 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:388-396 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1292-1300 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:138-146 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:961\u0060 calls \u0060Neteller\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:598\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"731be6f05a0170e6f0e1b23acfa067decb1369f1c889f577aaf1e36624cefbc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2540-2548 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:377-385 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:184-192 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:119-127 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:166-174 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:733-741 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:366-374 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:659-667 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 123 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e7e5ef98e17d5f9d2023991ad6509dfd50a35f4bea63178b4ef7abd3e45bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:149-157 | crates/hyperswitch_connectors/src/connectors/braintree.rs:203-211 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:198-207 | crates/hyperswitch_connectors/src/connectors/noon.rs:199-207 | crates/hyperswitch_connectors/src/connectors/payme.rs:160-168 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:147-155 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:156-164 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:214-222 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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 \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:149\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f601e9bb632c912de7f2e2e22f27dbfdf196a44b6e4a0e6d4c2a95fa56d0268e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:586-594 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1155-1163 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2038-2046 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:641-649 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2794-2802 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:538-546 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1380-1388 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\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 11 separate duplicated blocks between them, totalling at least 94 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:595\u0060 calls \u0060NetworkToken\u0060, \u0060CardDetailsForNetworkTransactionId\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2803\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c010cef5df1f6c30e3adb185bf8eb716390b5f90a4580be425b7bd7d6a984f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7): crates/router/src/core/payments/transformers.rs:2158-2166 | crates/router/src/core/payments/transformers.rs:2508-2516 | crates/router/src/core/relay/utils.rs:39-48 | crates/router/src/core/relay/utils.rs:188-197 | crates/router/src/core/relay/utils.rs:333-342 | crates/router/src/core/relay/utils.rs:469-478 | crates/router/src/core/relay/utils.rs:603-612 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"747ae58d11c5819af1f8cdaa6efe07b343a12a5a252e0ef5fefe69cba01dbd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:210-218 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1273-1280 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:120-127 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:213-220 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1329-1336 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:500-507 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs\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 11 separate duplicated blocks between them, totalling at least 92 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1281\u0060 calls \u0060AmazonPay\u0060, \u0060ApplePay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs:128\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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afe7bedc90ef5512274a2eb48b616c4e480fe1888eeaf694b40c1c6d2817971"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3155-3163 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:212-220 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:201-209 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:927-935 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1079-1087 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:835-843 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs\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 6 separate duplicated blocks between them, totalling at least 57 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:222\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3165\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3155}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6c1afe541d64b9bb3f2ecba73837058fbb1f6c6e248364464c98557754c219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1153-1161 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2036-2044 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:639-647 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2792-2800 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:536-544 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:753-761 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1152\u0060 calls \u0060BankRedirect\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:535\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"5061ab277be770d8d25426dee1bebf4a863e8dac864f769210a4b1768ba437d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1575-1583 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2677-2685 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2503-2511 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4626-4634 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4764-4772 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4902-4910 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1575\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b8845227a84b9de0d86fb274c09ad7a245be2fad588e934753ff42f69512b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/worldline.rs:255-264 | crates/hyperswitch_connectors/src/connectors/worldline.rs:348-357 | crates/hyperswitch_connectors/src/connectors/worldline.rs:434-443 | crates/hyperswitch_connectors/src/connectors/worldline.rs:527-535 | crates/hyperswitch_connectors/src/connectors/worldline.rs:609-617 | crates/hyperswitch_connectors/src/connectors/worldline.rs:687-695 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/worldline.rs:255\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/worldline.rs:346\u0060 calls \u0060unwrap_or_default\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldline.rs:253\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":"crates/hyperswitch_connectors/src/connectors/worldline.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a4f8004733b5d6724f782fd404db97c995ad27cca3e1af90bf8e715e61a1e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/router/src/core/payments/helpers.rs:293-301 | crates/router/src/core/payments/helpers.rs:497-505 | crates/router/src/utils.rs:821-829 | crates/router/src/utils.rs:890-898 | crates/router/src/utils.rs:962-970 | crates/router/src/utils.rs:1030-1038 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/utils.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/router/src/core/payments/helpers.rs:293\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1570b545b46421dd949908044895572c590426ff701200b12a49ca3de33e50f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3156-3164 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:213-221 | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs:115-123 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:202-210 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:836-844 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 65 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:222\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3165\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7294b69f791d6070526235079318169205f194f0ddb0b8004b59e6addea0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3285-3293 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3512-3520 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3820-3828 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3987-3995 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6969-6977 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3285\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42d824025e4240abc38e8e087a597385a0bd66eb67e4e98684b1f9b083c7c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:947-955 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2558-2566 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:384-392 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:428-436 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:511-519 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:437\u0060 calls \u0060WeChatPayQr\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:520\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdcb5a103b8b43bc722a7edf682318d14d989b692c66832f3afad89f97d01b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1152-1160 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2035-2043 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:638-646 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2791-2799 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:199-207 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:208\u0060 calls \u0060CardRedirect\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1161\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"f940896dc91eba2942f07a87a4a33b5777acaaa2915768fc5d591a236d0470e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1151-1159 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2034-2042 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:637-645 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2790-2798 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:421-429 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:430\u0060 calls \u0060CardRedirect\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1160\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4290061e9ad63ed49a10c65f2d4aec5606781d006f0c62b695fb9f0f2ca3bf96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/billwerk.rs:580-588 | crates/hyperswitch_connectors/src/connectors/celero.rs:495-503 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:491-499 | crates/hyperswitch_connectors/src/connectors/square.rs:637-645 | crates/hyperswitch_connectors/src/connectors/stax.rs:654-662 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/billwerk.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/celero.rs\u0060 as WHOLE FILES: this scan already matched 8 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsCancelRouterData\u0060 in one and \u0060\u0026RouterData\u003CVoid, PaymentsCancelData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"87175450d2528e419ce3b2b9f7dcebaa71a97acf929dcad965cd19c23680ee76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:399-407 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:141-149 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:83-91 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:682-690 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:182-190 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs\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 17 separate duplicated blocks between them, totalling at least 154 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:408\u0060 calls \u0060WeChatPayQr\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:92\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":"crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f815725a62a186597969030bf47baf594dc3bc610ca585d05e96e0231f4a069a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs:81-89 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:697-705 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:283-291 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:932-940 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1084-1092 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs\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 5 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:694\u0060 calls \u0060CardRedirect\u0060, \u0060BankTransfer\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:281\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":"crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af4aefa1e051a71912a1039898ad475e350a3d791558bb10a82cced399b7209"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:202-210 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2949-2957 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3030-3038 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3831-3839 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3978-3986 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:202\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3829\u0060 calls \u0060get_payer_auth_challenge_code\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3976\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1d8c42b194bb52c0047501673e63e2c2bf3f0917db62ca8cd497484448f65b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): crates/hyperswitch_domain_models/src/payments.rs:632-640 | crates/hyperswitch_domain_models/src/payments.rs:646-653 | crates/hyperswitch_domain_models/src/payments.rs:660-667 | crates/router/src/types/transformers.rs:1904-1912 | crates/router/src/types/transformers.rs:1918-1925 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/payments.rs\u0060 and \u0060crates/router/src/types/transformers.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060crates/hyperswitch_domain_models/src/payments.rs:632\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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cca60ebb188a4898130900f4666fed134007c8f2db873de1489c94ff947d0af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/router/src/services/authentication.rs:1117-1125 | crates/router/src/services/authentication.rs:1257-1265 | crates/router/src/services/authentication.rs:2159-2167 | crates/router/src/services/authentication.rs:2887-2895 | crates/router/src/services/authentication.rs:2953-2961 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/services/authentication.rs:1117\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, \u0060crates/router/src/services/authentication.rs:1126\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/services/authentication.rs:1266\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee65fc44505ba1b9d8e199ad79fb1ff063d0e3b5bd3a6a323e1ea540d9a98f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 5): crates/smithy/src/lib.rs:136-142 | crates/smithy/src/lib.rs:424-432 | crates/smithy/src/lib.rs:542-548 | crates/smithy/src/lib.rs:658-664 | crates/smithy/src/lib.rs:826-832 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/smithy/src/lib.rs:136\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":"crates/smithy/src/lib.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9361761400e5097d42083d1a39f58f0db3389a88fe09f870fec72f8847adf34c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 5): crates/smithy/src/lib.rs:146-152 | crates/smithy/src/lib.rs:436-444 | crates/smithy/src/lib.rs:552-558 | crates/smithy/src/lib.rs:668-674 | crates/smithy/src/lib.rs:836-842 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/smithy/src/lib.rs:146\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":"crates/smithy/src/lib.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd6f53fb5e479832bd71be5a96be8344b8cc77b341fa7d1e910df2dac8a09c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/diesel_models/src/query/blocklist.rs:230-238 | crates/diesel_models/src/query/blocklist.rs:431-439 | crates/diesel_models/src/query/blocklist.rs:1088-1096 | crates/diesel_models/src/query/blocklist.rs:1169-1177 \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 \u0060crates/diesel_models/src/query/blocklist.rs:230\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9887a9987f467319d00cb613448475cde77dc383d0b09348eba4a04bd1d6f89a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/diesel_models/src/query/generics.rs:957-965 | crates/diesel_models/src/query/generics.rs:1055-1063 | crates/diesel_models/src/query/generics.rs:1152-1160 | crates/diesel_models/src/query/generics.rs:1277-1285 \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 \u0060crates/diesel_models/src/query/generics.rs:957\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":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"6284083519cfdd5010bfbcbd4d9bef40db6ed0f46f49938fb1f8a750c20708ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:827-835 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:955-963 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1457-1465 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1522-1530 \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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs: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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"f865e7efa9c7f9ed46d4a3d3afedf9dbfb3c0af48ba64e92d7733bd7db3482b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bitpay.rs:255-263 | crates/hyperswitch_connectors/src/connectors/bitpay.rs:332-340 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:310-319 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:995-1003 \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 \u0060crates/hyperswitch_connectors/src/connectors/bitpay.rs: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":"crates/hyperswitch_connectors/src/connectors/bitpay.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee21ba54ff0719d61d70351524c6c7d23dec701a2d5fa8d9905055aec0ed2607"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:197-205 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:132-140 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:601-609 | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:186-194 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs\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 6 separate duplicated blocks between them, totalling at least 64 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:196\u0060 calls \u0060BankRedirect\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:600\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":"crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6182e1442e42095bea9230cc7c32c26eeb3e1044b1960363e90e0625d469896"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/gigadat.rs:928-936 | crates/hyperswitch_connectors/src/connectors/loonio.rs:784-792 | crates/hyperswitch_connectors/src/connectors/paypal.rs:856-864 | crates/hyperswitch_connectors/src/connectors/wise.rs:457-465 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/gigadat.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/loonio.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 104 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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56b3b2b5f23204bc8b2aa07f87510ed095c745163e0960a729c5cd69820bc20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:248-256 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:439-447 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:122-130 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:282-290 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stax/transformers.rs\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 7 separate duplicated blocks between them, totalling at least 56 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:257\u0060 calls \u0060Upi\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:131\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":"crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"22afdbb15cfb67082e2d1a5b111aebb0e634832e04561a3b703d6a48bbb924ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:678-686 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:744-752 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:830-838 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:1036-1044 \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 \u0060crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:678\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, PayboxCaptureResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, PayboxResponse, PaymentsAuthorizeData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1a2227e30016eb5988a4f410a3fde2d405f63a6da2f8fb36fb8d42272cb200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): crates/hyperswitch_constraint_graph/src/graph.rs:247-255 | crates/hyperswitch_constraint_graph/src/graph.rs:314-322 | crates/hyperswitch_constraint_graph/src/graph.rs:355-363 | crates/hyperswitch_constraint_graph/src/graph.rs:374-381 \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 \u0060crates/hyperswitch_constraint_graph/src/graph.rs:247\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66295b46be48d45cfe54ffd902195d4e7c31a5bb22daee0d8549b8707fa46f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/router/src/core/payments/helpers.rs:294-302 | crates/router/src/core/payments/helpers.rs:2251-2259 | crates/router/src/utils.rs:891-899 | crates/router/src/utils.rs:1031-1039 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/helpers.rs\u0060 and \u0060crates/router/src/utils.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0097fef19ed35ee9a6a0d0cfc28c1576463dc6dcb82983c4131d223b618290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): crates/router/src/core/unified_connector_service/transformers.rs:5938-5946 | crates/router/src/core/unified_connector_service/transformers.rs:5976-5984 | crates/router/src/core/unified_connector_service/transformers.rs:6012-6020 | crates/router/src/core/unified_connector_service/transformers.rs:6069-6076 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/unified_connector_service/transformers.rs:5937\u0060 calls \u0060get_shipping\u0060 and \u0060crates/router/src/core/unified_connector_service/transformers.rs:6068\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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":5938}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9623d7021358d46c85cc4c49c569264f07bde00f78aa1f1d16b951743b09a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 4): crates/router/src/db/events.rs:1366-1373 | crates/router/src/db/events.rs:1437-1444 | crates/router/src/db/events.rs:1477-1485 | crates/router/src/db/events.rs:1597-1604 \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 \u0060crates/router/src/db/events.rs:1366\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":"crates/router/src/db/events.rs"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"713decbe4b14bfe72d95be96e9f99a62cf8742a9bdd7dcc6d76cea1b9d06fd40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/router/src/db/refund.rs:1836-1844 | crates/router/src/db/refund.rs:1941-1949 | crates/router/src/db/refund.rs:2167-2175 | crates/router/src/db/refund.rs:2270-2278 \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 \u0060crates/router/src/db/refund.rs:1836\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, \u0060crates/router/src/db/refund.rs:1845\u0060 calls \u0060skip\u0060, \u0060try_from\u0060, \u0060as_i64\u0060 and \u0060crates/router/src/db/refund.rs:2176\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":"crates/router/src/db/refund.rs"},"region":{"startLine":1836}}}],"partialFingerprints":{"codehealthFindingId/v1":"2444bafc7e072d094b7981e8059abe6d3ea7952b959214d66ee67604f989e101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/router/src/db/user/sample_data.rs:130-138 | crates/router/src/db/user/sample_data.rs:213-221 | crates/storage_impl/src/payments/payment_attempt.rs:469-477 | crates/storage_impl/src/payments/payment_attempt.rs:1753-1761 \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 \u0060crates/router/src/db/user/sample_data.rs:130\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":"crates/router/src/db/user/sample_data.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a6fbf9c6a2d58839ad44104ee90732658c65496b6cb6e401e37c3a6347aaf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/router/src/services/authentication.rs:721-729 | crates/router/src/services/authentication.rs:970-978 | crates/router/src/services/authentication.rs:1055-1063 | crates/router/src/services/authentication.rs:1208-1216 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c582f29aef5749a631f5854f14f64ae14b7d173850e271274be0c3492d87636"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/router/src/services/email/types.rs:419-427 | crates/router/src/services/email/types.rs:473-481 | crates/router/src/services/email/types.rs:527-535 | crates/router/src/services/email/types.rs:581-589 \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 \u0060crates/router/src/services/email/types.rs:419\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":"crates/router/src/services/email/types.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8721e55798ac6c49e19b284c3079a0c97f0054d076efa1029e98f33d07cc84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20139 lines \u00D7 4): crates/analytics/src/payment_intents/accumulator.rs:167-174 | crates/analytics/src/payment_intents/accumulator.rs:297-304 | crates/analytics/src/payments/accumulator.rs:282-290 | crates/analytics/src/refunds/accumulator.rs:230-232 \u2014 \u0060crates/analytics/src/payment_intents/accumulator.rs\u0060 and \u0060crates/analytics/src/payments/accumulator.rs\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 9 separate duplicated blocks between them, totalling at least 94 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/accumulator.rs:167\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/analytics/src/payment_intents/accumulator.rs:166\u0060 calls \u0060match\u0060, \u0060Some\u0060, \u0060from\u0060 and \u0060crates/analytics/src/refunds/accumulator.rs:230\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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e829b77384bd1b21d0e3a968d3bd2c869053ec0818c7ba8228f36c6fb1b92768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/external_services/src/http_client.rs:137-148 | crates/external_services/src/http_client.rs:151-162 | crates/external_services/src/http_client.rs:165-176 \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 \u0060crates/external_services/src/http_client.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d791c7300e9a53537447032373996620ce8e10a58bfe92574015d4948d09cbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2539-2547 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:365-373 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:159-167 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/noon/transformers.rs\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 25 separate duplicated blocks between them, totalling at least 231 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2539\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2539}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e2344e23866fab189593a6b77b9e2f7c35a773f94a5fade9f1f093ca4af714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:723-732 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:532-541 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:909-918 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3de742dbfb826dfbea0da1bea40c165d954a41fded2543bbb19186bc85182f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:818-825 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:946-953 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3820-3828 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsAuthenticateRouterData\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsPostAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a27ab621486d863efcff64de36744d5f0c24f1389173af23ac680b39fcc9331"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1620-1628 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:224-232 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1774-1782 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1620\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"0855d14b49f7d6208476800770fbeaef08c455cef2338668f74d018f9815084a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2763-2770 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1135-1142 | crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs:194-202 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/klarna.rs:1134\u0060 calls \u0060OpenBanking\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2762\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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":2763}}}],"partialFingerprints":{"codehealthFindingId/v1":"28661a21eef15791109e64a9a9f7867f1e67bfe4ac9df18f1a210adbb247aa16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:513-521 | crates/hyperswitch_connectors/src/connectors/riskified.rs:272-280 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:395-403 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/signifyd.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:513\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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5ff9bc3aa2cb803bbc17dd07eae0f12b48f42e47c1b9eb4bb592a537d912e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/volt.rs:533-541 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:367-375 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:198-206 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/volt.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpay.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 74 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":"crates/hyperswitch_connectors/src/connectors/volt.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc653ddf514e32deb56143adada39aef6b839460ddb152ebb1882384227c240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:948-957 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:1052-1060 | crates/router/src/core/split_payments.rs:519-528 \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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"b176ad4dd8309469c50788f285d95308a0a0a381f375ee00d782ce4f78d0c62b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/router/src/core/authentication.rs:702-710 | crates/router/src/core/authentication.rs:1087-1095 | crates/router/src/core/authentication.rs:1368-1376 \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":"crates/router/src/core/authentication.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceb8d1d29a230d4d2fed78a6550d325c5d37f0295a3e9a7712d30d6522ee8ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 3): crates/router/src/core/payment_methods.rs:1881-1897 | crates/router/src/core/payment_methods.rs:1997-2013 | crates/router/src/core/payment_methods.rs:4484-4502 \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 \u0060crates/router/src/core/payment_methods.rs:1881\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1881}}}],"partialFingerprints":{"codehealthFindingId/v1":"127096d9030298d1efbed4dcf9c440460cbc5e157ff3fb6cd9b552e8079b95b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:857-865 | crates/router/src/core/payment_methods/cards.rs:964-972 | crates/router/src/core/payment_methods/cards.rs:1078-1084 \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 \u0060crates/router/src/core/payment_methods/cards.rs:857\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d36d8cb2301fad31720c9a694ae7c61f759f88d10fa038b13d64bb8b8271ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/router/src/core/payments/operations/payment_confirm.rs:3370-3378 | crates/router/src/core/payments/operations/payment_create.rs:1364-1372 | crates/router/src/core/payments/operations/payment_update.rs:1055-1063 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 277 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":3370}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bb9b5c29da091de19541762d53e0662887e45341e6a29b5a1edac6b2bc2d86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/router/src/core/payments/operations/payment_session.rs:361-369 | crates/router/src/core/payments/operations/payment_status.rs:98-107 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:375-384 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_status.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 75 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":"crates/router/src/core/payments/operations/payment_session.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"92be8a251bda38499462b10607717d64c467ed00b9ab028953f7d8c64a551e49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): crates/router/src/core/user.rs:1519-1527 | crates/router/src/core/user.rs:1625-1633 | crates/router/src/core/user_role.rs:511-518 \u2014 before extracting anything, compare \u0060crates/router/src/core/user.rs\u0060 and \u0060crates/router/src/core/user_role.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/user.rs:1519\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":"crates/router/src/core/user.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"db620fd6686d4bbe5e049f18559ff7c2ebb46e4d0d35f2d999800b3256c294f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/router/src/db/events.rs:910-918 | crates/router/src/db/events.rs:947-957 | crates/storage_impl/src/merchant_connector_account.rs:1287-1297 \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 \u0060crates/router/src/db/events.rs:910\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":"crates/router/src/db/events.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"328b96afc63e4d2fea0add209dd7ae6e9a7fbda4ff4f2d604c3335c439ec064c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/router/src/routes/admin.rs:787-795 | crates/router/src/routes/admin.rs:823-834 | crates/router/src/routes/profiles.rs:569-580 \u2014 before extracting anything, compare \u0060crates/router/src/routes/admin.rs\u0060 and \u0060crates/router/src/routes/profiles.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060crates/router/src/routes/admin.rs:787\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/router/src/routes/admin.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f14b01802bc1210450978cc9655122eb044b4dd97f05a49866dd01c00cf1af8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/subscriptions/src/core.rs:530-538 | crates/subscriptions/src/core.rs:581-589 | crates/subscriptions/src/core.rs:632-640 \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":"crates/subscriptions/src/core.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b566189972bc95b26e24f305d7f6873a764007f61fd6a021c446533526672a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/analytics/src/auth_events/core.rs:45-53 | crates/analytics/src/sdk_events/core.rs:54-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 \u0060crates/analytics/src/auth_events/core.rs: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060GetAuthEventMetricRequest\u0060 in one and \u0060GetSdkEventMetricRequest\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":"crates/analytics/src/auth_events/core.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5537382063cc5f280cbf16388d0775d47e13ded94f9c121449f2fa281e2597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/analytics/src/payment_intents/core.rs:311-319 | crates/analytics/src/refunds/core.rs:253-261 \u2014 \u0060crates/analytics/src/payment_intents/core.rs\u0060 and \u0060crates/analytics/src/refunds/core.rs\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 6 separate duplicated blocks between them, totalling at least 73 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/core.rs:311\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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5912bab6a28e96ccad5d1881e5e0ef58d5dfdf779516f60d2d90601be6a63b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/api_models/src/payments.rs:470-478 | crates/api_models/src/payments.rs:1909-1917 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6fe7af4cab48e19d19ec5b6050644dcb7483ce00375dfe9d5b424ef77f9daf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/common_types/src/payments.rs:781-789 | crates/common_types/src/payments.rs:934-942 \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 \u0060crates/common_types/src/payments.rs:781\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":"crates/common_types/src/payments.rs"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f8e044bbd38bc5121d70b6e243e28a2f4e48a125b79858774f005c9c8faea5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/common_utils/src/id_type.rs:166-174 | crates/common_utils/src/id_type.rs:200-208 \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 \u0060crates/common_utils/src/id_type.rs:166\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":"crates/common_utils/src/id_type.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ec00a7b90b92bee50d9279db7d3e1a6e729550019c57a0dbae76654e17ab3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/diesel_models/src/payment_intent.rs:1052-1060 | crates/hyperswitch_domain_models/src/payments/payment_intent.rs:1186-1194 \u2014 before extracting anything, compare \u0060crates/diesel_models/src/payment_intent.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060crates/diesel_models/src/payment_intent.rs:1052\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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"5099c8e52a4ec7a34839b84f0d20a3bcacdc825b95a3c0547a743990ab7fcef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:699-707 | crates/diesel_models/src/query/blocklist.rs:740-748 \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 \u0060crates/diesel_models/src/query/blocklist.rs:699\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e87fca5ee8f92759ff9967f2dd4d493c683b175318128481802e36e361088a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:718-726 | crates/diesel_models/src/query/blocklist.rs:789-797 \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 \u0060crates/diesel_models/src/query/blocklist.rs:718\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1c05baec5ec74a9a87e4a45e21b49a52da0d546d985ce1533b2ef5c4728f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:920-928 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:485-493 \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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"2433e86cc59f12b6c5b80076f13baad75896868605b03379322ff19e8bf08bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:927-935 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:610-618 \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 \u0060crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:927\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, \u0060crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:609\u0060 calls \u0060GiftCard\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:926\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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e94d52ff3738464bc7c4ce5f4a5d0a5a268276022fdccc1e4200500dff5e1fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen.rs:179-187 | crates/hyperswitch_connectors/src/connectors/checkout.rs:183-189 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 182 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:179\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ac5114a6c6e225fd2f82f2cf935bdb6afa6cca2512d8508f19aa77a75bb764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:968-976 | crates/hyperswitch_connectors/src/connectors/payme.rs:1032-1040 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payme.rs\u0060 as WHOLE FILES: this scan already matched 7 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026RefundsRouterData\u003CRSync\u003E\u0060 in one and \u0060\u0026RouterData\u003CRSync, RefundsData, RefundsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"9264a2926da01326f49b8359f6a600f118163938aa3f42a996ce0412363fa53c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:866-874 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1707-1715 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"6924620cca640497d63e6ae9633069075a64f81f178d7bd87725fc4157b273c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1097-1106 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1324-1332 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 36 separate duplicated blocks between them, totalling at least 453 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1097\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026BankOfAmericaRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026WellsfargoRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7da057aafbaa351da250b1ee340156aa87310714595470f07115054bf8fe4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout.rs:1039-1047 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2543-2551 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4abeff597d4da8cf8e6341f31a6fa5b930e5e9f369c12235b46a0dd64b0075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout.rs:1164-1172 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2288-2296 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 114 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 \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs:1164\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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"036cc54b659d436eb57bf72a4973cb7484ef77825539180a48f7b0d0df2592a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:590-598 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:516-524 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 488 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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9fd180f149b35e0df74a795caedd8829b8b65d5d8e19ca9cd884f3f9ae1be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1900-1908 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2026-2034 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1900\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc37f6ca2093b5f98a2c977c5a8e20cb9a8a17c22a8ce5ea3e472de476345012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs:286-294 | crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs:306-314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiservemea/transformers.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"942d47842e030c0748073e48b1768cf5aff9cac1b7a565a9e4b8065267bdc60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:506-514 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1509-1517 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 42 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 \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs:506\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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"e360bed0f481279ba27adc8b4a4a6418c5b2e1cba63e52de05bae1a1a54ea664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/getnet.rs:135-143 | crates/hyperswitch_connectors/src/connectors/klarna.rs:99-106 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/getnet.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/klarna.rs\u0060 as WHOLE FILES: this scan already matched 10 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. 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 \u0060crates/hyperswitch_connectors/src/connectors/getnet.rs:135\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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6806f011c05619c41e7e6a9de7b5452ad6240a5ba466eaccd29b637b307bc6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs:708-715 | crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs:879-887 \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 \u0060crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs:708\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":"crates/hyperswitch_connectors/src/connectors/getnet/transformers.rs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"e358d920a4f2ab8f5370397dd040ea9c8f206ad243b24ac261cacd0b0b209c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gocardless.rs:754-762 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:790-798 \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 \u0060crates/hyperswitch_connectors/src/connectors/gocardless.rs:754\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gocardless.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"792cbec9f3ef705989e206585869a19928120d19ba7c659a129d536a3ce1738b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs:202-210 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:213-221 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/volt/transformers.rs\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 4 separate duplicated blocks between them, totalling at least 33 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":"crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacae46720e13e702ec3783653d9c2e0ffd1f7d6fe6ce0b594e4b7ac5b1c795c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi.rs:317-325 | crates/hyperswitch_connectors/src/connectors/payload.rs:392-400 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026SetupMandateRouterData\u0060 in one and \u0060\u0026RouterData\u003CSetupMandate, SetupMandateRequestData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab51301216328d8c6e060eb3ee488ee21e5fb4306739bb49bd56d826fd46969b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi.rs:683-691 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:224-232 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/nmi.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payeezy.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9bb828180c94654bb235eebd8402f7df6a5a3e0a630d29d201aac592fdc3ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nomupay.rs:443-451 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:865-872 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/nomupay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/truelayer.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f257523180537590366856ce027c98a66fc2d7ae93ed23450d17bca3af56ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2527-2535 | crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs:2597-2605 \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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"585390c49cfa4f5d0291817b71ffdfc4719ae4e69d415fbbba9b5791e5a8ae7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payme.rs:856-864 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1555-1563 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/payme.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0c566ed0bbcf3ffd5c93f7bad973a556cdc7b6233c0e3ed847bcf3743ac244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:444-452 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:120-128 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs\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 11 separate duplicated blocks between them, totalling at least 97 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":"crates/hyperswitch_connectors/src/connectors/payme/transformers.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48c656ddde0db8ad365be23a6555aa19e56836bc9311340b2cf05d0dd7d6fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:442-450 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:162-170 \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":"crates/hyperswitch_connectors/src/connectors/payme/transformers.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ee19ade08905e6ac3459cf230331fdc3d976de5dcf43499170230772ac91a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:994-1002 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1110-1118 \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 \u0060item\u0060 to \u0060\u0026PaypalRouterData\u003C\u0026PaymentsPostSessionTokensRouterData\u003E\u0060 in one and \u0060\u0026PaypalRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f6cb44b17dc0c85860a656c9cb50265417cef8f8e55c7f699f7a4ba2ac2b66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:608-616 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1288-1296 \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 \u0060crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:608\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":"crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f28a805735387dc2941102e40b035c806417aa7b1e11ec4de3cbcc7c81776fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/shift4.rs:229-237 | crates/hyperswitch_connectors/src/connectors/shift4.rs:603-611 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsAuthorizeRouterData\u0060 in one and \u0060\u0026PaymentsCompleteAuthorizeRouterData\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":"crates/hyperswitch_connectors/src/connectors/shift4.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2071c559dbd77428befd4f2aa2104b62b43d5cfba78739b6cb5c6a489b4b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/taxjar.rs:138-145 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:281-289 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/taxjar.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/tesouro.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/hyperswitch_connectors/src/connectors/taxjar.rs:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/hyperswitch_connectors/src/connectors/taxjar.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3483ccffa8062be4f2abab247c63c66f8966822708acc9cbfc008c41485727a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2042-2050 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2085-2092 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2042\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026PaymentsCancelRouterData\u0060 in one and \u0060\u0026PaymentsCancelPostCaptureRouterData\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ce990e331db7d12e43ea0f6fdad7dc0c85877908567d779fec0c36f17445cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/pm_auth/src/connector/plaid/transformers.rs:412-420 | crates/pm_auth/src/connector/plaid/transformers.rs:440-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":"crates/pm_auth/src/connector/plaid/transformers.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"6656b35bd049c2e5ab162c2fae462a79743319cf67f8535daf4f70d85bcc1304"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/analytics.rs:3066-3074 | crates/router/src/analytics.rs:3094-3102 \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 \u0060crates/router/src/analytics.rs:3066\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":"crates/router/src/analytics.rs"},"region":{"startLine":3066}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c20dd687ef59dfcfa3a28aa504890448682eaa162431bd04c98be4ebf55fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/analytics.rs:3123-3131 | crates/router/src/analytics.rs:3194-3202 \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 \u0060crates/router/src/analytics.rs:3123\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":"crates/router/src/analytics.rs"},"region":{"startLine":3123}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d9eaf970006a94cbad37e8936f7d846ae13f3df3584ee3a0aceb2077ced438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/bin/router.rs:32-40 | crates/router/src/bin/scheduler.rs:44-52 \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 \u0060crates/router/src/bin/router.rs: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":"crates/router/src/bin/router.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d82480cf341c3ec2e31aa08514dba859aeffe3b19ba9cef3c611d77ca9af1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/compatibility/stripe/payment_intents.rs:287-295 | crates/router/src/compatibility/stripe/payment_intents.rs:374-382 \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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa14ab686761576461f00a9c3da79220c5d715099ed117d5ea30f4f4b5735ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/admin.rs:1967-1975 | crates/router/src/core/admin.rs:1995-2003 \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 \u0060crates/router/src/core/admin.rs:1967\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":"crates/router/src/core/admin.rs"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd52d382fe5a040e475ac4532f26412dfa2fb828ba3ae7aad24881411bb86a1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/admin.rs:3575-3583 | crates/router/src/core/admin.rs:4239-4247 \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":"crates/router/src/core/admin.rs"},"region":{"startLine":3575}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf261b80181fd0d5fcfcbbdcb9f1edaf1b807d79c63cd7d0d84d4d3d7cf0e93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/admin.rs:3636-3644 | crates/router/src/core/admin.rs:4290-4298 \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 \u0060crates/router/src/core/admin.rs:3636\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":"crates/router/src/core/admin.rs"},"region":{"startLine":3636}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b179dcbea2e6631864d438bc86769cbdd9eceabcf131cbb0220a9fa177374b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/disputes.rs:129-137 | crates/router/src/core/disputes.rs:679-687 \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":"crates/router/src/core/disputes.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc7f50a10395d4e4755c651bf628e2716d0dad50f8430fae239cde943a445ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/fraud_check/flows/checkout_flow.rs:96-105 | crates/router/src/core/fraud_check/flows/sale_flow.rs:115-124 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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 \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:96\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, \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:106\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs:125\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":"crates/router/src/core/fraud_check/flows/checkout_flow.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0a46d5b33a621b65f075255e6ef53ee2961e4b113f76896353e1a79ff45f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/fraud_check/flows/record_return.rs:73-81 | crates/router/src/core/fraud_check/flows/transaction_flow.rs:81-89 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/record_return.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/transaction_flow.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 63 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 \u0060crates/router/src/core/fraud_check/flows/record_return.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/flows/record_return.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f006ce708bf6911e462d43367726c86d1976ded918ce75969762e0dee9cc10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payment_link/validator.rs:79-88 | crates/router/src/core/payouts/validator.rs:691-700 \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 \u0060crates/router/src/core/payment_link/validator.rs:79\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":"crates/router/src/core/payment_link/validator.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bd914a55abca5dc22b2790b05961749696261af3af5d352c8a84dabed54b08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:1331-1339 | crates/router/src/core/payment_methods/cards.rs:1432-1440 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caba50d9456aa0b9e883d8e1ee28bccc7e9f20b17c919dffa77a619bc026ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:4104-4112 | crates/router/src/core/payment_methods/cards.rs:4157-4165 \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 \u0060crates/router/src/core/payment_methods/cards.rs:4104\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ab5d7fe2224ff8afe2ec087d80c3fdd26e7802bc285e91910e73310aaab00c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/router/src/core/payment_methods/cards.rs:5257-5265 | crates/router/src/core/payment_methods/cards.rs:5268-5276 | crates/router/src/core/payment_methods/cards.rs:5278-5287 \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 \u0060crates/router/src/core/payment_methods/cards.rs:5257\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, \u0060crates/router/src/core/payment_methods/cards.rs:5257\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payment_methods/cards.rs:5278\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62e8cd865f402ba9942a6d03f3f5d5c671ff23f309d62c9c9b72c4c23b87d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:5495-5502 | crates/router/src/core/superposition_sdk_config.rs:120-128 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/superposition_sdk_config.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 131 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5495}}}],"partialFingerprints":{"codehealthFindingId/v1":"be43dd3b53f78b54e279e7829bb98bd8fed3a6cbcc8b608c5fd0a00fbf5fdc65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payments/operations/payment_create.rs:216-224 | crates/router/src/core/payments/operations/payment_create.rs:226-234 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments/operations/payment_create.rs:216\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"376b632ed0713605c37bb78b33323ede579a100e32ca80a790dddcf9bd731ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payments/operations/payment_response.rs:1594-1602 | crates/router/src/core/payments/operations/tax_calculation.rs:449-457 \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 \u0060crates/router/src/core/payments/operations/payment_response.rs:1594\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c61c15825def6cebef3e0c1d5ccf13ca48a88665c53528c8bb90105e40524c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:6098-6106 | crates/router/src/core/payments/transformers.rs:6658-6666 \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 \u0060crates/router/src/core/payments/transformers.rs:6098\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6098}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4da567b4fbb4b1f32223af7a018d61a03f8f918ba506981c09c31ab92902a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payouts.rs:2432-2440 | crates/router/src/core/payouts.rs:2867-2875 \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 \u0060crates/router/src/core/payouts.rs:2432\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":2432}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c72289e0b0499780adf4e01499d189d012ca31070e481ae4d250aec2af09fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/pm_auth.rs:195-204 | crates/router/src/core/pm_auth.rs:712-720 \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":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"04299b68d9a2acb70fff1c2cf89158b598b1bff5c0003f84b408927b4717d291"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/router/src/core/refunds.rs:428-435 | crates/router/src/core/refunds_v2.rs:67-75 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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 \u0060crates/router/src/core/refunds.rs:428\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ffe69accb5ce714adf0f8101f6242721d843e643da9cf38ccb4d2e8a08102f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/refunds.rs:1229-1237 | crates/router/src/core/refunds_v2.rs:863-871 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedede49a5e068f32773931f81965bdb359a23eaef80c344a2ce764975eed882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/revenue_recovery.rs:456-466 | crates/router/src/workflows/revenue_recovery.rs:867-875 \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 \u0060crates/router/src/core/revenue_recovery.rs:456\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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"56492219054bc5e63d51a229253b3762b7fa5e323bb4232609d99865c67ac59e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/routing.rs:2438-2446 | crates/router/src/core/routing.rs:3167-3175 \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":"crates/router/src/core/routing.rs"},"region":{"startLine":2438}}}],"partialFingerprints":{"codehealthFindingId/v1":"299563ec916a721b5722079ce4ffeda9915f735b87d5745b8b929dd6b406f6d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/superposition_proxy.rs:662-670 | crates/router/src/core/superposition_proxy.rs:724-732 \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 \u0060crates/router/src/core/superposition_proxy.rs:662\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":"crates/router/src/core/superposition_proxy.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd8d4ef88baaf4628a018beece3e1e1c9e597dbd1a7df7638e8625c830a7214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:791-799 | crates/router/src/core/unified_connector_service.rs:822-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 \u0060crates/router/src/core/unified_connector_service.rs:791\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f8698a8e3e322fde57254b5cb20c5634b1c6d230daafe99d8b7c2d3bfb4e74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:1997-2005 | crates/router/src/core/unified_connector_service.rs:2038-2046 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/core/unified_connector_service.rs:2006\u0060 calls \u0060Some\u0060, \u0060expose\u0060, \u0060into\u0060 and \u0060crates/router/src/core/unified_connector_service.rs:2047\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1997}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad5ec3fcf5e6e38ec679c8839f4cb684bb583e7e2f2889524e1a31a95a40121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/router/src/db/dashboard_metadata.rs:308-315 | crates/router/src/db/dashboard_metadata.rs:334-342 \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 \u0060crates/router/src/db/dashboard_metadata.rs:308\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":"crates/router/src/db/dashboard_metadata.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"542a7e6bade9f90feac132a93ca54285de60c854cb2a757d867c3945784d5fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/db/dispute.rs:874-882 | crates/router/src/db/refund.rs:1709-1717 \u2014 before extracting anything, compare \u0060crates/router/src/db/dispute.rs\u0060 and \u0060crates/router/src/db/refund.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060crates/router/src/db/dispute.rs:874\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":"crates/router/src/db/dispute.rs"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b519152f753c384c3687055d198ae0a413cf43896c28a66e0842678d75770c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/db/events.rs:642-650 | crates/storage_impl/src/kv_router_store.rs:847-856 \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 \u0060crates/storage_impl/src/kv_router_store.rs:847\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":"crates/router/src/db/events.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d290ed2764c0d5d0d3f9961d46f9a14573149fac507624803acfaeee6b6c767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/routes/admin.rs:715-723 | crates/router/src/routes/admin.rs:987-995 \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 \u0060crates/router/src/routes/admin.rs:715\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":"crates/router/src/routes/admin.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9544e8a221b0bde9a46ff68434660cbccbf7f1a504ed92a748ccf88f6738b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/routes/app.rs:176-184 | crates/router/src/routes/app.rs:328-336 \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":"crates/router/src/routes/app.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"36304abaa1b8a3824561251d6f6331bfb933fb66133adca36101ed24e2762de6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/routes/blocklist.rs:36-44 | crates/router/src/routes/blocklist.rs:95-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/blocklist.rs:36\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":"crates/router/src/routes/blocklist.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b2090222654b459c7073b5b8aeb9ad7503d0e41b8630867e81fc22391a60f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/routes/payments.rs:2778-2786 | crates/router/src/routes/payments.rs:2850-2858 \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 \u0060crates/router/src/routes/payments.rs:2778\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2778}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f80dafedbe76b8affb4fe8600adb0940c835145cef4a4c7acac73047546c5d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): crates/router/src/services/api.rs:312-322 | crates/router/src/services/api.rs:331-340 \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 \u0060crates/router/src/services/api.rs:331\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":"crates/router/src/services/api.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"790134996673177dc38c9c4d98631638a6db33eb30eca34ff00e1b040867144c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/types/domain/event.rs:163-171 | crates/router/src/types/domain/event.rs:241-249 \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 \u0060crates/router/src/types/domain/event.rs:163\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":"crates/router/src/types/domain/event.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf38fb1b15fa352a1c2d600fa0e9192b425bdcaa67b0dfee398fbdbf4ef17bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/types/storage/payment_link.rs:88-96 | crates/router/src/types/storage/refund.rs:494-502 \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":"crates/router/src/types/storage/payment_link.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e5700625f78a16235770cbc2fbc0fc005ef02b0fd88cdf0a34eacceba678f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/types/storage/refund.rs:354-362 | crates/router/src/types/storage/refund.rs:592-600 \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 \u0060crates/router/src/types/storage/refund.rs:354\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 \u0060refund_list_details\u0060 to \u0060\u0026refunds::RefundListConstraints\u0060 in one and \u0060refunds::RefundListConstraints\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d0e1e005f9b7788b8965e4708909a8c39907f60b0ec5d01341e6c1bf4978b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router_derive/src/macros/api_error.rs:70-78 | crates/router_derive/src/macros/api_error.rs:101-109 \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 \u0060crates/router_derive/src/macros/api_error.rs:70\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":"crates/router_derive/src/macros/api_error.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66fface8544bb9eecbf1c9c4ab9a5dbe6edaa0d3ea439f90873f9e9f58ea0b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/smithy/src/lib.rs:80-88 | crates/smithy/src/lib.rs:231-239 \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":"crates/smithy/src/lib.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5b6eb01b4a4b89d415d53b8f9383eb4d4f7c991c37193fc3f8247ba9f8287c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/storage_impl/src/business_profile.rs:198-206 | crates/storage_impl/src/merchant_account.rs:166-174 \u2014 before extracting anything, compare \u0060crates/storage_impl/src/business_profile.rs\u0060 and \u0060crates/storage_impl/src/merchant_account.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 71 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 \u0060crates/storage_impl/src/business_profile.rs:198\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":"crates/storage_impl/src/business_profile.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e2e59409cc362e66f3ae755dca2aa3e07acf2154221f81b9817fa9c0d3d412"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/storage_impl/src/customers.rs:98-106 | crates/storage_impl/src/customers.rs:200-208 \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 \u0060crates/storage_impl/src/customers.rs:98\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaf1e81195af9a43edc1c3d5001aa38aae39a1fb9209e53685e30c65b60b54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/storage_impl/src/merchant_connector_account.rs:752-760 | crates/storage_impl/src/merchant_connector_account.rs:801-809 \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 \u0060crates/storage_impl/src/merchant_connector_account.rs:752\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":"crates/storage_impl/src/merchant_connector_account.rs"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30606573117fba91492aa1c83cae32a5ee76a38266da688bf94e5c5d435942d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 60): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:595-602 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:617-624 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:928-935 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:226-233 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:348-355 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1164-1171 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:866-873 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:994-1001 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1500-1507 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1565-1572 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2047-2054 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2265-2272 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:122-129 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:244-251 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:429-436 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:123-130 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:650-657 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:173-180 | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs:90-97 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3004-3011 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3085-3092 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3875-3882 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4022-4029 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4110-4117 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:345-352 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:435-442 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:187-194 | crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:208-215 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:617-624 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:151-158 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:113-120 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:262-269 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:453-460 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:183-190 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:292-299 | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs:216-223 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:143-150 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:221-228 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:547-554 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:764-771 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:649-656 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1816-1823 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:417-424 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:90-97 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:494-500 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:744-751 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:871-877 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1533-1540 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:160-167 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:387-394 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:198-205 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:327-334 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:137-144 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:297-304 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:111-118 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:229-236 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:262-269 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1389-1396 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:248-255 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:726-733 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:595\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:592\u0060 calls \u0060GiftCard\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:491\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"680fa1ca188d539f9423286a6c8c6b25ccd2824de77896f0a4ae0c94cb80607c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 59): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:593-600 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:615-622 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:926-933 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:224-231 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:346-353 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1162-1169 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:864-871 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:992-999 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1498-1505 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1563-1570 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2045-2052 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2263-2270 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:120-127 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:242-249 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:427-434 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:121-128 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:648-655 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:171-178 | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs:88-95 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3002-3009 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3083-3090 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3873-3880 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4020-4027 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4108-4115 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:343-350 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:433-440 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:185-192 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:704-711 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:149-156 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:111-118 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:260-267 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:451-458 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:181-188 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:290-297 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:219-226 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:545-552 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:647-654 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1814-1821 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:854-861 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:415-422 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:88-95 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:276-283 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:492-499 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:742-749 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:869-876 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1531-1538 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:158-165 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:142-149 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:385-392 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:196-203 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:325-332 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:135-142 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:295-302 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:109-116 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:227-234 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:260-267 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1387-1394 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:246-253 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:724-731 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:222\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:591\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4ab8b1ab402eb254dc836c4c5bf6669365b6faf6020bf10d7425fec88ecb9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 58): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:594-601 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:616-623 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:927-934 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:225-232 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:347-354 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1163-1170 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:865-872 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:993-1000 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1499-1506 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1564-1571 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2046-2053 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2264-2271 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:121-128 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:243-250 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:428-435 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:122-129 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:649-656 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:172-179 | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs:89-96 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3003-3010 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3084-3091 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3874-3881 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4021-4028 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4109-4116 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:344-351 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:434-441 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:186-193 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:150-157 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:112-119 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:261-268 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:452-459 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:182-189 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:291-298 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1136-1143 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:220-227 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:546-553 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:648-655 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1815-1822 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:416-423 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:89-96 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:277-284 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:493-500 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:743-750 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:870-877 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1532-1539 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:159-166 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:143-150 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:386-393 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:197-204 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:326-333 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:136-143 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:296-303 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:110-117 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:228-235 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:261-268 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1388-1395 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:247-254 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:725-732 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:594\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, \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:222\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:591\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0d8994d1117977ace84c6e9d10c84997fe50c30d18740a4d4a2e95c7c02228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 57): crates/hyperswitch_connectors/src/connectors/amazonpay.rs:689-696 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:662-669 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1242-1249 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:754-761 | crates/hyperswitch_connectors/src/connectors/boku.rs:605-612 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:743-750 | crates/hyperswitch_connectors/src/connectors/celero.rs:670-677 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:512-519 | crates/hyperswitch_connectors/src/connectors/citigate.rs:534-541 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:521-528 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:743-750 | crates/hyperswitch_connectors/src/connectors/elavon.rs:530-537 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:563-570 | crates/hyperswitch_connectors/src/connectors/envoy.rs:637-644 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:553-560 | crates/hyperswitch_connectors/src/connectors/finix.rs:953-960 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:545-552 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:736-743 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:663-670 | crates/hyperswitch_connectors/src/connectors/getnet.rs:674-681 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:536-543 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:559-566 | crates/hyperswitch_connectors/src/connectors/hipay.rs:699-706 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:524-531 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:534-541 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:534-541 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:563-570 | crates/hyperswitch_connectors/src/connectors/inespay.rs:562-569 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:768-775 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:576-583 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:593-600 | crates/hyperswitch_connectors/src/connectors/katapult.rs:535-542 | crates/hyperswitch_connectors/src/connectors/loonio.rs:609-616 | crates/hyperswitch_connectors/src/connectors/merchante.rs:553-560 | crates/hyperswitch_connectors/src/connectors/moneris.rs:753-760 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:532-539 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1159-1166 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:719-726 | crates/hyperswitch_connectors/src/connectors/payconex.rs:534-541 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:535-542 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:1046-1053 | crates/hyperswitch_connectors/src/connectors/paystack.rs:546-553 | crates/hyperswitch_connectors/src/connectors/paytm.rs:524-531 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:524-531 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:617-624 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:669-676 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:673-680 | crates/hyperswitch_connectors/src/connectors/sift.rs:532-539 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:747-754 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:614-621 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:843-850 | crates/hyperswitch_connectors/src/connectors/thunes.rs:521-528 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:678-685 | crates/hyperswitch_connectors/src/connectors/trustly.rs:470-477 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:717-724 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:536-543 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:901-908 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/amazonpay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/hyperswitch_connectors/src/connectors/amazonpay.rs:689\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/amazonpay.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"446f69dc53b06fdfdb302a77f6520b9e3220f61a4a84cbec1599a44db4184502"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 44): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3107-3115 | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:587-595 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:609-617 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:920-928 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1001-1009 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:340-348 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1156-1164 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:858-866 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:986-994 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1492-1500 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1557-1565 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2039-2047 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2257-2265 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:114-122 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:115-123 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:642-650 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2996-3004 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3077-3085 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3867-3875 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4014-4022 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4102-4110 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:143-151 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:105-113 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:254-262 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:445-453 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:231-238 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:213-221 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:539-547 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:641-649 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1808-1816 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:848-856 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:409-417 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:82-90 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:270-278 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:736-744 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:863-871 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:152-160 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:136-144 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:2607-2615 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:103-111 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:221-229 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:254-262 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1381-1389 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:240-248 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 5 separate duplicated blocks between them, totalling at least 48 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3116\u0060 calls \u0060Card\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:1010\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a970b41eca5e0888a31bbf6682715266acef46922139ee888d2423620b4f644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 36): crates/hyperswitch_connectors/src/connectors/adyen.rs:206-213 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:285-292 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1316-1323 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:179-186 | crates/hyperswitch_connectors/src/connectors/checkout.rs:222-229 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:544-551 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1070-1077 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1327-1334 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1482-1489 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1632-1639 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1790-1797 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1945-1952 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:193-200 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:249-256 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:184-191 | crates/hyperswitch_connectors/src/connectors/paypal.rs:233-240 | crates/hyperswitch_connectors/src/connectors/paypal.rs:440-447 | crates/hyperswitch_connectors/src/connectors/paypal.rs:594-601 | crates/hyperswitch_connectors/src/connectors/paypal.rs:729-736 | crates/hyperswitch_connectors/src/connectors/redsys.rs:155-162 | crates/hyperswitch_connectors/src/connectors/santander.rs:506-513 | crates/hyperswitch_connectors/src/connectors/stripe.rs:220-227 | crates/hyperswitch_connectors/src/connectors/stripe.rs:434-441 | crates/hyperswitch_connectors/src/connectors/stripe.rs:625-632 | crates/hyperswitch_connectors/src/connectors/stripe.rs:816-823 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1037-1044 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1221-1228 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1399-1406 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1648-1655 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1821-1828 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2021-2028 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2184-2191 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2359-2366 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2491-2498 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2728-2735 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:400-407 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 141 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs: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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"713479cf757aa8e5c2275c22d24f923b79e97ee50dee93b5518da57892481bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 23): crates/hyperswitch_connectors/src/connectors/affirm.rs:575-582 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:898-905 | crates/hyperswitch_connectors/src/connectors/authipay.rs:548-555 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:592-599 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:787-794 | crates/hyperswitch_connectors/src/connectors/finix.rs:783-790 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:571-578 | crates/hyperswitch_connectors/src/connectors/forte.rs:503-510 | crates/hyperswitch_connectors/src/connectors/getnet.rs:510-517 | crates/hyperswitch_connectors/src/connectors/helcim.rs:606-613 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:616-623 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1253-1260 | crates/hyperswitch_connectors/src/connectors/moneris.rs:607-614 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:987-994 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:797-804 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:882-889 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:722-729 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:458-465 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:582-589 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:681-688 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:553-560 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:679-686 | crates/hyperswitch_connectors/src/connectors/zift.rs:560-567 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 as WHOLE FILES: this scan already matched 8 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 \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs:575\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 \u0060req\u0060 to \u0060\u0026PaymentsCancelRouterData\u0060 in one and \u0060\u0026RouterData\u003CVoid, PaymentsCancelData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"4818261b0f052236e074adf0c5dafb7439f5144eea0dcffdae487f484004312c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 22): crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/elavon_pg/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/envoy/transformers.rs:69-76 | crates/hyperswitch_connectors/src/connectors/etisalat/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub/transformers.rs:56-63 | crates/hyperswitch_connectors/src/connectors/givepayments/transformers.rs:56-63 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex/transformers.rs:56-63 | crates/hyperswitch_connectors/src/connectors/hyperpg/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/ilixium/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions/transformers.rs:56-63 | crates/hyperswitch_connectors/src/connectors/interpayments/transformers.rs:56-63 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital/transformers.rs:56-63 | crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs:52-59 | crates/hyperswitch_connectors/src/connectors/payconex/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/paynearme/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs:52-59 | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs:54-61 | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs:52-59 | crates/hyperswitch_connectors/src/connectors/truelayer/transformers.rs:189-196 | crates/hyperswitch_connectors/src/connectors/worldpayraft/transformers.rs:55-62 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/elavon_pg/transformers.rs\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 30 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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026CitigateRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026ElavonPgRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1952ba6f4a78db82e40f8c58fb67b062740595e85bd131742878a71fca5a10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 20): crates/router/src/services/authentication.rs:3800-3807 | crates/router/src/services/authentication.rs:3962-3968 | crates/router/src/services/authentication.rs:4002-4008 | crates/router/src/services/authentication.rs:4060-4066 | crates/router/src/services/authentication.rs:4099-4105 | crates/router/src/services/authentication.rs:4148-4154 | crates/router/src/services/authentication.rs:4188-4194 | crates/router/src/services/authentication.rs:4281-4287 | crates/router/src/services/authentication.rs:4475-4481 | crates/router/src/services/authentication.rs:4512-4518 | crates/router/src/services/authentication.rs:4750-4756 | crates/router/src/services/authentication.rs:4851-4857 | crates/router/src/services/authentication.rs:4947-4953 | crates/router/src/services/authentication.rs:5068-5074 | crates/router/src/services/authentication.rs:5158-5164 | crates/router/src/services/authentication.rs:5276-5282 | crates/router/src/services/authentication.rs:5359-5365 | crates/router/src/services/authentication.rs:5442-5449 | crates/router/src/services/authentication.rs:5480-5486 | crates/router/src/services/authentication.rs:5525-5531 \u2014 all 20 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 \u0060crates/router/src/services/authentication.rs:3800\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, \u0060crates/router/src/services/authentication.rs:3971\u0060 calls \u0060get_role_info\u0060, \u0060check_permission\u0060 and \u0060crates/router/src/services/authentication.rs:5452\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":3800}}}],"partialFingerprints":{"codehealthFindingId/v1":"080228302d0bb0f3de77060a64b9c73b6c0b0a33f950b1a3e0452cd9dbb04a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 19): crates/analytics/src/payments/distribution/payment_error_message.rs:142-149 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:104-111 | crates/analytics/src/payments/metrics/connector_success_rate.rs:99-106 | crates/analytics/src/payments/metrics/debit_routing.rs:110-117 | crates/analytics/src/payments/metrics/payment_count.rs:90-97 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:104-111 | crates/analytics/src/payments/metrics/payment_success_count.rs:97-104 | crates/analytics/src/payments/metrics/retries_count.rs:94-101 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:105-112 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:100-107 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:110-117 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:167-174 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:91-98 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:122-129 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:98-105 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:101-108 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:94-101 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:94-101 | crates/analytics/src/payments/metrics/success_rate.rs:93-100 \u2014 before extracting anything, compare \u0060crates/analytics/src/payments/distribution/payment_error_message.rs\u0060 and \u0060crates/analytics/src/payments/metrics/avg_ticket_size.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 116 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 \u0060crates/analytics/src/payments/distribution/payment_error_message.rs:142\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, \u0060crates/analytics/src/payments/metrics/connector_success_rate.rs:108\u0060 calls \u0060clone\u0060 and \u0060crates/analytics/src/payments/distribution/payment_error_message.rs:150\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":"crates/analytics/src/payments/distribution/payment_error_message.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98348053c9e2ab535f388072f9e40e41ef758c45c11a29d18acde4a278db92e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 17): crates/hyperswitch_connectors/src/connectors/elavon.rs:211-218 | crates/hyperswitch_connectors/src/connectors/elavon.rs:288-295 | crates/hyperswitch_connectors/src/connectors/elavon.rs:374-381 | crates/hyperswitch_connectors/src/connectors/elavon.rs:470-477 | crates/hyperswitch_connectors/src/connectors/elavon.rs:546-553 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:267-274 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:365-372 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:611-618 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:696-703 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:787-794 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:881-888 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1048-1055 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1127-1134 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1437-1444 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:649-656 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:735-742 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:830-837 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/elavon.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 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 \u0060crates/hyperswitch_connectors/src/connectors/elavon.rs:211\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":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f7d4247cd94a15bb8f84b1657a1a59a4a59f6c4f695dd02af51fd987bda203"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:143-150 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:135-142 | crates/analytics/src/refunds/metrics/refund_count.rs:90-97 | crates/analytics/src/refunds/metrics/refund_processed_amount.rs:98-105 | crates/analytics/src/refunds/metrics/refund_success_count.rs:93-100 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:88-95 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:91-98 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:158-165 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:106-113 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:150-157 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:93-100 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:88-95 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 165 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 \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:143\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, \u0060crates/analytics/src/refunds/metrics/refund_processed_amount.rs:107\u0060 calls \u0060clone\u0060 and \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:151\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":"crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1655f716e417fb1760e24f5b107fe3c381c5483d33f589f30d0dd3b628b6483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 12): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:592-598 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2566-2572 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:323-329 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1126-1133 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:208-214 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:427-433 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:593-599 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:760-766 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:392-398 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:142-148 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:237-243 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1353-1359 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\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 18 separate duplicated blocks between them, totalling at least 160 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:592\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3a282f1a80373058c0e1ecdd3bea25008878934f244531efe8febc39a2dea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 11): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:410-416 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:539-545 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:761-767 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1378-1384 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:514-521 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1297-1304 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1452-1459 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1602-1609 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1760-1767 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:454-460 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:877-883 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:410\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce0729dff77a1d44a1972a2d304cdaa4373bfbb1e32bf5ff429e60ce619fd6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:392-399 | crates/hyperswitch_connectors/src/connectors/boku.rs:347-354 | crates/hyperswitch_connectors/src/connectors/celero.rs:335-342 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:468-475 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:622-629 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:298-305 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:422-429 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:518-525 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:389-396 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:527-534 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/boku.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 68 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 \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:392\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"29aa527398ead0c98c80c7c93de39ba72dcaa5c5bb2e516535523076895a9a0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): crates/hyperswitch_connectors/src/connectors/aci.rs:204-211 | crates/hyperswitch_connectors/src/connectors/adyen.rs:622-629 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1529-1536 | crates/hyperswitch_connectors/src/connectors/chargebee.rs:302-309 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:107-114 | crates/hyperswitch_connectors/src/connectors/recurly.rs:391-398 | crates/hyperswitch_connectors/src/connectors/recurly.rs:477-484 | crates/hyperswitch_connectors/src/connectors/recurly.rs:569-576 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:117-124 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsCaptureRouterData\u0060 in one and \u0060\u0026PaymentsExtendAuthorizationRouterData\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, \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:213\u0060 calls \u0060get_content_type\u0060, \u0060common_get_content_type\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:631\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a50cb23a2934fe5b000ce506c7763c40ba24b4d962400f2c837e6c169960632"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 9): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3283-3290 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3510-3517 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3594-3600 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3727-3734 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3818-3825 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3985-3992 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4085-4090 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4172-4178 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6967-6974 \u2014 all 9 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3283\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3601\u0060 calls \u0060get_address_info\u0060, \u0060get_optional_billing\u0060, \u0060and_then\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3291\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b4dd31101b327a5198b7d02ac346d73ac32e2a6f2f7fbd93416103b3f05996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:150-157 | crates/hyperswitch_connectors/src/connectors/braintree.rs:204-211 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:199-207 | crates/hyperswitch_connectors/src/connectors/noon.rs:200-207 | crates/hyperswitch_connectors/src/connectors/payme.rs:161-168 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:148-155 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:157-164 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:211-218 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:215-222 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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 \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:150\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b3da20b13fe5876a05bed596607ddc07a2a7db43134b75d71843eeb7ab4fc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): crates/analytics/src/sqlx.rs:250-259 | crates/analytics/src/sqlx.rs:601-610 | crates/analytics/src/sqlx.rs:648-657 | crates/analytics/src/sqlx.rs:763-772 | crates/analytics/src/sqlx.rs:899-908 | crates/analytics/src/sqlx.rs:1123-1132 | crates/analytics/src/sqlx.rs:1330-1339 | crates/analytics/src/sqlx.rs:1440-1449 \u2014 all 8 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 \u0060crates/analytics/src/sqlx.rs:250\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2a250006473376eebd4565a0e82bdc5ba5107914bfb958ce968c84afd9dc3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): crates/router/src/analytics.rs:948-955 | crates/router/src/analytics.rs:1104-1111 | crates/router/src/analytics.rs:1320-1327 | crates/router/src/analytics.rs:1488-1495 | crates/router/src/analytics.rs:1557-1564 | crates/router/src/analytics.rs:2878-2885 | crates/router/src/analytics.rs:2994-3001 | crates/router/src/analytics.rs:3166-3173 \u2014 all 8 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 \u0060crates/router/src/analytics.rs:948\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":"crates/router/src/analytics.rs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb77e1c4d769b92294e483b955ceff3d5ec67e351506bb98673d869fe483e46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:211-218 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:444-451 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1273-1280 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:120-127 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:213-220 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1329-1336 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:500-507 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 64 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1281\u0060 calls \u0060AmazonPay\u0060, \u0060ApplePay\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/square/transformers.rs:128\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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc9a90ec324fc77f607633d794319588f59933f75b2465e1e36cc056dab7517"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1223-1230 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1705-1710 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1855-1860 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2293-2298 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2362-2369 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2430-2437 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2501-2506 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2508\u0060 calls \u0060get_samsung_pay_payment_information\u0060, \u0060attach_printable\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2299\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"03da4b96d429f75b6307b594e9d2a4f5b054b9dd601631c2199f0dee7a9c6037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1554-1561 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2457-2464 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:735-742 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1334-1341 | crates/hyperswitch_connectors/src/connectors/nordea.rs:1153-1160 | crates/hyperswitch_connectors/src/connectors/redsys.rs:1035-1042 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:1466-1473 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 as WHOLE FILES: this scan already matched 22 separate duplicated blocks between them, totalling at least 289 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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1554\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f5aea1673e1a1e01b535333fd98116b90c20b1bf4127be086817942c9d3ba5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/gigadat.rs:390-397 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:590-597 | crates/hyperswitch_connectors/src/connectors/loonio.rs:371-378 | crates/hyperswitch_connectors/src/connectors/loonio.rs:554-561 | crates/hyperswitch_connectors/src/connectors/loonio.rs:640-647 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:495-503 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:524-532 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/gigadat.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/loonio.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 104 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 \u0060crates/hyperswitch_connectors/src/connectors/gigadat.rs:390\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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a726e7713dcac9f1a04593f90be47e1d9ffc371c899b0f4b01e248a0a3e170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:208-215 | crates/router/src/core/payments/operations/payment_attempt_record.rs:166-173 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:198-205 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:336-343 | crates/router/src/core/payments/operations/payment_create_intent.rs:137-144 | crates/router/src/core/payments/operations/payment_update_intent.rs:218-225 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:187-194 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_attempt_record.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:208\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23bb10d2005bccf55f841fc45234bbd25aa3e0c64695bebfa86ab88af595c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/analytics/src/sqlx.rs:261-268 | crates/analytics/src/sqlx.rs:434-441 | crates/analytics/src/sqlx.rs:1054-1061 | crates/analytics/src/sqlx.rs:1161-1168 | crates/analytics/src/sqlx.rs:1397-1404 | crates/analytics/src/sqlx.rs:1427-1434 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/sqlx.rs:261\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d821629d22c41588e5ed75f0eba59a743d2ae25b953de7f9a1746a5533714df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1152-1159 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2035-2042 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:638-645 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2791-2798 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:422-429 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:198-206 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:430\u0060 calls \u0060CardRedirect\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1160\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d144982e48ad3e58224acf3e7c69fdc644a647018df717ca4c6e80e7d641fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/hyperswitch_domain_models/src/type_encryption.rs:165-172 | crates/hyperswitch_domain_models/src/type_encryption.rs:274-281 | crates/hyperswitch_domain_models/src/type_encryption.rs:404-411 | crates/hyperswitch_domain_models/src/type_encryption.rs:512-519 | crates/hyperswitch_domain_models/src/type_encryption.rs:877-884 | crates/hyperswitch_domain_models/src/type_encryption.rs:980-987 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_domain_models/src/type_encryption.rs:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060encrypted_data\u0060 to \u0060Encryption\u0060 in one and \u0060FxHashMap\u003CString, Encryption\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"87285b615488be2e19e50e40a3a2848345cdf2b9fd1282e8bf5c1d79f7c7c742"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/router/src/core/payments/operations/payment_cancel.rs:380-387 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:430-437 | crates/router/src/core/payments/operations/payment_capture.rs:420-427 | crates/router/src/core/payments/operations/payment_reject.rs:332-339 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:332-339 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:335-342 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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 \u0060crates/router/src/core/payments/operations/payment_cancel.rs:380\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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"88263699bcc8a62577bff016e4e1534aeb5e85db9e4ec5b089b67a01b415ea90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 6): crates/router/src/db/events.rs:986-992 | crates/router/src/db/events.rs:1158-1165 | crates/router/src/db/events.rs:1339-1345 | crates/router/src/db/events.rs:1376-1383 | crates/router/src/db/events.rs:1570-1577 | crates/router/src/db/events.rs:1608-1615 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/events.rs:986\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":"crates/router/src/db/events.rs"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61441e55b6f4848d1170b685eb7946f7cc7503fd988eae04a4cee9f655eb982"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:2540-2547 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:184-191 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:732-740 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:366-373 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:160-167 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/boku/transformers.rs\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 18 separate duplicated blocks between them, totalling at least 159 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:732\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6014e080fd7db862ad732726ba9d40c47d622b803df3bf52c4d57ec350a530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/hyperswitch_connectors/src/utils.rs:2968-2975 | crates/router/src/connector/utils.rs:871-878 | crates/router/src/connector/utils.rs:1137-1144 | crates/router/src/connector/utils.rs:1201-1208 | crates/router/src/connector/utils.rs:1227-1234 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/utils.rs:2979\u0060 calls \u0060get_optional_language_from_browser_info\u0060 and \u0060crates/router/src/connector/utils.rs:1238\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"e731f813d57e243f63e87ecee94389b79803fa769771860c775c84d7479ccc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/router/src/core/user.rs:302-309 | crates/router/src/core/user.rs:1628-1635 | crates/router/src/core/user.rs:2201-2209 | crates/router/src/core/user.rs:2319-2326 | crates/router/src/core/user_role.rs:513-520 \u2014 before extracting anything, compare \u0060crates/router/src/core/user.rs\u0060 and \u0060crates/router/src/core/user_role.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/user.rs:302\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":"crates/router/src/core/user.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf267c38b40f0304b71f6d8f4b19f8c1543031f15029277bd937e71ba8f08a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/diesel_models/src/query/blocklist.rs:562-569 | crates/diesel_models/src/query/blocklist.rs:585-592 | crates/diesel_models/src/query/blocklist.rs:645-652 | crates/diesel_models/src/query/blocklist.rs:674-681 \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 \u0060crates/diesel_models/src/query/blocklist.rs:562\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ec1734303a2de34dfc1bf99ac3a470acfc38198ef3b856e8f5d1a2c3cf4839"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3195-3202 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3597-3603 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3730-3737 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4175-4181 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3195\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, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3203\u0060 calls \u0060get_optional_billing_phone_number\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4182\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3195}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b09ac277ebe4dde5829f7957ccdb65ee753a3aadb08850ef3ea397af810e1fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:818-825 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:946-953 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3820-3827 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3969-3976 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsAuthenticateRouterData\u003E\u0060 in one and \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsPostAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3829\u0060 calls \u0060get_payer_auth_challenge_code\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3977\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3600a0550c2d5b4690937ada641da51e37b3f7aeee05ad39b64ca24b735bf03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:591-598 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:668-675 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:745-752 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:822-829 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:591\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":"crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"599269025ef6603b7b179ef100be81a079a15f3d4f7a63534f5638103f9e01c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:2532-2539 | crates/hyperswitch_connectors/src/utils.rs:2917-2924 | crates/hyperswitch_connectors/src/utils.rs:3105-3112 | crates/hyperswitch_connectors/src/utils.rs:3191-3198 \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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2532}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4a8beed708c3e71d603b1e49de527a84b9c4a21d7eaa99fc8a4a1c82eb4bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/router/src/core/payments/transformers.rs:921-930 | crates/router/src/core/payments/transformers.rs:5793-5802 | crates/router/src/core/payments/transformers.rs:7628-7637 | crates/router/src/core/utils.rs:747-754 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/transformers.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payments/transformers.rs:919\u0060 calls \u0060get_total_amount\u0060 and \u0060crates/router/src/core/payments/transformers.rs:7627\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a12de666fe8b240ecb4280e10c65f8e61b199cc358da3364df9933d8aa10ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/router/src/db/events.rs:216-224 | crates/router/src/db/relay.rs:51-58 | crates/router/src/db/user_key_store.rs:49-57 | crates/storage_impl/src/tokenization.rs:55-63 \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 \u0060crates/router/src/db/events.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/db/user_key_store.rs:48\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/db/events.rs:215\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":"crates/router/src/db/events.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d7fee7b69a1dc77a950626817fb05365138a8e216b36f22178fc5161bb89a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/router/src/services/authentication.rs:980-987 | crates/router/src/services/authentication.rs:1065-1072 | crates/router/src/services/authentication.rs:1977-1984 | crates/router/src/services/authentication.rs:2129-2136 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4575e5c174008fdce0090a5ad2a703568d05f26d8f3cea288b0d13e1825ddc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/diesel_models/src/query/generics.rs:937-944 | crates/diesel_models/src/query/generics.rs:1132-1139 | crates/diesel_models/src/query/generics.rs:1257-1264 \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 \u0060crates/diesel_models/src/query/generics.rs:937\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":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4e6aaa6ae18b6e933b3e1df94aed20356de98f62687bcb2e1cc90d8e786822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/diesel_models/src/query/generics.rs:1035-1042 | crates/diesel_models/src/query/generics.rs:1213-1220 | crates/diesel_models/src/query/generics.rs:1329-1336 \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 \u0060crates/diesel_models/src/query/generics.rs:1035\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":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"2722a08e6e4d4daad61c55b26f2141386f3a887a362c67d75d3a66d5eb55b56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/adyen.rs:1275-1282 | crates/hyperswitch_connectors/src/connectors/ebanx.rs:353-360 | crates/hyperswitch_connectors/src/connectors/stripe.rs:3138-3145 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 88 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:1275\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fabfff48273befc48cf205e8638a8b4bff9d5f2f04e6955c39a7f55378e8580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:941-948 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:221-228 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1337-1344 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 12 separate duplicated blocks between them, totalling at least 102 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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"f695fe500342ee4de93c5d91e0b61f2f3dbf04a16554239eb015ddd4e4c75c70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:903-910 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2297-2304 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1022-1029 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9662cff988791fa676214be1941e3b2390d5c84d54ceb185d3bae1f8be3551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:367-374 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:583-590 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:372-379 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/datatrans.rs\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. 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 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs:367\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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2fb5b9930d3ff2a31b42bd819e37467d2552ae394dc1a539704a106cc066fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2764-2771 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:705-712 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:855-862 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs\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 5 separate duplicated blocks between them, totalling at least 39 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2764\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, \u0060crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:704\u0060 calls \u0060OpenBanking\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2763\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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a23968f5b27b6966e09c5454ed42f64c91e85f5886bfac62a704ae9f3a43df9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/iatapay.rs:292-299 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:300-307 | crates/hyperswitch_connectors/src/connectors/vgs.rs:255-262 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/iatapay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/truelayer.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 88 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 \u0060crates/hyperswitch_connectors/src/connectors/iatapay.rs:292\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":"crates/hyperswitch_connectors/src/connectors/iatapay.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dacd8518bcf2a2badbf852a1892870c1f7d4a97e14d128d9a7480be87af84ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/nexixpay.rs:824-831 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:924-931 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1031-1038 \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. 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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f17807b9b516f6065b8b70dd83348e6ea9db24741f9a263b5e9825991dbb48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:937-944 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1089-1096 | crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs:608-615 \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":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb925479e589ae14c1e8f1b25294df9747ec9ad191a29a7ccd298f5e9816404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:822-829 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:427-434 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:711-718 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 65 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":"crates/hyperswitch_connectors/src/connectors/payme/transformers.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62d939ac2c0950958adf5e8708dc3f964bd8ce4939955a1d8b2782c25a933ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/router/src/compatibility/stripe/payment_intents.rs:130-137 | crates/router/src/compatibility/stripe/setup_intents.rs:116-123 | crates/router/src/routes/payments.rs:1943-1950 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/compatibility/stripe/payment_intents.rs:140\u0060 calls \u0060get_locking_input\u0060, \u0060clone\u0060 and \u0060crates/router/src/compatibility/stripe/setup_intents.rs:127\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"716b0e2d3610ae4d551271b8bfedfad2decd2d468f95dfa5179e7de238ceec8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/router/src/compatibility/stripe/payment_intents.rs:399-406 | crates/router/src/routes/payments.rs:3638-3645 | crates/router/src/routes/payments.rs:3685-3692 \u2014 before extracting anything, compare \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/routes/payments.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 77 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 \u0060crates/router/src/compatibility/stripe/payment_intents.rs:399\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":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05e0c7215d686a1f73e9265a61f604391c6ef8f08cf32abe66e5d61d171f260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/router/src/core/payments/list.rs:175-182 | crates/router/src/core/payments/list.rs:251-258 | crates/router/src/core/payments/list.rs:391-398 \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 \u0060crates/router/src/core/payments/list.rs:175\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":"crates/router/src/core/payments/list.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de951d5093e8791e2a8dd7c30bb928169bb7f2c90fb7d8267e244badb4f5543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/router/src/core/payments/transformers.rs:6097-6104 | crates/router/src/core/payments/transformers.rs:6617-6624 | crates/router/src/core/payments/transformers.rs:6657-6664 \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, \u0060crates/router/src/core/payments/transformers.rs:6625\u0060 calls \u0060get_effective_capture_method\u0060 and \u0060crates/router/src/core/payments/transformers.rs:6666\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6097}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34d813a157a353d0695cc650daf94c2320d8ac3b905285bb55130b68b904f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/router/src/routes/disputes.rs:449-456 | crates/router/src/routes/disputes.rs:560-567 | crates/router/src/routes/disputes.rs:612-619 \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 \u0060crates/router/src/routes/disputes.rs:449\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":"crates/router/src/routes/disputes.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86b0004cbb4a5754a0e5dd91a2f4ddc81323f2c0d49050a33a22e309355ad02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/router/src/routes/payments.rs:2742-2749 | crates/router/src/routes/payments.rs:4139-4149 | crates/router/src/routes/payments.rs:4171-4181 \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 \u0060crates/router/src/routes/payments.rs:2742\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2742}}}],"partialFingerprints":{"codehealthFindingId/v1":"92da72f777e96a7408e1531df230d3254dec4709dda44c7a22c36612392cc70d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/smithy-core/src/generator.rs:103-110 | crates/smithy-core/src/generator.rs:136-143 | crates/smithy-core/src/generator.rs:169-176 \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 \u0060crates/smithy-core/src/generator.rs:103\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":"crates/smithy-core/src/generator.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ab79f1b4fac68c73e39327d70fd6bbcfc3636906a28779ac3e5105bf72f4e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): crates/smithy/src/lib.rs:401-408 | crates/smithy/src/lib.rs:727-734 | crates/smithy/src/lib.rs:890-896 \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 \u0060crates/smithy/src/lib.rs:401\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy/src/lib.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b71f6bfbaa23d5d30340c36e7399ed66108e7d105d227c11a5121974413a3b25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2392-2399 | crates/api_models/src/payment_methods.rs:2422-2429 \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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdd5b4a8e67b6c13088b5d5c7eec7da95da2a19cf5abf6d28c794375d577d41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2874-2881 | crates/api_models/src/payment_methods.rs:2992-2999 \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 \u0060crates/api_models/src/payment_methods.rs:2874\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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2874}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebf524cef7613c520339f9c0eb04f324b16c7bf3088f8fdac05521bec52def3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/api_models/src/payments.rs:6353-6360 | crates/api_models/src/payments.rs:6362-6369 \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 \u0060crates/api_models/src/payments.rs:6353\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":"crates/api_models/src/payments.rs"},"region":{"startLine":6353}}}],"partialFingerprints":{"codehealthFindingId/v1":"135b9504a48fd2a33cd301c88c5d9ff62d268725a02e6c75fca38ac122d6b7c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/common_utils/src/new_type.rs:258-265 | crates/common_utils/src/new_type.rs:286-293 \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 \u0060crates/common_utils/src/new_type.rs:258\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":"crates/common_utils/src/new_type.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59fc5d02683f08ef1de1bc93bae8deecb48991b20470a14ca7ddb0fbca97aed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:100-107 | crates/diesel_models/src/query/blocklist.rs:1043-1050 \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 \u0060crates/diesel_models/src/query/blocklist.rs:100\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f227f8fad4b32ff5d263b032ec6cca0a7833a2a5ff895b7c857b010362a6fbfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:386-393 | crates/diesel_models/src/query/blocklist.rs:1124-1131 \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 \u0060crates/diesel_models/src/query/blocklist.rs:386\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"839b2d9727c810e57277428bd24214e43166fe57a0eaf4e66c9b137367f29ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci.rs:386-393 | crates/hyperswitch_connectors/src/connectors/adyen.rs:724-731 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"38531a297f98a70ac0f1693d5c8055ae35b3da5fd230c99aaffcbc2f717fafa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci.rs:662-669 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1765-1772 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:671\u0060 calls \u0060get_content_type\u0060, \u0060common_get_content_type\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:1774\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf13b5d35767d8c703d633adec415c185e27947ce9d1a6be7bc6313cdc0e05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:228-235 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:757-764 \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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a131aecd760e69f0abc1e3635bc97a078679b53d159de1162f5561fd6cf58dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen.rs:2184-2191 | crates/hyperswitch_connectors/src/connectors/checkout.rs:1011-1018 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 182 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b7f5a3fc6fb5bddcd50d511850bd828f7a3468598f359e120166a91bf2a617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen.rs:2262-2269 | crates/hyperswitch_connectors/src/connectors/checkout.rs:1270-1277 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 182 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"8090f2d5cdffd3a4cfdcca5f7ad6125d3ec6f8e4d923b7bb9543b39922a78cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6374-6381 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6433-6440 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6374\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":6374}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8eb712d36e05a24b64cb4e0de69c6ce1931b494da676ebcba997cd579bc4d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs:268-275 | crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs:323-330 \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":"crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers/payouts.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"235ed42287675f4a0eb1f84e2694319cbfd51c09785e20ccc5f161520d30e618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bambora.rs:146-153 | crates/hyperswitch_connectors/src/connectors/volt.rs:293-300 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/volt.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 92 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 \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs:146\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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8478fa13e9b4b06871b13bc9cd2e8472f313af4301863502f1afcfebe7429598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/billwerk.rs:130-136 | crates/hyperswitch_connectors/src/connectors/xendit.rs:138-145 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/billwerk.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/xendit.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/billwerk.rs:130\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":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"189b46d5349c8782a2b308e1b4538d11ee2936d21179aa33892e205285677874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout.rs:199-207 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:197-204 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/trustpay.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 135 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 \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs:199\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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94398cecd9ae8041ff69606020e8a725fc6fb92b8d45ce32f68ae6395454b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:2619-2626 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:5608-5615 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs\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 4 separate duplicated blocks between them, totalling at least 37 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:2619\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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"4578ec8019dd50a6ff4c1c9b2411873e0c3a2536a02dd108597935fb2bba73e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1859-1866 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:940-947 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs\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 42 separate duplicated blocks between them, totalling at least 605 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1871\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:949\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f983e3558a11aa70eda0738fed8b56617808ad74bccdc0d19ae64ee97675baf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:332-339 | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:353-360 \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 \u0060crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:332\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":"crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d58a63271955157918807c0f043b4ad601886ffec71f0886ef075b37bce77a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiserv.rs:76-83 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:78-85 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiserv.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/fiservemea.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 38 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 \u0060crates/hyperswitch_connectors/src/connectors/fiserv.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiserv.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abd6e19a8a111b18b532bbc7c3a29c9c78d76a3eb6ccbc4e231368bbd11a7fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:261-268 | crates/hyperswitch_connectors/src/connectors/redsys.rs:136-143 \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 \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs:261\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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"827566e0615c6b5ccc874d46def0b3f5c4803005965621a27d9a51df961e9f3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/fiuu.rs:311-318 | crates/hyperswitch_connectors/src/connectors/hipay.rs:75-82 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/hipay.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/hyperswitch_connectors/src/connectors/fiuu.rs:311\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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5f0278b6aee81ada6613b4a6b9182468798026a742a300a0bef5373d17c3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/hipay.rs:458-465 | crates/hyperswitch_connectors/src/connectors/hipay.rs:611-618 \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 \u0060crates/hyperswitch_connectors/src/connectors/hipay.rs:458\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 \u0060req\u0060 to \u0060\u0026PaymentsCaptureRouterData\u0060 in one and \u0060\u0026RefundsRouterData\u003CExecute\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ff1131108e7322867abf8aac3076f4adedfb9012fecf517739297cca9a2a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:239-246 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:238-245 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/silverflow.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 44 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 \u0060crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:239\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":"crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b00a03efc7ae62a8eafd067a676bc3c4f1e10ee810c341c85d019f361e0983d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/moneris.rs:163-170 | crates/hyperswitch_connectors/src/connectors/volt.rs:174-181 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/moneris.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/volt.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 95 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 \u0060crates/hyperswitch_connectors/src/connectors/moneris.rs:163\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":"crates/hyperswitch_connectors/src/connectors/moneris.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"733a1d37da3f7eb9105f288cb43c810fff675d0a3885b4d282951598a2eae9b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexinets.rs:499-507 | crates/hyperswitch_connectors/src/connectors/tsys.rs:427-435 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/nexinets.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/tsys.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 51 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":"crates/hyperswitch_connectors/src/connectors/nexinets.rs"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de27169ab0fc4f660a934b37d6c3de4115d0734cac5f62542d8155efb01b1ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:339-346 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:537-544 \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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"35673a83cbec34f13ff163250c6cc33c20c766cca9d068833588780e13aa3768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:759-766 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1242-1249 \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 \u0060crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:759\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, NovalnetPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, NovalnetPSyncResponse, PaymentsSyncData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"c889ec7edf3116d82cb3ca18b70f9b6b9c922d0e4e91a8903c5716e8fe36a9ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:259-267 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:318-325 \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 \u0060crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs: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. 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":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b559396af281c81df5248b3a81d959bff041129ababa999709d297f870694e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:710-717 | crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:1003-1010 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs:710\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, PayboxResponse, PaymentsAuthorizeData, PaymentsResponseData\u003E\u0060 in one and \u0060RefundsResponseRouterData\u003CExecute, TransactionResponse\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paybox/transformers.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"651bb9c18227cf302197effc7ec4390f70597c3a24599baefdade23e5c59d4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payeezy.rs:511-518 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2175-2183 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/payeezy.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 63 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":"crates/hyperswitch_connectors/src/connectors/payeezy.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"9315ab6daf9a9ffd70e33fd51303d31d9de6fb9d32b07c05fe56707e4492878c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payjustnow.rs:98-104 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:99-106 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/payjustnow.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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":"crates/hyperswitch_connectors/src/connectors/payjustnow.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f1941de261139937594921a9dbbef5ee82b29c2ee13c901920a32f1666298b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payme.rs:1365-1372 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1639-1646 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/payme.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayxml.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 64 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 \u0060crates/hyperswitch_connectors/src/connectors/payme.rs:1365\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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83715973109d77ecf1ed61d9ea7115843ec50e87628eef9a36e27638e9b8add"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/paypal.rs:1309-1317 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1319-1326 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1327-1335 \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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e671a37eccb1862b784e381bace063f6a1406495267cc2fc21e991040ae07e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/signifyd.rs:270-277 | crates/hyperswitch_connectors/src/connectors/signifyd.rs:358-365 \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 \u0060req\u0060 to \u0060\u0026FrmSaleRouterData\u0060 in one and \u0060\u0026FrmCheckoutRouterData\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":"crates/hyperswitch_connectors/src/connectors/signifyd.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f514d9dc3ed8065bb22e628f62a686133623883c869b374d68affe9a2fe239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:2588-2595 | crates/hyperswitch_connectors/src/utils.rs:3155-3162 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cf132ba6e12e5790fc9b6cd30f73d309ea8ea226f8f48cdbf57b2470aad61b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_domain_models/src/payment_method_data.rs:4828-4835 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4867-4874 \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 \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs:4828\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":"crates/hyperswitch_domain_models/src/payment_method_data.rs"},"region":{"startLine":4828}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce494650587d7d40124f0f5370be472126cc139a87c8338811671e7c0153d402"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/payment_methods/src/core/migration/payment_methods.rs:387-394 | crates/payment_methods/src/core/migration/payment_methods.rs:478-485 \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 \u0060crates/payment_methods/src/core/migration/payment_methods.rs:387\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, \u0060crates/payment_methods/src/core/migration/payment_methods.rs:487\u0060 calls \u0060Some\u0060, \u0060clone\u0060 and \u0060crates/payment_methods/src/core/migration/payment_methods.rs:396\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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42d3a17bf0051a1f31b543f2f4cfda9b6af3ae4450276989ddeec43f07417cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/redis_interface/src/module/fred.rs:398-405 | crates/redis_interface/src/module/redis_rs.rs:526-533 \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 \u0060crates/redis_interface/src/module/fred.rs:398\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":"crates/redis_interface/src/module/fred.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdfad63bc8110a3c198d0fb7132e4c72af255a7dc239a1fb1abbc3842a67552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/analytics.rs:1829-1837 | crates/router/src/analytics.rs:2292-2300 \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 \u0060crates/router/src/analytics.rs:1829\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":"crates/router/src/analytics.rs"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fbc4d4741ef86d5aaae39e21e0c9ba52e392d22877128e5dff219ca053b26f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/connector/utils.rs:940-947 | crates/router/src/connector/utils.rs:1165-1172 \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":"crates/router/src/connector/utils.rs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf87ccaadcac3a2008cdf775192f9f42009535c10b02ead6580106a551c6afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:3478-3485 | crates/router/src/core/payment_methods/cards.rs:3555-3562 \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 \u0060crates/router/src/core/payment_methods/cards.rs:3478\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3478}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a995ad14aa31a077f3a0cc0dd4066645df9867141aa86fe992e33c4f5aa1783"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/payment_methods/client.rs:445-453 | crates/router/src/core/payments/operations/payment_status.rs:337-344 \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 \u0060crates/router/src/core/payment_methods/client.rs:445\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":"crates/router/src/core/payment_methods/client.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"744d7493283bffa8770c112786dc9c423c6013fd578f07661045b3758b40404f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/payments.rs:1388-1396 | crates/router/src/core/payments.rs:1924-1931 \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 \u0060crates/router/src/core/payments.rs:1388\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":"crates/router/src/core/payments.rs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c552524e4666ea19fb09153e1b3476a1c1449f58773bf530c8ced6049f18189e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/router/src/core/payments.rs:14268-14274 | crates/router/src/core/payments/operations/payment_confirm.rs:2455-2462 \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 \u0060crates/router/src/core/payments/operations/payment_confirm.rs:2455\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":"crates/router/src/core/payments.rs"},"region":{"startLine":14268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae77ebca0c315244517b8fa9224785e5f1ef8c1bccb2b5057b99556d15a583d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/payments/multi_currency_processing.rs:159-166 | crates/router/src/core/payments/multi_currency_processing.rs:216-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 \u0060crates/router/src/core/payments/multi_currency_processing.rs:159\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, \u0060crates/router/src/core/payments/multi_currency_processing.rs:214\u0060 calls \u0060as_ref\u0060, \u0060and_then\u0060 and \u0060crates/router/src/core/payments/multi_currency_processing.rs:158\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":"crates/router/src/core/payments/multi_currency_processing.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b7d79c700e70d867e220a6b4e0f4e01aa8ff487dffd2900976864c8bce742c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:5833-5840 | crates/router/src/core/utils.rs:532-540 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/transformers.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 74 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 \u0060crates/router/src/core/payments/transformers.rs:5833\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5833}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e8a2041528a4926e96c3acb28e56b20c34282300531dd747d0218662769c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/payouts/helpers.rs:1021-1029 | crates/router/src/core/unified_authentication_service.rs:845-852 \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 \u0060crates/router/src/core/payouts/helpers.rs:1021\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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f1c76bcc6e5bf7c75e765e36d356d21ba13934e46e0040bbe9b1fe4bbdc49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/refunds.rs:1711-1718 | crates/router/src/core/refunds_v2.rs:1185-1192 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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 \u0060crates/router/src/core/refunds.rs:1711\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b902a40d9d8e1eac3ab3b1b7ecf5f5b1dd797083abd2e69a5d36f53e342462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): crates/router/src/core/routing/helpers.rs:2179-2188 | crates/router/src/core/routing/helpers.rs:2304-2312 \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 \u0060crates/router/src/core/routing/helpers.rs:2179\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f226b6c3957fbd03da0d412fc37389e970f1156c97c88658bbcc80e20d40a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/unified_authentication_service.rs:1393-1400 | crates/router/src/core/unified_authentication_service.rs:2106-2113 \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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15c8251d1fe07cc3abfb45d6a70c328cc36c86aa3d0ac9820e6dad7e32f93b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/unified_connector_service/transformers.rs:5961-5973 | crates/router/src/core/unified_connector_service/transformers.rs:6040-6052 \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 \u0060crates/router/src/core/unified_connector_service/transformers.rs:5961\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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":5961}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0ae3ffc9870276fdd61b2d6eecdd076844a4cca7d15eaf168770319f08d1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/user.rs:338-346 | crates/router/src/core/user.rs:569-577 \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":"crates/router/src/core/user.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"628d13e35e6f6321896762c6e64885824661867cecf8c5052a25a99bfc93b80c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/user.rs:1357-1364 | crates/router/src/workflows/api_key_expiry.rs:100-107 \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 \u0060crates/router/src/core/user.rs:1357\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, \u0060crates/router/src/core/user.rs:1356\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/workflows/api_key_expiry.rs:99\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":"crates/router/src/core/user.rs"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38c4825d975c8847a1da0d213f8bc7735cdc3893f6a2f5b01b74a972f549af9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/webhooks/incoming.rs:3216-3223 | crates/router/src/core/webhooks/incoming_v2.rs:562-572 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/incoming.rs\u0060 and \u0060crates/router/src/core/webhooks/incoming_v2.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 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 \u0060crates/router/src/core/webhooks/incoming.rs:3216\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":3216}}}],"partialFingerprints":{"codehealthFindingId/v1":"4319664609c3348198a73fe016771f1ff2926170b236d96c6353b4282e596d79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:1494-1501 | crates/router/src/core/webhooks/outgoing_v2.rs:733-740 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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, \u0060crates/router/src/core/webhooks/outgoing_v2.rs:729\u0060 calls \u0060DisputeDetails\u0060 and \u0060crates/router/src/core/webhooks/outgoing.rs:1493\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1494}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07788fba7f471bc8c3e933fddc1e5d767d9d053bd892f7487d849a0178b5186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/db/refund.rs:1557-1564 | crates/router/src/db/refund.rs:1707-1714 \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 \u0060crates/router/src/db/refund.rs:1557\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":"crates/router/src/db/refund.rs"},"region":{"startLine":1557}}}],"partialFingerprints":{"codehealthFindingId/v1":"3593c3dea89eeb86b887767a535fda9314281e829b80cff92b9e6710ca45b4b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/router/src/routes/app.rs:873-880 | crates/router/src/routes/app.rs:909-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. 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":"crates/router/src/routes/app.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfaae45ec432c3f5bad70a62326e83843af58a83d2dd01944bc6af5775667ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/routes/payments.rs:2343-2350 | crates/router/src/routes/payments.rs:2532-2542 \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 \u0060crates/router/src/routes/payments.rs:2343\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"62af12ebe30b3253bbdf5b26c41ced412df57a524a24356c01dc5d689892c959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/routes/payments.rs:2571-2578 | crates/router/src/routes/payments.rs:2598-2608 \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 \u0060crates/router/src/routes/payments.rs:2571\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2571}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6c4cff873c8b3381c83d62bcb4f82d85bd0d155b1362607fd25bbe1672f03a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/services/authentication/blacklist.rs:76-83 | crates/router/src/services/authentication/blacklist.rs:91-98 \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 \u0060crates/router/src/services/authentication/blacklist.rs:76\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":"crates/router/src/services/authentication/blacklist.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bcefd4403e560ebe2e114abeed579aba85a4bdb0e7b4d64d500fba3b834c58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/types/api/connector_mapping.rs:539-552 | crates/router/src/types/api/feature_matrix.rs:467-480 \u2014 before extracting anything, compare \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 426 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, \u0060crates/router/src/types/api/feature_matrix.rs:462\u0060 calls \u0060Ok\u0060, \u0060Old\u0060 and \u0060crates/router/src/types/api/connector_mapping.rs:535\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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c71a6ef03840ac498d6be74915e728a8c72f936f84aa77ad5fe60d1f004f723"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/router/src/workflows/payment_sync.rs:296-302 | crates/router/src/workflows/payment_sync.rs:332-339 \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 \u0060crates/router/src/workflows/payment_sync.rs:332\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":"crates/router/src/workflows/payment_sync.rs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"be39ebd29e461c76928e5e4e9fa1fa611e36937949d2a7ac5f4769191c5766d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router_derive/src/macros/diesel.rs:35-42 | crates/router_derive/src/macros/diesel.rs:79-86 \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 \u0060crates/router_derive/src/macros/diesel.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/diesel.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"44384b5aaa9acda2d9b6926ab20432cda98712d7dac4c5c278318642396b7e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): crates/scheduler/src/consumer.rs:49-55 | crates/scheduler/src/producer.rs: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 \u0060crates/scheduler/src/producer.rs:34\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":"crates/scheduler/src/consumer.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6960f8da010e7d304ecf6d56f123695c733f1e8c48f60b7565d904d5ddd24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/storage_impl/src/customers.rs:1606-1613 | crates/storage_impl/src/customers.rs:1895-1902 \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 \u0060crates/storage_impl/src/customers.rs:1606\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":"crates/storage_impl/src/customers.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"68066599eadfe1b55d63daf4b30c15fbf7f36dcd20836a23a98473088d5f5e4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 697): crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:235-241 | crates/hyperswitch_connectors/src/connectors/aci.rs:263-269 | crates/hyperswitch_connectors/src/connectors/aci.rs:360-366 | crates/hyperswitch_connectors/src/connectors/aci.rs:447-453 | crates/hyperswitch_connectors/src/connectors/aci.rs:548-554 | crates/hyperswitch_connectors/src/connectors/aci.rs:632-638 | crates/hyperswitch_connectors/src/connectors/aci.rs:731-737 | crates/hyperswitch_connectors/src/connectors/adyen.rs:690-697 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1053-1059 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1295-1301 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1393-1399 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1494-1500 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1605-1611 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1730-1736 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1834-1840 | crates/hyperswitch_connectors/src/connectors/adyen.rs:2536-2542 | crates/hyperswitch_connectors/src/connectors/affirm.rs:267-273 | crates/hyperswitch_connectors/src/connectors/affirm.rs:352-358 | crates/hyperswitch_connectors/src/connectors/affirm.rs:424-430 | crates/hyperswitch_connectors/src/connectors/affirm.rs:515-521 | crates/hyperswitch_connectors/src/connectors/affirm.rs:595-602 | crates/hyperswitch_connectors/src/connectors/affirm.rs:686-692 | crates/hyperswitch_connectors/src/connectors/affirm.rs:754-760 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:272-279 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:363-370 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:451-458 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:629-636 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:718-724 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:806-812 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:879-885 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:1064-1070 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:457-463 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:529-535 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:633-639 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:708-714 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:215-222 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:363-370 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:542-548 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:723-729 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:812-818 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:905-911 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:995-1001 | crates/hyperswitch_connectors/src/connectors/bambora.rs:261-268 | crates/hyperswitch_connectors/src/connectors/bambora.rs:352-359 | crates/hyperswitch_connectors/src/connectors/bambora.rs:436-443 | crates/hyperswitch_connectors/src/connectors/bambora.rs:518-525 | crates/hyperswitch_connectors/src/connectors/bambora.rs:617-624 | crates/hyperswitch_connectors/src/connectors/bambora.rs:801-808 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:239-245 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:333-339 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:416-422 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:508-515 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:602-609 | crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:686-692 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:382-389 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:512-518 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:627-633 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:716-722 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:844-850 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:963-970 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:1036-1042 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:519-525 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:615-621 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:721-727 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:733-739 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:849-855 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:939-945 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1065-1071 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1186-1192 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1261-1267 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1351-1357 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:251-257 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:348-354 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:425-431 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:523-529 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:600-606 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:693-699 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:773-779 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:153-160 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:326-333 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:425-432 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:386-392 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:485-491 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:568-574 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:811-817 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:903-909 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1084-1090 | crates/hyperswitch_connectors/src/connectors/boku.rs:284-290 | crates/hyperswitch_connectors/src/connectors/boku.rs:368-374 | crates/hyperswitch_connectors/src/connectors/boku.rs:448-454 | crates/hyperswitch_connectors/src/connectors/boku.rs:624-630 | crates/hyperswitch_connectors/src/connectors/braintree.rs:386-393 | crates/hyperswitch_connectors/src/connectors/braintree.rs:490-496 | crates/hyperswitch_connectors/src/connectors/braintree.rs:566-572 | crates/hyperswitch_connectors/src/connectors/braintree.rs:648-654 | crates/hyperswitch_connectors/src/connectors/braintree.rs:661-667 | crates/hyperswitch_connectors/src/connectors/braintree.rs:734-741 | crates/hyperswitch_connectors/src/connectors/braintree.rs:809-815 | crates/hyperswitch_connectors/src/connectors/braintree.rs:967-973 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1314-1320 | crates/hyperswitch_connectors/src/connectors/braintree.rs:1327-1333 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:262-268 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:371-377 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:443-449 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:528-534 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:611-617 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:695-701 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:762-768 | crates/hyperswitch_connectors/src/connectors/calida.rs:449-455 | crates/hyperswitch_connectors/src/connectors/calida.rs:536-542 | crates/hyperswitch_connectors/src/connectors/calida.rs:602-608 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:298-305 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:329-335 | crates/hyperswitch_connectors/src/connectors/celero.rs:273-279 | crates/hyperswitch_connectors/src/connectors/celero.rs:354-360 | crates/hyperswitch_connectors/src/connectors/celero.rs:445-451 | crates/hyperswitch_connectors/src/connectors/celero.rs:518-524 | crates/hyperswitch_connectors/src/connectors/celero.rs:608-614 | crates/hyperswitch_connectors/src/connectors/celero.rs:689-695 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:247-253 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:321-327 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:388-394 | crates/hyperswitch_connectors/src/connectors/checkout.rs:378-384 | crates/hyperswitch_connectors/src/connectors/checkout.rs:476-482 | crates/hyperswitch_connectors/src/connectors/checkout.rs:559-565 | crates/hyperswitch_connectors/src/connectors/checkout.rs:640-646 | crates/hyperswitch_connectors/src/connectors/checkout.rs:654-660 | crates/hyperswitch_connectors/src/connectors/checkout.rs:741-747 | crates/hyperswitch_connectors/src/connectors/citigate.rs:255-261 | crates/hyperswitch_connectors/src/connectors/citigate.rs:320-326 | crates/hyperswitch_connectors/src/connectors/citigate.rs:398-404 | crates/hyperswitch_connectors/src/connectors/citigate.rs:485-491 | crates/hyperswitch_connectors/src/connectors/citigate.rs:553-559 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:256-262 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:330-336 | crates/hyperswitch_connectors/src/connectors/coingate.rs:249-255 | crates/hyperswitch_connectors/src/connectors/coingate.rs:324-330 | crates/hyperswitch_connectors/src/connectors/coingate.rs:441-448 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:240-246 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:305-311 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:383-389 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:472-478 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:540-546 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:470-476 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:727-733 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:821-827 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:917-923 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1006-1012 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1142-1148 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1240-1246 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1252-1258 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1408-1414 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1557-1564 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1716-1722 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1880-1886 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2031-2037 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2099-2105 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2209-2215 | crates/hyperswitch_connectors/src/connectors/d24.rs:251-257 | crates/hyperswitch_connectors/src/connectors/d24.rs:316-322 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:257-263 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:358-364 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:429-435 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:691-698 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:762-768 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:272-279 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:427-433 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:439-445 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:451-457 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:559-565 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:632-638 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:724-730 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:806-812 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:898-904 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:967-973 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:296-302 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:370-376 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:453-459 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:281-288 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:363-369 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:442-448 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:512-519 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:673-679 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:252-259 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:669-675 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:848-854 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:284-290 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:349-355 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:427-433 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:514-520 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:582-588 | crates/hyperswitch_connectors/src/connectors/envoy.rs:358-364 | crates/hyperswitch_connectors/src/connectors/envoy.rs:423-429 | crates/hyperswitch_connectors/src/connectors/envoy.rs:501-507 | crates/hyperswitch_connectors/src/connectors/envoy.rs:588-594 | crates/hyperswitch_connectors/src/connectors/envoy.rs:656-662 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:274-280 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:339-345 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:417-423 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:504-510 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:572-578 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:226-233 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:312-319 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:419-426 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:495-502 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:574-580 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:642-648 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:721-727 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:792-798 | crates/hyperswitch_connectors/src/connectors/finix.rs:162-168 | crates/hyperswitch_connectors/src/connectors/finix.rs:246-252 | crates/hyperswitch_connectors/src/connectors/finix.rs:972-978 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:312-318 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:262-268 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:327-333 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:407-413 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:496-502 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:564-570 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:342-348 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:419-425 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:509-515 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:590-596 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:679-685 | crates/hyperswitch_connectors/src/connectors/fiservemea.rs:755-761 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:428-434 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:551-557 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:627-633 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:761-767 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:825-831 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:273-280 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:373-379 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:449-455 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:527-533 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:614-620 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:682-688 | crates/hyperswitch_connectors/src/connectors/forte.rs:277-284 | crates/hyperswitch_connectors/src/connectors/forte.rs:352-359 | crates/hyperswitch_connectors/src/connectors/forte.rs:439-446 | crates/hyperswitch_connectors/src/connectors/forte.rs:523-530 | crates/hyperswitch_connectors/src/connectors/forte.rs:616-623 | crates/hyperswitch_connectors/src/connectors/forte.rs:690-697 | crates/hyperswitch_connectors/src/connectors/getnet.rs:285-291 | crates/hyperswitch_connectors/src/connectors/getnet.rs:363-369 | crates/hyperswitch_connectors/src/connectors/getnet.rs:450-456 | crates/hyperswitch_connectors/src/connectors/getnet.rs:530-537 | crates/hyperswitch_connectors/src/connectors/getnet.rs:617-623 | crates/hyperswitch_connectors/src/connectors/getnet.rs:693-699 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:304-311 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:474-480 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:717-724 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:794-801 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:877-884 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:949-956 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:255-261 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:320-326 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:398-404 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:487-493 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:555-561 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:325-332 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:428-435 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:538-545 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:719-726 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:812-819 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:977-984 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:275-281 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:340-346 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:420-426 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:510-516 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:578-584 | crates/hyperswitch_connectors/src/connectors/globepay.rs:275-282 | crates/hyperswitch_connectors/src/connectors/globepay.rs:348-355 | crates/hyperswitch_connectors/src/connectors/globepay.rs:455-462 | crates/hyperswitch_connectors/src/connectors/globepay.rs:529-536 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:250-257 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:335-342 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:425-432 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:516-523 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:590-597 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:682-689 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:253-260 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:330-337 | crates/hyperswitch_connectors/src/connectors/helcim.rs:280-286 | crates/hyperswitch_connectors/src/connectors/helcim.rs:370-377 | crates/hyperswitch_connectors/src/connectors/helcim.rs:454-461 | crates/hyperswitch_connectors/src/connectors/helcim.rs:547-554 | crates/hyperswitch_connectors/src/connectors/helcim.rs:626-633 | crates/hyperswitch_connectors/src/connectors/helcim.rs:713-720 | crates/hyperswitch_connectors/src/connectors/helcim.rs:797-804 | crates/hyperswitch_connectors/src/connectors/hipay.rs:169-176 | crates/hyperswitch_connectors/src/connectors/hipay.rs:340-346 | crates/hyperswitch_connectors/src/connectors/hipay.rs:410-416 | crates/hyperswitch_connectors/src/connectors/hipay.rs:497-503 | crates/hyperswitch_connectors/src/connectors/hipay.rs:571-577 | crates/hyperswitch_connectors/src/connectors/hipay.rs:649-655 | crates/hyperswitch_connectors/src/connectors/hipay.rs:718-724 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:245-251 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:310-316 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:388-394 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:475-481 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:543-549 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:136-142 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:326-332 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:254-260 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:319-325 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:397-403 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:485-491 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:553-559 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:274-281 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:396-402 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:469-475 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:577-583 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:651-657 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:255-261 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:320-326 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:398-404 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:485-491 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:553-559 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:274-280 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:339-345 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:425-431 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:514-520 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:582-588 | crates/hyperswitch_connectors/src/connectors/inespay.rs:263-269 | crates/hyperswitch_connectors/src/connectors/inespay.rs:338-344 | crates/hyperswitch_connectors/src/connectors/inespay.rs:416-422 | crates/hyperswitch_connectors/src/connectors/inespay.rs:503-509 | crates/hyperswitch_connectors/src/connectors/inespay.rs:581-587 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:275-282 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:410-416 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:485-491 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:566-572 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:682-688 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:767-773 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:289-295 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:392-398 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:482-488 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:551-557 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:636-642 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:721-727 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:787-793 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:295-301 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:360-366 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:438-444 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:527-533 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:595-601 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:309-315 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:374-380 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:454-460 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:544-550 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:612-618 | crates/hyperswitch_connectors/src/connectors/katapult.rs:256-262 | crates/hyperswitch_connectors/src/connectors/katapult.rs:321-327 | crates/hyperswitch_connectors/src/connectors/katapult.rs:399-405 | crates/hyperswitch_connectors/src/connectors/katapult.rs:486-492 | crates/hyperswitch_connectors/src/connectors/katapult.rs:554-560 | crates/hyperswitch_connectors/src/connectors/klarna.rs:277-284 | crates/hyperswitch_connectors/src/connectors/klarna.rs:482-489 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1200-1207 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1446-1452 | crates/hyperswitch_connectors/src/connectors/loonio.rs:275-281 | crates/hyperswitch_connectors/src/connectors/loonio.rs:455-461 | crates/hyperswitch_connectors/src/connectors/loonio.rs:733-740 | crates/hyperswitch_connectors/src/connectors/loonio.rs:805-812 | crates/hyperswitch_connectors/src/connectors/merchante.rs:274-280 | crates/hyperswitch_connectors/src/connectors/merchante.rs:339-345 | crates/hyperswitch_connectors/src/connectors/merchante.rs:417-423 | crates/hyperswitch_connectors/src/connectors/merchante.rs:504-510 | crates/hyperswitch_connectors/src/connectors/merchante.rs:572-578 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:305-311 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:385-391 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:463-469 | crates/hyperswitch_connectors/src/connectors/mollie.rs:227-234 | crates/hyperswitch_connectors/src/connectors/mollie.rs:308-315 | crates/hyperswitch_connectors/src/connectors/mollie.rs:386-393 | crates/hyperswitch_connectors/src/connectors/mollie.rs:472-479 | crates/hyperswitch_connectors/src/connectors/mollie.rs:547-554 | crates/hyperswitch_connectors/src/connectors/mollie.rs:635-642 | crates/hyperswitch_connectors/src/connectors/mollie.rs:818-825 | crates/hyperswitch_connectors/src/connectors/moneris.rs:259-266 | crates/hyperswitch_connectors/src/connectors/moneris.rs:381-387 | crates/hyperswitch_connectors/src/connectors/moneris.rs:454-460 | crates/hyperswitch_connectors/src/connectors/moneris.rs:545-551 | crates/hyperswitch_connectors/src/connectors/moneris.rs:626-632 | crates/hyperswitch_connectors/src/connectors/moneris.rs:703-709 | crates/hyperswitch_connectors/src/connectors/moneris.rs:772-778 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:253-259 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:318-324 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:396-402 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:483-489 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:551-557 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:233-240 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:332-339 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:432-438 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:506-512 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:271-278 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:351-358 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:437-444 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:520-527 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:603-610 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:681-688 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:342-348 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:428-434 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:520-526 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:613-619 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:705-711 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:775-781 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:899-905 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1006-1012 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1105-1111 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:1178-1184 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:465-472 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:565-572 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:650-657 | crates/hyperswitch_connectors/src/connectors/nomupay.rs:734-741 | crates/hyperswitch_connectors/src/connectors/noon.rs:346-353 | crates/hyperswitch_connectors/src/connectors/noon.rs:418-425 | crates/hyperswitch_connectors/src/connectors/noon.rs:505-512 | crates/hyperswitch_connectors/src/connectors/noon.rs:583-590 | crates/hyperswitch_connectors/src/connectors/noon.rs:660-667 | crates/hyperswitch_connectors/src/connectors/noon.rs:743-750 | crates/hyperswitch_connectors/src/connectors/noon.rs:815-822 | crates/hyperswitch_connectors/src/connectors/nordea.rs:715-722 | crates/hyperswitch_connectors/src/connectors/nordea.rs:840-847 | crates/hyperswitch_connectors/src/connectors/nordea.rs:938-945 | crates/hyperswitch_connectors/src/connectors/nordea.rs:1018-1024 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:318-324 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:409-415 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:487-493 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:574-580 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:660-666 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:738-744 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:817-824 | crates/hyperswitch_connectors/src/connectors/opayo.rs:257-264 | crates/hyperswitch_connectors/src/connectors/opayo.rs:324-331 | crates/hyperswitch_connectors/src/connectors/opayo.rs:402-409 | crates/hyperswitch_connectors/src/connectors/opayo.rs:487-494 | crates/hyperswitch_connectors/src/connectors/opayo.rs:554-561 | crates/hyperswitch_connectors/src/connectors/opennode.rs:259-266 | crates/hyperswitch_connectors/src/connectors/opennode.rs:334-341 | crates/hyperswitch_connectors/src/connectors/payconex.rs:255-261 | crates/hyperswitch_connectors/src/connectors/payconex.rs:320-326 | crates/hyperswitch_connectors/src/connectors/payconex.rs:398-404 | crates/hyperswitch_connectors/src/connectors/payconex.rs:485-491 | crates/hyperswitch_connectors/src/connectors/payconex.rs:553-559 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:245-252 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:346-353 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:440-447 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:302-308 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:377-383 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:455-461 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:530-536 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:604-610 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:679-685 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:295-301 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:369-375 | crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs:477-483 | crates/hyperswitch_connectors/src/connectors/payload.rs:186-193 | crates/hyperswitch_connectors/src/connectors/payload.rs:419-426 | crates/hyperswitch_connectors/src/connectors/payload.rs:434-441 | crates/hyperswitch_connectors/src/connectors/payload.rs:527-534 | crates/hyperswitch_connectors/src/connectors/payload.rs:601-607 | crates/hyperswitch_connectors/src/connectors/payload.rs:693-699 | crates/hyperswitch_connectors/src/connectors/payload.rs:778-785 | crates/hyperswitch_connectors/src/connectors/payload.rs:870-877 | crates/hyperswitch_connectors/src/connectors/payload.rs:957-964 | crates/hyperswitch_connectors/src/connectors/payload.rs:1024-1030 | crates/hyperswitch_connectors/src/connectors/payload.rs:1121-1128 | crates/hyperswitch_connectors/src/connectors/payme.rs:266-273 | crates/hyperswitch_connectors/src/connectors/payme.rs:496-503 | crates/hyperswitch_connectors/src/connectors/payme.rs:597-604 | crates/hyperswitch_connectors/src/connectors/payme.rs:691-698 | crates/hyperswitch_connectors/src/connectors/payme.rs:777-784 | crates/hyperswitch_connectors/src/connectors/payme.rs:877-884 | crates/hyperswitch_connectors/src/connectors/payme.rs:968-975 | crates/hyperswitch_connectors/src/connectors/payme.rs:1058-1065 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:256-262 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:321-327 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:399-405 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:486-492 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:554-560 | crates/hyperswitch_connectors/src/connectors/paypal.rs:674-681 | crates/hyperswitch_connectors/src/connectors/paypal.rs:805-812 | crates/hyperswitch_connectors/src/connectors/paypal.rs:878-885 | crates/hyperswitch_connectors/src/connectors/paypal.rs:969-975 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1070-1076 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1430-1436 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1547-1553 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1830-1836 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2033-2039 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2106-2112 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2195-2201 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2262-2268 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2369-2375 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:183-190 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:402-409 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:523-529 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:538-544 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:551-557 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:640-647 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:718-724 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:809-815 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:901-907 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:992-998 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:1065-1071 | crates/hyperswitch_connectors/src/connectors/paystack.rs:247-253 | crates/hyperswitch_connectors/src/connectors/paystack.rs:322-328 | crates/hyperswitch_connectors/src/connectors/paystack.rs:400-406 | crates/hyperswitch_connectors/src/connectors/paystack.rs:487-493 | crates/hyperswitch_connectors/src/connectors/paystack.rs:565-571 | crates/hyperswitch_connectors/src/connectors/paytm.rs:245-251 | crates/hyperswitch_connectors/src/connectors/paytm.rs:310-316 | crates/hyperswitch_connectors/src/connectors/paytm.rs:388-394 | crates/hyperswitch_connectors/src/connectors/paytm.rs:475-481 | crates/hyperswitch_connectors/src/connectors/paytm.rs:543-549 | crates/hyperswitch_connectors/src/connectors/payu.rs:233-240 | crates/hyperswitch_connectors/src/connectors/payu.rs:321-328 | crates/hyperswitch_connectors/src/connectors/payu.rs:419-425 | crates/hyperswitch_connectors/src/connectors/payu.rs:602-608 | crates/hyperswitch_connectors/src/connectors/payu.rs:766-772 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:575-581 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:854-860 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:920-926 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:245-251 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:310-316 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:388-394 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:475-481 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:543-549 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:239-246 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:318-325 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:399-406 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:478-485 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:558-565 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:637-644 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:272-279 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:362-369 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:452-459 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:509-516 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:608-615 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:260-267 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:359-366 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:442-449 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:606-613 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:689-696 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:268-274 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:375-381 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:480-486 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:575-582 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:732-738 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:289-295 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:384-390 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:459-465 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:615-621 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:692-698 | crates/hyperswitch_connectors/src/connectors/redsys.rs:268-274 | crates/hyperswitch_connectors/src/connectors/redsys.rs:360-366 | crates/hyperswitch_connectors/src/connectors/redsys.rs:442-448 | crates/hyperswitch_connectors/src/connectors/redsys.rs:523-529 | crates/hyperswitch_connectors/src/connectors/redsys.rs:597-603 | crates/hyperswitch_connectors/src/connectors/redsys.rs:680-686 | crates/hyperswitch_connectors/src/connectors/redsys.rs:755-761 | crates/hyperswitch_connectors/src/connectors/redsys.rs:834-840 | crates/hyperswitch_connectors/src/connectors/redsys.rs:911-917 | crates/hyperswitch_connectors/src/connectors/santander.rs:224-231 | crates/hyperswitch_connectors/src/connectors/santander.rs:381-388 | crates/hyperswitch_connectors/src/connectors/santander.rs:838-845 | crates/hyperswitch_connectors/src/connectors/santander.rs:965-972 | crates/hyperswitch_connectors/src/connectors/santander.rs:1061-1068 | crates/hyperswitch_connectors/src/connectors/santander.rs:1675-1681 | crates/hyperswitch_connectors/src/connectors/santander.rs:1839-1845 | crates/hyperswitch_connectors/src/connectors/santander.rs:2093-2099 | crates/hyperswitch_connectors/src/connectors/santander.rs:2813-2820 | crates/hyperswitch_connectors/src/connectors/santander.rs:2963-2970 | crates/hyperswitch_connectors/src/connectors/santander.rs:2979-2986 | crates/hyperswitch_connectors/src/connectors/santander.rs:2993-3000 | crates/hyperswitch_connectors/src/connectors/shift4.rs:270-277 | crates/hyperswitch_connectors/src/connectors/shift4.rs:369-376 | crates/hyperswitch_connectors/src/connectors/shift4.rs:429-436 | crates/hyperswitch_connectors/src/connectors/shift4.rs:645-652 | crates/hyperswitch_connectors/src/connectors/shift4.rs:732-739 | crates/hyperswitch_connectors/src/connectors/shift4.rs:804-810 | crates/hyperswitch_connectors/src/connectors/sift.rs:253-259 | crates/hyperswitch_connectors/src/connectors/sift.rs:318-324 | crates/hyperswitch_connectors/src/connectors/sift.rs:396-402 | crates/hyperswitch_connectors/src/connectors/sift.rs:483-489 | crates/hyperswitch_connectors/src/connectors/sift.rs:551-557 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:138-144 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:359-365 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:435-441 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:519-525 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:604-610 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:689-695 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:766-772 | crates/hyperswitch_connectors/src/connectors/square.rs:269-276 | crates/hyperswitch_connectors/src/connectors/square.rs:356-363 | crates/hyperswitch_connectors/src/connectors/square.rs:435-442 | crates/hyperswitch_connectors/src/connectors/square.rs:510-517 | crates/hyperswitch_connectors/src/connectors/square.rs:588-595 | crates/hyperswitch_connectors/src/connectors/square.rs:658-665 | crates/hyperswitch_connectors/src/connectors/square.rs:737-744 | crates/hyperswitch_connectors/src/connectors/square.rs:807-814 | crates/hyperswitch_connectors/src/connectors/stax.rs:243-250 | crates/hyperswitch_connectors/src/connectors/stax.rs:328-335 | crates/hyperswitch_connectors/src/connectors/stax.rs:437-444 | crates/hyperswitch_connectors/src/connectors/stax.rs:513-520 | crates/hyperswitch_connectors/src/connectors/stax.rs:604-611 | crates/hyperswitch_connectors/src/connectors/stax.rs:675-682 | crates/hyperswitch_connectors/src/connectors/stax.rs:773-780 | crates/hyperswitch_connectors/src/connectors/stax.rs:844-851 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:333-339 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:398-404 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:476-482 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:565-571 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:633-639 | crates/hyperswitch_connectors/src/connectors/taxjar.rs:256-262 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:262-269 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:368-374 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:460-466 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:537-543 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:623-629 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:700-706 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:785-791 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:862-868 | crates/hyperswitch_connectors/src/connectors/thunes.rs:242-248 | crates/hyperswitch_connectors/src/connectors/thunes.rs:307-313 | crates/hyperswitch_connectors/src/connectors/thunes.rs:385-391 | crates/hyperswitch_connectors/src/connectors/thunes.rs:472-478 | crates/hyperswitch_connectors/src/connectors/thunes.rs:540-546 | crates/hyperswitch_connectors/src/connectors/tokenex.rs:257-263 | crates/hyperswitch_connectors/src/connectors/tokenex.rs:339-345 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:419-425 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:518-524 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:282-289 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:399-405 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:464-470 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:542-548 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:629-635 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:697-703 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:793-800 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:885-892 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:967-973 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:341-348 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:629-636 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:736-743 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:140-146 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:331-337 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:408-414 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:495-501 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:572-578 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:659-665 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:736-742 | crates/hyperswitch_connectors/src/connectors/tsys.rs:202-209 | crates/hyperswitch_connectors/src/connectors/tsys.rs:282-289 | crates/hyperswitch_connectors/src/connectors/tsys.rs:370-377 | crates/hyperswitch_connectors/src/connectors/tsys.rs:448-455 | crates/hyperswitch_connectors/src/connectors/tsys.rs:533-540 | crates/hyperswitch_connectors/src/connectors/tsys.rs:613-620 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:267-273 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:388-394 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:481-487 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:588-594 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:700-706 | crates/hyperswitch_connectors/src/connectors/vgs.rs:237-244 | crates/hyperswitch_connectors/src/connectors/vgs.rs:340-346 | crates/hyperswitch_connectors/src/connectors/vgs.rs:420-426 | crates/hyperswitch_connectors/src/connectors/volt.rs:274-281 | crates/hyperswitch_connectors/src/connectors/volt.rs:393-400 | crates/hyperswitch_connectors/src/connectors/volt.rs:468-475 | crates/hyperswitch_connectors/src/connectors/volt.rs:553-559 | crates/hyperswitch_connectors/src/connectors/volt.rs:643-650 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:427-433 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:659-665 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:766-772 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:850-856 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:983-989 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1104-1110 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1171-1177 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1280-1286 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1237-1243 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:255-261 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:320-326 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:398-404 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:487-493 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:555-561 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:437-443 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:517-523 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:951-957 | crates/hyperswitch_connectors/src/connectors/xendit.rs:409-415 | crates/hyperswitch_connectors/src/connectors/xendit.rs:655-661 | crates/hyperswitch_connectors/src/connectors/zen.rs:285-291 | crates/hyperswitch_connectors/src/connectors/zen.rs:356-362 | crates/hyperswitch_connectors/src/connectors/zen.rs:542-549 | crates/hyperswitch_connectors/src/connectors/zift.rs:134-140 | crates/hyperswitch_connectors/src/connectors/zift.rs:344-350 | crates/hyperswitch_connectors/src/connectors/zift.rs:419-425 | crates/hyperswitch_connectors/src/connectors/zift.rs:502-508 | crates/hyperswitch_connectors/src/connectors/zift.rs:577-583 | crates/hyperswitch_connectors/src/connectors/zift.rs:660-666 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/coingate.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 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, \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs:444\u0060 calls \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:242\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0339c9976265c92b4b08bcbea4513f169be054a8a46e886efe5c8a8ad6737be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 134): crates/hyperswitch_connectors/src/connectors/aci.rs:263-269 | crates/hyperswitch_connectors/src/connectors/aci.rs:360-366 | crates/hyperswitch_connectors/src/connectors/aci.rs:447-453 | crates/hyperswitch_connectors/src/connectors/aci.rs:548-554 | crates/hyperswitch_connectors/src/connectors/aci.rs:632-638 | crates/hyperswitch_connectors/src/connectors/aci.rs:731-737 | crates/hyperswitch_connectors/src/connectors/adyen.rs:690-697 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1053-1059 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1605-1611 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1834-1840 | crates/hyperswitch_connectors/src/connectors/adyen.rs:2536-2542 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:272-279 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:363-370 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:451-458 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:629-636 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:718-724 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:806-812 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:879-885 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:992-998 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:1064-1070 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:215-222 | crates/hyperswitch_connectors/src/connectors/bambora.rs:352-359 | crates/hyperswitch_connectors/src/connectors/bambora.rs:436-443 | crates/hyperswitch_connectors/src/connectors/bambora.rs:518-525 | crates/hyperswitch_connectors/src/connectors/bambora.rs:617-624 | crates/hyperswitch_connectors/src/connectors/bambora.rs:727-734 | crates/hyperswitch_connectors/src/connectors/bambora.rs:801-808 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:251-257 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:153-160 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:326-333 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:386-392 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:485-491 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:568-574 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:903-909 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:997-1003 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1084-1090 | crates/hyperswitch_connectors/src/connectors/checkout.rs:378-384 | crates/hyperswitch_connectors/src/connectors/checkout.rs:476-482 | crates/hyperswitch_connectors/src/connectors/checkout.rs:559-565 | crates/hyperswitch_connectors/src/connectors/checkout.rs:640-646 | crates/hyperswitch_connectors/src/connectors/checkout.rs:654-660 | crates/hyperswitch_connectors/src/connectors/checkout.rs:741-747 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:256-262 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:330-336 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2209-2215 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:281-288 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:363-369 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:442-448 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:512-519 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:599-605 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:673-679 | crates/hyperswitch_connectors/src/connectors/envoy.rs:168-174 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:312-319 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:312-318 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:551-557 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:690-696 | crates/hyperswitch_connectors/src/connectors/getnet.rs:450-456 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:239-246 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:325-332 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:428-435 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:538-545 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:719-726 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:812-819 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:904-911 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:977-984 | crates/hyperswitch_connectors/src/connectors/helcim.rs:626-633 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:396-402 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:469-475 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:577-583 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:651-657 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:289-295 | crates/hyperswitch_connectors/src/connectors/klarna.rs:277-284 | crates/hyperswitch_connectors/src/connectors/klarna.rs:390-396 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1200-1207 | crates/hyperswitch_connectors/src/connectors/mollie.rs:308-315 | crates/hyperswitch_connectors/src/connectors/mollie.rs:635-642 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:233-240 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:332-339 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:432-438 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:506-512 | crates/hyperswitch_connectors/src/connectors/noon.rs:815-822 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:227-233 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:391-397 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:474-480 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:560-566 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:743-750 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:820-827 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:908-915 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1083-1089 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:1165-1172 | crates/hyperswitch_connectors/src/connectors/opennode.rs:259-266 | crates/hyperswitch_connectors/src/connectors/opennode.rs:334-341 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:245-252 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:346-353 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:440-447 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1430-1436 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1547-1553 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:402-409 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:640-647 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:901-907 | crates/hyperswitch_connectors/src/connectors/payu.rs:233-240 | crates/hyperswitch_connectors/src/connectors/payu.rs:321-328 | crates/hyperswitch_connectors/src/connectors/payu.rs:419-425 | crates/hyperswitch_connectors/src/connectors/payu.rs:504-510 | crates/hyperswitch_connectors/src/connectors/payu.rs:602-608 | crates/hyperswitch_connectors/src/connectors/payu.rs:694-700 | crates/hyperswitch_connectors/src/connectors/payu.rs:766-772 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:268-274 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:375-381 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:480-486 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:575-582 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:701-707 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:732-738 | crates/hyperswitch_connectors/src/connectors/santander.rs:838-845 | crates/hyperswitch_connectors/src/connectors/santander.rs:965-972 | crates/hyperswitch_connectors/src/connectors/shift4.rs:270-277 | crates/hyperswitch_connectors/src/connectors/shift4.rs:369-376 | crates/hyperswitch_connectors/src/connectors/shift4.rs:429-436 | crates/hyperswitch_connectors/src/connectors/shift4.rs:645-652 | crates/hyperswitch_connectors/src/connectors/shift4.rs:732-739 | crates/hyperswitch_connectors/src/connectors/shift4.rs:804-810 | crates/hyperswitch_connectors/src/connectors/stax.rs:328-335 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:262-269 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:341-348 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:629-636 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:736-743 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:838-845 | crates/hyperswitch_connectors/src/connectors/volt.rs:553-559 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1280-1286 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1237-1243 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1160-1166 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1256-1262 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1353-1359 | crates/hyperswitch_connectors/src/connectors/xendit.rs:655-661 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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, \u0060crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:150\u0060 calls \u0060or_else\u0060, \u0060parse_struct\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:261\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f53b49768261c570983384b4ac14bc4a3c07c05868e38d7f6dce61bb6bee3b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 120): crates/hyperswitch_connectors/src/connectors/aci.rs:263-269 | crates/hyperswitch_connectors/src/connectors/aci.rs:360-366 | crates/hyperswitch_connectors/src/connectors/aci.rs:447-453 | crates/hyperswitch_connectors/src/connectors/aci.rs:548-554 | crates/hyperswitch_connectors/src/connectors/aci.rs:632-638 | crates/hyperswitch_connectors/src/connectors/aci.rs:731-737 | crates/hyperswitch_connectors/src/connectors/adyen.rs:690-697 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1053-1059 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1605-1611 | crates/hyperswitch_connectors/src/connectors/adyen.rs:1834-1840 | crates/hyperswitch_connectors/src/connectors/adyen.rs:2536-2542 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:272-279 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:363-370 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:451-458 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:629-636 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:718-724 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:806-812 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:879-885 | crates/hyperswitch_connectors/src/connectors/airwallex.rs:1064-1070 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:215-222 | crates/hyperswitch_connectors/src/connectors/bambora.rs:352-359 | crates/hyperswitch_connectors/src/connectors/bambora.rs:436-443 | crates/hyperswitch_connectors/src/connectors/bambora.rs:518-525 | crates/hyperswitch_connectors/src/connectors/bambora.rs:617-624 | crates/hyperswitch_connectors/src/connectors/bambora.rs:801-808 | crates/hyperswitch_connectors/src/connectors/billwerk.rs:251-257 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:153-160 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:326-333 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:386-392 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:485-491 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:568-574 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:903-909 | crates/hyperswitch_connectors/src/connectors/bluesnap.rs:1084-1090 | crates/hyperswitch_connectors/src/connectors/checkout.rs:378-384 | crates/hyperswitch_connectors/src/connectors/checkout.rs:476-482 | crates/hyperswitch_connectors/src/connectors/checkout.rs:559-565 | crates/hyperswitch_connectors/src/connectors/checkout.rs:640-646 | crates/hyperswitch_connectors/src/connectors/checkout.rs:654-660 | crates/hyperswitch_connectors/src/connectors/checkout.rs:741-747 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:256-262 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:330-336 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:2209-2215 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:281-288 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:363-369 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:442-448 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:512-519 | crates/hyperswitch_connectors/src/connectors/dlocal.rs:673-679 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:294-300 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:374-380 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:449-455 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:542-548 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:614-620 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:312-319 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:312-318 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:551-557 | crates/hyperswitch_connectors/src/connectors/getnet.rs:450-456 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:325-332 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:428-435 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:538-545 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:719-726 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:812-819 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:977-984 | crates/hyperswitch_connectors/src/connectors/helcim.rs:626-633 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:396-402 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:469-475 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:577-583 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:651-657 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:289-295 | crates/hyperswitch_connectors/src/connectors/klarna.rs:277-284 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1200-1207 | crates/hyperswitch_connectors/src/connectors/mollie.rs:308-315 | crates/hyperswitch_connectors/src/connectors/mollie.rs:635-642 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:233-240 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:332-339 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:432-438 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:506-512 | crates/hyperswitch_connectors/src/connectors/noon.rs:815-822 | crates/hyperswitch_connectors/src/connectors/opennode.rs:259-266 | crates/hyperswitch_connectors/src/connectors/opennode.rs:334-341 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:245-252 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:346-353 | crates/hyperswitch_connectors/src/connectors/payeezy.rs:440-447 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1430-1436 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1547-1553 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:402-409 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:640-647 | crates/hyperswitch_connectors/src/connectors/paysafe.rs:901-907 | crates/hyperswitch_connectors/src/connectors/payu.rs:233-240 | crates/hyperswitch_connectors/src/connectors/payu.rs:321-328 | crates/hyperswitch_connectors/src/connectors/payu.rs:419-425 | crates/hyperswitch_connectors/src/connectors/payu.rs:602-608 | crates/hyperswitch_connectors/src/connectors/payu.rs:766-772 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:268-274 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:375-381 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:480-486 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:575-582 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:732-738 | crates/hyperswitch_connectors/src/connectors/santander.rs:838-845 | crates/hyperswitch_connectors/src/connectors/santander.rs:965-972 | crates/hyperswitch_connectors/src/connectors/shift4.rs:270-277 | crates/hyperswitch_connectors/src/connectors/shift4.rs:369-376 | crates/hyperswitch_connectors/src/connectors/shift4.rs:429-436 | crates/hyperswitch_connectors/src/connectors/shift4.rs:645-652 | crates/hyperswitch_connectors/src/connectors/shift4.rs:732-739 | crates/hyperswitch_connectors/src/connectors/shift4.rs:804-810 | crates/hyperswitch_connectors/src/connectors/stax.rs:328-335 | crates/hyperswitch_connectors/src/connectors/stripe.rs:362-369 | crates/hyperswitch_connectors/src/connectors/stripe.rs:553-560 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1327-1334 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1576-1583 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1749-1756 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:262-269 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:341-348 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:629-636 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:736-743 | crates/hyperswitch_connectors/src/connectors/volt.rs:553-559 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1280-1286 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:1237-1243 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:490-497 | crates/hyperswitch_connectors/src/connectors/xendit.rs:655-661 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 115 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, \u0060crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:150\u0060 calls \u0060or_else\u0060, \u0060parse_struct\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:261\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adae807e4d1ad7c6fcdaacdbcd88f3b7303c5b0a82bf7bbd3060d8219d28ea7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 67): crates/analytics/src/api_event/metrics/api_count.rs:91-97 | crates/analytics/src/api_event/metrics/latency.rs:103-109 | crates/analytics/src/api_event/metrics/status_code_count.rs:88-94 | crates/analytics/src/auth_events/metrics/authentication_attempt_count.rs:138-144 | crates/analytics/src/auth_events/metrics/authentication_count.rs:125-131 | crates/analytics/src/auth_events/metrics/authentication_error_message.rs:143-149 | crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs:128-134 | crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs:129-135 | crates/analytics/src/auth_events/metrics/authentication_funnel.rs:135-141 | crates/analytics/src/auth_events/metrics/authentication_success_count.rs:129-135 | crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs:139-145 | crates/analytics/src/auth_events/metrics/challenge_flow_count.rs:131-137 | crates/analytics/src/auth_events/metrics/challenge_success_count.rs:136-142 | crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs:132-138 | crates/analytics/src/auth_events/metrics/frictionless_success_count.rs:136-142 | crates/analytics/src/disputes/metrics/dispute_status_metric.rs:103-109 | crates/analytics/src/disputes/metrics/sessionized_metrics/dispute_status_metric.rs:103-109 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_amount_disputed.rs:104-110 | crates/analytics/src/disputes/metrics/sessionized_metrics/total_dispute_lost_amount.rs:105-111 | crates/analytics/src/disputes/metrics/total_amount_disputed.rs:103-109 | crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs:104-110 | crates/analytics/src/frm/metrics/frm_blocked_rate.rs:99-105 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:101-107 | crates/analytics/src/payment_intents/metrics/payment_intent_count.rs:117-123 | crates/analytics/src/payment_intents/metrics/payment_processed_amount.rs:145-151 | crates/analytics/src/payment_intents/metrics/payments_success_rate.rs:121-127 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs:117-123 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_processed_amount.rs:147-153 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_distribution.rs:129-135 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/payments_success_rate.rs:130-136 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/smart_retried_amount.rs:142-148 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs:127-133 | crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs:122-128 | crates/analytics/src/payment_intents/metrics/smart_retried_amount.rs:134-140 | crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs:127-133 | crates/analytics/src/payment_intents/metrics/total_smart_retries.rs:122-128 | crates/analytics/src/payments/distribution/payment_error_message.rs:169-175 | crates/analytics/src/payments/metrics/avg_ticket_size.rs:131-137 | crates/analytics/src/payments/metrics/connector_success_rate.rs:126-132 | crates/analytics/src/payments/metrics/debit_routing.rs:137-143 | crates/analytics/src/payments/metrics/payment_count.rs:117-123 | crates/analytics/src/payments/metrics/payment_processed_amount.rs:131-137 | crates/analytics/src/payments/metrics/payment_success_count.rs:124-130 | crates/analytics/src/payments/metrics/retries_count.rs:121-127 | crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs:132-138 | crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs:127-133 | crates/analytics/src/payments/metrics/sessionized_metrics/debit_routing.rs:137-143 | crates/analytics/src/payments/metrics/sessionized_metrics/failure_reasons.rs:194-200 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs:118-124 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs:149-155 | crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs:125-131 | crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs:128-134 | crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs:121-127 | crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs:121-127 | crates/analytics/src/payments/metrics/success_rate.rs:120-126 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:159-165 | crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs:151-157 | crates/analytics/src/refunds/metrics/refund_count.rs:106-112 | crates/analytics/src/refunds/metrics/refund_processed_amount.rs:114-120 | crates/analytics/src/refunds/metrics/refund_success_count.rs:109-115 | crates/analytics/src/refunds/metrics/refund_success_rate.rs:104-110 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_count.rs:107-113 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:174-180 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_processed_amount.rs:122-128 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs:166-172 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_count.rs:109-115 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_success_rate.rs:104-110 \u2014 before extracting anything, compare \u0060crates/analytics/src/api_event/metrics/api_count.rs\u0060 and \u0060crates/analytics/src/api_event/metrics/latency.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 43 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/api_event/metrics/api_count.rs:91\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":"crates/analytics/src/api_event/metrics/api_count.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ee728ffbc198d653c380c7a775abfe3a2d0723cbe0f17cd66ebdcfc2606e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 61): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:595-601 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:617-623 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:928-934 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:226-232 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:348-354 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1164-1170 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:866-872 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:994-1000 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1500-1506 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1565-1571 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2047-2053 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2265-2271 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:122-128 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:244-250 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:429-435 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:123-129 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:650-656 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:173-179 | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs:90-96 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3004-3010 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3085-3091 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3875-3881 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4022-4028 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4110-4116 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:345-351 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:435-441 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:187-193 | crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:208-214 | crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs:617-623 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:151-157 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:113-119 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:262-268 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:453-459 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:183-189 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:292-298 | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs:216-222 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:143-149 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:221-227 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:547-553 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:764-770 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:649-655 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1816-1822 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:417-423 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:90-96 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:494-500 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:744-750 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:871-877 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1533-1539 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:160-166 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:144-150 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:387-393 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:198-204 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:327-333 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:137-143 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:297-303 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:111-117 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:229-235 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:262-268 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1389-1395 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:248-254 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:726-732 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:595\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, \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:592\u0060 calls \u0060GiftCard\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:491\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"298ed3ce2cc523c5f1a8b0928de29558cf9aa4953b71e611f50c4c4347a11214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 61): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:594-600 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:616-622 | crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs:927-933 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:225-231 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:347-353 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1163-1169 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:865-871 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:993-999 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1499-1505 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1564-1570 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2046-2052 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2264-2270 | crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:121-127 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:243-249 | crates/hyperswitch_connectors/src/connectors/bluesnap/transformers.rs:428-434 | crates/hyperswitch_connectors/src/connectors/boku/transformers.rs:122-128 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:649-655 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2764-2770 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:172-178 | crates/hyperswitch_connectors/src/connectors/cryptopay/transformers.rs:89-95 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3003-3009 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3084-3090 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3874-3880 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4021-4027 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4109-4115 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:344-350 | crates/hyperswitch_connectors/src/connectors/datatrans/transformers.rs:434-440 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:186-192 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:705-711 | crates/hyperswitch_connectors/src/connectors/forte/transformers.rs:150-156 | crates/hyperswitch_connectors/src/connectors/globepay/transformers.rs:112-118 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:261-267 | crates/hyperswitch_connectors/src/connectors/gocardless/transformers.rs:452-458 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:182-188 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:291-297 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1136-1142 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:220-226 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:546-552 | crates/hyperswitch_connectors/src/connectors/nexinets/transformers.rs:648-654 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1815-1821 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:855-861 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:416-422 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:89-95 | crates/hyperswitch_connectors/src/connectors/payeezy/transformers.rs:277-283 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:493-499 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:743-749 | crates/hyperswitch_connectors/src/connectors/payme/transformers.rs:870-876 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1532-1538 | crates/hyperswitch_connectors/src/connectors/placetopay/transformers.rs:159-165 | crates/hyperswitch_connectors/src/connectors/powertranz/transformers.rs:143-149 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:386-392 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:197-203 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:326-332 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:136-142 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:296-302 | crates/hyperswitch_connectors/src/connectors/tsys/transformers.rs:110-116 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:228-234 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:261-267 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:1388-1394 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:247-253 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:725-731 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs\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 14 separate duplicated blocks between them, totalling at least 128 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:222\u0060 calls \u0060MobilePayment\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:591\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b139c5dc3ee2a3abde07dcb9ea2e5235b20b844f0ff8112b26c9d554af7737d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 33): crates/hyperswitch_connectors/src/connectors/checkbook.rs:148-154 | crates/hyperswitch_connectors/src/connectors/citigate.rs:143-149 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:133-139 | crates/hyperswitch_connectors/src/connectors/d24.rs:144-150 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:150-157 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:172-178 | crates/hyperswitch_connectors/src/connectors/envoy.rs:249-255 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:162-168 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:141-147 | crates/hyperswitch_connectors/src/connectors/getnet.rs:155-161 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:142-148 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:153-159 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:136-142 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:141-147 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:146-152 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:152-158 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:176-182 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:195-201 | crates/hyperswitch_connectors/src/connectors/katapult.rs:144-150 | crates/hyperswitch_connectors/src/connectors/merchante.rs:162-168 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:144-150 | crates/hyperswitch_connectors/src/connectors/paybox.rs:151-157 | crates/hyperswitch_connectors/src/connectors/payconex.rs:143-149 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:144-150 | crates/hyperswitch_connectors/src/connectors/paytm.rs:136-142 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:136-142 | crates/hyperswitch_connectors/src/connectors/recurly.rs:354-360 | crates/hyperswitch_connectors/src/connectors/sift.rs:144-150 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:226-232 | crates/hyperswitch_connectors/src/connectors/thunes.rs:141-147 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:218-224 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:143-149 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:142-148 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/checkbook.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/citigate.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 119 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 \u0060crates/hyperswitch_connectors/src/connectors/checkbook.rs:148\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":"crates/hyperswitch_connectors/src/connectors/checkbook.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35d1d27f652e6902c175469057fb3df79ee5eeb4db2edde6fc0f55b7efa7012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 22): crates/hyperswitch_connectors/src/connectors/elavon.rs:211-217 | crates/hyperswitch_connectors/src/connectors/elavon.rs:288-294 | crates/hyperswitch_connectors/src/connectors/elavon.rs:374-380 | crates/hyperswitch_connectors/src/connectors/elavon.rs:470-476 | crates/hyperswitch_connectors/src/connectors/elavon.rs:546-552 | crates/hyperswitch_connectors/src/connectors/envoy.rs:168-174 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:690-696 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:267-273 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:365-371 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:611-617 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:696-702 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:787-793 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:881-887 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1048-1054 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1127-1133 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1437-1443 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:649-655 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:735-741 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:830-836 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1160-1166 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1256-1262 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:1353-1359 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/elavon.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/envoy.rs\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. 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, \u0060crates/hyperswitch_connectors/src/connectors/envoy.rs:175\u0060 calls \u0060change_context\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/elavon.rs:218\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":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e875825248abcd43f9e543e0203e1135e71c911d89a3015212b1672e9619ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 22): crates/router/src/services/authentication.rs:1550-1556 | crates/router/src/services/authentication.rs:1589-1595 | crates/router/src/services/authentication.rs:3801-3808 | crates/router/src/services/authentication.rs:3963-3969 | crates/router/src/services/authentication.rs:4003-4009 | crates/router/src/services/authentication.rs:4061-4067 | crates/router/src/services/authentication.rs:4100-4106 | crates/router/src/services/authentication.rs:4149-4155 | crates/router/src/services/authentication.rs:4189-4195 | crates/router/src/services/authentication.rs:4282-4288 | crates/router/src/services/authentication.rs:4476-4482 | crates/router/src/services/authentication.rs:4513-4519 | crates/router/src/services/authentication.rs:4751-4757 | crates/router/src/services/authentication.rs:4852-4858 | crates/router/src/services/authentication.rs:4948-4954 | crates/router/src/services/authentication.rs:5069-5075 | crates/router/src/services/authentication.rs:5159-5165 | crates/router/src/services/authentication.rs:5277-5283 | crates/router/src/services/authentication.rs:5360-5366 | crates/router/src/services/authentication.rs:5443-5450 | crates/router/src/services/authentication.rs:5481-5487 | crates/router/src/services/authentication.rs:5526-5532 \u2014 all 22 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, \u0060crates/router/src/services/authentication.rs:1559\u0060 calls \u0060Err\u0060, \u0060into\u0060 and \u0060crates/router/src/services/authentication.rs:5452\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b24e2bcc5498fc9786dd5b7d89cf12401a9931220981da074654993ac921b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 19): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:880-886 | crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:944-950 | crates/hyperswitch_connectors/src/connectors/braintree.rs:873-879 | crates/hyperswitch_connectors/src/connectors/checkout.rs:890-896 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:524-530 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:885-891 | crates/hyperswitch_connectors/src/connectors/nexinets.rs:584-590 | crates/hyperswitch_connectors/src/connectors/noon.rs:724-730 | crates/hyperswitch_connectors/src/connectors/opayo.rs:468-474 | crates/hyperswitch_connectors/src/connectors/payme.rs:949-955 | crates/hyperswitch_connectors/src/connectors/payu.rs:676-682 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:589-595 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1917-1923 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:819-825 | crates/hyperswitch_connectors/src/connectors/tsys.rs:514-520 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:454-460 | crates/hyperswitch_connectors/src/connectors/worldline.rs:590-596 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:557-563 | crates/hyperswitch_connectors/src/connectors/zen.rs:451-457 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:880\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"431f4279481c09b6fc677525b0b46440db9f74c8304481b75bf2b8bd405113df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 14): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:215-222 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:239-246 | crates/hyperswitch_connectors/src/connectors/finix.rs:417-424 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:402-408 | crates/hyperswitch_connectors/src/connectors/mollie.rs:366-373 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:323-330 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:299-306 | crates/hyperswitch_connectors/src/connectors/nuvei.rs:289-296 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:269-276 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:349-356 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:267-274 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:250-257 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:328-335 | crates/hyperswitch_connectors/src/connectors/zift.rs:116-123 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/datatrans.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 68 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 \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:215\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026SetupMandateRouterData\u0060 in one and \u0060\u0026RouterData\u003CSetupMandate, SetupMandateRequestData, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a31bf01d114bddf39ccc9795d9e0dfb8f0f9dcaeecce57ad162c74dadc6fad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3281-3288 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3417-3424 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3508-3515 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3592-3599 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3725-3732 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3816-3823 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3983-3990 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4083-4090 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:4170-4177 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6965-6972 \u2014 all 10 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, \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3427\u0060 calls \u0060get_address_info\u0060, \u0060get_optional_billing\u0060, \u0060and_then\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3290\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3281}}}],"partialFingerprints":{"codehealthFindingId/v1":"189a0415da0b24efb59af882fdc8d6b43d23809c039f4a483c2c8c39c71bf528"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): crates/router/src/analytics.rs:1321-1327 | crates/router/src/analytics.rs:1489-1495 | crates/router/src/analytics.rs:1558-1564 | crates/router/src/analytics.rs:2879-2885 | crates/router/src/analytics.rs:2995-3001 | crates/router/src/analytics.rs:3167-3173 | crates/router/src/analytics.rs:3238-3244 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/analytics.rs"},"region":{"startLine":1321}}}],"partialFingerprints":{"codehealthFindingId/v1":"763331d8803764e977e889c01f0e5dd704c95355bc485a3c1a01648fab6efd72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 6): crates/analytics/src/api_event/core.rs:98-104 | crates/analytics/src/disputes/core.rs:36-41 | crates/analytics/src/frm/core.rs:31-36 | crates/analytics/src/payment_intents/core.rs:78-84 | crates/analytics/src/payments/core.rs:58-64 | crates/analytics/src/refunds/core.rs:55-60 \u2014 \u0060crates/analytics/src/api_event/core.rs\u0060 and \u0060crates/analytics/src/disputes/core.rs\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/api_event/core.rs:98\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060GetApiEventMetricRequest\u0060 in one and \u0060GetDisputeMetricRequest\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":"crates/analytics/src/api_event/core.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3388287668af02b937acbf3178135377d7df9d01378a3e77dfdd12bc087ce2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/router/src/routes/blocklist.rs:213-219 | crates/router/src/routes/blocklist.rs:269-275 | crates/router/src/routes/blocklist.rs:504-510 | crates/router/src/routes/blocklist.rs:555-561 | crates/router/src/routes/blocklist.rs:608-614 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/blocklist.rs:213\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 \u0060query_payload\u0060 to \u0060web::Query\u003Capi_blocklist::BlocklistCountQuery\u003E\u0060 in one and \u0060web::Query\u003Capi_blocklist::BlocklistLookupQuery\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/blocklist.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2696c592590086eef7e78f05ef8fb885e06590b48a6ff46df1e421cabd1178a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/router/src/routes/payments.rs:1142-1148 | crates/router/src/routes/payments.rs:1460-1466 | crates/router/src/routes/payments.rs:1618-1624 | crates/router/src/routes/payments.rs:3357-3363 | crates/router/src/routes/poll.rs:38-44 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/routes/payments.rs:1142\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 \u0060req\u0060 to \u0060actix_web::HttpRequest\u0060 in one and \u0060HttpRequest\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 before the matched lines, \u0060crates/router/src/routes/payments.rs:1456\u0060 calls \u0060current\u0060, \u0060record\u0060, \u0060get_string_repr\u0060 and \u0060crates/router/src/routes/payments.rs:1137\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":"crates/router/src/routes/payments.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"768e2d9a25c07407b031577a7e245373d815f8c34fb0d5b5efee57e4d1b9fa01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/diesel_models/src/query/blocklist.rs:448-454 | crates/diesel_models/src/query/blocklist.rs:476-482 | crates/diesel_models/src/query/blocklist.rs:501-507 | crates/diesel_models/src/query/blocklist.rs:535-541 \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 \u0060crates/diesel_models/src/query/blocklist.rs:448\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"141d2302b6a782b4e9c288a1886674d72970ff0e987192c5420fb73d1b9a3bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/diesel_models/src/query/generics.rs:511-517 | crates/diesel_models/src/query/generics.rs:589-595 | crates/diesel_models/src/query/generics.rs:635-641 | crates/diesel_models/src/query/generics.rs:771-777 \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 \u0060crates/diesel_models/src/query/generics.rs:511\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":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffe31b33b6f97702c49694c6cefbfdd50513eb7621f2b0edef60aa942dce15b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1451-1457 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1591-1597 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1661-1667 | crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1836-1842 \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 \u0060crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:1451\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AciPaymentsResponse, Req, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, AciCaptureResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f7360669f36190867a7e077fb11e8a6a0b9eb6baf3bf61723cdb430d13dca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3254-3260 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3402-3407 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3799-3804 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6919-6925 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58a4df997328bab1b38e9f9e5e2099b9891b5627e8d8c81db6a6f88a37f9b56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:556-562 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:312-318 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:5614-5620 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:494-500 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:556\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"f019963af9a26014400206b671f50097afd343075162dafa6501aae777f06856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/paypal.rs:577-583 | crates/hyperswitch_connectors/src/connectors/paypal.rs:712-718 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:302-308 | crates/hyperswitch_connectors/src/connectors/vgs.rs:257-263 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/vgs.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:577\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6bedc643fd71c42edc69eac15822c53c84d2d0be7985ba9d39c7735a59ff72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/router/src/core/customers.rs:382-388 | crates/router/src/core/customers.rs:1516-1523 | crates/storage_impl/src/customers.rs:1584-1590 | crates/storage_impl/src/customers.rs:1871-1877 \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 \u0060crates/router/src/core/customers.rs:382\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":"crates/router/src/core/customers.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13a60a0e35bf98af650c2e80b6c3e032d8a2f1a3218b63f9fa4965bb3c481c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/router/src/core/payment_method_balance.rs:225-231 | crates/router/src/core/payment_method_balance.rs:407-413 | crates/router/src/core/payment_method_balance.rs:464-470 | crates/router/src/core/split_payments.rs:161-168 \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 \u0060crates/router/src/core/payment_method_balance.rs:225\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/router/src/core/payment_method_balance.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"3389287c3932267a2726c1ba014fe3daf4766963b257f328581ba159e0d676d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 4): crates/router/src/core/payment_methods/cards.rs:283-288 | crates/router/src/core/payment_methods/transformers.rs:496-502 | crates/router/src/core/payments/tokenization.rs:1561-1566 | crates/router/src/core/payments/tokenization.rs:1669-1674 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/payments/tokenization.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods/transformers.rs:496\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payment_methods/cards.rs:281\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payments/tokenization.rs:1559\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c9fea7e7be8a6778b919ae22f73042f90eafe8ce59ab988c9394490ce34e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/router/src/core/payments/helpers.rs:5988-5994 | crates/router/src/core/payments/helpers.rs:6137-6143 | crates/router/src/core/payments/helpers.rs:6575-6581 | crates/router/src/core/payments/helpers.rs:6689-6695 \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 \u0060crates/router/src/core/payments/helpers.rs:5988\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5988}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca75f1ce8363e06b95837c43a1cbb2f36a6e03fe1eea9f222540b148ec9cde5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/router/src/core/user.rs:113-120 | crates/router/src/core/user.rs:343-350 | crates/router/src/core/user.rs:399-406 | crates/router/src/core/user.rs:1204-1210 \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 \u0060crates/router/src/core/user.rs:113\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, \u0060crates/router/src/core/user.rs:1202\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/user.rs:111\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":"crates/router/src/core/user.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5646ca14a5c5de442edc89b706ec83c9c109ca6bdbedddc3532cf1e153509a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/router/src/types/storage/refund.rs:165-171 | crates/router/src/types/storage/refund.rs:246-252 | crates/router/src/types/storage/refund.rs:325-331 | crates/router/src/types/storage/refund.rs:565-571 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/types/storage/refund.rs:173\u0060 calls \u0060apply_pagination\u0060 and \u0060crates/router/src/types/storage/refund.rs:333\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6621dfca4631f5d9bac9132383332e2e8fa2236a42ec686da1cfd8e7fdbf28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/adyen.rs:2382-2388 | crates/hyperswitch_connectors/src/connectors/checkout.rs:1232-1238 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2637-2643 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 182 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:2382\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de46a1c5e1eb6aadae51e40945362d45a5a850cd8bd91411a218d41c0ca82b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1594-1599 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1778-1783 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1821-1827 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1783\u0060 calls \u0060from\u0060, \u0060Some\u0060, \u0060try_from\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1827\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d96006c0e62bc28dc3823da3bd75dcd2502039c009f67337c10eb360d2229f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/redsys.rs:484-490 | crates/hyperswitch_connectors/src/connectors/redsys.rs:561-567 | crates/hyperswitch_connectors/src/connectors/redsys.rs:722-728 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/redsys.rs:484\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 \u0060req\u0060 to \u0060\u0026PaymentsCompleteAuthorizeRouterData\u0060 in one and \u0060\u0026PaymentsCaptureRouterData\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":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57f763b37ff76dfce317a60ddc5bececca0057b22008065b3ce2faa7c929207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/utils.rs:905-911 | crates/hyperswitch_connectors/src/utils.rs:1999-2005 | crates/hyperswitch_connectors/src/utils.rs:2158-2164 \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 \u0060crates/hyperswitch_connectors/src/utils.rs:905\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee254a133f62e4ca1e67692fdf9facb0a1e86fe14931230069d638f486ca18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/router/src/analytics.rs:2016-2022 | crates/router/src/analytics.rs:2060-2066 | crates/router/src/analytics.rs:2092-2098 \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 \u0060crates/router/src/analytics.rs:2016\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":"crates/router/src/analytics.rs"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60997b9adf836c9dc32383745e17e6d2d9b5bee579dce19ad54c53bc88d710c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/router/src/core/configs/dimension_state.rs:282-288 | crates/router/src/core/configs/dimension_state.rs:303-309 | crates/router/src/core/configs/dimension_state.rs:435-441 \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 \u0060crates/router/src/core/configs/dimension_state.rs:282\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":"crates/router/src/core/configs/dimension_state.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf97883f2d21d30cbf94511b5b9f9dada676d2890a96afb32fd6aa18ef842e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/router/src/core/mandate/utils.rs:44-50 | crates/router/src/core/utils.rs:2076-2082 | crates/router/src/core/webhooks/utils.rs:95-101 \u2014 before extracting anything, compare \u0060crates/router/src/core/mandate/utils.rs\u0060 and \u0060crates/router/src/core/utils.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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, \u0060crates/router/src/core/utils.rs:2083\u0060 calls \u0060get_metadata\u0060, \u0060get_connector_wallets_details\u0060 and \u0060crates/router/src/core/mandate/utils.rs:51\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":"crates/router/src/core/mandate/utils.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"761ca6e862255351bfb238aeef23b3081a2f233aff92673b0dd1f1006ad6f329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/router/src/core/payment_methods.rs:4237-4243 | crates/router/src/core/payment_methods/cards.rs:2679-2685 | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs: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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payment_methods.rs:4237\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":4237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac534b658d7c61303525fc0fd9cd87dd3feee1f7c0468771ad7ea8977639563"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/router/src/core/user.rs:110-116 | crates/router/src/core/user.rs:396-402 | crates/router/src/core/user.rs:2247-2253 \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 \u0060crates/router/src/core/user.rs:110\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":"crates/router/src/core/user.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a59d14bc4aec63c17c52b8b4b56bf3882114b12af15b97580e6816bf9c73a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/router/src/routes/routing.rs:63-69 | crates/router/src/routes/routing.rs:163-169 | crates/router/src/routes/routing.rs:490-496 \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 \u0060crates/router/src/routes/routing.rs: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":"crates/router/src/routes/routing.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f52633b647f6a14ef7cf0cebaa96238ed2cab89047b012e7c90776a6352c33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): crates/analytics/src/query.rs:176-190 | crates/analytics/src/query.rs:202-217 \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":"crates/analytics/src/query.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a94da7f1807214d58c19d281551a903307cef3c7b737537654bdff0003b56b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2446-2452 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4688-4694 \u2014 before extracting anything, compare \u0060crates/api_models/src/payment_methods.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 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 \u0060crates/api_models/src/payment_methods.rs:2446\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 \u0060item\u0060 to \u0060CardDetail\u0060 in one and \u0060payment_methods::CardDetail\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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2446}}}],"partialFingerprints":{"codehealthFindingId/v1":"23191af5db76d17824db3c4c36147877202ab5d32f9dd73b8517f076b16c24e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/api_models/src/payments.rs:4083-4089 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4064-4070 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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 \u0060crates/api_models/src/payments.rs:4083\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":"crates/api_models/src/payments.rs"},"region":{"startLine":4083}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5dd53401957441a6a9260503a4eb2cd3efb0039d84a329d485cb5926ee9a53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/api_models/src/payments.rs:8876-8882 | crates/router/src/core/payments/transformers.rs:2800-2806 \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":"crates/api_models/src/payments.rs"},"region":{"startLine":8876}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eeeb4dd14c11f5eb221b99477f5f234d28749c9406acd86c5d73aa8d0b1c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:200-206 | crates/diesel_models/src/query/blocklist.rs:225-231 \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 \u0060crates/diesel_models/src/query/blocklist.rs:200\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"deea167c02264c5cc04852614d0c1ecd2c588771f7f255da57a535355d608fe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:401-407 | crates/diesel_models/src/query/blocklist.rs:426-432 \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 \u0060crates/diesel_models/src/query/blocklist.rs:401\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41680f02d4b8d662b81c99fff9d9120ad00dd434fef65ce43db1236ec77b92d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:604-610 | crates/diesel_models/src/query/blocklist.rs:622-628 \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 \u0060crates/diesel_models/src/query/blocklist.rs:604\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f0edbef3f836d2eea738fc8947317dc372b94d1ed4461bde3d95461195b67c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:1058-1064 | crates/diesel_models/src/query/blocklist.rs:1083-1089 \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 \u0060crates/diesel_models/src/query/blocklist.rs:1058\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4a9b6bd6e4aa33473455461d1d1e2ca4754b828d031944145ff1403ad3902a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:1139-1145 | crates/diesel_models/src/query/blocklist.rs:1164-1170 \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 \u0060crates/diesel_models/src/query/blocklist.rs:1139\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6bd03d6cfb9ec8aac181f98f6b80f72613fec38284cdbdbef05703fea60668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2242-2248 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4084-4090 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2242\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 \u0060item\u0060 to \u0060\u0026BarclaycardRouterData\u003C\u0026PaymentsCompleteAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026CybersourceRouterData\u003C\u0026PaymentsCompleteAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4091\u0060 calls \u0060Wallet\u0060, \u0060GooglePay\u0060, \u0060try_from\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2249\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5640697397c7df68d498182683a2222a6d20387665896aabd047345df778f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:1183-1218 | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs:277-312 \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":"crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f898dd09aa7ba89796083fa5d49ccd6ea25923b2c02657b276a3f33d38aa7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:1046-1052 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:1091-1097 \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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd64c184f5cd4fa0105b4abc3f7a21a790dd000da2f5fab10b64246c5c89e59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:792-798 | crates/hyperswitch_connectors/src/connectors/prophetpay/transformers.rs:279-284 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:792\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":"crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"4877787b73ada88f44e8cd10055677747a8fb02de9476755427165770bc3703f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gigadat.rs:151-157 | crates/hyperswitch_connectors/src/connectors/gigadat.rs:502-509 \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 \u0060crates/hyperswitch_connectors/src/connectors/gigadat.rs:151\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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3301ae37a8d482ece414966b8563c2f3426db4fb97a2bf7b8c34aa39accbed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/klarna.rs:821-827 | crates/hyperswitch_connectors/src/connectors/klarna.rs:1112-1118 \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 \u0060crates/hyperswitch_connectors/src/connectors/klarna.rs:821\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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11fc8679706406a2be60b23d34b8e580e32461aa13f3c7cfa6945289c80bef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:592-598 | crates/hyperswitch_connectors/src/connectors/noon/transformers.rs:168-174 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/noon/transformers.rs\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 13 separate duplicated blocks between them, totalling at least 118 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:592\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":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaf070a1725340607e1358bb48bb4c8138bd245c65e8f2c35e71b89c9fd7311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:231-237 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:259-265 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:231\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 \u0060item\u0060 to \u0060\u0026PaypalRouterData\u003C\u0026PaymentsPostSessionTokensRouterData\u003E\u0060 in one and \u0060\u0026PaypalRouterData\u003C\u0026SdkSessionUpdateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"65086fdddd224cf0a623717982ed34e025b3492f064e93434dd95340c165402d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1725-1731 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1742-1748 \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 \u0060crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1725\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 \u0060item\u0060 to \u0060\u0026RedsysRouterData\u003C\u0026PaymentsCancelRouterData\u003E\u0060 in one and \u0060\u0026RedsysRouterData\u003C\u0026RefundsRouterData\u003CF\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"894b38b83ec65a0871b333aea2173e5bcf67bc1b82eadfe5a92bffe74053d598"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe.rs:1848-1854 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2044-2050 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs:1848\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 \u0060req\u0060 to \u0060\u0026RefundsRouterData\u003CExecute\u003E\u0060 in one and \u0060\u0026RouterData\u003CRSync, RefundsData, RefundsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b8062c90956f4a4a3662d1f2b1e8cb5a5b6f437a4b13211d3224c7d903df50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/trustpay.rs:699-705 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:804-810 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustpay.rs:699\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 \u0060req\u0060 to \u0060\u0026PaymentsAuthorizeRouterData\u0060 in one and \u0060\u0026RefundsRouterData\u003CExecute\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/trustpay.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84eab1c9b764e30df7ce981275fb4c3bdeb1e7f7c2fea71773f9dcdb45fb78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2235-2241 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2332-2338 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:2235\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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs"},"region":{"startLine":2235}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d648d946ef809d250d1454f8b4f81157bc4bee2ca49971724af8296c0fd8f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_domain_models/src/type_encryption.rs:325-331 | crates/hyperswitch_domain_models/src/type_encryption.rs:562-568 \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 \u0060crates/hyperswitch_domain_models/src/type_encryption.rs:325\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":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eec430c221da0b4d081409bfdf94b6bbf37e55e2a2a25061883bdb2f13b77b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/configs/dimension_state.rs:158-164 | crates/router/src/core/configs/dimension_state.rs:323-329 \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":"crates/router/src/core/configs/dimension_state.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dc933b49d424c4efdfc2742a938a6df355fde4a9d7d0683882794ba8644474"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/configs/dimension_state.rs:304-310 | crates/router/src/core/configs/dimension_state.rs:322-328 \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":"crates/router/src/core/configs/dimension_state.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fc399b4874390cbe55e153007fa66822295d808aa8307259d950bc2077c965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/customers.rs:258-264 | crates/router/src/core/payouts/helpers.rs:1036-1043 \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 \u0060crates/router/src/core/customers.rs:258\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":"crates/router/src/core/customers.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f207ebfbc61cc4b92bc96a7da134b37805d5c42145be2b67bd38711d98c7053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/fraud_check/flows/checkout_flow.rs:90-96 | crates/router/src/core/payments/transformers.rs:939-945 \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 \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:90\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":"crates/router/src/core/fraud_check/flows/checkout_flow.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9d429a1eb152bde500f6c0d8e9cae2f23255faefbfeccad6df301047a6b3ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/merchant_connector_webhook_management/transformers.rs:79-85 | crates/router/src/core/merchant_connector_webhook_management/transformers.rs:161-167 \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 \u0060crates/router/src/core/merchant_connector_webhook_management/transformers.rs:79\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":"crates/router/src/core/merchant_connector_webhook_management/transformers.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"25855cf24b13ac2d8e37305f1209fea6218c347d8b55b55f4222519f3e3ae488"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/payment_methods.rs:5481-5487 | crates/router/src/core/payment_methods.rs:5499-5505 \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 \u0060crates/router/src/core/payment_methods.rs:5481\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5481}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb0e2f82625ac1d05ec5a1e6abe8c850cb2b96586cc652ff4150bed0d5370e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/payments/filters.rs:152-158 | crates/router/src/core/payments/filters.rs:281-287 \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 \u0060crates/router/src/core/payments/filters.rs:152\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":"crates/router/src/core/payments/filters.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe46da869f146fa42fb0bdb900f38e43fdf94e865ac618b5efc65e66043061b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/payments/flows/session_flow.rs:267-273 | crates/router/src/core/verification.rs:48-54 \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 \u0060crates/router/src/core/payments/flows/session_flow.rs:267\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":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"9651b6ab3d0c7e32947d9e38bba93c7f321454083c368d911e5121248178c668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:481-487 | crates/router/src/core/payments/operations/payment_status.rs:625-631 \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, \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:480\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payments/operations/payment_status.rs:624\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":"crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca283bb193c5e07e8819c99ab7c53516aa40ff1b17e1c8db8fd8a4593e01e061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/payments/tokenization.rs:1388-1394 | crates/router/src/core/payments/tokenization.rs:1657-1663 \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 \u0060crates/router/src/core/payments/tokenization.rs:1388\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae894b1b447998a38d47425a8516121659603263f6499078b101e59accc4393"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/payments/transformers.rs:455-461 | crates/router/src/core/payments/transformers.rs:5899-5907 \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 \u0060crates/router/src/core/payments/transformers.rs:5899\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfa00c1e20853ceb0f9bee4ba42c5c824d889148b43bf97142ff9a43c236914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/payouts.rs:1355-1361 | crates/router/src/core/payouts.rs:1465-1471 \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 \u0060crates/router/src/core/payouts.rs:1355\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d34ee37f61a53e0170955473542e096d7e7961681cdc45a754ef1fa48f53ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/relay.rs:268-274 | crates/router/src/core/relay.rs:403-409 \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 \u0060crates/router/src/core/relay.rs:268\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":"crates/router/src/core/relay.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ca556a250fdcf4ec00adf32591f7e845118c8c354f1f41417ddf5cc0855e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:2007-2016 | crates/router/src/core/unified_connector_service.rs:2047-2056 \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 \u0060crates/router/src/core/unified_connector_service.rs:2007\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, \u0060crates/router/src/core/unified_connector_service.rs:2005\u0060 calls \u0060Some\u0060, \u0060expose\u0060, \u0060into\u0060 and \u0060crates/router/src/core/unified_connector_service.rs:2045\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"71073e05023e97fb9cdbe21548fd58f672f78668fb4a8c9300a80da9ae6399c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:2874-2880 | crates/router/src/core/unified_connector_service.rs:2890-2896 \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 \u0060crates/router/src/core/unified_connector_service.rs:2874\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":2874}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d18e9d862ea9ea88d43c0f396bc3b0a0e7ce390518b15b977e5220b9cf2404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/routes/app.rs:2434-2440 | crates/router/src/routes/app.rs:2449-2455 \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 \u0060crates/router/src/routes/app.rs:2434\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":"crates/router/src/routes/app.rs"},"region":{"startLine":2434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a672f7d875bd8056d8b8a749d675dac10b23ae8c3274982a6a1b6401d8353666"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/types/domain/types.rs:25-31 | crates/router/src/types/domain/types.rs:50-56 \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 \u0060crates/router/src/types/domain/types.rs:25\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":"crates/router/src/types/domain/types.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa0348d765c111ce5f36e9ef8eabfc3aa4ba1b75bb32456fb9c53a7c9e7e2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/types/storage/dispute.rs:197-204 | crates/router/src/types/storage/refund.rs:271-277 \u2014 before extracting anything, compare \u0060crates/router/src/types/storage/dispute.rs\u0060 and \u0060crates/router/src/types/storage/refund.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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 \u0060crates/router/src/types/storage/dispute.rs:197\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/types/storage/dispute.rs:205\u0060 calls \u0060filter\u0060, \u0060eq_any\u0060, \u0060clone\u0060 and \u0060crates/router/src/types/storage/refund.rs:277\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":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0b8c656dbcd4f68a280c818eb1c457789232dca966478280a0c952137b4f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/utils/user/dashboard_metadata.rs:642-648 | crates/router/src/utils/user/dashboard_metadata.rs:840-846 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/utils/user/dashboard_metadata.rs:847\u0060 calls \u0060get_payment_advanced_view_filters\u0060 and \u0060crates/router/src/utils/user/dashboard_metadata.rs:649\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":"crates/router/src/utils/user/dashboard_metadata.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea85993439606907f56a62e340e4646a60b85f66d703172eab89031dc508a7d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): crates/router_derive/src/macros/schema.rs:14-19 | crates/router_derive/src/macros/xss_validation.rs:126-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 \u0060crates/router_derive/src/macros/schema.rs:14\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/schema.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2c8bb83a88e114c6734607c4d5d7b751ed5804594e8e3f0dfbb9940c7f8214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/smithy/src/lib.rs:195-201 | crates/smithy/src/lib.rs:747-753 \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 \u0060crates/smithy/src/lib.rs:195\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":"crates/smithy/src/lib.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f56ad7dac6ad37e4d8ba9c19eb2fcab4a62370f487c83d027a0bf1b6b8d781"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/smithy/src/lib.rs:1146-1152 | crates/smithy/src/lib.rs:1244-1250 \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 \u0060crates/smithy/src/lib.rs:1146\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":"crates/smithy/src/lib.rs"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0593e814a0ef203e16f92b8d1bef79daed98a4bcd9af4cd7f2eb4bd4856c9957"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 11): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:153-158 | crates/hyperswitch_connectors/src/connectors/braintree.rs:207-212 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:202-208 | crates/hyperswitch_connectors/src/connectors/noon.rs:203-208 | crates/hyperswitch_connectors/src/connectors/payme.rs:164-169 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:151-156 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:214-219 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:178-183 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1593-1598 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1635-1640 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:218-223 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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 \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:153\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef6e754d79a0810b9c4ae533bbb8bcb695360440cbab7ef3a8e2e9fe7716f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10): crates/analytics/src/sqlx.rs:571-577 | crates/analytics/src/sqlx.rs:679-685 | crates/analytics/src/sqlx.rs:810-816 | crates/analytics/src/sqlx.rs:947-953 | crates/analytics/src/sqlx.rs:1063-1069 | crates/analytics/src/sqlx.rs:1170-1176 | crates/analytics/src/sqlx.rs:1254-1260 | crates/analytics/src/sqlx.rs:1300-1306 | crates/analytics/src/sqlx.rs:1388-1394 | crates/analytics/src/sqlx.rs:1423-1429 \u2014 all 10 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 \u0060crates/analytics/src/sqlx.rs:571\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"e759f6b0a97942b7131593391267ce0bcbfd49e09a05c0920388fa4a653917c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): crates/analytics/src/sqlx.rs:246-252 | crates/analytics/src/sqlx.rs:597-603 | crates/analytics/src/sqlx.rs:644-650 | crates/analytics/src/sqlx.rs:759-765 | crates/analytics/src/sqlx.rs:887-893 | crates/analytics/src/sqlx.rs:1106-1112 | crates/analytics/src/sqlx.rs:1317-1323 | crates/analytics/src/sqlx.rs:1436-1442 \u2014 all 8 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 \u0060crates/analytics/src/sqlx.rs: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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd15537eec070953f6887d3b045f6c9fa501c6cb7bbb90378377a1efac14fff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): crates/analytics/src/sqlx.rs:580-586 | crates/analytics/src/sqlx.rs:707-713 | crates/analytics/src/sqlx.rs:838-844 | crates/analytics/src/sqlx.rs:975-981 | crates/analytics/src/sqlx.rs:1059-1065 | crates/analytics/src/sqlx.rs:1166-1172 | crates/analytics/src/sqlx.rs:1263-1269 | crates/analytics/src/sqlx.rs:1309-1315 \u2014 all 8 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 \u0060crates/analytics/src/sqlx.rs:580\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8f88f3692a4636809489bb28030fe2dbfb749489ad13306e3a6d6665b90171"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): crates/router/src/types/storage/dispute.rs:82-88 | crates/router/src/types/storage/dispute.rs:149-154 | crates/router/src/types/storage/dispute.rs:213-218 | crates/router/src/types/storage/refund.rs:133-139 | crates/router/src/types/storage/refund.rs:214-220 | crates/router/src/types/storage/refund.rs:293-299 | crates/router/src/types/storage/refund.rs:533-539 | crates/router/src/types/storage/refund.rs:602-608 \u2014 before extracting anything, compare \u0060crates/router/src/types/storage/dispute.rs\u0060 and \u0060crates/router/src/types/storage/refund.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 46 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060refund_list_details\u0060 to \u0060\u0026refunds::RefundListConstraints\u0060 in one and \u0060refunds::RefundListConstraints\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":"crates/router/src/types/storage/dispute.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed36a322caea952cb21f2067c05aaf9d1a86abd386e4b6051fe91cbbc9e05d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): crates/diesel_models/src/query/blocklist.rs:116-121 | crates/diesel_models/src/query/blocklist.rs:146-151 | crates/diesel_models/src/query/blocklist.rs:302-307 | crates/diesel_models/src/query/blocklist.rs:336-341 | crates/diesel_models/src/query/blocklist.rs:807-812 | crates/diesel_models/src/query/blocklist.rs:830-835 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/diesel_models/src/query/blocklist.rs:116\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d83254a9570c275e20fca409251a914a8ea6d55f94cc7f177e9d85c46cd5ee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3027-3032 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3253-3258 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3401-3406 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3798-3803 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:6918-6923 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3027}}}],"partialFingerprints":{"codehealthFindingId/v1":"3854477fa4fb4ccb743e82809cef49f6819e4f81aed01ba561dbbe0ca473be1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:166-171 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:177-182 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:347-352 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:178-183 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:312-317 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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, \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:353\u0060 calls \u0060get_http_method\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:172\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c45e69c35451af9515c884f569eac9999b67db8b2aea6e0507aa74f0d3648ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/router/src/core/payment_methods/cards.rs:282-287 | crates/router/src/core/payment_methods/transformers.rs:495-500 | crates/router/src/core/payment_methods/transformers.rs:521-526 | crates/router/src/core/payments/tokenization.rs:1560-1565 | crates/router/src/core/payments/tokenization.rs:1668-1673 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/payments/tokenization.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payment_methods/cards.rs:281\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payments/tokenization.rs:1559\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d97a6ed10f62fecac16c2a3e80cacb41f9e4651e15c2d8101825531a09376f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/router/src/core/user.rs:302-307 | crates/router/src/core/user.rs:1522-1527 | crates/router/src/core/user.rs:1628-1633 | crates/router/src/core/user.rs:2319-2324 | crates/router/src/core/user_role.rs:513-518 \u2014 before extracting anything, compare \u0060crates/router/src/core/user.rs\u0060 and \u0060crates/router/src/core/user_role.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/router/src/core/user.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb23db6eeb8e9dc434a70add2604cd36429cb6d63b7290b23eae08ce0e3457e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): crates/smithy/src/lib.rs:129-134 | crates/smithy/src/lib.rs:416-422 | crates/smithy/src/lib.rs:535-540 | crates/smithy/src/lib.rs:651-656 | crates/smithy/src/lib.rs:819-824 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/smithy/src/lib.rs:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"crates/smithy/src/lib.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"0956dbb7bfa9356a92096e527ca4a3c60d67ecd1ca74075540aedb48afa5d5cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:300-305 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:411-416 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:489-494 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:572-577 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"2760f521dc133033d1394418728cdd6ee321e7c7d238e13fc3a957ab5b94bc8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/router/src/core/relay.rs:167-172 | crates/router/src/core/relay.rs:299-304 | crates/router/src/core/relay.rs:435-441 | crates/router/src/core/relay.rs:571-576 \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 \u0060crates/router/src/core/relay.rs:167\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":"crates/router/src/core/relay.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"683fbe954c6588fae379dc1d95dfe2515e9136023b8ee88571e123c92b8024a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): crates/router_derive/src/macros/api_error.rs:69-74 | crates/router_derive/src/macros/api_error.rs:100-105 | crates/router_derive/src/macros/api_error.rs:128-133 | crates/router_derive/src/macros/api_error.rs:172-177 \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 \u0060crates/router_derive/src/macros/api_error.rs:69\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":"crates/router_derive/src/macros/api_error.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de315701b306bd86df9f9dac6ee145582f7d0f7884ac5e12c32bde403f9957a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/analytics/src/sqlx.rs:221-227 | crates/analytics/src/sqlx.rs:406-412 | crates/analytics/src/sqlx.rs:891-897 \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 \u0060crates/analytics/src/sqlx.rs:221\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"177d562d9e2ecf43848f8c8d0e5d27cfe400b778c4eae434aa5037164c78c30f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/analytics/src/sqlx.rs:731-737 | crates/analytics/src/sqlx.rs:895-901 | crates/analytics/src/sqlx.rs:999-1005 \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 \u0060crates/analytics/src/sqlx.rs:731\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"970e7dc0d858b006f6723ee91ecc9aea54efedbdb17024dd990f946a79114fac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/diesel_models/src/query/generics.rs:724-729 | crates/diesel_models/src/query/generics.rs:818-823 | crates/diesel_models/src/query/generics.rs:862-867 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d63c02b1c418655316226cd8a101a831fc010082c7b7df022e46b46edf1db34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/router/src/core/files.rs:47-52 | crates/router/src/core/refunds_v2.rs:1302-1307 | crates/router/src/core/routing.rs:564-569 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/files.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/files.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9b3e3174b5f18f2423e63a3e3357954b6b1961c5b4481f665bb00a29948338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/router/src/core/files.rs:47-52 | crates/router/src/core/refunds.rs:1863-1868 | crates/router/src/core/refunds_v2.rs:1302-1307 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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 \u0060crates/router/src/core/files.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/files.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"390fc69da970c81f7f9f4793cec8f35be637c086168ace41840b36ee60dd4766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/router/src/core/payment_methods/transformers.rs:494-499 | crates/router/src/core/payment_methods/transformers.rs:520-525 | crates/router/src/core/payment_methods/transformers.rs:611-616 \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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a8d3038f933c088474e43532bece862f47e725ed3f00373c7da0c0b0db5564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/router/src/core/refunds.rs:2713-2718 | crates/router/src/workflows/dispute_list.rs:186-191 | crates/router/src/workflows/process_dispute.rs:192-197 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/workflows/process_dispute.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2713}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f001b25effc513374010fe4db6f595779f45deb7a14f55af69ae85a410f349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/analytics/src/payments/accumulator.rs:409-414 | crates/analytics/src/refunds/accumulator.rs:182-187 \u2014 \u0060crates/analytics/src/payments/accumulator.rs\u0060 and \u0060crates/analytics/src/refunds/accumulator.rs\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 5 separate duplicated blocks between them, totalling at least 30 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payments/accumulator.rs:409\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 \u0060metrics\u0060 to \u0060\u0026PaymentMetricRow\u0060 in one and \u0060\u0026RefundMetricRow\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":"crates/analytics/src/payments/accumulator.rs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24b2d0e59a0c8a4b4c56934f7db1ecd4e28776f749bcd495e43b2a2002037ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/analytics/src/sqlx.rs:241-246 | crates/analytics/src/sqlx.rs:421-426 \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 \u0060crates/analytics/src/sqlx.rs:241\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f4e39fd14ea4e9c39d4db100146a28adf1a4e5955caa41c6ec68a1c19f979c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/api_models/src/payments.rs:4047-4053 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4027-4033 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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":"crates/api_models/src/payments.rs"},"region":{"startLine":4047}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a81318b9ee3b664f84b32eee73923d52fa796413bd1443c19199b74ae408fbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:246-251 | crates/diesel_models/src/query/blocklist.rs:274-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/diesel_models/src/query/blocklist.rs:246\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e419d3e5aab04739129796de3d2ec7b5691ca6db45af0180e48bda202337a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:853-858 | crates/diesel_models/src/query/blocklist.rs:884-889 \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 \u0060crates/diesel_models/src/query/blocklist.rs:853\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"137d9fc68c5d07653ccaeab2d4f441f281953d3967302cb30baf770195ee6130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:938-943 | crates/diesel_models/src/query/blocklist.rs:970-975 \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 \u0060crates/diesel_models/src/query/blocklist.rs:938\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"24183f19fa20b24003e1d0b89b0cd178a6f25edc04846ec7741a23f31f292bc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/external_services/src/superposition.rs:351-364 | crates/external_services/src/superposition.rs:432-445 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060cfg\u0060 to \u0060\u0026superposition_sdk::types::DefaultConfigResponse\u0060 in one and \u0060\u0026superposition_sdk::operation::get_default_config::GetDefaultConfigOutput\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":"crates/external_services/src/superposition.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0d9690d62b936b15bded08de35e9e6bef03ecc00ad85f65f42abeebfbaee4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:2165-2170 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:447-452 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs\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 4 separate duplicated blocks between them, totalling at least 34 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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01b97e4f359b24454ddadae97cf8021bf4f4eb150893e2fc15438ef319c183f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2425-2430 | crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2513-2518 \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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2425}}}],"partialFingerprints":{"codehealthFindingId/v1":"765038d240e51fa13ddb0a5b93e364302ac5381809f4df83877e2025d0291d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:818-824 | crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:979-984 \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 \u0060crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs:818\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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"1101433256b58063667213c81936aab12bd6967efe74c35b856cee48e0944a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:2193-2198 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4139-4144 \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2d5b5aad7c3fb727d35f5db669e4a8ec5c9dc2767fecd8388617071f33e797"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:288-293 | crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:1775-1780 \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 \u0060crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs:288\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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20cec703012fba7a7b89cfd1cba65edad7318f625841e82be55ee6b4c4844b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/rapyd.rs:778-783 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:825-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/rapyd.rs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85c8af8575a1f32b41dfc546bee593a3a04dd2d6ba225cbcdd68d22f494544a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1165-1171 | crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1229-1235 \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 \u0060crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs:1165\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 \u0060item\u0060 to \u0060\u0026RedsysRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026RedsysRouterData\u003C\u0026PaymentsAuthenticateRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f34c466c69887679acdd86adb8a751528398099ac42c96ee466499539a2f6fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:383-389 | crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:434-440 \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 \u0060crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:383\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":"crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"a963fbde10cc6985a71498321c6eb150bb3a99e02a6b7ae891e0249acafb7851"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_domain_models/src/bulk_tokenization.rs:217-222 | crates/router/src/core/payment_methods/cards.rs:420-425 \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":"crates/hyperswitch_domain_models/src/bulk_tokenization.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"522d04e7ecced978fe3c2cd9fc4cb9ef8fa7b715613cf8d48fd1f69e89873153"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_domain_models/src/lib.rs:169-174 | crates/hyperswitch_domain_models/src/lib.rs:796-801 \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 \u0060crates/hyperswitch_domain_models/src/lib.rs:169\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec5af80db230f87d9e79d2d8bfa9e119182ec91d3338f9aa1e61b81c6ccf134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/redis_interface/src/module/redis_rs.rs:121-126 | crates/redis_interface/src/module/redis_rs/types.rs:108-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 \u0060crates/redis_interface/src/module/redis_rs.rs:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/redis_interface/src/module/redis_rs.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa23c83f56fd2d5a0090183bd465c57391fc943de4d92cf7bc83843d915c4d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/hierarchical_resources.rs:586-591 | crates/router/src/core/hierarchical_resources.rs:734-739 \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":"crates/router/src/core/hierarchical_resources.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"940ffee2793cdf9d3dbe0c077d5048cb4ba81b6b88a87d3c53d8c3874709aeb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:6314-6319 | crates/router/src/core/payments/payment_methods.rs:698-703 \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 \u0060amount\u0060 to \u0060Option\u003CMinorUnit\u003E\u0060 in one and \u0060Option\u003Ctypes::MinorUnit\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6314}}}],"partialFingerprints":{"codehealthFindingId/v1":"51647a39db1f80e81ab7e2de0705f37164f7d7aacb4450517698d538fa75b46d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:228-234 | crates/router/src/core/payments/helpers.rs:445-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/payments/helpers.rs:228\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a45df95886a7e1163bf397b8f7e369802578264be34b3e6b4e9c96b9dc56ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/payments/helpers.rs:7757-7762 | crates/router/src/core/payments/helpers.rs:7880-7885 \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 \u0060crates/router/src/core/payments/helpers.rs:7757\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":7757}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c22aad45c09a1a68403b9b28c602b805a8b49c53e6601c02c89228f99f64a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs:481-486 | crates/router/src/core/payments/operations/payment_start.rs:198-203 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_start.rs\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. 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":"crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6551e54f1d3377bbf69ecd6c04830ab46dac29f37b5b00b3948f027ee5bd394"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:1087-1092 | crates/router/src/core/webhooks/outgoing_v2.rs:392-397 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3a7a51b18f8881b9c9bc2f08fd0196571fb2d60ca18265e83f658cdc5de594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/types/api/connector_mapping.rs:396-401 | crates/router/src/types/api/feature_matrix.rs:308-313 \u2014 before extracting anything, compare \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 426 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":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d39d8c7dc4b24331691848629f1e5943f0708755a5149cbcd507be5f6613f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/types/domain/user.rs:1101-1106 | crates/router/src/types/domain/user.rs:1147-1152 \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":"crates/router/src/types/domain/user.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2974795df6f60750d0cabb76c42994861f1a4a3b34b74fa781adf475f987c673"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): crates/analytics/src/active_payments/accumulator.rs:29-33 | crates/analytics/src/auth_events/accumulator.rs:45-49 | crates/analytics/src/auth_events/accumulator.rs:61-65 | crates/analytics/src/frm/accumulator.rs:36-40 | crates/analytics/src/payment_intents/accumulator.rs:77-81 | crates/analytics/src/payments/accumulator.rs:331-335 | crates/analytics/src/refunds/accumulator.rs:167-171 | crates/analytics/src/sdk_events/accumulator.rs:43-47 \u2014 \u0060crates/analytics/src/payment_intents/accumulator.rs\u0060 and \u0060crates/analytics/src/payments/accumulator.rs\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 9 separate duplicated blocks between them, totalling at least 94 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/active_payments/accumulator.rs:29\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":"crates/analytics/src/active_payments/accumulator.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4671aa682a112464260371e6d9af80b15cf17f288c99780d2e497b109267cf2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): crates/analytics/src/payment_intents/accumulator.rs:95-99 | crates/analytics/src/payment_intents/accumulator.rs:201-205 | crates/analytics/src/payment_intents/accumulator.rs:217-221 | crates/analytics/src/payments/accumulator.rs:356-360 | crates/analytics/src/payments/accumulator.rs:372-376 | crates/analytics/src/payments/accumulator.rs:412-416 | crates/analytics/src/refunds/accumulator.rs:185-189 \u2014 \u0060crates/analytics/src/payment_intents/accumulator.rs\u0060 and \u0060crates/analytics/src/payments/accumulator.rs\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 9 separate duplicated blocks between them, totalling at least 94 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/accumulator.rs:95\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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f409e30cefdbecdc1b52c0a21942baf2b7402dd96c20eb9a0bf810057a798907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): crates/diesel_models/src/query/generics.rs:510-515 | crates/diesel_models/src/query/generics.rs:588-593 | crates/diesel_models/src/query/generics.rs:634-639 | crates/diesel_models/src/query/generics.rs:723-728 | crates/diesel_models/src/query/generics.rs:770-775 | crates/diesel_models/src/query/generics.rs:817-822 | crates/diesel_models/src/query/generics.rs:861-866 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fef76b71f1fb304cac432cda8a2d859fe04f679ce3ee1024ffed8215759b628"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): crates/diesel_models/src/query/generics.rs:987-992 | crates/diesel_models/src/query/generics.rs:1034-1039 | crates/diesel_models/src/query/generics.rs:1177-1182 | crates/diesel_models/src/query/generics.rs:1212-1217 | crates/diesel_models/src/query/generics.rs:1328-1333 | crates/diesel_models/src/query/generics.rs:1471-1476 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1357afc98e7d20a9e00bc9babff07e73d0fdc99a57bb331fb5fffd3423d3047"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): crates/router/src/core/payment_methods/cards.rs:282-286 | crates/router/src/core/payment_methods/transformers.rs:495-499 | crates/router/src/core/payment_methods/transformers.rs:521-525 | crates/router/src/core/payment_methods/transformers.rs:612-616 | crates/router/src/core/payments/tokenization.rs:1560-1564 | crates/router/src/core/payments/tokenization.rs:1668-1672 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/cards.rs\u0060 and \u0060crates/router/src/core/payments/tokenization.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/payment_methods/cards.rs:281\u0060 calls \u0060clone\u0060 and \u0060crates/router/src/core/payments/tokenization.rs:1559\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a3cb3fd14e98bb626b4bcdf998000150bb986b244f4ad055bfbe78c4df8307"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/analytics/src/payment_intents/accumulator.rs:224-228 | crates/analytics/src/payments/accumulator.rs:379-383 | crates/analytics/src/refunds/accumulator.rs:192-196 \u2014 \u0060crates/analytics/src/payment_intents/accumulator.rs\u0060 and \u0060crates/analytics/src/payments/accumulator.rs\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 9 separate duplicated blocks between them, totalling at least 94 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/payment_intents/accumulator.rs: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":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9151c69cf99ed645ef37e33df906e67173552eb0a361fd75ae1e4e8088a8e0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:1133-1139 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:1207-1213 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2321-2327 \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 \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:1133\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, \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:1140\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:2328\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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb29cf1bf2a5ceff7ee38c310f604a86c4ab19dbb1d0dc1e2e8462d2c9dfabe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/router/src/core/user.rs:1047-1052 | crates/router/src/core/user.rs:1202-1207 | crates/router/src/core/user.rs:1356-1361 \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 \u0060crates/router/src/core/user.rs:1047\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":"crates/router/src/core/user.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f3759d236cae75ad87963f823ed0b467472da614648e39de4bbacadc8b18d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/router/src/routes/cards_info.rs:45-49 | crates/router/src/routes/payment_methods.rs:716-720 | crates/router/src/routes/payment_methods.rs:1202-1206 \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 \u0060crates/router/src/routes/cards_info.rs: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":"crates/router/src/routes/cards_info.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a6fafcb49d5c2309d6037048787f36d0686727eaf66e2495d619a38c76f293"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/storage_impl/src/connection.rs:21-25 | crates/storage_impl/src/utils.rs:143-147 | crates/storage_impl/src/utils.rs:239-250 \u2014 before extracting anything, compare \u0060crates/storage_impl/src/connection.rs\u0060 and \u0060crates/storage_impl/src/utils.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 60 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 \u0060crates/storage_impl/src/connection.rs:21\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":"crates/storage_impl/src/connection.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b0205d1e479a7656a1625bc523bfbfd0deeaa2ab3e148f6d92a107f6f5211b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/analytics/src/disputes/accumulators.rs:42-47 | crates/analytics/src/payment_intents/accumulator.rs:104-108 \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 \u0060crates/analytics/src/disputes/accumulators.rs:42\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":"crates/analytics/src/disputes/accumulators.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6f3deed299beede0810fc2f055b7664d3114d65ea2598ff216ddc387330f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/api_models/src/payments.rs:4191-4195 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4164-4168 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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 \u0060crates/api_models/src/payments.rs:4191\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":"crates/api_models/src/payments.rs"},"region":{"startLine":4191}}}],"partialFingerprints":{"codehealthFindingId/v1":"558f4f0a3336108f64c40230c9e6ae9c45936cd4bd699a02b20f88825c625c1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/api_models/src/revenue_recovery_data_backfill.rs:302-307 | crates/api_models/src/revenue_recovery_data_backfill.rs:345-349 \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 \u0060crates/api_models/src/revenue_recovery_data_backfill.rs:302\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":"crates/api_models/src/revenue_recovery_data_backfill.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb85ee75e76a00e2ced5df28748da454695c321de5726c046d700b89c8e392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:81-87 | crates/diesel_models/src/query/blocklist.rs:99-103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/diesel_models/src/query/blocklist.rs: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. 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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0c2148ed633eed183da6538decf7b2fd9cb5ddbec8f99c983716a455c17f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:366-372 | crates/diesel_models/src/query/blocklist.rs:385-389 \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 \u0060crates/diesel_models/src/query/blocklist.rs:366\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c2258d4ecda55dd67108ae1c0ad92be449d0fc749f7bb403ea959c6319cf1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:1023-1029 | crates/diesel_models/src/query/blocklist.rs:1042-1046 \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 \u0060crates/diesel_models/src/query/blocklist.rs:1023\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b44bf43f7e1f68e6c3160867910e14bf77309b5cf2b3bb1c91822477a830f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/diesel_models/src/query/blocklist.rs:1104-1110 | crates/diesel_models/src/query/blocklist.rs:1123-1127 \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 \u0060crates/diesel_models/src/query/blocklist.rs:1104\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":"crates/diesel_models/src/query/blocklist.rs"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4369c1fb5974738318368a7762dfd096932c76c771853c32ff43f010f73580"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/euclid/src/frontend/ast/lowering.rs:252-256 | crates/euclid/src/frontend/ast/lowering.rs:266-270 \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 \u0060crates/euclid/src/frontend/ast/lowering.rs: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":"crates/euclid/src/frontend/ast/lowering.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf77129fbae91efe3bb8be07347799fd02974f41a075b0fdbcc78720199ab095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3188-3192 | crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3590-3594 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:3188\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a3f75f49a5779ff2cac71a6cf50768bb808e94e9bdb3d7166cd15d4dbd7a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs:301-305 | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs:467-471 \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 \u0060crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs:301\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AmazonpayFinalizeResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, AmazonpayPaymentsResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f68c19ba60b8892c685781935249fe971daa0327c1f4ea52fc34dd2f52f3173"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:318-323 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:379-384 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 233 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:318\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d947e1e1e243ae8ce1d82255214c4ddf78c52c12d455c4326ef7ef70cdef35d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:372-376 | crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:406-410 \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 \u0060crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs:372\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, DlocalPaymentsSyncResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, DlocalPaymentsCaptureResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/dlocal/transformers.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea29f55d5d9a3133cc445c8edce153aaacaeeb98ea00ea667b11497ef49d0a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs:172-176 | crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs:259-264 \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 \u0060crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026GpaymentsRouterData\u003C\u0026ConnectorAuthenticationRouterData\u003E\u0060 in one and \u0060\u0026ThreedsecureioRouterData\u003C\u0026ConnectorAuthenticationRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b7bdf96228998544ea3d688265ffdb643382c68db1b6e74769b56d9403278b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:3775-3780 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:4229-4234 \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 \u0060crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:3775\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":3775}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fd5cde36632f42cb5eb9bae8a8a79102f5b3d4793da9618d73d6e227d29561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldpay/payout_transformers.rs:153-157 | crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs:3904-3908 \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 \u0060crates/hyperswitch_connectors/src/connectors/worldpay/payout_transformers.rs:153\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":"crates/hyperswitch_connectors/src/connectors/worldpay/payout_transformers.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"8222c4d6f01b74ee847c0bb80ad6ce4e6ea031bb189dc586181fa7f4c6a43a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:7231-7237 | crates/router/src/connector/utils.rs:1628-1634 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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. 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7231}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ebcf1ca632f51540ee73de9d71fd7e75da74b2fd5bdff43726bfb34dd7dc26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_constraint_graph/src/graph.rs:307-311 | crates/hyperswitch_constraint_graph/src/graph.rs:479-483 \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 \u0060crates/hyperswitch_constraint_graph/src/graph.rs:307\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":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fcf76418e9d14b9a74284e33a7b8517ed858b65fdd604c079cd2bcaea4c6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/kgraph_utils/src/mca.rs:600-606 | crates/kgraph_utils/src/mca.rs:664-668 \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 \u0060crates/kgraph_utils/src/mca.rs:600\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":"crates/kgraph_utils/src/mca.rs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"62295c603dbd12c95e91abb28dd9dc3218fd9565e7f2e12391d013df4526c2f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/router/src/core/routing.rs:1714-1720 | crates/router/src/core/routing.rs:1947-1951 \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":"crates/router/src/core/routing.rs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"9adff2981a122f21efed22aaf6c06d6f0a8dd7d30f4dc9615f2b0acf289edca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/unified_connector_service/transformers.rs:5498-5503 | crates/router/src/core/unified_connector_service/transformers.rs:5565-5570 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060crates/router/src/core/unified_connector_service/transformers.rs:5497\u0060 calls \u0060expose\u0060, \u0060into\u0060 and \u0060crates/router/src/core/unified_connector_service/transformers.rs:5564\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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":5498}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7c308300145af99fae4cc975edd4df756169b149e35ae9a0e0a65ff5b37b29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/router/src/events/outgoing_webhook_logs.rs:103-107 | crates/router/src/events/outgoing_webhook_logs.rs:150-154 \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 \u0060crates/router/src/events/outgoing_webhook_logs.rs:103\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":"crates/router/src/events/outgoing_webhook_logs.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"771dc03967bba8708f07e2ba10f9facf85c2aa1251bd128ca89d434f89f9c61f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router_derive/src/macros/to_encryptable.rs:174-180 | crates/router_derive/src/macros/to_encryptable.rs:188-194 \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 \u0060crates/router_derive/src/macros/to_encryptable.rs: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":"crates/router_derive/src/macros/to_encryptable.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"199b253451a31871ef7dc09f2b2481d15896aa54dba0267ecb3be0eafd8a1c40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 3): crates/common_types/src/domain.rs:32-224 | crates/common_types/src/refunds.rs:31-87 | crates/diesel_models/src/types.rs:71-492 \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 \u0060crates/common_types/src/domain.rs:32\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":"crates/common_types/src/domain.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"267807d167ecdb95ba7a4fc0f0e719fc9d4c5a47a3246b7be0a50526ec0ae9d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): crates/common_types/src/domain.rs:32-224 | crates/common_types/src/refunds.rs:31-87 | crates/common_types/src/three_ds_decision_rule_engine.rs:32-58 | crates/diesel_models/src/enums.rs:126-138 | crates/diesel_models/src/types.rs:71-492 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/common_types/src/domain.rs:32\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":"crates/common_types/src/domain.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42f26e34d6468225505d7fade5da2784cf238446bd6567e887357b5d1ca9b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (420 lines \u00D7 4): crates/openapi/src/routes/customers.rs:27-446 | crates/openapi/src/routes/payment_method.rs:35-1088 | crates/openapi/src/routes/payments.rs:646-1639 | crates/openapi/src/routes/routing.rs:30-489 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/openapi/src/routes/customers.rs:27\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":"crates/openapi/src/routes/customers.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d755584402da73a2453cfa58c0e10bf97703d053ef83265c33664f459de6cbd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (994 lines \u00D7 2): crates/openapi/src/routes/payment_method.rs:35-1088 | crates/openapi/src/routes/payments.rs:646-1639 \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 \u0060crates/openapi/src/routes/payment_method.rs:35\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":"crates/openapi/src/routes/payment_method.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"939df641a4bb8d257cf148717f861e3c63ea7b5bf80b82b062530d3933f43d58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/analytics/src/payments/accumulator.rs:442-448 | crates/analytics/src/sdk_events/accumulator.rs:75-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/accumulator.rs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e4b2d125bfed725779fd7781658cd1c0cdb64b562d1f519da49a816ad167d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 9): crates/api_models/src/analytics/active_payments.rs:57-63 | crates/api_models/src/analytics/api_event.rs:132-138 | crates/api_models/src/analytics/auth_events.rs:330-336 | crates/api_models/src/analytics/disputes.rs:113-119 | crates/api_models/src/analytics/frm.rs:125-131 | crates/api_models/src/analytics/payment_intents.rs:245-251 | crates/api_models/src/analytics/payments.rs:360-366 | crates/api_models/src/analytics/refunds.rs:201-207 | crates/api_models/src/analytics/sdk_events.rs:198-204 \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 9 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/analytics/active_payments.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68f705d2e0861704d39e77510bb30e63c98950d5c0599fbbc4c3fe24c759a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/api_models/src/payment_methods.rs:886-905 | crates/hyperswitch_domain_models/src/payment_method_data.rs:2064-2084 \u2014 before extracting anything, compare \u0060crates/api_models/src/payment_methods.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 52 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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cb4ebaf9e88419d6d565a9a11480a99953f968f686cc1af0df196bbe51916f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/api_models/src/payments.rs:4013-4020 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4003-4010 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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":"crates/api_models/src/payments.rs"},"region":{"startLine":4013}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6dbadff9976efb86f97174b117e69ec2af9ad7cb199a6721e8082acebaba7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/api_models/src/payments.rs:4202-4208 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4175-4181 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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":"crates/api_models/src/payments.rs"},"region":{"startLine":4202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60bee0130f590a11e111c14c0fbbf79b15ebeeffacb4afbb1474558e9909d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/api_models/src/payments.rs:4231-4237 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4204-4210 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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":"crates/api_models/src/payments.rs"},"region":{"startLine":4231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5985f6aab352a137932701ceda48105208a350894f13942d545b9ffec0e92e0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/diesel_models/src/subscription.rs:102-107 | crates/hyperswitch_domain_models/src/subscription.rs:110-115 \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":"crates/diesel_models/src/subscription.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2284c817c4c94411dff8665fd9be365cb36c9bd7eb553dd51167dcb023e13593"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/diesel_models/src/subscription.rs:117-126 | crates/hyperswitch_domain_models/src/subscription.rs:244-253 \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 \u0060crates/diesel_models/src/subscription.rs:117\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":"crates/diesel_models/src/subscription.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1042ebcf35269a7f1db87a2b1eb536b66b6e24901c711869db7bca52e3a61b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/drainer/src/secrets_transformers.rs:15-25 | crates/router/src/configs/secrets_transformers.rs:16-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/drainer/src/secrets_transformers.rs:15\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":"crates/drainer/src/secrets_transformers.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff057746e39cdd14ce4730a7a505dbbf78dc8d71e47100cae2554bc4963167d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/external_services/src/utils.rs:98-102 | crates/payment_methods/src/configs/settings.rs:202-206 | crates/router/src/configs/settings.rs:1973-1977 \u2014 before extracting anything, compare \u0060crates/external_services/src/utils.rs\u0060 and \u0060crates/payment_methods/src/configs/settings.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 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":"crates/external_services/src/utils.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7f3c685fd97ec8151cdb37674ed623469dbddcb9cf7b072fee560dc799c617"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:325-329 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:408-412 | crates/hyperswitch_connectors/src/connectors/coingate.rs:548-552 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:452-456 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:694-698 | crates/hyperswitch_connectors/src/connectors/paystack.rs:609-613 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/coingate.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 31 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 \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:325\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 \u0060request\u0060 to \u0060\u0026webhooks::IncomingWebhookRequestDetails\u003C\u0027_\u003E\u0060 in one and \u0060\u0026IncomingWebhookRequestDetails\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fef57f8de84234d78bc58acd5bba9eafac3720cd5c0ee1908ba54ed2d624389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen.rs:3478-3486 | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:498-506 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:3478\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":3478}}}],"partialFingerprints":{"codehealthFindingId/v1":"4062a02a974bf1ae733fa6a0f0693a6121c96016494a6ccc40ef53597d22d1c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:115-123 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:114-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 \u0060crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:115\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ceff34b2108bad89207d90e2b364f7385ec8f9af8a7f49255ae527be139c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers.rs:23-30 | crates/hyperswitch_connectors/src/connectors/dummyconnector/transformers.rs:242-249 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs:39-46 | crates/hyperswitch_connectors/src/connectors/signifyd/transformers/auth.rs:11-18 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs:86-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyenplatform/transformers.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e01f638134cf1cd72c20da2cf04c8ed5a98e328832501118a898e3d410e868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs:222-230 | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs:330-338 \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":"crates/hyperswitch_connectors/src/connectors/affirm/transformers.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7570905080654e4465434c3e8e5cbc07e6d55dc5b416ea4010ae6cce00987b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/airwallex.rs:1446-1460 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:823-837 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/elavon_pg.rs\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060crates/hyperswitch_connectors/src/connectors/airwallex.rs:1446\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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac3312f45aaa496b944aab0148c14ca35238a1849bd21ab131d60d6a5b8cd7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:2099-2106 | crates/hyperswitch_connectors/src/connectors/finix/transformers.rs:116-123 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault/transformers.rs:119-126 | crates/hyperswitch_connectors/src/connectors/payload/transformers.rs:305-312 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1608-1615 | crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs:5172-5179 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 6 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 6 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:2099\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, AirwallexCustomerResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, FinixIdentityResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dd027154aa9450e98a5661bf4a8b738f7e6ca50332f854d66f2ec03848b6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs:171-179 | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs:161-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"43108f6c33144414dd909b25dcf0065c231980c88f91882063b2a84c2e54ce35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 43): crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs:516-523 | crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs:707-713 | crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs:212-219 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs:320-327 | crates/hyperswitch_connectors/src/connectors/breadpay/transformers.rs:303-310 | crates/hyperswitch_connectors/src/connectors/calida/transformers.rs:329-336 | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:356-363 | crates/hyperswitch_connectors/src/connectors/citigate/transformers.rs:170-177 | crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs:220-226 | crates/hyperswitch_connectors/src/connectors/custombilling/transformers.rs:164-171 | crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs:297-303 | crates/hyperswitch_connectors/src/connectors/elavon_pg/transformers.rs:181-188 | crates/hyperswitch_connectors/src/connectors/envoy/transformers.rs:184-191 | crates/hyperswitch_connectors/src/connectors/etisalat/transformers.rs:176-183 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub/transformers.rs:183-190 | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs:331-338 | crates/hyperswitch_connectors/src/connectors/givepayments/transformers.rs:167-174 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex/transformers.rs:194-201 | crates/hyperswitch_connectors/src/connectors/hyperpg/transformers.rs:173-180 | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs:165-172 | crates/hyperswitch_connectors/src/connectors/ilixium/transformers.rs:181-188 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions/transformers.rs:178-185 | crates/hyperswitch_connectors/src/connectors/interpayments/transformers.rs:169-176 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:629-635 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital/transformers.rs:193-200 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs:184-191 | crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs:165-172 | crates/hyperswitch_connectors/src/connectors/loonio/transformers.rs:391-398 | crates/hyperswitch_connectors/src/connectors/merchante/transformers.rs:171-178 | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs:163-170 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:1056-1062 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:206-213 | crates/hyperswitch_connectors/src/connectors/payconex/transformers.rs:170-177 | crates/hyperswitch_connectors/src/connectors/paynearme/transformers.rs:172-179 | crates/hyperswitch_connectors/src/connectors/paytm/transformers.rs:171-178 | crates/hyperswitch_connectors/src/connectors/phonepe/transformers.rs:173-180 | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs:163-170 | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs:201-208 | crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs:177-184 | crates/hyperswitch_connectors/src/connectors/tokenio/transformers.rs:526-533 | crates/hyperswitch_connectors/src/connectors/truelayer/transformers.rs:283-290 | crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs:198-205 | crates/hyperswitch_connectors/src/connectors/worldpayraft/transformers.rs:171-177 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bambora/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs\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 8 separate duplicated blocks between them, totalling at least 64 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":"crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"629fd98e947cfade1174fa43c0f52c2ce412dc676a35379531e522a0864a00d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:90-95 | crates/hyperswitch_connectors/src/connectors/zift.rs:167-172 \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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:90\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5748236855a810d36aa7c69a15a5f75ff8a24c714a7db3d60184a59d0ec6d3c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/bambora.rs:643-651 | crates/hyperswitch_connectors/src/connectors/digitalvirgo.rs:195-203 | crates/hyperswitch_connectors/src/connectors/mollie.rs:886-894 | crates/hyperswitch_connectors/src/connectors/noon.rs:841-849 | crates/hyperswitch_connectors/src/connectors/payme.rs:424-432 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/mollie.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 84 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 \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs:643\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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef7f6986b1dc43de0cd6f9bbbdd7eb8f37984098049848f01817449233b577b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:95-101 | crates/hyperswitch_connectors/src/connectors/fiuu.rs:215-221 | crates/hyperswitch_connectors/src/connectors/globepay.rs:92-98 | crates/hyperswitch_connectors/src/connectors/gpayments.rs:106-112 | crates/hyperswitch_connectors/src/connectors/paybox.rs:106-112 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:256-264 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:115-121 | crates/hyperswitch_connectors/src/connectors/zsl.rs:83-89 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs\u0060 as WHOLE FILES: this scan already matched 8 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 \u0060crates/hyperswitch_connectors/src/connectors/gpayments.rs:106\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f0614bf6ede108606f4273655b6ddce94f357184c95272dcc9afaddad76b71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:590-600 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:812-822 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:590\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"af816a25bcda48810437bb709a72425885d095ec25188c81a3a4a66b13c955f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:662-668 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:884-890 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:662\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"6434e5e760c158edce1f3326ce5d4c4f8e262b26166bc29dd91a54df6f945921"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:779-785 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1002-1008 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:1817-1823 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:920-926 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:779\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"f452efe91d2088f64900cf71b446d5133559625cabe654f784b5e7181d1fe042"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:911-917 | crates/hyperswitch_connectors/src/connectors/barclaycard.rs:1132-1138 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 321 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 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica.rs:911\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc6f6d35bfbc6a891a83444d44d6470b6c85ab2ca4b9e9fb0566fa643e176f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:621-629 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1482-1490 | crates/hyperswitch_connectors/src/connectors/wellsfargo/transformers.rs:848-856 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 500 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:621\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1e0d3a5b9ab4c056b6d63314934f10ce67ea6b33daa5862dcd66907e65e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1629-1642 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:2557-2570 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:3509-3522 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:1629\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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd2dd06319aa6bcd7582442d3d49c1dbb2c527e6a9154d17f169a9d12ba2275"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs:2735-2747 | crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:3455-3467 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\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 45 separate duplicated blocks between them, totalling at least 661 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":"crates/hyperswitch_connectors/src/connectors/bankofamerica/transformers.rs"},"region":{"startLine":2735}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3668724a022136690d201d10b3de02cab2c7a3662578040f997d245fd4aa18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:277-281 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:1559-1563 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager/transformers.rs:487-491 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1566310cc3bcf11f1d8b47ad62ed545201e30ae393a38c258e27e3b8ad2c1526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:162-169 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:323-330 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stax/transformers.rs\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 7 separate duplicated blocks between them, totalling at least 55 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs:162\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 \u0060item\u0060 to \u0060\u0026types::TokenizationRouterData\u0060 in one and \u0060ResponseRouterData\u003CF, StaxTokenResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/billwerk/transformers.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b45014d0ed035649b4a0c8181829e29824c8ab37c034be931d62c3b5b59e0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 23): crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs:73-80 | crates/hyperswitch_connectors/src/connectors/calida/transformers.rs:164-171 | crates/hyperswitch_connectors/src/connectors/givepayments/transformers.rs:74-81 | crates/hyperswitch_connectors/src/connectors/helcim/transformers.rs:314-321 | crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs:72-79 | crates/hyperswitch_connectors/src/connectors/interpayments/transformers.rs:74-81 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver/transformers.rs:86-93 | crates/hyperswitch_connectors/src/connectors/katapult/transformers.rs:72-79 | crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs:70-77 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:1113-1120 | crates/hyperswitch_connectors/src/connectors/opayo/transformers.rs:113-120 | crates/hyperswitch_connectors/src/connectors/opennode/transformers.rs:67-74 | crates/hyperswitch_connectors/src/connectors/paydotcom.rs:78-85 | crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs:77-84 | crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs:53-60 | crates/hyperswitch_connectors/src/connectors/revolv3/transformers.rs:10-17 | crates/hyperswitch_connectors/src/connectors/sift/transformers.rs:70-77 | crates/hyperswitch_connectors/src/connectors/stax/transformers.rs:159-166 | crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs:106-113 | crates/hyperswitch_connectors/src/connectors/taxjar/transformers.rs:125-132 | crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs:242-249 | crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs:84-91 | crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs:770-777 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/givepayments/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/hyperwallet/transformers.rs\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 4 separate duplicated blocks between them, totalling at least 38 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":"crates/hyperswitch_connectors/src/connectors/bitpay/transformers.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77effd3247c234c8273000f9bb0e6b44e6ef14b50b0b307b36abaa9e0cba99a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 13): crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs:79-87 | crates/hyperswitch_connectors/src/connectors/deutschebank/transformers.rs:120-128 | crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:85-93 | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs:171-179 | crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs:78-86 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:239-247 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:91-99 | crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs:1779-1787 | crates/hyperswitch_connectors/src/connectors/payu/transformers.rs:353-361 | crates/hyperswitch_connectors/src/connectors/tesouro/transformers.rs:288-296 | crates/hyperswitch_connectors/src/connectors/truelayer/transformers.rs:145-153 | crates/hyperswitch_connectors/src/connectors/vgs/transformers.rs:465-473 | crates/hyperswitch_connectors/src/connectors/volt/transformers.rs:282-290 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/iatapay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs\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 4 separate duplicated blocks between them, totalling at least 35 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs:79\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, BlackhawknetworkTokenResponse, T, AccessToken\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, DeutschebankAccessTokenResponse, T, AccessToken\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/blackhawknetwork/transformers.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e59d1417d3f68eebc453a0304b21495b468cde743bf447a9db7f1c787430e21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 16): crates/hyperswitch_connectors/src/connectors/braintree.rs:107-121 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:90-104 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:97-113 | crates/hyperswitch_connectors/src/connectors/finix.rs:273-287 | crates/hyperswitch_connectors/src/connectors/getnet.rs:95-109 | crates/hyperswitch_connectors/src/connectors/gocardless.rs:96-110 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:99-113 | crates/hyperswitch_connectors/src/connectors/opennode.rs:90-104 | crates/hyperswitch_connectors/src/connectors/shift4.rs:82-96 | crates/hyperswitch_connectors/src/connectors/shift4.rs:474-488 | crates/hyperswitch_connectors/src/connectors/worldpay.rs:114-129 | crates/hyperswitch_connectors/src/connectors/worldpaymodular.rs:60-74 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:983-1002 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1072-1091 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1153-1172 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1256-1275 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/coinbase.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060crates/hyperswitch_connectors/src/connectors/dummyconnector.rs: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 after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs:491\u0060 calls \u0060common_get_content_type\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1006\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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fd410c6d3c10b5a376d3242a70f771a481638bd6aac733097f86a86199b604"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:267-273 | crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs:255-261 | crates/hyperswitch_connectors/src/connectors/coingate/transformers.rs:46-52 | crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs:1127-1133 | crates/hyperswitch_connectors/src/connectors/globalpay/transformers.rs:78-84 | crates/hyperswitch_connectors/src/connectors/klarna/transformers.rs:67-73 | crates/hyperswitch_connectors/src/connectors/truelayer/transformers.rs:104-110 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/fiserv/transformers.rs\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 5 separate duplicated blocks between them, totalling at least 39 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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"952216f3eacc91d114a9f70b9bde51900d79f4e6ca955709f55b10ff59661df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/calida/transformers.rs:53-59 | crates/hyperswitch_connectors/src/connectors/santander/transformers.rs:321-327 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv/transformers.rs:234-240 \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 \u0060crates/hyperswitch_connectors/src/connectors/calida/transformers.rs:53\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 \u0060meta_data\u0060 to \u0060\u0026Option\u003Ccommon_utils::pii::SecretSerdeValue\u003E\u0060 in one and \u0060\u0026Option\u003Cpii::SecretSerdeValue\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/calida/transformers.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"717f65a0ee821144e61712254567a0d19f7820b0fe4340ef2f29eb857b247da5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cashtocode.rs:381-385 | crates/hyperswitch_connectors/src/connectors/chargebee.rs:759-763 \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 \u0060crates/hyperswitch_connectors/src/connectors/cashtocode.rs:381\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":"crates/hyperswitch_connectors/src/connectors/cashtocode.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df6870935db35017e0f8f31c944f8a2a0f07f0d88b6a88613ac6ece20802321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/coinbase.rs:310-318 | crates/hyperswitch_connectors/src/connectors/opennode.rs:313-321 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1918-1926 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/coinbase.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/opennode.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 92 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 \u0060crates/hyperswitch_connectors/src/connectors/coinbase.rs:310\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":"crates/hyperswitch_connectors/src/connectors/coinbase.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab7ee8aceb67d0f1a887328bd173122636c76286eb1bff6ac55b402ebfa6d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs:77-85 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:826-834 | crates/hyperswitch_connectors/src/connectors/zen/transformers.rs:65-73 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/zen/transformers.rs\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 7 separate duplicated blocks between them, totalling at least 56 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":"crates/hyperswitch_connectors/src/connectors/coinbase/transformers.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ece822f7e748f8c35073362d1120c2f680212091ba1d6dc10bbb7770e14b0be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:578-584 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:504-510 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 488 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:578\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53e95e498c529ccf59ac4e0461072ad438afc63e4c1dc295a928e3605bf1251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:952-959 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:603-610 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 488 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:952\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"89df844b5ed0805fcf92149ea2c76ff05273db5f423414d2696a7b83d9f0aa35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:1101-1112 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:725-736 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 488 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:1101\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f653ba4e42f1874c7e1d451860d0de9532b8020ef3617b8c7feb38f9b0e56d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:1981-1988 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1054-1061 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 488 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:1981\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18e98c000c42d3fa92a29be42c5f604140d67bffe504bd8c46b88c15d286bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:2067-2074 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1139-1146 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 488 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:2067\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ec9c2ab1112c89b9ea7ce5ae5151a70275213fcd1e647edf466da0b111d861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersource.rs:2143-2150 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:1215-1222 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/wellsfargo.rs\u0060 as WHOLE FILES: this scan already matched 37 separate duplicated blocks between them, totalling at least 488 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 \u0060crates/hyperswitch_connectors/src/connectors/cybersource.rs:2143\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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97c46ed27db2c934b322583d10867388dc10f986ad007b3a666ba17fff0eedd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs:93-101 | crates/hyperswitch_connectors/src/connectors/envoy/transformers.rs:90-98 | crates/hyperswitch_connectors/src/connectors/facilitapay/transformers.rs:85-93 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:1497-1505 \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":"crates/hyperswitch_connectors/src/connectors/digitalvirgo/transformers.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c83986193b372c2d607c34c2930014888df43e8a8d8f2992963499ebb65ca3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:580-587 | crates/hyperswitch_connectors/src/connectors/xendit.rs:811-818 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/dummyconnector.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/xendit.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 34 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 \u0060crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:580\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":"crates/hyperswitch_connectors/src/connectors/dummyconnector.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"013ecca9438890357e471c265397c394230fa4cf025665389a19ca6ec5a76e18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/dwolla.rs:96-120 | crates/hyperswitch_connectors/src/connectors/facilitapay.rs:110-128 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:840-858 | crates/hyperswitch_connectors/src/connectors/volt.rs:104-133 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/dwolla.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/facilitapay.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 77 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":"crates/hyperswitch_connectors/src/connectors/dwolla.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"11443b1c18a11d5a40f1704fc8621962dd1505dc38b2637fa682963e50e9481e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs:29-37 | crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs:190-198 | crates/hyperswitch_connectors/src/connectors/truelayer/transformers.rs:81-89 \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":"crates/hyperswitch_connectors/src/connectors/dwolla/transformers.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0519b17aab086980817d3f4ff204812960ffcd715e4b22e067f7414e784f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/ebanx.rs:105-111 | crates/hyperswitch_connectors/src/connectors/envoy.rs:106-112 \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 \u0060crates/hyperswitch_connectors/src/connectors/ebanx.rs:105\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":"crates/hyperswitch_connectors/src/connectors/ebanx.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa3ffe1976073addf1825631b2cc907a3ebb6c4c084dd32dcafb09dd05e1130"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:755-776 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:793-814 | crates/hyperswitch_connectors/src/connectors/moneris.rs:921-940 | crates/hyperswitch_connectors/src/connectors/paydotcom.rs:290-310 | crates/hyperswitch_connectors/src/connectors/paydotcom.rs:320-338 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/elavon_pg.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/moneris.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 91 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":"crates/hyperswitch_connectors/src/connectors/elavon_pg.rs"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62ad5778793ad4b77a4519fc37bcb0c05935b67191ded2c43ca24fcdea65dc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/forte.rs:99-107 | crates/hyperswitch_connectors/src/connectors/opayo.rs:88-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":"crates/hyperswitch_connectors/src/connectors/forte.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb29f89a68663bc72b4b9ab4486552ca92d3cb117ba14c4edb97aa25c3d7556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/getnet.rs:181-192 | crates/hyperswitch_connectors/src/connectors/jpmorgan.rs:187-197 | crates/hyperswitch_connectors/src/connectors/novalnet.rs:205-216 | crates/hyperswitch_connectors/src/connectors/payjustnow.rs:209-220 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/getnet.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/jpmorgan.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/getnet.rs:181\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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae91886c602566eaa9cc8cbc50f87a1dce954f7b04a1201b718c1d5222f11e8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs:65-71 | crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs:66-72 | crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs:49-55 | crates/hyperswitch_connectors/src/connectors/nordea/transformers.rs:87-93 | crates/hyperswitch_connectors/src/connectors/paysafe/transformers.rs:97-103 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/jpmorgan/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/mifinity/transformers.rs\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 4 separate duplicated blocks between them, totalling at least 35 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060meta_data\u0060 to \u0060\u0026Option\u003Cpii::SecretSerdeValue\u003E\u0060 in one and \u0060\u0026Option\u003CSecretSerdeValue\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gigadat/transformers.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfada6b17d5eab7f4d67365162e17e7ee89f780e413dfc8d98c25770e9b90e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs:60-71 | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs:234-245 \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":"crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf12834eb790c652d6754bfdc5eafd0e684fe2bce5571a37886d7c611be906f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs:102-106 | crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs:304-308 \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 \u0060crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs:102\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":"crates/hyperswitch_connectors/src/connectors/gpayments/transformers.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d00831144c474a14098711f9c4c8b295d42e89e0dc75756abffdaf5adfb5f44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/moneris.rs:215-220 | crates/hyperswitch_connectors/src/connectors/payu.rs:276-281 | crates/hyperswitch_connectors/src/connectors/volt.rs:229-234 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/moneris.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payu.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 54 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":"crates/hyperswitch_connectors/src/connectors/moneris.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"893eae4500a85dc2c2fc9aaffc1142d307e689e18956f9da74c79ec790814357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/moneris.rs:417-427 | crates/hyperswitch_connectors/src/connectors/volt.rs:430-440 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/moneris.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/volt.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 95 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 \u0060crates/hyperswitch_connectors/src/connectors/moneris.rs:417\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":"crates/hyperswitch_connectors/src/connectors/moneris.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49681c41edc7a006db6d60f6efe97c26283155b8bcecae1e5f187c4254ba345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/nomupay.rs:225-231 | crates/hyperswitch_connectors/src/connectors/worldpay/payout_transformers.rs:76-82 | crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs:63-69 \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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed8faadf02bd991577fe2ec43b5190798d2868753c92fff489009473fda9a31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/payload.rs:131-139 | crates/hyperswitch_connectors/src/connectors/razorpay.rs:99-107 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/payload.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/razorpay.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 61 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/razorpay.rs:99\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":"crates/hyperswitch_connectors/src/connectors/payload.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"296bc384e19e88b83ba9a18c2735548ea7632f4665e57ed80d19e2c4e5e55a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/stax.rs:939-943 | crates/hyperswitch_connectors/src/connectors/zen.rs:685-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060\u0026webhooks::IncomingWebhookRequestDetails\u003C\u0027_\u003E\u0060 in one and \u0060\u0026IncomingWebhookRequestDetails\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stax.rs"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc8007e9e1934c9e89dc38e8f6f4e80e6579b1ff04eb89e7c72cee568b4fd7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:350-355 | crates/router/src/connector/utils.rs:1932-1937 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ae5e0a1ddb1d3513555d7785387f14a5ba7322d4babd426d57975ac94642b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:369-376 | crates/router/src/connector/utils.rs:47-54 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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 \u0060crates/hyperswitch_connectors/src/utils.rs:369\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb5bb5adde42b12961e39edef1ec19d4be07dfc88e3bf93169fd10e398f4d42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:556-565 | crates/router/src/connector/utils.rs:2238-2247 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fec5783684ef9301096c8d07a740ea666fc52237f563d621bd624a2fe244e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:658-666 | crates/router/src/connector/utils.rs:301-309 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bf448ee415055b5f0a5ea1bd56718ca3e3843249f0aebecf9819ed4d2606b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:668-673 | crates/router/src/connector/utils.rs:313-318 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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 \u0060crates/router/src/connector/utils.rs:313\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf3fba7417207f7060218ffe3fff26fc4734c44b49049cbf2238bd1eb5494f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:683-690 | crates/router/src/connector/utils.rs:328-335 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a1007431f56e13ee4ce818dc53da0490fa049ae0b1e961e7b9f95769d2d4d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:692-699 | crates/router/src/connector/utils.rs:337-344 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e8a15c97c9f4ed907a79af45187e844d2735918230056605c3225f762045d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:707-714 | crates/router/src/connector/utils.rs:346-353 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5f7ff38e7c6f0193ab87813c54f450b7c2ee9b35c9eede509fae69fc281201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:716-723 | crates/router/src/connector/utils.rs:355-362 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce86fe0e39cb15ad630fc97f7e039c10190ac1da944e2ea6aecac891aa861a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:725-732 | crates/router/src/connector/utils.rs:364-371 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd1de65727acd6e34d90dba1874a5a8731566ab89c3963b5795bf5a50283f3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:734-741 | crates/router/src/connector/utils.rs:373-380 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fc6cc9e8495f77858939ee3aff8c9ea203fbd44f72efdb21186111e1450973"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:743-750 | crates/router/src/connector/utils.rs:382-389 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d9968102363fd27a1c724b3a94c867464f5db171d185f788aaecd72585be12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:752-759 | crates/router/src/connector/utils.rs:391-398 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb16a120944f6c32c95d03e82272bcaf7273f037b6c831748359cbbed903f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:761-768 | crates/router/src/connector/utils.rs:400-407 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"669fb443dbcd1c66d1bd27437b4f3b3ff48da010421a7b306751d2a45eda0f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:776-781 | crates/router/src/connector/utils.rs:415-420 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"058ec47b4362eb2a9063462c41b1a647da3bc22176eb2e5baec94fe56c427919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:795-801 | crates/router/src/connector/utils.rs:429-435 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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 \u0060crates/router/src/connector/utils.rs:429\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f39f61d66edfd8d5c995e5ff0560adae4192f5a57494f33229ee006f8f3eae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:815-827 | crates/router/src/connector/utils.rs:449-461 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"113dfffb0754e89608e3f27bc1fc36972892a23e4e287d53e0ab375afb82eb61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:829-836 | crates/router/src/connector/utils.rs:463-470 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"37175e6c5f8777e4a79a731c41e9530a1d97088b95a035c3610b0a410038d206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:838-850 | crates/router/src/connector/utils.rs:472-484 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60af8fe84397dfc4518a58138cb9548b7f8fa622822a036ae313150eeff80a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:852-864 | crates/router/src/connector/utils.rs:486-498 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb1218d0d14aba17dd351d4dd961ace0d06fb074d66ffe86949a81b80fe2e4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:915-927 | crates/router/src/connector/utils.rs:499-511 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b740ecbdab5ed1dc47d71c87d47843da6760efdef8105108c5a8269542f3e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:929-934 | crates/router/src/connector/utils.rs:513-518 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"b121c17c46db58d7180b186fa4b790c206c6d7128dfdb816c037b751e0dde4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:936-943 | crates/router/src/connector/utils.rs:520-527 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"4696424558a385042ca6b02a366fc40d3077589db6a3d4661196473fec2d0045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:950-959 | crates/router/src/connector/utils.rs:529-538 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eee17651421ca69683f45864b793278a9352f23d7e35bc96aac3af1f5de2434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:961-970 | crates/router/src/connector/utils.rs:540-549 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"38808c73db100a287e5b1c604bad9e9b7b148ddc304119a32479ff903efe0b8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:983-992 | crates/router/src/connector/utils.rs:551-560 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5459dde44c4522e54be641eaacdd1914a03a68e6b8d171cae386d6a7320af20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:994-1003 | crates/router/src/connector/utils.rs:562-571 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"107511ca85921708526739d915ae75660a1e2061d51fc2d84a012a11b301e128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1005-1014 | crates/router/src/connector/utils.rs:573-582 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c01a1dae909936fc0c69de724cddfc5e76f3baa79fa8d6ce1f72e088f14975"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1016-1025 | crates/router/src/connector/utils.rs:584-593 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"79227b90fdef1ab8a899e018b74ed014b940c03ffa08bcc5b1e2e7051c41b54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1036-1045 | crates/router/src/connector/utils.rs:595-604 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d555f0c9a477730f2a0b855960d8f884b21f326d48c06601f3d3ff562ac5ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1047-1056 | crates/router/src/connector/utils.rs:606-615 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0dcb5ed9e44e8c5bd36f045e8aa9270cb6d42e53ed04cdb7c969f52a0ff4b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1058-1067 | crates/router/src/connector/utils.rs:617-626 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"950ac3b7306b10ab1d1847d3e71e13d53c895a73fa1f00f9690f498203890bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1077-1081 | crates/router/src/connector/utils.rs:636-640 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d7a8f1cbf4110bf57f74ce7d9f9948135769232603457700f71a6224167bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1087-1092 | crates/router/src/connector/utils.rs:648-653 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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 \u0060crates/router/src/connector/utils.rs:648\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"392feb49377418583a2de9b324ff3608482338c46387d059fb18b7475f55fb24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1138-1142 | crates/router/src/connector/utils.rs:691-695 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b320318b48eecb51625c6b3152727da14646349fabab534973030d829a49db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1298-1306 | crates/hyperswitch_connectors/src/utils.rs:1405-1413 | crates/router/src/connector/utils.rs:1459-1467 | crates/router/src/connector/utils.rs:1532-1540 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e35b260e73b72c87982e1183d931161446c89993320b735bb8c36782462a79c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1329-1337 | crates/hyperswitch_connectors/src/utils.rs:1436-1444 | crates/router/src/connector/utils.rs:1474-1482 | crates/router/src/connector/utils.rs:1547-1555 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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 \u0060crates/hyperswitch_connectors/src/utils.rs:1329\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e169b47b012725691b1ccfb85e6a6c929667079a8f1f241a1ec2c64cd0efcb70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1338-1346 | crates/hyperswitch_connectors/src/utils.rs:1445-1453 | crates/router/src/connector/utils.rs:1483-1491 | crates/router/src/connector/utils.rs:1556-1564 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ffda20b4e2f8723180d05888fdb8b5fe87c84af152f00e788296ef1ddaaae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1347-1355 | crates/hyperswitch_connectors/src/utils.rs:1454-1462 | crates/router/src/connector/utils.rs:1492-1500 | crates/router/src/connector/utils.rs:1565-1573 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1347}}}],"partialFingerprints":{"codehealthFindingId/v1":"396cef6371192cc9efe4932e7265335abdc71579924e1860a0e282d39bfdb87b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1356-1362 | crates/hyperswitch_connectors/src/utils.rs:1463-1469 | crates/router/src/connector/utils.rs:1501-1507 | crates/router/src/connector/utils.rs:1574-1580 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4dab7fc162a6c356d06791ad704bdc185a8a61d5a068b6939c65511d10c07f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1363-1367 | crates/hyperswitch_connectors/src/utils.rs:1470-1474 | crates/router/src/connector/utils.rs:1508-1512 | crates/router/src/connector/utils.rs:1581-1585 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b64961f804d54be48e1cf3ed0e82a495aa79859e8b7d94c2db19e227e02cac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1373-1380 | crates/hyperswitch_connectors/src/utils.rs:1480-1487 | crates/router/src/connector/utils.rs:1513-1520 | crates/router/src/connector/utils.rs:1586-1593 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ab2ff5e32f7474d34905a2a3d2577301c437a2dcc768b2df05502067177b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1381-1388 | crates/hyperswitch_connectors/src/utils.rs:1488-1495 | crates/router/src/connector/utils.rs:1521-1528 | crates/router/src/connector/utils.rs:1594-1601 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"69405858be9b379da30759c7bac0faebd139b1eb2d16305a161e7ca513a9c1ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1570-1576 | crates/hyperswitch_connectors/src/utils.rs:7530-7536 | crates/hyperswitch_connectors/src/utils.rs:7643-7649 | crates/router/src/connector/utils.rs:2474-2480 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"2691b80bfe32871c5d887494fa3e155fd80bf280df3988a963854865bf4b521d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1620-1628 | crates/hyperswitch_connectors/src/utils.rs:1729-1737 | crates/hyperswitch_connectors/src/utils.rs:7396-7404 | crates/router/src/connector/utils.rs:1384-1392 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"476fc4bd196799c05abf03dadb89cda49fc4b7bbb0e75cac349541458e54d1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1652-1660 | crates/hyperswitch_connectors/src/utils.rs:1761-1769 | crates/hyperswitch_connectors/src/utils.rs:7427-7435 | crates/router/src/connector/utils.rs:1399-1407 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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 \u0060crates/hyperswitch_connectors/src/utils.rs:1652\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"695cc773713a31b3626194118bbd3ad33b7ce86708b642c21509168452afa4a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1661-1669 | crates/hyperswitch_connectors/src/utils.rs:1770-1778 | crates/hyperswitch_connectors/src/utils.rs:7436-7444 | crates/router/src/connector/utils.rs:1408-1416 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93487f5e0b219e79eb325baf2192317357f8262db38f2988acd49efc7e8f064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1670-1678 | crates/hyperswitch_connectors/src/utils.rs:1779-1787 | crates/hyperswitch_connectors/src/utils.rs:7445-7453 | crates/router/src/connector/utils.rs:1417-1425 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"1120ea38d2eec69d538740fc339cda8cb3ec9bfac9de820c356bc86ff2faca8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1679-1685 | crates/hyperswitch_connectors/src/utils.rs:1788-1794 | crates/hyperswitch_connectors/src/utils.rs:7454-7460 | crates/router/src/connector/utils.rs:1426-1432 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bac1631f9ceb925f66f4acd8480ea9dbedf685066d64cb3cde07be7fd87e2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1686-1690 | crates/hyperswitch_connectors/src/utils.rs:1795-1799 | crates/hyperswitch_connectors/src/utils.rs:7461-7465 | crates/router/src/connector/utils.rs:1433-1437 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"71214906535eaf3be02b670881e094a960c9a403f3befd647f634c160e9e3df8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1696-1703 | crates/hyperswitch_connectors/src/utils.rs:1805-1812 | crates/hyperswitch_connectors/src/utils.rs:7466-7473 | crates/router/src/connector/utils.rs:1438-1445 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"def986ff1ea04429b93d9114aab872c40810079ee833dc9efbc58f3e950fcc81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hyperswitch_connectors/src/utils.rs:1704-1711 | crates/hyperswitch_connectors/src/utils.rs:1813-1820 | crates/hyperswitch_connectors/src/utils.rs:7474-7481 | crates/router/src/connector/utils.rs:1446-1453 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"98866619270ed2adef0adee8427c9db3db88a749c5c292a1037c13835118ae10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:1988-1994 | crates/router/src/connector/utils.rs:1835-1841 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d6d1e606ff43d509a28de6d871baab61c8467a3e64b97bc88c1a82d172e28b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:2397-2401 | crates/router/src/connector/utils.rs:1742-1746 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2397}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaab87e77ac4c69322c0ec0129362651c59518441d38ebd32a019716a5559d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:2402-2411 | crates/router/src/connector/utils.rs:1747-1756 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf329850dc09fa49ec4e579868ddc563d1c3529a387cd8d64a852955df85c454"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/utils.rs:2644-2650 | crates/hyperswitch_connectors/src/utils.rs:3136-3142 | crates/router/src/connector/utils.rs:982-988 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"62591000f974d39878fc941255368e5e04bd6712fe381701a443472480975a7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:2666-2671 | crates/router/src/connector/utils.rs:989-994 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa1bc0e7cda84961fd944b0570e9147d688fe594fd0d4b3117c53c693fa2e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:3207-3217 | crates/router/src/connector/utils.rs:1148-1158 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":3207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b227fee5c61aea49c0a607ea1396eee8eb3712cb19f616e9b0cbc81646b07188"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:3294-3300 | crates/router/src/connector/utils.rs:723-729 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":3294}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfe570ac67be16e7e39f3be0fb51ba57e0d14c8c7653b0af445950c314c0504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:3406-3411 | crates/router/src/connector/utils.rs:1078-1083 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":3406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2268990f986e8cbdb999ed2e7a572da17b6c721a19d09a89e0e2bfaad02329f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:3484-3494 | crates/router/src/connector/utils.rs:1907-1917 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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 \u0060crates/hyperswitch_connectors/src/utils.rs:3484\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa13329d8219c596b13c4a6f67310e930f1f53f3485a30825de1a99b4a75735"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:7182-7191 | crates/router/src/connector/utils.rs:1695-1704 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6166e563a2a3f351cd1c351f8078a3776e5e0b922c9eb47d73baeb61e4c00960"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:7539-7545 | crates/router/src/connector/utils.rs:2483-2489 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7539}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd49a15c507bf2a0a8456a876d885f58991a2ce2b1c4f06109fc930d1ba7cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/utils.rs:7697-7701 | crates/router/src/connector/utils.rs:2537-2541 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/utils.rs\u0060 and \u0060crates/router/src/connector/utils.rs\u0060 as WHOLE FILES: this scan already matched 73 separate duplicated blocks between them, totalling at least 715 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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7697}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7a6244aa2236378dae0d995988ce193472372a1614be119e0620c965c7a694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_domain_models/src/bulk_tokenization.rs:294-305 | crates/router/src/core/payments/transformers.rs:8100-8111 \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":"crates/hyperswitch_domain_models/src/bulk_tokenization.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a69a9fac5f5a86088945b14ada4ccd7f29c484b2cfd9d6d618955fe0861d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/hyperswitch_domain_models/src/lib.rs:1373-1384 | crates/hyperswitch_domain_models/src/lib.rs:1390-1401 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:282-293 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060amount\u0060 to \u0060\u0026api_models::payments::PaymentAttemptAmountDetails\u0060 in one and \u0060\u0026payments::payment_attempt::AttemptAmountDetailsSetter\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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c52df6a1bf34c03fd52f1f8304a1dc7da3fe1df07f36243980570ec49266411"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/hyperswitch_domain_models/src/mandates.rs:106-114 | crates/hyperswitch_domain_models/src/mandates.rs:118-126 | crates/hyperswitch_domain_models/src/mandates.rs:130-138 | crates/router/src/types/transformers.rs:257-265 | crates/router/src/types/transformers.rs:300-308 | crates/storage_impl/src/payments/payment_attempt.rs:1872-1880 \u2014 there are 6 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060ApiMandateAmountData\u0060 in one and \u0060MandateAmountData\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":"crates/hyperswitch_domain_models/src/mandates.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b468b6ca23f4f6bbe5a3263a3918be9efa0daaa758762b8473c43cbd82fd641d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:654-663 | crates/hyperswitch_domain_models/src/payments/payment_attempt.rs:668-677 | crates/router/src/types/transformers.rs:945-954 \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 \u0060crates/router/src/types/transformers.rs:945\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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"a088c25845ab631a87efb4d4fce270130663937d089405ac978548aca3c6d8b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_interfaces/src/events/connector_api_logs.rs:94-101 | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs:114-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/events/connector_api_logs.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"de47d6c3c4d4667433c03b8024f68124c47f997b9dbc8faeb95dcfca04e1d416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): crates/hyperswitch_interfaces/src/unified_connector_service.rs:29-39 | crates/router/src/core/unified_connector_service.rs:3724-3734 | crates/router/src/core/unified_connector_service.rs:3739-3749 | crates/router/src/core/unified_connector_service.rs:3790-3800 | crates/router/src/core/unified_connector_service.rs:3805-3815 | crates/router/src/core/unified_connector_service.rs:3999-4009 | crates/router/src/core/unified_connector_service.rs:4015-4025 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_interfaces/src/unified_connector_service.rs:29\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 \u0060response\u0060 to \u0060payments_grpc::PaymentServiceGetResponse\u0060 in one and \u0060payments_grpc::PaymentServiceCreateOrderResponse\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":"crates/hyperswitch_interfaces/src/unified_connector_service.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdae1655c5f410dac0b81f3475a970431afce3350ce1c5222ecf7b6c7877e4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/compatibility/stripe/errors.rs:838-844 | crates/router/src/utils.rs:104-110 \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":"crates/router/src/compatibility/stripe/errors.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7030e0ab61af17e8e17e490bb50764abf9b16b37365ef5d46a5eabe6b47103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/payment_methods/surcharge_decision_configs.rs:528-534 | crates/router/src/core/payments/conditional_configs.rs:86-92 \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 \u0060crates/router/src/core/payment_methods/surcharge_decision_configs.rs:528\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 \u0060interpreter\u0060 to \u0060\u0026backend::VirInterpreterBackend\u003CSurchargeDecisionConfigs\u003E\u0060 in one and \u0060\u0026backend::VirInterpreterBackend\u003Ccommon_types::payments::ConditionalConfigs\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/surcharge_decision_configs.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bda61474ecfb07950fcb6fa1f390d23c7ab13960a6245b4d0f51d9c0db0018"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payment_methods/tokenize/card_executor.rs:66-80 | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:49-63 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/tokenize/card_executor.rs\u0060 and \u0060crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca8c8ee034617e8519dd9d66b26bc7ec9f6e41a14c239f230954f65855912a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payment_methods/tokenize/card_executor.rs:328-338 | crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs:270-280 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods/tokenize/card_executor.rs\u0060 and \u0060crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0559be60362f6a07d110a3641d0f72a2aa961b96f0a1b8c2d89452067066f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payments/gateway/context.rs:133-141 | crates/router/src/core/payments/helpers.rs:2771-2779 \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 \u0060crates/router/src/core/payments/gateway/context.rs:133\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":"crates/router/src/core/payments/gateway/context.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6728f06019fb934b2e8a51f2b59bebe9b8048c524531eef1190ad62f5162693f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:154-162 | crates/router/src/core/payments/operations/payment_capture_v2.rs:131-139 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:142-150 | crates/router/src/core/payments/operations/payment_get.rs:141-149 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:133-141 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_capture_v2.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 49 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:154\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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7a562c9e2fdae7801873492bde2dfac848894837f11df95f5b8ce9e0c19cf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:454-463 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:539-548 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:322-331 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 173 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 \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs:454\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b40e543621e56b16f24782255e10e9cbcc13bca56119d047a27e2b513c6f00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): crates/router/src/core/payments/operations/payment_attempt_list.rs:173-179 | crates/router/src/core/payments/operations/payment_attempt_record.rs:311-317 | crates/router/src/core/payments/operations/payment_cancel_v2.rs:113-119 | crates/router/src/core/payments/operations/payment_create_intent.rs:233-239 | crates/router/src/core/payments/operations/payment_get_intent.rs:154-160 | crates/router/src/core/payments/operations/payment_session_intent.rs:214-220 | crates/router/src/core/payments/operations/payment_update_intent.rs:447-453 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_attempt_record.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_session_intent.rs\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. 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 \u0060crates/router/src/core/payments/operations/payment_attempt_list.rs:173\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":"crates/router/src/core/payments/operations/payment_attempt_list.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79ef82481e161862b0066ca51ad8502707c0d66b82870352a6c077da0774a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/core/payments/operations/payment_cancel.rs:441-451 | crates/router/src/core/payments/operations/payment_cancel_post_capture.rs:312-322 | crates/router/src/core/payments/operations/payment_capture.rs:484-494 | crates/router/src/core/payments/operations/payments_incremental_authorization.rs:399-409 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 238 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 \u0060crates/router/src/core/payments/operations/payment_cancel.rs:441\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":"crates/router/src/core/payments/operations/payment_cancel.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d165891a133aa11161cf21f664d05ab9ba2e39269b22ed113e8cd9469c2713f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/operations/payment_create.rs:1081-1092 | crates/router/src/core/payments/operations/payment_update.rs:824-835 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 170 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 \u0060crates/router/src/core/payments/operations/payment_create.rs:1081\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb728d4554a784f09c76693370f7a010f3e9bb9369e899a267dd00d2039c4dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payments/retry.rs:382-390 | crates/router/src/core/utils.rs:2718-2726 \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":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3e2dca883b6a965af5cbe81217f4be441f0e89b3b459c0bc20e6b89825c466"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/refunds.rs:1065-1076 | crates/router/src/core/refunds_v2.rs:648-659 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea782ffcfee0719f4736a377b8220177e2327b1117ec0c518e345b2c728520f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/webhooks/outgoing.rs:1872-1878 | crates/router/src/core/webhooks/outgoing_v2.rs:1076-1082 \u2014 before extracting anything, compare \u0060crates/router/src/core/webhooks/outgoing.rs\u0060 and \u0060crates/router/src/core/webhooks/outgoing_v2.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 159 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 \u0060crates/router/src/core/webhooks/outgoing.rs:1872\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":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef4b5c426fc460bdccfa288e6546b7eb4adf2fdd7030631b335ff94befe6a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 24): crates/router/src/db/api_keys.rs:58-64 | crates/router/src/db/authorization.rs:39-45 | crates/router/src/db/batch_blocklist_job.rs:135-140 | crates/router/src/db/blocklist.rs:189-195 | crates/router/src/db/blocklist_fingerprint.rs:33-39 | crates/router/src/db/blocklist_lookup.rs:39-45 | crates/router/src/db/dispute.rs:99-105 | crates/router/src/db/dynamic_routing_stats.rs:40-46 | crates/router/src/db/file.rs:43-48 | crates/router/src/db/fraud_check.rs:37-42 | crates/router/src/db/generic_link.rs:90-96 | crates/router/src/db/locker_mock_up.rs:46-51 | crates/router/src/db/mandate.rs:511-517 | crates/router/src/db/payment_link.rs:56-62 | crates/router/src/db/refund.rs:211-216 | crates/router/src/db/refund.rs:808-813 | crates/router/src/db/reverse_lookup.rs:46-51 | crates/router/src/db/role.rs:80-85 | crates/router/src/db/routing_algorithm.rs:95-101 | crates/router/src/db/unified_translations.rs:46-52 | crates/router/src/db/user.rs:77-83 | crates/router/src/db/user/theme.rs:56-62 | crates/router/src/db/user_authentication_method.rs:52-58 | crates/router/src/db/user_role.rs:112-119 \u2014 before extracting anything, compare \u0060crates/router/src/db/dispute.rs\u0060 and \u0060crates/router/src/db/mandate.rs\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. 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 \u0060crates/router/src/db/api_keys.rs:58\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 \u0060new\u0060 to \u0060storage::BatchBlocklistJobNew\u0060 in one and \u0060storage::FraudCheckNew\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":"crates/router/src/db/api_keys.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"731ea19595938729c252a8e1b8483f5c185a7fd6b851ab73804262999a7d77b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/db/dashboard_metadata.rs:79-85 | crates/router/src/db/organization.rs:35-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 \u0060crates/router/src/db/dashboard_metadata.rs:79\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":"crates/router/src/db/dashboard_metadata.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"84456aa7f47ec38b66c904dcf3f4d92f834756820b8552e86c7a516056f70cbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/router/src/db/dispute.rs:251-256 | crates/router/src/db/file.rs:129-134 | crates/scheduler/src/db/process_tracker.rs:131-136 \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 \u0060crates/router/src/db/dispute.rs:251\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 \u0060this\u0060 to \u0060storage::FileMetadata\u0060 in one and \u0060storage::ProcessTracker\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":"crates/router/src/db/dispute.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9bd9e1642d89ce798078721cc6bd2ce6a105771fa8c7c38e8a27241f652edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 15): crates/router/src/routes/payments.rs:3789-3797 | crates/router/src/routes/payments.rs:3828-3836 | crates/router/src/routes/payments.rs:3855-3863 | crates/router/src/routes/payments.rs:3872-3880 | crates/router/src/routes/payments.rs:3889-3897 | crates/router/src/routes/payments.rs:3928-3936 | crates/router/src/routes/payments.rs:3945-3953 | crates/router/src/routes/payments.rs:3962-3970 | crates/router/src/routes/payments.rs:3979-3987 | crates/router/src/routes/payments.rs:4013-4021 | crates/router/src/routes/payments.rs:4030-4038 | crates/router/src/routes/payments.rs:4087-4095 | crates/router/src/routes/payments.rs:4104-4112 | crates/router/src/routes/payments.rs:4121-4129 | crates/router/src/routes/refunds.rs:23-31 \u2014 there are 15 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 15 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":3789}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddac7329e8a999c9dd76b96a37d0faa8bfa2c78a61f62b03f68259d64c3f6b69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/services/kafka/payment_attempt.rs:408-415 | crates/router/src/services/kafka/payment_attempt_event.rs:410-417 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/payment_attempt.rs\u0060 and \u0060crates/router/src/services/kafka/payment_attempt_event.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 232 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":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a3d1b2c0ea91b2075f1cf8e32ff51f63a76e262f9e4e3155e52dc52455c006"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/services/kafka/refund.rs:220-228 | crates/router/src/services/kafka/refund_event.rs:222-230 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/refund.rs\u0060 and \u0060crates/router/src/services/kafka/refund_event.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 134 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":"crates/router/src/services/kafka/refund.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f38bd638ef38b59b8c2ae021cc1fc95f94057a2581b9daf080735ab0891630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/services/kafka/refund.rs:230-238 | crates/router/src/services/kafka/refund_event.rs:238-246 \u2014 before extracting anything, compare \u0060crates/router/src/services/kafka/refund.rs\u0060 and \u0060crates/router/src/services/kafka/refund_event.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 134 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":"crates/router/src/services/kafka/refund.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3619a0edb7b4f5c9fa9ae2828283a612d340f241e2998a1f78615530ee2807e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/workflows/payment_method_modular_backward_compat.rs:160-170 | crates/router/src/workflows/payment_method_modular_forward_compat.rs:153-163 \u2014 before extracting anything, compare \u0060crates/router/src/workflows/payment_method_modular_backward_compat.rs\u0060 and \u0060crates/router/src/workflows/payment_method_modular_forward_compat.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1836ec4e461378e5e15e025d56965bd521b3d3de095b07e7c89242a1aa2aab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/router/src/workflows/payment_method_modular_backward_compat.rs:175-179 | crates/router/src/workflows/payment_method_modular_forward_compat.rs:168-172 \u2014 before extracting anything, compare \u0060crates/router/src/workflows/payment_method_modular_backward_compat.rs\u0060 and \u0060crates/router/src/workflows/payment_method_modular_forward_compat.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 66 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 \u0060crates/router/src/workflows/payment_method_modular_backward_compat.rs:175\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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b3d68755f6086b93142a57a9e9fad7fbe0eb2c84af53e5e7078c601c50a35f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12): crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs:110-123 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:126-150 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:131-144 | crates/hyperswitch_connectors/src/connectors/inespay.rs:127-140 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:145-164 | crates/hyperswitch_connectors/src/connectors/loonio.rs:135-148 | crates/hyperswitch_connectors/src/connectors/merchante.rs:129-150 | crates/hyperswitch_connectors/src/connectors/nexixpay.rs:150-163 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:133-144 | crates/hyperswitch_connectors/src/connectors/powertranz.rs:134-147 | crates/hyperswitch_connectors/src/connectors/recurly.rs:325-342 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:201-214 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/etisalat.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 51 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":"crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d82def10e25de0bdd85f1457c2af05d45bc3f6d21e9a02e10071411490c4fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/aci.rs:92-99 | crates/hyperswitch_connectors/src/connectors/checkout.rs:132-139 | crates/hyperswitch_connectors/src/connectors/coingate.rs:126-133 | crates/hyperswitch_connectors/src/connectors/mollie.rs:112-119 | crates/hyperswitch_connectors/src/connectors/stax.rs:117-125 | crates/hyperswitch_connectors/src/connectors/taxjar.rs:121-128 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 99 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 \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs:132\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, \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs:142\u0060 calls \u0060as_ref\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/aci.rs:101\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57b342fb6d9eb483c7d488b7c8d0cdcaccbd526a962fa17ec25bc835fdcb4e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/aci/transformers.rs:101-110 | crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs:952-961 \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":"crates/hyperswitch_connectors/src/connectors/aci/transformers.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3081e615c42cbd180e967e0f8ef04b3761434c931031700120fb210d9c6ae4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/adyen.rs:145-152 | crates/hyperswitch_connectors/src/connectors/authipay.rs:166-173 | crates/hyperswitch_connectors/src/connectors/fiserv.rs:149-156 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:145-152 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/fiserv.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 51 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:145\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, \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:154\u0060 calls \u0060as_ref\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authipay.rs:175\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"064619d5be24f5fb5acbce3e87717265f4b711b66a422bd1129c5dd33c24d271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:94-101 | crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:132-139 | crates/hyperswitch_connectors/src/connectors/wise.rs:110-117 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/adyenplatform.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:104\u0060 calls \u0060as_ref\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:141\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":"crates/hyperswitch_connectors/src/connectors/adyenplatform.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9f39a6b8228b21776486cd122100902615b6d4fc870e6cc22b9c4d2560ed18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authipay.rs:531-537 | crates/hyperswitch_connectors/src/connectors/mollie.rs:350-355 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/authipay.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/mollie.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 60 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 \u0060crates/hyperswitch_connectors/src/connectors/authipay.rs:531\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 \u0060req\u0060 to \u0060\u0026PaymentsCancelRouterData\u0060 in one and \u0060\u0026SetupMandateRouterData\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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4e1a78f50539dd2b0998c27414a1ca1854490fed93acc3f5026f2b03f46c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 17): crates/hyperswitch_connectors/src/connectors/barclaycard.rs:236-243 | crates/hyperswitch_connectors/src/connectors/celero.rs:123-130 | crates/hyperswitch_connectors/src/connectors/citigate.rs:124-131 | crates/hyperswitch_connectors/src/connectors/d24.rs:122-132 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:122-129 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:123-130 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:122-129 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:127-134 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:176-183 | crates/hyperswitch_connectors/src/connectors/katapult.rs:125-132 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:125-132 | crates/hyperswitch_connectors/src/connectors/opayo.rs:115-122 | crates/hyperswitch_connectors/src/connectors/payconex.rs:124-131 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:125-132 | crates/hyperswitch_connectors/src/connectors/sift.rs:125-132 | crates/hyperswitch_connectors/src/connectors/thunes.rs:122-129 | crates/hyperswitch_connectors/src/connectors/tokenex.rs:134-141 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/celero.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 71 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 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard.rs:236\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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8064527ae0c2d5fa5d83021bd169dd4a19f0486747ff8ae006a8cef56697bf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/calida.rs:711-716 | crates/hyperswitch_connectors/src/connectors/getnet.rs:785-789 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/calida.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/getnet.rs\u0060 as WHOLE FILES: this scan already matched 8 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/calida.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95a314c5444bd9e298c1ba61670c2c93eb1b321a320b3f33d6d09e6e34cf881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs:60-68 | crates/hyperswitch_connectors/src/connectors/plaid/transformers.rs:239-247 \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":"crates/hyperswitch_connectors/src/connectors/checkbook/transformers.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"09945bf97361cf5cbfdeb8d0ebf3bd0977953c811eb66542f0fca5caa5c22e55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:241-249 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:124-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:241\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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44834938723e0b9aa2b847b873d55e898e81c920366963e9b292c8be54a799b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:576-582 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:441-447 \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 \u0060crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:576\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 \u0060req\u0060 to \u0060\u0026FrmTransactionRouterData\u0060 in one and \u0060\u0026UasPostAuthenticationRouterData\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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bce3355ff9d63e0a2124d030ee53d44273a0111501d5bf0a414d786935925cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/finix/transformers.rs:436-443 | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs:763-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 \u0060crates/hyperswitch_connectors/src/connectors/finix/transformers.rs:436\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 \u0060item\u0060 to \u0060ResponseRouterData\u003CF, FinixInstrumentResponse, T, PaymentsResponseData\u003E\u0060 in one and \u0060ResponseRouterData\u003CF, SilverflowTokenizationResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/finix/transformers.rs"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe10993d14a8067c2db31bca3ac4e246c2f3f05fdfa9ebd1851390fbff09a34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs:154-162 | crates/hyperswitch_connectors/src/connectors/itaubank/transformers.rs:207-215 \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":"crates/hyperswitch_connectors/src/connectors/flexiti/transformers.rs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"824294feedb2709fb5e2b751b4e62026481c30c20122fc9e5347cecbe6e49356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs:219-228 | crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs:647-656 \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 \u0060value\u0060 to \u0060AuthStatus\u0060 in one and \u0060ThreedsecureioTransStatus\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":"crates/hyperswitch_connectors/src/connectors/gpayments/gpayments_types.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"625de6514f03d086ff1729f8c2edc0bf59fed4fc761ccf2c6aacc19dd08d12e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/novalnet.rs:1010-1014 | crates/hyperswitch_connectors/src/connectors/zsl.rs:404-408 \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 \u0060request\u0060 to \u0060\u0026webhooks::IncomingWebhookRequestDetails\u003C\u0027_\u003E\u0060 in one and \u0060\u0026IncomingWebhookRequestDetails\u003C\u0027_\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/novalnet.rs"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88412c717aa87c6cbb9154e5ced31dfa47ec3f2120d2d63de4d3001d388a58d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs:289-294 | crates/hyperswitch_connectors/src/connectors/shift4/transformers.rs:1061-1066 \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 \u0060item\u0060 to \u0060\u0026PaystackRouterData\u003C\u0026RefundsRouterData\u003CF\u003E\u003E\u0060 in one and \u0060\u0026Shift4RouterData\u003C\u0026RefundsRouterData\u003CF\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"14eb6ff7fccd947a1984483765a3ca99b6e63da96bd4377ce28448c1a2cf056c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs:356-362 | crates/hyperswitch_connectors/src/connectors/square/transformers.rs:470-476 \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":"crates/hyperswitch_connectors/src/connectors/rapyd/transformers.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2bf7327209134eae7ee120b02675fb556b176dcc34a428b6aea6148a9eff4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/tesouro.rs:1016-1026 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1810-1820 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/tesouro.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 79 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 \u0060crates/hyperswitch_connectors/src/connectors/tesouro.rs:1016\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":"crates/hyperswitch_connectors/src/connectors/tesouro.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37d6270bfb0da953a66655f3fa6915eea6a0995d7331dfdcbc521043bc2c124"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_domain_models/src/lib.rs:1255-1263 | crates/router/src/core/payments/transformers.rs:8500-8508 \u2014 before extracting anything, compare \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060 and \u0060crates/router/src/core/payments/transformers.rs\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d76fff72a2a4b2eead285160c1cb8567d33c82cdc5c05d631e8d1d1476d85a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_interfaces/src/events/connector_api_logs.rs:84-91 | crates/hyperswitch_interfaces/src/events/routing_api_logs.rs:104-111 \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":"crates/hyperswitch_interfaces/src/events/connector_api_logs.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c476ba1213f41680750dda92569981f8c595c9288515969d93bed5d2180a06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/router/src/core/fraud_check/flows/checkout_flow.rs:285-303 | crates/router/src/core/fraud_check/flows/sale_flow.rs:236-254 | crates/router/src/core/fraud_check/flows/transaction_flow.rs:203-221 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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 \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:285\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":"crates/router/src/core/fraud_check/flows/checkout_flow.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"a519a83cf32f526316b768d3a592bd1c7ef56ec5f75fa331bb56c2bf3a2a8d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): crates/router/src/core/payments/flows/complete_authorize_flow.rs:65-83 | crates/router/src/core/payments/flows/psync_flow.rs:41-59 \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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58a3ae271c0c1b83df2c48ee295f6ca25f82d3ed35660b424e3d0bd56d512da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments/flows/psync_flow.rs:79-91 | crates/router/src/core/payments/flows/session_flow.rs:59-71 \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 \u0060crates/router/src/core/payments/flows/session_flow.rs:59\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":"crates/router/src/core/payments/flows/psync_flow.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e543da159ed33a572bafea44af61609237b78f98acc977429d582f45f5d2df52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/refunds.rs:2991-2999 | crates/router/src/workflows/process_dispute.rs:172-179 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/workflows/process_dispute.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/router/src/core/refunds.rs:2991\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce480cf731eaf42fd11625d1071e1ab472b4f2e1e0b70ceeda00250c9d95d3a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): crates/router/src/db/api_keys.rs:163-168 | crates/router/src/db/mandate.rs:194-199 | crates/router/src/db/mandate.rs:425-430 | crates/router/src/db/mandate.rs:454-459 | crates/router/src/db/role.rs:138-143 | crates/router/src/db/user.rs:134-140 | crates/router/src/db/user.rs:180-186 | crates/router/src/db/user/theme.rs:98-103 \u2014 there are 8 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 8 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/api_keys.rs:163\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 \u0060merchant_id\u0060 to \u0060\u0026common_utils::id_type::MerchantId\u0060 in one and \u0060\u0026id_type::MerchantId\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":"crates/router/src/db/api_keys.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8763688b96fe8e0cf540c60a1998dc0e64590e499af412a07fea8a277dca507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/db/api_keys.rs:206-211 | crates/router/src/db/role.rs:126-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/db/api_keys.rs:206\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":"crates/router/src/db/api_keys.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d5fcfd92047b2aa402fefc8c9b401dca6951b90c5e994bc6bedc1a203ba15c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/db/kafka_store.rs:2011-2026 | crates/storage_impl/src/payments/payment_attempt.rs:1813-1828 \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 \u0060crates/router/src/db/kafka_store.rs:2011\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":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":2011}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a20647f2f9e7e843d39dda6f20d6cc9f1a4eadc85d54de204e230ee52b667d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/db/role.rs:186-197 | crates/router/src/db/routing_algorithm.rs:208-219 \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 \u0060crates/router/src/db/role.rs:186\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":"crates/router/src/db/role.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2e463b34aa647e9d33603b30b4b638d2b5e9d83259016ba0890660719f1029"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/types/api.rs:295-304 | crates/router/src/types/api.rs:324-333 | crates/router/src/types/api/authentication.rs:77-86 \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":"crates/router/src/types/api.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3841f81dbae81c1b8295e707aba42eb92fc578b07bc58abfe66a95ddeebe9f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/workflows/dispute_list.rs:167-174 | crates/router/src/workflows/payment_sync.rs:277-284 \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 \u0060crates/router/src/workflows/dispute_list.rs:167\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":"crates/router/src/workflows/dispute_list.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9074a244f6c8378a28a1c94fb09686225ab9e2b7858d6ae87be70f6b58ca19d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/router/src/workflows/outgoing_webhook_retry.rs:464-473 | crates/router/src/workflows/outgoing_webhook_retry.rs:487-496 | crates/router/src/workflows/revenue_recovery.rs:246-254 | crates/router/src/workflows/revenue_recovery.rs:265-273 \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 \u0060crates/router/src/workflows/outgoing_webhook_retry.rs:464\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":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c401c4361bd9be1cf68756f7444308f85b96831e9dd2fcc88e941254e179f6a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen.rs:232-256 | crates/hyperswitch_connectors/src/connectors/adyen.rs:258-285 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:232\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60e8f20e14f126da0a5f2370e70660f5e7cd3f8244643d6c400e3c955845c8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): crates/router/src/services/api.rs:1038-1063 | crates/router/src/services/api.rs:1215-1240 | crates/router/src/services/api.rs:1258-1283 | crates/router/src/services/api.rs:1831-1856 \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 \u0060crates/router/src/services/api.rs:1038\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":"crates/router/src/services/api.rs"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f17b15dbf143e3fc8656fb3eba576ab794624ee335a7b60e025c105e2d70995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): crates/router/src/types/storage/revenue_recovery_redis_operation.rs:750-770 | crates/router/src/types/storage/revenue_recovery_redis_operation.rs:858-877 \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 \u0060crates/router/src/types/storage/revenue_recovery_redis_operation.rs:750\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":"crates/router/src/types/storage/revenue_recovery_redis_operation.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"24949bb742c4db8029c12afb5b9c35ab5c80c81991ea4929e91e7d258d565bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/router/src/core/payments/operations/payment_session.rs:71-85 | crates/router/src/core/payments/operations/payment_start.rs:71-87 | crates/router/src/core/payments/operations/tax_calculation.rs:80-99 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_start.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 136 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 \u0060crates/router/src/core/payments/operations/payment_session.rs: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. 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":"crates/router/src/core/payments/operations/payment_session.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e7e8558b0f017605a8b38ef0fbefd27a859e03370df8fd122fafb4d0765bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/disputes.rs:492-510 | crates/router/src/core/disputes.rs:663-678 \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 \u0060crates/router/src/core/disputes.rs:492\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/disputes.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"8075a2b8015787b1aaa8c4c558ce5edf9c1ad19dee7e89e06fb32ef42e59acf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): crates/hyperswitch_interfaces/src/conversion_impls.rs:297-315 | crates/hyperswitch_interfaces/src/conversion_impls.rs:390-408 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1195-1213 \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 \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:297\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, \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:1216\u0060 calls \u0060to_string\u0060 and \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:318\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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cead4ff4952ed891e900e51ec385da20078d3ccf7506df1b5666e0ba98364e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): crates/hyperswitch_interfaces/src/conversion_impls.rs:298-315 | crates/hyperswitch_interfaces/src/conversion_impls.rs:391-408 | crates/hyperswitch_interfaces/src/conversion_impls.rs:528-546 | crates/hyperswitch_interfaces/src/conversion_impls.rs:1196-1213 \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 \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:298\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, \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:1216\u0060 calls \u0060to_string\u0060 and \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:318\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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51115edd9d6a114cbe21ec10a31f64a68f5d3b2a51a37e6993fc1e86345343c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/hyperswitch_interfaces/src/conversion_impls.rs:461-478 | crates/hyperswitch_interfaces/src/conversion_impls.rs:780-797 \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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c102523fb542514a55f86d28255e269d9fdcb3b81a60b5951adb192239c0147a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): crates/router/src/core/payment_methods.rs:730-747 | crates/router/src/core/payment_methods.rs:929-946 \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 \u0060crates/router/src/core/payment_methods.rs:730\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f11cbf520141519da20bd3f2dd7bed29cb17eb56f230b299bd908207d49b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/workflows/payment_method_modular_forward_compat.rs:284-298 | crates/router/src/workflows/payment_method_modular_forward_compat.rs:337-354 \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 \u0060crates/router/src/workflows/payment_method_modular_forward_compat.rs:284\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":"crates/router/src/workflows/payment_method_modular_forward_compat.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c22aacaa556ced8a605fc7d1d20db6cd9073fb9969ae447a0401f73ed3102d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1193-1209 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1324-1340 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1408-1424 | crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1458-1474 \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 \u0060crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs:1193\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 \u0060item\u0060 to \u0060\u0026NmiRouterData\u003C\u0026PaymentsCaptureRouterData\u003E\u0060 in one and \u0060ResponseRouterData\u003CSetupMandate, StandardResponse, T, PaymentsResponseData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de0ddd368353e0f64474969bf44013a40de413071f5d1f03ef5c1c40049a5b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/pm_auth.rs:648-664 | crates/router/src/core/pm_auth.rs:700-715 \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 \u0060crates/router/src/core/pm_auth.rs:648\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":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81d28f6fe99108ecce78635971557811b7b4952a621dc9bbbb966506f545b60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): crates/router/src/core/refunds.rs:2917-2933 | crates/router/src/core/refunds.rs:2958-2974 | crates/router/src/core/refunds_v2.rs:1554-1570 | crates/router/src/core/refunds_v2.rs:1593-1609 | crates/router/src/core/revenue_recovery.rs:681-697 \u2014 before extracting anything, compare \u0060crates/router/src/core/refunds.rs\u0060 and \u0060crates/router/src/core/refunds_v2.rs\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 189 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2917}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43a13ddc9a71f1040dede5ad4fb760c9de43a3d12671b1a906119aaebc8a85f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/workflows/payment_method_modular_backward_compat.rs:390-406 | crates/router/src/workflows/payment_method_modular_backward_compat.rs:641-656 \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 \u0060crates/router/src/workflows/payment_method_modular_backward_compat.rs:390\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":"crates/router/src/workflows/payment_method_modular_backward_compat.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f53e21d36d0e8c8cb33e0d384a3e38dbba64d88ce6b10029b2047cdeac10d05"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/hyperswitch_interfaces/src/conversion_impls.rs:466-480 | crates/hyperswitch_interfaces/src/conversion_impls.rs:533-548 | crates/hyperswitch_interfaces/src/conversion_impls.rs:592-606 \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 \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs:466\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":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91addf7fd26d3f05820747355a57e01f522b9cfa62a632a316e9fb44deb4e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payouts.rs:4793-4808 | crates/router/src/core/unified_connector_service.rs:1820-1835 \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 \u0060crates/router/src/core/payouts.rs:4793\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":4793}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae7b1290e0e840edcfa0022149b5289def28ef90940776c66f35bc0a4711f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/analytics/src/lib.rs:203-218 | crates/analytics/src/lib.rs:418-433 \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 \u0060crates/analytics/src/lib.rs:203\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":"crates/analytics/src/lib.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa487484f8d34784ff49bcc1766475f14baf9b742e5f6f0b792de5ab026462f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): crates/router/src/core/payment_methods/vault.rs:3220-3235 | crates/router/src/core/payment_methods/vault.rs:3405-3420 \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 \u0060crates/router/src/core/payment_methods/vault.rs:3220\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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3075493161b570164594016a1862706c25424f3611d8deafdad146539f873080"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/fraud_check/flows/checkout_flow.rs:131-143 | crates/router/src/core/fraud_check/flows/sale_flow.rs:97-112 \u2014 before extracting anything, compare \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs\u0060 and \u0060crates/router/src/core/fraud_check/flows/sale_flow.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 103 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 \u0060crates/router/src/core/fraud_check/flows/checkout_flow.rs:131\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":"crates/router/src/core/fraud_check/flows/checkout_flow.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c196a741a001c53fce1505c87c07145e1c92be3451b1d162c12fac106b4ef35a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/operations/payment_response.rs:1570-1584 | crates/router/src/core/payments/operations/payment_response.rs:3830-3840 \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 \u0060crates/router/src/core/payments/operations/payment_response.rs:1570\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7d3b1f1ae5009846ce8522c0d24b5bb9119e14432ed4e00f68396260b2835c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): crates/router/src/core/payments.rs:10918-10932 | crates/router/src/core/payments.rs:10993-11007 \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":"crates/router/src/core/payments.rs"},"region":{"startLine":10918}}}],"partialFingerprints":{"codehealthFindingId/v1":"deca8a109a8f16749da93978fb2bf1c437293606810d81700b9bfd7ccff0ecdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/blocklist/utils.rs:384-398 | crates/router/src/core/blocklist/utils.rs:464-476 \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 \u0060crates/router/src/core/blocklist/utils.rs:384\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":"crates/router/src/core/blocklist/utils.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"99907850cb4ffccdb2022ec142a71e454c8258e198379bf514fbe1879fbd88b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): crates/subscriptions/src/core/payments_api_client.rs:119-133 | crates/subscriptions/src/core/payments_api_client.rs:142-156 | crates/subscriptions/src/core/payments_api_client.rs:210-224 \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 \u0060crates/subscriptions/src/core/payments_api_client.rs:119\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":"crates/subscriptions/src/core/payments_api_client.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"005b24d86687d2e67a08a4899452544102c3b0645e2ee9591a0696b2b5b0fe4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): crates/router/src/routes/payments/helpers.rs:35-63 | crates/router/src/routes/payouts.rs:664-692 \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 \u0060crates/router/src/routes/payments/helpers.rs:35\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026actix_web::HttpRequest\u0060 in one and \u0060\u0026HttpRequest\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":"crates/router/src/routes/payments/helpers.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb9cf9550f5fd9cd31b33dd0de6033c3b3ba642b1ad269df460a561655086af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/blocklist/batch.rs:481-494 | crates/router/src/core/blocklist/export.rs:139-152 \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 \u0060crates/router/src/core/blocklist/batch.rs:481\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":"crates/router/src/core/blocklist/batch.rs"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb0ed1774a9693395da6c207017da658b44f249e7feb3b765f6bcaa73992d96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:176-189 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:193-205 \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 \u0060crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:176\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":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4450b25eecfd8d56875b813babb013ee6070449417a0dc79417818ceb83dee63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router/src/core/user_role.rs:190-203 | crates/router/src/core/user_role.rs:544-557 \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 \u0060crates/router/src/core/user_role.rs:190\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":"crates/router/src/core/user_role.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebbd2d9e0e53f7f5bb5919c9a16d5cb64cef4515c97d8b976025fe2f64f3e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:81-94 | crates/router/src/core/payments/operations/payment_update_metadata.rs:81-94 | crates/router/src/core/payments/operations/payments_extend_authorization.rs:83-96 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update_metadata.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 194 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 \u0060crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs:81\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":"crates/router/src/core/payments/operations/payment_cancel_post_capture_sync.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d30061cb24de141d6aef197b3d61a807ea19e60a8435bc29bcdcccd3aaaff84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/types/api/customers.rs:87-97 | crates/router/src/types/api/customers.rs:102-115 \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 \u0060crates/router/src/types/api/customers.rs:87\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":"crates/router/src/types/api/customers.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16862401ac0d8138549b6e0d9bf0abfb2521b2820fb7e125fb90992abaa6c89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:74-84 | crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs:100-113 \u2014 before extracting anything, compare \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs\u0060 and \u0060crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 73 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0aa0619f09d80165fdaec4b86f3cf28793053f20abe742c86eeebdeb6260e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): crates/router_derive/src/macros/xss_validation.rs:89-102 | crates/router_derive/src/macros/xss_validation.rs:107-120 \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 \u0060crates/router_derive/src/macros/xss_validation.rs:89\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":"crates/router_derive/src/macros/xss_validation.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"496271487113313cfa4fb4b04e7ee373bb9cf99893f3578120da6d41e7aad699"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/analytics/src/api_event/metrics/status_code_count.rs:44-56 | crates/analytics/src/frm/metrics/frm_triggered_attempts.rs:58-70 \u2014 before extracting anything, compare \u0060crates/analytics/src/api_event/metrics/status_code_count.rs\u0060 and \u0060crates/analytics/src/frm/metrics/frm_triggered_attempts.rs\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 \u0060crates/analytics/src/api_event/metrics/status_code_count.rs:44\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":"crates/analytics/src/api_event/metrics/status_code_count.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c8dc15669347ba8260d6889b6b4e72b5776bea3212c45171e8a991eca59bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:5021-5033 | crates/router/src/core/unified_connector_service.rs:5119-5131 \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 \u0060crates/router/src/core/unified_connector_service.rs:5021\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":5021}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeba0f0e0bf77ca1b876cc036b74a68be03e3786979b41d31d8252c82bc46292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/utils.rs:3105-3117 | crates/router/src/core/utils.rs:3133-3145 \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 \u0060crates/router/src/core/utils.rs:3105\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":"crates/router/src/core/utils.rs"},"region":{"startLine":3105}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b3f27541d3d3ce7193e6c4b659835441e8a2db279b4ce416696731d66f3f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/refunds.rs:659-671 | crates/router/src/core/refunds.rs:1352-1364 \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 \u0060crates/router/src/core/refunds.rs:659\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"5389787981180856c5efeeac9b176d9b2ddd43578caec535c4b07dcb515314d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/router/src/core/files/helpers.rs:364-376 | crates/router/src/core/payments/operations/payment_create.rs:927-939 | crates/router/src/core/payments/operations/payment_update.rs:777-789 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 170 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 \u0060crates/router/src/core/files/helpers.rs:364\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":"crates/router/src/core/files/helpers.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb075527cc249edfeaf6935c771799b965123ca7a15af140546dde5de7bd1000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): crates/external_services/src/grpc_client/unified_connector_service.rs:868-880 | crates/external_services/src/grpc_client/unified_connector_service.rs:1181-1193 | crates/external_services/src/grpc_client/unified_connector_service.rs:1411-1423 \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 \u0060crates/external_services/src/grpc_client/unified_connector_service.rs:868\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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"8238494893f52c53c18c19328a157398afbbc6967524bbf662a10bb0b2aeb076"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/flows/complete_authorize_flow.rs:367-377 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:454-466 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:367\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6d017403d5e3eae42ed0cfa7839522edf076d290ae5decf8b5d547077b91e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payments/operations/payment_confirm.rs:3155-3167 | crates/router/src/core/payments/operations/payment_confirm.rs:3170-3182 \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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":3155}}}],"partialFingerprints":{"codehealthFindingId/v1":"303851ea78bec08a6722b960475497b372d545758ccff2cd113002c210e13588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/external_services/src/grpc_client/unified_connector_service.rs:611-623 | crates/external_services/src/grpc_client/unified_connector_service.rs:1253-1265 \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 \u0060crates/external_services/src/grpc_client/unified_connector_service.rs:611\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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a06c8ccc11e8c266d79b013ea7532d598f59b6427a637a7590ddc3ff95f5582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/analytics/src/active_payments/core.rs:44-56 | crates/analytics/src/sdk_events/core.rs:71-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/analytics/src/active_payments/core.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/active_payments/core.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6845c0361b2eca442fc5193febe93da6d753928f23975a981cbbd34d0cdd75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:210-222 | crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:225-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 \u0060crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs:210\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":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d218c0a69284c7ad7b9f7a13038e83fe1c7776aea14d14012b5c8acae74fbeea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:445-457 | crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:502-513 \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 \u0060crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs:445\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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf9edc15cc8bcc1edac95443dabd2c75b604540cbd417367e033abda49296ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/external_services/src/grpc_client/unified_connector_service.rs:1007-1019 | crates/external_services/src/grpc_client/unified_connector_service.rs:1448-1460 \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 \u0060crates/external_services/src/grpc_client/unified_connector_service.rs:1007\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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19fe744d473eaecf8a97c04e528ac8150538204af0289bff1f9ea942e286b83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): crates/router/src/core/payment_methods/transformers.rs:2187-2199 | crates/router/src/core/payment_methods/transformers.rs:2515-2527 \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 \u0060crates/router/src/core/payment_methods/transformers.rs:2187\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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf8384e7db1fcf1e0d969317f9cd5ea785f239020d70d14303b9195af0dd82a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/analytics.rs:2376-2387 | crates/router/src/analytics.rs:2459-2470 \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 \u0060crates/router/src/analytics.rs:2376\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":"crates/router/src/analytics.rs"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0200ef436c2848d0c8e021f97dd0efafb1207040a78e771c38e1471212f50a68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/analytics/src/payment_intents/aggregate.rs:52-63 | crates/analytics/src/payment_intents/sankey.rs:112-123 \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 \u0060crates/analytics/src/payment_intents/aggregate.rs:52\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":"crates/analytics/src/payment_intents/aggregate.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3272b6578fc9a5a938f6c0a6c86096fed4b89a7c8dffa7fdc23ffbaec5aabeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/vault.rs:2593-2604 | crates/router/src/core/payment_methods/vault.rs:2627-2638 \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 \u0060crates/router/src/core/payment_methods/vault.rs:2593\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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ef6b5b44a568115cc15af96649b264336ff6ddfea79b0dfa589451a573a0be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/operations/payment_cancel_v2.rs:283-294 | crates/router/src/core/payments/operations/payment_capture_v2.rs:282-293 \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":"crates/router/src/core/payments/operations/payment_cancel_v2.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f1c3b0746cbf8b5637832d0a3fa06d639aa9ed027fc9975d2094323d8ecfe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:534-545 | crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:618-626 \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 \u0060crates/hyperswitch_connectors/src/connectors/celero/transformers.rs:534\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":"crates/hyperswitch_connectors/src/connectors/celero/transformers.rs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9b04c0a1f395a09ccb8a9e1200110fe70c1763fcb849f9ba8271534dc64191"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/router/src/db/dispute.rs:403-414 | crates/router/src/db/mandate.rs:379-390 | crates/router/src/db/refund.rs:780-791 | crates/storage_impl/src/authentication.rs:362-373 \u2014 before extracting anything, compare \u0060crates/router/src/db/dispute.rs\u0060 and \u0060crates/router/src/db/mandate.rs\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. 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 \u0060crates/router/src/db/dispute.rs:403\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":"crates/router/src/db/dispute.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd2ee949ac7a59b93225b6adfe7ec792218cd11db1a67b83720e45c1e921b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): crates/router/src/core/disputes.rs:1248-1259 | crates/router/src/core/payments.rs:14552-14562 | crates/router/src/core/payments.rs:14829-14840 | crates/router/src/core/payments.rs:14912-14923 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060state\u0060 to \u0060\u0026SessionState\u0060 in one and \u0060SessionState\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":"crates/router/src/core/disputes.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c128ede061c843032b51ffe468286963dbd736fe8434e87f345cebcab659ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payments/operations/payment_update.rs:1268-1279 | crates/router/src/core/payments/operations/payment_update.rs:1284-1295 \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 \u0060crates/router/src/core/payments/operations/payment_update.rs:1268\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":"crates/router/src/core/payments/operations/payment_update.rs"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"71321e22a89d3893ac027f1cb715545d3667bffbceec8df8bd0e6c608bf0fc54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs:435-446 | crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs:454-465 \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 \u0060crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs:435\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":"crates/hyperswitch_connectors/src/connectors/amazonpay/transformers.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce355817eb3b62dbefdc234934931f7f1a5aa06684e061b3eddcca63fa58122a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/redis_interface/src/module/redis_rs.rs:415-426 | crates/redis_interface/src/module/redis_rs.rs:438-449 \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 \u0060crates/redis_interface/src/module/redis_rs.rs:415\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":"crates/redis_interface/src/module/redis_rs.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"236e7bb9cddcab64c2d7c290f15d725f076e8b24c909ebdbd426f46afd0a4322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): crates/analytics/src/lib.rs:202-213 | crates/analytics/src/lib.rs:312-323 | crates/analytics/src/lib.rs:417-428 | crates/analytics/src/lib.rs:644-655 \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 \u0060crates/analytics/src/lib.rs:202\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":"crates/analytics/src/lib.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"040a2fde9cc11e24c0e9d732074a96cfb7a9b6ca8fcbb3270b84839a865a9a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/refunds.rs:2227-2237 | crates/router/src/core/utils.rs:931-942 \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 \u0060state\u0060 to \u0060SessionState\u0060 in one and \u0060\u0026SessionState\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":"crates/router/src/core/refunds.rs"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0ed584d9c4aa9e9cca65f013327eb61a04bad4f79cd39efd4e07bef3699853"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router/src/workflows/dispute_list.rs:44-55 | crates/router/src/workflows/post_capture_void_sync.rs:46-57 | crates/router/src/workflows/process_dispute.rs:41-52 \u2014 before extracting anything, compare \u0060crates/router/src/workflows/dispute_list.rs\u0060 and \u0060crates/router/src/workflows/process_dispute.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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 \u0060crates/router/src/workflows/dispute_list.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/dispute_list.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ca642d8d466f5d8e2aebf030307e2be91cf997b05b2a151531b266c02326f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payments/flows/authorize_flow.rs:1708-1717 | crates/router/src/core/payments/flows/authorize_flow.rs:1846-1857 \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 \u0060crates/router/src/core/payments/flows/authorize_flow.rs:1708\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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c8c997b10eebf66fc4287d0634a7180da2d4f9680d85c8fe56b1f2fae0b849"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/storage_impl/src/authentication.rs:364-375 | crates/storage_impl/src/payments/payment_attempt.rs:836-847 | crates/storage_impl/src/payouts/payout_attempt.rs:138-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/storage_impl/src/authentication.rs:364\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":"crates/storage_impl/src/authentication.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccf689273dd36aafa3392ceeca26b3c4f8178e347528cb5bf8160bbeea342e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:1839-1850 | crates/router/src/core/payment_methods/cards.rs:2070-2081 \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 \u0060crates/router/src/core/payment_methods/cards.rs:1839\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1839}}}],"partialFingerprints":{"codehealthFindingId/v1":"3099c5e2de888e4c3f38ee481d068f59102d9879099e9db1a65b365e6a26f8ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/checkout.rs:1092-1103 | crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs:1667-1678 \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 \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs:1092\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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"df59662272a73e443836bc477cb0da298b8f5ad537fce811ee8d89d26f0dc25a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): crates/router/src/core/profile_acquirer.rs:73-84 | crates/router/src/core/profile_acquirer.rs:185-196 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/profile_acquirer.rs:73\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":"crates/router/src/core/profile_acquirer.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a2ca0e1f2ec8de24548c96167bef747f3028e6b56f81bf1dbbbb17a89aa442"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): crates/router_derive/src/macros/diesel.rs:117-128 | crates/router_derive/src/macros/operation.rs:330-341 | crates/router_derive/src/macros/operation.rs:347-358 \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 \u0060crates/router_derive/src/macros/diesel.rs:117\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":"crates/router_derive/src/macros/diesel.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3776d2a40f3f7fbe43b1aa07817b26fd3a8131e6684f9c619f3cd69658c713"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/payment_methods.rs:5848-5855 | crates/router/src/core/payment_methods/vault.rs:3520-3530 \u2014 before extracting anything, compare \u0060crates/router/src/core/payment_methods.rs\u0060 and \u0060crates/router/src/core/payment_methods/vault.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 95 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 \u0060crates/router/src/core/payment_methods.rs:5848\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5848}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd44f47ccaa5317fc5a03e62ffe7ec9c8e935aac6d94e9d8d541499c41c72944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payment_methods/cards.rs:3240-3250 | crates/router/src/core/payment_methods/cards.rs:6497-6507 \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":3240}}}],"partialFingerprints":{"codehealthFindingId/v1":"1493cd916c1c677a2bc7566c73250b4f7db9b3e6c0b711c4ef9cf1133a03a0cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/router/src/core/payments/flows/complete_authorize_flow.rs:794-802 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:946-956 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1064-1072 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:1200-1210 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:794\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2592e8b5954db2cb60d04851da0ac980541fe0c9c8a01048e15faad2052aee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/payments/routing.rs:3943-3953 | crates/router/src/core/payments/routing.rs:4129-4139 | crates/router/src/core/payments/routing.rs:4341-4351 \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 \u0060crates/router/src/core/payments/routing.rs:3943\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3943}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6cef6300245e0435aec917d3fca83465c2cf4bb2d2e24589205cfa1706ad49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/payment_link/src/template_renderer.rs:20-30 | crates/payment_link/src/template_renderer.rs:39-49 \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 \u0060crates/payment_link/src/template_renderer.rs:20\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":"crates/payment_link/src/template_renderer.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"309fc1a0702a96dfaa24537c83b4bf655bd60ac5311b6cbe3a7e2dc7faeb1404"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/payments/flows/complete_authorize_flow.rs:547-557 | crates/router/src/core/payments/flows/complete_authorize_flow.rs:610-620 \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 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs:547\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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29b8a5b0b4dbd8ef3b61474a78a29e305911897a3befb8d34e1e4543f2f00e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/superposition_proxy.rs:397-407 | crates/router/src/core/superposition_proxy.rs:785-795 \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 \u0060crates/router/src/core/superposition_proxy.rs:397\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":"crates/router/src/core/superposition_proxy.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"de654a533133351addd2c181ab38c8cf76fe26e85ccfd98d789ac8400d9e5cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:455-465 | crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs:550-558 | crates/hyperswitch_connectors/src/connectors/worldline/transformers.rs:251-259 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs\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 13 separate duplicated blocks between them, totalling at least 114 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:455\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50222f25ed4baa3621081d68d7348dea78c27c8814ba5cec2343caebb2347bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payment_methods/vault.rs:1931-1939 | crates/router/src/core/payment_methods/vault.rs:1989-1999 \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":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":1931}}}],"partialFingerprints":{"codehealthFindingId/v1":"408d6d8618639c7100e31fc15b878f5966d0eb1f2326a1b7e786576e1d9874d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs:100-110 | crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs:88-98 | crates/hyperswitch_connectors/src/connectors/trustpayments/transformers.rs:338-348 \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 \u0060crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs:100\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060item\u0060 to \u0060\u0026AuthipayRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in one and \u0060\u0026SilverflowRouterData\u003C\u0026PaymentsAuthorizeRouterData\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/silverflow/transformers.rs:100\u0060 calls \u0060try_from\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs:111\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":"crates/hyperswitch_connectors/src/connectors/authipay/transformers.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa880f0b87ebb0e4a07179d4b9fa55e1b3c841e2ed617736c8b86b548e7a98d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): crates/router/src/core/routing/helpers.rs:1158-1168 | crates/router/src/core/routing/helpers.rs:1345-1355 | crates/router/src/core/routing/helpers.rs:1538-1548 \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 \u0060crates/router/src/core/routing/helpers.rs:1158\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1126ff99ab77b000e3c839b86ab8b450822570d17458465197c71454e662eb50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): crates/hyperswitch_connectors/src/connectors/gigadat.rs:172-180 | crates/hyperswitch_connectors/src/connectors/mifinity.rs:169-176 | crates/hyperswitch_connectors/src/connectors/redsys.rs:134-142 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:376-386 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/gigadat.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/mifinity.rs\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. 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 \u0060crates/hyperswitch_connectors/src/connectors/gigadat.rs:172\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacbce112a63f2456a63e83fa742bc1c68ceca88ef8636e1ffa7c387361d2d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/fraud_check/operation/fraud_check_post.rs:276-286 | crates/router/src/core/fraud_check/operation/fraud_check_post.rs:335-345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/router/src/core/fraud_check/operation/fraud_check_post.rs:276\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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdf0332737ab0b73eaa6ec77e459b822c99b823b6076667bd10e5158cec16e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/router/src/core/routing/helpers.rs:133-143 | crates/router/src/core/routing/helpers.rs:156-166 \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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"db21a5c97b289dbbddd459785bd908e7c96a1252c1ffb5dff1705f10f8d08777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1022-1032 | crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs:4051-4061 \u2014 \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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 47 separate duplicated blocks between them, totalling at least 545 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs:1022\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":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df45d32ddbd7f4ceadaafec1541a83c50d778eba488f6c0d741d8e7e6282241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal.rs:1370-1380 | crates/hyperswitch_connectors/src/connectors/paypal.rs:1480-1490 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:1370\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c12506fd4cc415ad1d23d20de2ab95878cda5cc7e796f8939b79e93af9aee2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payment_methods.rs:3386-3395 | crates/router/src/core/payment_methods.rs:3757-3767 \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 \u0060crates/router/src/core/payment_methods.rs:3386\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50e401ffbc714408800aff71074919c739cafab82dca6c4b8375a527353f29b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payment_methods/tokenize.rs:288-298 | crates/router/src/core/payment_methods/tokenize.rs:324-333 \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 \u0060crates/router/src/core/payment_methods/tokenize.rs:288\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":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e716bf66c2c542925ef931ba4e00208108b6f799f85cc21ad3887d1ef5575d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/authipay.rs:301-311 | crates/hyperswitch_connectors/src/connectors/authipay.rs:383-393 | crates/hyperswitch_connectors/src/connectors/authipay.rs:474-484 | crates/hyperswitch_connectors/src/connectors/authipay.rs:564-574 | crates/hyperswitch_connectors/src/connectors/authipay.rs:654-664 | crates/hyperswitch_connectors/src/connectors/authipay.rs:736-746 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/connectors/authipay.rs:301\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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbf002a80d7bd721b6f5a5349ac221ff5acd24c18e50ad2df915dacff37390f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payment_methods/migration.rs:316-325 | crates/router/src/core/payment_methods/migration.rs:329-338 \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 \u0060crates/router/src/core/payment_methods/migration.rs:316\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":"crates/router/src/core/payment_methods/migration.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"205826eb6b792e76ae6232392b58abbcf66638d260b0379bcaa6e1a9574463cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/payment_methods/src/configs/payment_connector_required_fields.rs:791-800 | crates/payment_methods/src/configs/payment_connector_required_fields.rs:825-834 \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 \u0060crates/payment_methods/src/configs/payment_connector_required_fields.rs:791\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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"666c28b4fd3548f35eef48c631addfe8c03931c8add8e450a7294e1b871ffcd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/payment_methods.rs:8954-8963 | crates/router/src/core/payment_methods.rs:9030-9039 \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 \u0060crates/router/src/core/payment_methods.rs:8954\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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":8954}}}],"partialFingerprints":{"codehealthFindingId/v1":"752ad54abc7443c3032c0fd82636da25311b2306d20343ccc64facaa533f2889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/analytics/src/lib.rs:173-182 | crates/analytics/src/lib.rs:281-290 | crates/analytics/src/lib.rs:388-397 | crates/analytics/src/lib.rs:613-622 \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 \u0060crates/analytics/src/lib.rs:173\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":"crates/analytics/src/lib.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b85fa4ac239d3c2a6c2f5afafe5b029337fa52b0dc643bcc163200f9dd3f15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 17): crates/hyperswitch_connectors/src/connectors/bambora.rs:144-152 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:139-147 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:186-194 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:140-148 | crates/hyperswitch_connectors/src/connectors/globepay.rs:147-155 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:290-298 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:291-299 | crates/hyperswitch_connectors/src/connectors/moneris.rs:276-282 | crates/hyperswitch_connectors/src/connectors/opayo.rs:131-138 | crates/hyperswitch_connectors/src/connectors/payu.rs:131-139 | crates/hyperswitch_connectors/src/connectors/payu.rs:338-346 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:125-133 | crates/hyperswitch_connectors/src/connectors/shift4.rs:134-143 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:298-306 | crates/hyperswitch_connectors/src/connectors/vgs.rs:253-261 | crates/hyperswitch_connectors/src/connectors/volt.rs:291-299 | crates/hyperswitch_connectors/src/connectors/zen.rs:137-146 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/coinbase.rs\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/itaubank.rs:300\u0060 calls \u0060unwrap_or\u0060, \u0060to_string\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs:143\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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad0974d54d98611e4b706786962cea21574fd1762adb59895aa2eeb58184510"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 55): crates/hyperswitch_connectors/src/connectors/affirm.rs:152-160 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:305-313 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:220-228 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:441-448 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:157-165 | crates/hyperswitch_connectors/src/connectors/chargebee.rs:349-357 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:144-152 | crates/hyperswitch_connectors/src/connectors/citigate.rs:139-147 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:129-137 | crates/hyperswitch_connectors/src/connectors/d24.rs:140-148 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:170-176 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:162-170 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:146-154 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:168-176 | crates/hyperswitch_connectors/src/connectors/envoy.rs:246-253 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:158-166 | crates/hyperswitch_connectors/src/connectors/finix.rs:337-344 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:137-145 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:150-158 | crates/hyperswitch_connectors/src/connectors/getnet.rs:151-159 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:138-146 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:342-350 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:149-157 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:152-161 | crates/hyperswitch_connectors/src/connectors/hipay.rs:244-251 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:132-140 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:237-245 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:137-145 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:142-150 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:148-156 | crates/hyperswitch_connectors/src/connectors/inespay.rs:148-156 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:172-180 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:191-199 | crates/hyperswitch_connectors/src/connectors/katapult.rs:140-148 | crates/hyperswitch_connectors/src/connectors/loonio.rs:156-165 | crates/hyperswitch_connectors/src/connectors/merchante.rs:158-166 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:140-148 | crates/hyperswitch_connectors/src/connectors/paybox.rs:147-155 | crates/hyperswitch_connectors/src/connectors/payconex.rs:139-147 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:140-148 | crates/hyperswitch_connectors/src/connectors/paytm.rs:133-140 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:152-160 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:767-775 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:132-140 | crates/hyperswitch_connectors/src/connectors/recurly.rs:350-358 | crates/hyperswitch_connectors/src/connectors/sift.rs:140-148 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:236-244 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:222-230 | crates/hyperswitch_connectors/src/connectors/taxjar.rs:136-144 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:279-287 | crates/hyperswitch_connectors/src/connectors/thunes.rs:137-145 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:298-306 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:189-197 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:214-222 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:138-146 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/amazonpay.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 70 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 \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/breadpay.rs:168\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/amazonpay.rs:316\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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f8acee484804afa7e866f4ed42b4b356a39b6f82ad09526c9600a42609c206"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:258-267 | crates/hyperswitch_connectors/src/connectors/stripe.rs:396-405 | crates/hyperswitch_connectors/src/connectors/stripe.rs:587-596 | crates/hyperswitch_connectors/src/connectors/stripe.rs:778-787 | crates/hyperswitch_connectors/src/connectors/stripe.rs:999-1008 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1183-1192 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1361-1370 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1610-1619 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1783-1792 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1983-1992 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2146-2155 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2321-2330 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2453-2462 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2690-2699 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 82 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 \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:258\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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccd4e8141f3e6ee7db8326b7b0808d9e35537dc221dbf09f7398bc379be2e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): crates/router/src/core/payment_methods/network_tokenization.rs:178-187 | crates/router/src/core/payment_methods/network_tokenization.rs:350-359 | crates/router/src/core/payment_methods/network_tokenization.rs:545-554 | crates/router/src/core/payment_methods/network_tokenization.rs:606-615 | crates/router/src/core/payment_methods/network_tokenization.rs:885-894 | crates/router/src/core/payment_methods/network_tokenization.rs:953-962 | crates/router/src/core/payment_methods/network_tokenization.rs:1113-1122 | crates/router/src/core/payment_methods/network_tokenization.rs:1215-1224 \u2014 all 8 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 \u0060crates/router/src/core/payment_methods/network_tokenization.rs:178\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd8a39c591976f4a2315795dd0ee3c24f08a17f0076f269b5306f4e3589f62f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:712-721 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:801-810 \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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d4f3427c2d2488442a341d94325f67182eeee167079f7b42758e9b017ff013"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/services/api/generic_link_response.rs:111-117 | crates/router/src/services/api/generic_link_response.rs:150-159 \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 \u0060crates/router/src/services/api/generic_link_response.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/router/src/services/api/generic_link_response.rs:120\u0060 calls \u0060insert_locales_in_context_for_payout_link\u0060 and \u0060crates/router/src/services/api/generic_link_response.rs:162\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":"crates/router/src/services/api/generic_link_response.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e386e63cd22d6a4c9e2646205b0b834a9f7f7cc06464ab63dd99f039dd1cb4c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:822-831 | crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:917-926 \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 \u0060crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs:822\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"3365b9ad5d09b6a27343611532213fc6af5cd800d84e19b08d521cd5643c5e60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/subscriptions/src/core/payments_api_client.rs:165-174 | crates/subscriptions/src/core/payments_api_client.rs:233-242 \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 \u0060crates/subscriptions/src/core/payments_api_client.rs:165\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":"crates/subscriptions/src/core/payments_api_client.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"7695310dd90d8966d29ae770356a7981aa2b14eee28ebe67ccb13a51372f0db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): crates/router/src/core/payments/operations/payment_cancel_v2.rs:295-304 | crates/router/src/core/payments/operations/payment_capture_v2.rs:294-303 | crates/router/src/core/payments/operations/payment_get.rs:325-334 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_capture_v2.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_get.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 98 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 \u0060crates/router/src/core/payments/operations/payment_cancel_v2.rs:295\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":"crates/router/src/core/payments/operations/payment_cancel_v2.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7381755a0cf3c3146d088fd20e0b83861cf6af70262d05184ef50bd8aa00ba0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): crates/router/src/core/payments.rs:5713-5722 | crates/router/src/core/payments/operations/payment_confirm_intent.rs:63-72 | crates/router/src/core/payments/operations/payment_update_intent.rs:69-78 | crates/router/src/core/payments/operations/proxy_payments_intent.rs:64-73 \u2014 before extracting anything, compare \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update_intent.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 42 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 \u0060crates/router/src/core/payments.rs:5713\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":"crates/router/src/core/payments.rs"},"region":{"startLine":5713}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f25ffc177509bce5c92b0aa1a7db09021a48b887af705fbb5e218577e42f14c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/paypal.rs:1977-1986 | crates/hyperswitch_connectors/src/connectors/paypal.rs:2069-2077 \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 \u0060crates/hyperswitch_connectors/src/connectors/paypal.rs:1977\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026PaymentsCaptureRouterData\u0060 in one and \u0060\u0026PaymentsCancelRouterData\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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":1977}}}],"partialFingerprints":{"codehealthFindingId/v1":"3984c4b5fb7cb935085f8cb00878a12b9dae59c879c3fefd7f6da867a6784a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:147-155 | crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs:120-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 \u0060crates/hyperswitch_connectors/src/connectors/dummyconnector.rs:147\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":"crates/hyperswitch_connectors/src/connectors/dummyconnector.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"476907cf1599d14b300b4c94b9858479109341ab3d9378226958c0341484ae40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/router/src/core/webhooks/webhook_events.rs:151-160 | crates/router/src/core/webhooks/webhook_events.rs:162-171 \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":"crates/router/src/core/webhooks/webhook_events.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64f19a5356b60aa459381ead6b3f7f800f51afbb5cbbdabfba23f0f03994287"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payments/operations/payment_response.rs:509-517 | crates/router/src/core/payments/operations/payment_response.rs:607-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. 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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdfd299c572bc9aab0f33951c4f050d814146c837b73d0d9c2dabd213535ccb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/router/src/core/payment_methods.rs:5684-5692 | crates/router/src/core/payment_methods.rs:5706-5714 \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5684}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5c89989d6fd68dde6498772d4b432ef6024150ead564b048659d3b93ae6bc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 19): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:133-140 | crates/hyperswitch_connectors/src/connectors/cashtocode.rs:158-166 | crates/hyperswitch_connectors/src/connectors/paypal.rs:575-581 | crates/hyperswitch_connectors/src/connectors/paypal.rs:710-716 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:137-142 | crates/hyperswitch_connectors/src/connectors/stripe.rs:396-403 | crates/hyperswitch_connectors/src/connectors/stripe.rs:587-594 | crates/hyperswitch_connectors/src/connectors/stripe.rs:778-785 | crates/hyperswitch_connectors/src/connectors/stripe.rs:999-1006 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1183-1190 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1361-1368 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1610-1617 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1783-1790 | crates/hyperswitch_connectors/src/connectors/stripe.rs:1983-1990 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2146-2153 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2321-2328 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2453-2460 | crates/hyperswitch_connectors/src/connectors/stripe.rs:2690-2697 | crates/hyperswitch_connectors/src/connectors/threedsecureio.rs:144-149 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/rapyd.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 63 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 \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:133\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f17e5bbb79542982ec77e0a902fd6d59c415ef6fbc7191627c0adbee4efa7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:778-786 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:344-350 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:771-778 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/dwolla.rs\u0060 as WHOLE FILES: this scan already matched 6 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 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs:778\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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1262ca07b234c21502932e6114631f9c81a00cf551dc2764752f9c0becae8a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/router/src/core/conditional_config.rs:105-113 | crates/router/src/core/conditional_config.rs:240-248 | crates/router/src/core/surcharge_decision_config.rs:39-47 | crates/router/src/core/surcharge_decision_config.rs:177-185 \u2014 before extracting anything, compare \u0060crates/router/src/core/conditional_config.rs\u0060 and \u0060crates/router/src/core/surcharge_decision_config.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 97 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":"crates/router/src/core/conditional_config.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bf5da6df67843d858085b4d09d446cd3d60118ed89e3cd92ee932dad916750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/router/src/core/payments/routing.rs:3806-3814 | crates/router/src/core/payments/routing.rs:3939-3947 | crates/router/src/core/payments/routing.rs:4125-4133 | crates/router/src/core/payments/routing.rs:4337-4345 \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 \u0060crates/router/src/core/payments/routing.rs:3806\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3806}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6e7bcbde01ede54d18c07ac7c491433b04e4443b941143757964023beca60b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/payment_methods/src/configs/payment_connector_required_fields.rs:415-423 | crates/payment_methods/src/configs/payment_connector_required_fields.rs:482-490 \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 \u0060crates/payment_methods/src/configs/payment_connector_required_fields.rs:415\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":"crates/payment_methods/src/configs/payment_connector_required_fields.rs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73bd8c6368fd85d66f735cdf50f43b604865bbc3665c460d0a788afac807c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/loonio.rs:539-547 | crates/hyperswitch_connectors/src/connectors/loonio.rs:625-633 \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 \u0060crates/hyperswitch_connectors/src/connectors/loonio.rs:539\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":"crates/hyperswitch_connectors/src/connectors/loonio.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fc69e6d4c07a9341b0c906d988bf6d46820e27f94125f1436ef980d29fd421"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 19): crates/hyperswitch_connectors/src/connectors/bambora.rs:144-152 | crates/hyperswitch_connectors/src/connectors/coinbase.rs:139-147 | crates/hyperswitch_connectors/src/connectors/cryptopay.rs:186-194 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:140-148 | crates/hyperswitch_connectors/src/connectors/globepay.rs:147-155 | crates/hyperswitch_connectors/src/connectors/iatapay.rs:290-298 | crates/hyperswitch_connectors/src/connectors/itaubank.rs:291-299 | crates/hyperswitch_connectors/src/connectors/moneris.rs:276-282 | crates/hyperswitch_connectors/src/connectors/opayo.rs:130-138 | crates/hyperswitch_connectors/src/connectors/opennode.rs:142-150 | crates/hyperswitch_connectors/src/connectors/payu.rs:131-139 | crates/hyperswitch_connectors/src/connectors/payu.rs:338-346 | crates/hyperswitch_connectors/src/connectors/placetopay.rs:125-133 | crates/hyperswitch_connectors/src/connectors/prophetpay.rs:135-143 | crates/hyperswitch_connectors/src/connectors/shift4.rs:134-142 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:298-306 | crates/hyperswitch_connectors/src/connectors/vgs.rs:253-261 | crates/hyperswitch_connectors/src/connectors/volt.rs:291-299 | crates/hyperswitch_connectors/src/connectors/zen.rs:137-145 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/coinbase.rs\u0060 as WHOLE FILES: this scan already matched 7 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 \u0060crates/hyperswitch_connectors/src/connectors/bambora.rs:144\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, \u0060crates/hyperswitch_connectors/src/connectors/itaubank.rs:300\u0060 calls \u0060unwrap_or\u0060, \u0060to_string\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/shift4.rs:143\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":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0866908dfe4ef0f15f99ff4d94e350acbd8ab71b9a089acd3c173413e8af5e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 58): crates/hyperswitch_connectors/src/connectors/affirm.rs:152-160 | crates/hyperswitch_connectors/src/connectors/amazonpay.rs:305-313 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:220-228 | crates/hyperswitch_connectors/src/connectors/blackhawknetwork.rs:441-448 | crates/hyperswitch_connectors/src/connectors/breadpay.rs:157-165 | crates/hyperswitch_connectors/src/connectors/calida.rs:142-150 | crates/hyperswitch_connectors/src/connectors/chargebee.rs:349-357 | crates/hyperswitch_connectors/src/connectors/checkbook.rs:144-152 | crates/hyperswitch_connectors/src/connectors/citigate.rs:139-147 | crates/hyperswitch_connectors/src/connectors/custombilling.rs:129-137 | crates/hyperswitch_connectors/src/connectors/d24.rs:140-148 | crates/hyperswitch_connectors/src/connectors/datatrans.rs:170-176 | crates/hyperswitch_connectors/src/connectors/deutschebank.rs:162-170 | crates/hyperswitch_connectors/src/connectors/dwolla.rs:146-154 | crates/hyperswitch_connectors/src/connectors/elavon_pg.rs:168-176 | crates/hyperswitch_connectors/src/connectors/envoy.rs:245-253 | crates/hyperswitch_connectors/src/connectors/etisalat.rs:158-166 | crates/hyperswitch_connectors/src/connectors/finix.rs:336-344 | crates/hyperswitch_connectors/src/connectors/fiservcommercehub.rs:137-145 | crates/hyperswitch_connectors/src/connectors/flexiti.rs:150-158 | crates/hyperswitch_connectors/src/connectors/getnet.rs:151-159 | crates/hyperswitch_connectors/src/connectors/givepayments.rs:138-146 | crates/hyperswitch_connectors/src/connectors/globalpay.rs:342-350 | crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs:149-157 | crates/hyperswitch_connectors/src/connectors/gotyme_sanlam.rs:152-160 | crates/hyperswitch_connectors/src/connectors/hipay.rs:243-251 | crates/hyperswitch_connectors/src/connectors/hyperpg.rs:132-140 | crates/hyperswitch_connectors/src/connectors/hyperswitch_vault.rs:237-245 | crates/hyperswitch_connectors/src/connectors/hyperwallet.rs:137-145 | crates/hyperswitch_connectors/src/connectors/ilixium.rs:142-150 | crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs:148-156 | crates/hyperswitch_connectors/src/connectors/inespay.rs:148-156 | crates/hyperswitch_connectors/src/connectors/jpmorgan_orbital.rs:172-180 | crates/hyperswitch_connectors/src/connectors/juspaythreedsserver.rs:191-199 | crates/hyperswitch_connectors/src/connectors/katapult.rs:140-148 | crates/hyperswitch_connectors/src/connectors/loonio.rs:156-164 | crates/hyperswitch_connectors/src/connectors/merchante.rs:158-166 | crates/hyperswitch_connectors/src/connectors/mpgs.rs:140-148 | crates/hyperswitch_connectors/src/connectors/nordea.rs:395-403 | crates/hyperswitch_connectors/src/connectors/paybox.rs:147-155 | crates/hyperswitch_connectors/src/connectors/payconex.rs:139-147 | crates/hyperswitch_connectors/src/connectors/paynearme.rs:140-148 | crates/hyperswitch_connectors/src/connectors/paytm.rs:132-140 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:152-160 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:767-775 | crates/hyperswitch_connectors/src/connectors/phonepe.rs:132-140 | crates/hyperswitch_connectors/src/connectors/recurly.rs:350-358 | crates/hyperswitch_connectors/src/connectors/sift.rs:140-148 | crates/hyperswitch_connectors/src/connectors/silverflow.rs:236-244 | crates/hyperswitch_connectors/src/connectors/stripebilling.rs:222-230 | crates/hyperswitch_connectors/src/connectors/taxjar.rs:136-144 | crates/hyperswitch_connectors/src/connectors/tesouro.rs:279-287 | crates/hyperswitch_connectors/src/connectors/thunes.rs:137-145 | crates/hyperswitch_connectors/src/connectors/tokenio.rs:298-306 | crates/hyperswitch_connectors/src/connectors/truelayer.rs:189-197 | crates/hyperswitch_connectors/src/connectors/trustpayments.rs:214-222 | crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs:142-150 | crates/hyperswitch_connectors/src/connectors/worldpayraft.rs:138-146 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/amazonpay.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 70 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 \u0060crates/hyperswitch_connectors/src/connectors/affirm.rs: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060crates/hyperswitch_connectors/src/connectors/breadpay.rs:168\u0060 calls \u0060Some\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/amazonpay.rs:316\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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f09f1bb64aec7016b97a43d3ab71104184d7aeb237ad3de96984d3befafcebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/ebanx.rs:137-145 | crates/hyperswitch_connectors/src/connectors/gpayments.rs:148-156 | crates/hyperswitch_connectors/src/connectors/netcetera.rs:134-142 | crates/hyperswitch_connectors/src/connectors/plaid.rs:143-151 | crates/hyperswitch_connectors/src/connectors/trustly.rs:145-153 | crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs:139-147 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/gpayments.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/netcetera.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 55 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 \u0060crates/hyperswitch_connectors/src/connectors/ebanx.rs:137\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, \u0060crates/hyperswitch_connectors/src/connectors/plaid.rs:152\u0060 calls \u0060unwrap_or\u0060, \u0060to_string\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/ebanx.rs:146\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":"crates/hyperswitch_connectors/src/connectors/ebanx.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"684ceb321e3f0d4728d9a08294e169cb3bec9598e7f9836195c1a7d55f3aae3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/multisafepay.rs:191-197 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:376-384 | crates/hyperswitch_connectors/src/connectors/multisafepay.rs:471-479 \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 \u0060crates/hyperswitch_connectors/src/connectors/multisafepay.rs:191\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 \u0060req\u0060 to \u0060\u0026PaymentsSyncRouterData\u0060 in one and \u0060\u0026RefundsRouterData\u003CExecute\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/multisafepay.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d2b22c58fe5c548f89cff044edb9c8ec22af702ade2604a475b73b35112a5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/routing/helpers.rs:1373-1381 | crates/router/src/core/routing/helpers.rs:1567-1574 \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 \u0060crates/router/src/core/routing/helpers.rs:1373\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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7899dfe3a1444d6be9d8b7ba26fbc5c348738f881b495a60015e133bda581f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): crates/smithy-core/src/generator.rs:185-193 | crates/smithy-core/src/generator.rs:195-203 | crates/smithy-core/src/generator.rs:205-213 | crates/smithy-core/src/generator.rs:215-223 \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. 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":"crates/smithy-core/src/generator.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4322f3d212a5cf256cac3665aeaa45bdd5301b7d5ffe87a0f73f04f2d08e2c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/authentication/utils.rs:84-91 | crates/router/src/core/authentication/utils.rs:95-102 \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 \u0060crates/router/src/core/authentication/utils.rs:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/authentication/utils.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a3f2589a70ec4851cad7e8f2248dd7cc609d9e97a5afc486b91b1ea67c0a79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/core/unified_authentication_service/utils.rs:185-192 | crates/router/src/core/unified_authentication_service/utils.rs:195-202 \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":"crates/router/src/core/unified_authentication_service/utils.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bda938acd7cfb1b8052e36282cbd3dfed304426af6423b5c76c501e9f60d0f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/external_services/src/superposition.rs:885-892 | crates/external_services/src/superposition.rs:938-945 \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 \u0060crates/external_services/src/superposition.rs:885\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":"crates/external_services/src/superposition.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"418aee38dd3a80fb18e7e1e04056eda37c375a4e6ed9261bba70f3699267e35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/smithy/src/lib.rs:1527-1534 | crates/smithy/src/lib.rs:1586-1593 \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 \u0060crates/smithy/src/lib.rs:1527\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":"crates/smithy/src/lib.rs"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c17ed3c29a4fb15e98b9bec0a37659d1ae49407a7476078da504ccdf1f20ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/router/src/db/capture.rs:114-121 | crates/storage_impl/src/payments/payment_attempt.rs:938-945 \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 \u0060crates/router/src/db/capture.rs:114\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":"crates/router/src/db/capture.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7c5cf34999e541da01ee56a07d0b09ad574835d9d54d47912b4e656e760fee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 65): crates/analytics/src/sqlx.rs:222-227 | crates/analytics/src/sqlx.rs:232-238 | crates/analytics/src/sqlx.rs:242-248 | crates/analytics/src/sqlx.rs:267-273 | crates/analytics/src/sqlx.rs:277-283 | crates/analytics/src/sqlx.rs:287-294 | crates/analytics/src/sqlx.rs:304-310 | crates/analytics/src/sqlx.rs:313-318 | crates/analytics/src/sqlx.rs:321-327 | crates/analytics/src/sqlx.rs:330-336 | crates/analytics/src/sqlx.rs:339-344 | crates/analytics/src/sqlx.rs:407-412 | crates/analytics/src/sqlx.rs:417-423 | crates/analytics/src/sqlx.rs:427-432 | crates/analytics/src/sqlx.rs:440-446 | crates/analytics/src/sqlx.rs:450-456 | crates/analytics/src/sqlx.rs:460-467 | crates/analytics/src/sqlx.rs:477-483 | crates/analytics/src/sqlx.rs:486-491 | crates/analytics/src/sqlx.rs:494-500 | crates/analytics/src/sqlx.rs:503-509 | crates/analytics/src/sqlx.rs:512-517 | crates/analytics/src/sqlx.rs:572-577 | crates/analytics/src/sqlx.rs:581-586 | crates/analytics/src/sqlx.rs:589-595 | crates/analytics/src/sqlx.rs:680-685 | crates/analytics/src/sqlx.rs:689-695 | crates/analytics/src/sqlx.rs:699-704 | crates/analytics/src/sqlx.rs:708-713 | crates/analytics/src/sqlx.rs:716-721 | crates/analytics/src/sqlx.rs:724-729 | crates/analytics/src/sqlx.rs:741-747 | crates/analytics/src/sqlx.rs:811-816 | crates/analytics/src/sqlx.rs:820-826 | crates/analytics/src/sqlx.rs:830-835 | crates/analytics/src/sqlx.rs:839-844 | crates/analytics/src/sqlx.rs:847-852 | crates/analytics/src/sqlx.rs:855-860 | crates/analytics/src/sqlx.rs:868-875 | crates/analytics/src/sqlx.rs:892-897 | crates/analytics/src/sqlx.rs:948-953 | crates/analytics/src/sqlx.rs:957-963 | crates/analytics/src/sqlx.rs:967-972 | crates/analytics/src/sqlx.rs:976-981 | crates/analytics/src/sqlx.rs:984-989 | crates/analytics/src/sqlx.rs:992-997 | crates/analytics/src/sqlx.rs:1009-1015 | crates/analytics/src/sqlx.rs:1060-1065 | crates/analytics/src/sqlx.rs:1073-1079 | crates/analytics/src/sqlx.rs:1083-1088 | crates/analytics/src/sqlx.rs:1091-1096 | crates/analytics/src/sqlx.rs:1099-1104 | crates/analytics/src/sqlx.rs:1167-1172 | crates/analytics/src/sqlx.rs:1180-1186 | crates/analytics/src/sqlx.rs:1190-1195 | crates/analytics/src/sqlx.rs:1198-1203 | crates/analytics/src/sqlx.rs:1206-1211 | crates/analytics/src/sqlx.rs:1255-1260 | crates/analytics/src/sqlx.rs:1264-1269 | crates/analytics/src/sqlx.rs:1301-1306 | crates/analytics/src/sqlx.rs:1310-1315 | crates/analytics/src/sqlx.rs:1322-1327 | crates/analytics/src/sqlx.rs:1384-1390 | crates/analytics/src/sqlx.rs:1393-1399 | crates/analytics/src/sqlx.rs:1424-1429 \u2014 all 65 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 \u0060crates/analytics/src/sqlx.rs:222\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":"crates/analytics/src/sqlx.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fd4fb33042e09f1afa10a86f3c11b215be4d540e46c7d9ec21022f7bd44146"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_domain_models/src/merchant_account.rs:261-268 | crates/hyperswitch_domain_models/src/merchant_account.rs:272-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"crates/hyperswitch_domain_models/src/merchant_account.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e801a3ea0981a480cc2afdf02983f38af9c20cdeeaffd2e3d8b03515e79106c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/diesel_models/src/query/customers.rs:69-76 | crates/diesel_models/src/query/customers.rs:108-115 \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 \u0060crates/diesel_models/src/query/customers.rs:69\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":"crates/diesel_models/src/query/customers.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0de4868f08f07f253d30955bbf0d58d0bc4a22410f63a76ea9e69dcb36eb48c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/unified_connector_service.rs:5060-5067 | crates/router/src/core/unified_connector_service.rs:5153-5158 \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 \u0060crates/router/src/core/unified_connector_service.rs:5060\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":5060}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b2908f534827e0344470a3cefee0c33f40923f0857e84f7ad3a201360d9369"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/smithy/src/lib.rs:1156-1162 | crates/smithy/src/lib.rs:1191-1197 | crates/smithy/src/lib.rs:1201-1207 \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 \u0060crates/smithy/src/lib.rs:1156\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":"crates/smithy/src/lib.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"54000d1674668716083e5365ea9d26149aa0a9e44d332eb93bb1a12731e59622"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): crates/hyperswitch_connectors/src/utils.rs:1630-1637 | crates/hyperswitch_connectors/src/utils.rs:1739-1746 | crates/hyperswitch_connectors/src/utils.rs:7406-7413 \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"44413202642c0518675341fb29e62083d14c551e5323e80540e550bf1313ae36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/api_models/src/payment_methods.rs:2899-2906 | crates/api_models/src/payment_methods.rs:3024-3031 \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 \u0060crates/api_models/src/payment_methods.rs:2899\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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":2899}}}],"partialFingerprints":{"codehealthFindingId/v1":"87157c1be038657707c3857dc31125696eafc0043ec0e6112679eaa28a89070a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/worldline.rs:376-383 | crates/hyperswitch_connectors/src/connectors/worldline.rs:565-572 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060req\u0060 to \u0060\u0026RouterData\u003CCapture, PaymentsCaptureData, PaymentsResponseData\u003E\u0060 in one and \u0060\u0026RefundsRouterData\u003CExecute\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldline.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90e6d63b6aebb4d32fcce4755ef8d22a407f448cd7beea5bcf7ae50224ada89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): crates/hyperswitch_connectors/src/utils.rs:1315-1322 | crates/hyperswitch_connectors/src/utils.rs:1422-1429 | crates/hyperswitch_connectors/src/utils.rs:1529-1536 | crates/hyperswitch_connectors/src/utils.rs:1637-1644 | crates/hyperswitch_connectors/src/utils.rs:1746-1753 | crates/hyperswitch_connectors/src/utils.rs:7413-7420 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060crates/hyperswitch_connectors/src/utils.rs:1315\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"607923155037862708bb3e374acc51353f33b7dea62aa28c56124db33604f121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): crates/hyperswitch_connectors/src/connectors/adyen.rs:180-187 | crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs:1247-1252 | crates/hyperswitch_connectors/src/connectors/checkout.rs:184-189 | crates/hyperswitch_connectors/src/connectors/paypal.rs:178-183 | crates/hyperswitch_connectors/src/connectors/paypal.rs:377-384 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:178-183 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 141 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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs: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. 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cbfaa90fe3ae4e7a1dee46513a8dfd16afd94dd7c52119f3358bcfb1826bba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/finix.rs:614-620 | crates/hyperswitch_connectors/src/connectors/finix.rs:890-895 \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":"crates/hyperswitch_connectors/src/connectors/finix.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b3134f6986146239f1ac630d190e441fcaf0062dca6469afdbb4ae04b42883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/smithy-core/src/types.rs:172-178 | crates/smithy-core/src/types.rs:213-219 | crates/smithy-core/src/types.rs:221-227 \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 \u0060crates/smithy-core/src/types.rs:172\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":"crates/smithy-core/src/types.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1209182994a1b216468800ff343321ff5c7520190945254d183b82bf5ff9dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/router/src/services/authentication.rs:1745-1750 | crates/router/src/services/authentication.rs:3000-3006 | crates/router/src/services/authentication.rs:3123-3129 \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 \u0060crates/router/src/services/authentication.rs:1745\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1745}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a84ead1f493a832f9b591af6efd4813211c801542e3278b7954e45b261d531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/revenue_recovery/external_triggers.rs:929-935 | crates/router/src/core/revenue_recovery/external_triggers.rs:949-955 \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 \u0060crates/router/src/core/revenue_recovery/external_triggers.rs:929\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":"crates/router/src/core/revenue_recovery/external_triggers.rs"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc81240954f97f1a198c5302b7914177dc44238efbbafa389fd784db7eb4162"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/refunds_v2.rs:1445-1451 | crates/router/src/core/refunds_v2.rs:1509-1514 \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 \u0060crates/router/src/core/refunds_v2.rs:1445\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":"crates/router/src/core/refunds_v2.rs"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a1cda640b2a5fb68f320b3b978418c37c7837ba3d035f174d2aaf1b05e9da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router/src/core/relay.rs:142-148 | crates/router/src/core/relay.rs:274-280 \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 \u0060crates/router/src/core/relay.rs:142\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":"crates/router/src/core/relay.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa46a2bf8e1432c6e0dafde672871d529b8f5c46d0f4e9fa3f0aa87443e0370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): crates/hyperswitch_connectors/src/connectors/bluesnap.rs:153-159 | crates/hyperswitch_connectors/src/connectors/payme.rs:140-146 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:177-183 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/trustpay.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 60 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 \u0060crates/hyperswitch_connectors/src/connectors/bluesnap.rs:153\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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0404393b0d2b7fbee47c4b7e69d1449fe030c71b81366075c20cc3267027079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/router_derive/src/macros/xss_validation.rs:45-51 | crates/router_derive/src/macros/xss_validation.rs:60-66 \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 \u0060crates/router_derive/src/macros/xss_validation.rs:45\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":"crates/router_derive/src/macros/xss_validation.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5f5606c766606eaad6e4c458c2734d82502837bf660c0be16a699c93700eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/peachpayments.rs:401-406 | crates/hyperswitch_connectors/src/connectors/peachpayments.rs:475-480 \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":"crates/hyperswitch_connectors/src/connectors/peachpayments.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bae0a2f906bc1b62c83d47c6be2204519f2e9783fd2342df7baa3346ad41ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/core/payment_link/validator.rs:35-40 | crates/router/src/core/payouts/validator.rs:647-652 \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 \u0060crates/router/src/core/payment_link/validator.rs:35\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":"crates/router/src/core/payment_link/validator.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdf10f053e12c24a7140f8ecf82a0be94c64f94bc9c3e160152379a55432523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): crates/router/src/routes/app.rs:2131-2136 | crates/router/src/routes/app.rs:2152-2157 \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 \u0060crates/router/src/routes/app.rs:2131\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":"crates/router/src/routes/app.rs"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de1c199f85687e928fe4a841102ea611a45c4aeff494f5b7a1fc5322218912c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): crates/router_derive/src/macros/xss_validation.rs:28-33 | crates/router_derive/src/macros/xss_validation.rs:47-52 | crates/router_derive/src/macros/xss_validation.rs:62-67 \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 \u0060crates/router_derive/src/macros/xss_validation.rs:28\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":"crates/router_derive/src/macros/xss_validation.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a6ff506077541bd6e3d1eaf93880cef6aaefbb91aebab5718bf22ec60d4284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/braintree.rs:213-217 | crates/hyperswitch_connectors/src/connectors/rapyd.rs:157-161 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/rapyd.rs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 69 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 \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f44a7db220d904082e0f03b266d746411bff4a4d754879fd77e725463097349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:159-163 | crates/hyperswitch_connectors/src/connectors/cybersource.rs:319-323 | crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs:380-384 | crates/hyperswitch_connectors/src/connectors/payme.rs:170-174 | crates/hyperswitch_connectors/src/connectors/trustpay.rs:220-224 | crates/hyperswitch_connectors/src/connectors/wellsfargo.rs:284-288 | crates/hyperswitch_connectors/src/connectors/worldpayxml.rs:224-228 \u2014 before extracting anything, compare \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/payme.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 59 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060crates/hyperswitch_connectors/src/connectors/bamboraapac.rs:159\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":"crates/hyperswitch_connectors/src/connectors/bamboraapac.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"948681976395786d79e2521f3816dc97a5590091aa42614cc8bd89ffb14e670f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/api_models/src/payments.rs:4040-4046 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4019-4025 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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, \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs:4026\u0060 calls \u0060AmazonPay\u0060 and \u0060crates/api_models/src/payments.rs:4047\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":"crates/api_models/src/payments.rs"},"region":{"startLine":4040}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34f742683da5a80adbb574047ec93b763b8311c2de88d7aea3a307e7e248bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): crates/api_models/src/payments.rs:4153-4162 | crates/hyperswitch_domain_models/src/payment_method_data.rs:4126-4135 \u2014 before extracting anything, compare \u0060crates/api_models/src/payments.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/payment_method_data.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 136 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":"crates/api_models/src/payments.rs"},"region":{"startLine":4153}}}],"partialFingerprints":{"codehealthFindingId/v1":"769b9db6c740479e8fc2aa2f9b24cca1bc0eaf510a91e5ab11baade65cd96f6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen.rs:1963-1967 | crates/hyperswitch_connectors/src/connectors/adyenplatform.rs:361-365 \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 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs:1963\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d19bbfc59cbab591ae166bdede14c5a05dc7d5f586208d56efabc6d62dd36b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:1135-1139 | crates/router/src/core/unified_connector_service/transformers.rs:6330-6334 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03ff64a96c56f2888a9c1be8d9f7f402149c4487ad116f1839fa859c7714fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs:1255-1259 | crates/router/src/core/unified_connector_service/transformers.rs:6366-6370 \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec39ade8bf38760ce209a014688fc5b8eef0e0d5162914f0facd3c3a038a6258"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): crates/redis_interface/src/module/redis_rs/types.rs:53-59 | crates/redis_interface/src/module/redis_rs/types.rs:282-288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/redis_interface/src/module/redis_rs/types.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1b1631d850372a086a410db0ce36ae180d3ba0e6eef01f615e38cf8d46bef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): cypress-tests/mitm-proxy/mitm_capture.py:215-217 | cypress-tests/mitm-proxy/mitm_replay.py:190-192 | cypress-tests/mitm-proxy/redirect_proxy.py:292-294 \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":"cypress-tests/mitm-proxy/mitm_capture.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8e7a783002f7f534947ee93d7317d4b48dad34c411180d159dcd3a36320f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): cypress-tests/mitm-proxy/mitm_capture.py:137-140 | cypress-tests/mitm-proxy/mitm_replay.py:149-153 \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":"cypress-tests/mitm-proxy/mitm_capture.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d09ae5e46da16e645207eeb3ef187586092aa4b32c8d1a82e8f8c0451c987bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): crates/test_utils/src/connector_auth.rs:305-315 | crates/test_utils/src/connector_auth.rs:318-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 \u0060crates/test_utils/src/connector_auth.rs:305\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":"crates/test_utils/src/connector_auth.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74acf9bf746de9c8513d31f584cfb53468b353e392d5137e1bfe9d6b0deb9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): crates/test_utils/src/connector_auth.rs:295-302 | crates/test_utils/src/connector_auth.rs:308-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 \u0060crates/test_utils/src/connector_auth.rs:295\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, \u0060crates/test_utils/src/connector_auth.rs:293\u0060 calls \u0060Some\u0060 and \u0060crates/test_utils/src/connector_auth.rs:307\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":"crates/test_utils/src/connector_auth.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"efea9b3c1056c33dafba81493b6a143de1058ed8054ba30e95201ab84aeb8aaf"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project analytics: analytics has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e1f1fb005ac17744b597b430d9d1ae6a18c91a13355b0934b8b5f2d5462b022f"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project hyperswitch_connectors: hyperswitch_connectors has instability 0.89 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ab3b0ac352fe56ede5c368089e1cb8d2d30a29b71f18a929235642ba0e9be0b8"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project payment_methods: payment_methods has instability 0.91 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"471fdd6e2e1f06a0e002b5fa3d206472e66b88953501f09a269abf4cdb39647b"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project subscriptions: subscriptions has instability 0.90 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f20a170524afcd26786972227c15ed9c22301bcd2337beb01432dc4da481918e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: card_metadata: card_metadata: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3073066ff3c24f8151e72dae06fa8baa6280f2f6586266fccb486a4970b30445"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: oci_kms: oci_kms: abstractness 0.06, instability 0.00, distance 0.94 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b889b2452013cdbffe1c5b61904f370eebde39a8bd58019252033a73a4206711"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: router_env: router_env: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 20 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"783a0be3d39f4a98f4fd94fd7556934ff89a40eb5891cc2c9ef18ccd56e9bad7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: smithy-core: smithy-core: abstractness 0.14, instability 0.00, distance 0.86 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2f3bcf8c3dcc9b90236d44e0307f30f1bd55632454de960ef6669b1d6a63d8e7"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: cards: cards: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f5f6c971f6baa991a8845895e0d0547930424284c780f116279216bd5f586c05"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: currency_conversion: currency_conversion: abstractness 0.00, instability 0.25, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3880cf7a22d6a74bedde66188d55ec179f593595170192739112ca567f41a9da"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: hyperswitch_constraint_graph: hyperswitch_constraint_graph: abstractness 0.25, instability 0.00, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9acbe4a61e4cc4c69fa6c185d41d66da89143d4198710e98f6375753ccea6bd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Store (LCOM4 260): Store\u0027s methods fall into 260 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 260 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":"crates/drainer/src/services.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8765c7650ec179c34e7ae4755d90dc9397a42d6618c64270cb2eaf772bbb5e8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Stripe (LCOM4 65): Stripe\u0027s methods fall into 65 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 65 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":"crates/hyperswitch_connectors/src/connectors/stripe.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"72395b953c9ab10cb0be5f6132184ce9a5aa774d1de350557866147fbac5bd08"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RouterStore (LCOM4 63): RouterStore\u0027s methods fall into 63 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 63 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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cfca15ab3b1e158ad087775a6db8fe39c8382262030f11c42a2c5bab653cc6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Adyen (LCOM4 61): Adyen\u0027s methods fall into 61 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 61 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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3063c970206f33d98313b5d251bd4a86454dd477f6abbc89d81be5342b7540"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Paypal (LCOM4 50): Paypal\u0027s methods fall into 50 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 50 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":"crates/hyperswitch_connectors/src/connectors/paypal.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9173b4d3ebd50179b302a34e43e09ea572408f299a66bd808d3812f42ade168c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Nuvei (LCOM4 39): Nuvei\u0027s methods fall into 39 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 39 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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc29d4c11989da890ed2d769cbc6b1ce5e790de22378dc30edcb497c0900377"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Santander (LCOM4 33): Santander\u0027s methods fall into 33 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 33 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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3aa69ace46e3fa7a8cf59c6513ec066d1946f324e57f6193d47a2cef3cf09db"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Worldpayvantiv (LCOM4 31): Worldpayvantiv\u0027s methods fall into 31 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 31 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":"crates/hyperswitch_connectors/src/connectors/worldpayvantiv.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"830319b2d88df50579d5dfce9098eecd0a3f4761abd9c9063a33788140625aaa"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Payme (LCOM4 30): Payme\u0027s methods fall into 30 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 30 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":"crates/hyperswitch_connectors/src/connectors/payme.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b2a114375c198ddfe89ef8e868cde8de597aa05f2953932acf97b25bdbbecb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Airwallex (LCOM4 29): Airwallex\u0027s methods fall into 29 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 29 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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d081d9cef7b0cc60a282e9cbf929da0686e7388145a0d5bfbbbc649d379c1d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Checkout (LCOM4 29): Checkout\u0027s methods fall into 29 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 29 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":"crates/hyperswitch_connectors/src/connectors/checkout.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c1570c370601511bc976320055f379bb944d8313faefe966d120514c85e8a4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Wise (LCOM4 28): Wise\u0027s methods fall into 28 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 28 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":"crates/hyperswitch_connectors/src/connectors/wise.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6bf0c4fd16fcb53a8679bdf36043190305136f2702bf25e5bc0fec45b3db5a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Cybersource (LCOM4 27): Cybersource\u0027s methods fall into 27 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 27 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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c75ecbaf88366734e33155d30d25961112afd091cccbf336265d3ab4535619"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Worldpay (LCOM4 27): Worldpay\u0027s methods fall into 27 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 27 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":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59313314a48534a47c0c7e11544e589f2ae0779f9bd551e83c6a480ca846345"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Bluesnap (LCOM4 26): Bluesnap\u0027s methods fall into 26 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 26 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":"crates/hyperswitch_connectors/src/connectors/bluesnap.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3009c8916656621061635cdce19e4d131d24c94fb76801b8cfb7b39d613cc4c0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Braintree (LCOM4 26): Braintree\u0027s methods fall into 26 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 26 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":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fbf00571fb2bdc0cc1b38163590b59801f8b6336f61012cd578db7f32c1199"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Payload (LCOM4 26): Payload\u0027s methods fall into 26 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 26 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":"crates/hyperswitch_connectors/src/connectors/payload.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d21517f4abdc3fe3507d1fa4bbb909b7eee5dcebab5da5bcbf969bb78187ff7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Authorizedotnet (LCOM4 25): Authorizedotnet\u0027s methods fall into 25 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 25 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":"crates/hyperswitch_connectors/src/connectors/authorizedotnet.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b774b799cc97015b20b2e275a7739db7c3e7a977f1ad2f7261c414f35b9d2f07"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Truelayer (LCOM4 25): Truelayer\u0027s methods fall into 25 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 25 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":"crates/hyperswitch_connectors/src/connectors/truelayer.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"762b02108b03c1b224f3c0f41b90f5ea45249bec7a72f9c82544c902732457e8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Finix (LCOM4 24): Finix\u0027s methods fall into 24 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 24 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":"crates/hyperswitch_connectors/src/connectors/finix.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bffbdeb49e3d327cb09b42441f513e4744143e3461c55c0aff57bea48dad5d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Fiuu (LCOM4 24): Fiuu\u0027s methods fall into 24 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 24 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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd521202515b0e0cacf8f81943f279d276aa944cdeacd1311502f0b7bc89dd8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Nmi (LCOM4 23): Nmi\u0027s methods fall into 23 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 23 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":"crates/hyperswitch_connectors/src/connectors/nmi.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c68f949fd58b934f7c833154214b2d52c8bf714ed72ffc0a9ebfb0cf09d7915"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Novalnet (LCOM4 23): Novalnet\u0027s methods fall into 23 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 23 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":"crates/hyperswitch_connectors/src/connectors/novalnet.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4428aed64a9de9643a16dc41f8cace56f233a21e3fa97e76c6f3cde2bdf1d6dd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Trustpay (LCOM4 23): Trustpay\u0027s methods fall into 23 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 23 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":"crates/hyperswitch_connectors/src/connectors/trustpay.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ffdcd88b5d4cfb81b82a213614fda29d5354f9ef979cb22a52fb0254b4d051"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Worldpayxml (LCOM4 23): Worldpayxml\u0027s methods fall into 23 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 23 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":"crates/hyperswitch_connectors/src/connectors/worldpayxml.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f13a3db65691e9d9f2f196a5fe49e8c0b152e14d5fb592f5152a1d627473db"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MockDb (LCOM4 23): MockDb\u0027s methods fall into 23 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 23 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":"crates/storage_impl/src/mock_db.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4649619200cbeec81378fd9f8b6f8457f6c954e4e24bf69b48d97c3eb6d6c4a1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Barclaycard (LCOM4 21): Barclaycard\u0027s methods fall into 21 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 21 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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb98022a6d898d7950d08d513a6197bb5fafbda01e684e617916a944fd91f655"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Gigadat (LCOM4 21): Gigadat\u0027s methods fall into 21 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 21 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":"crates/hyperswitch_connectors/src/connectors/gigadat.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b6d8439599705f075a33816437e4682b4a7c0660e781e1e2d6a07a243a7005"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Mollie (LCOM4 21): Mollie\u0027s methods fall into 21 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 21 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":"crates/hyperswitch_connectors/src/connectors/mollie.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeacb9343e503935a80c45744d085a2a55445bbacf982ee920f04828f3a4ed6e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Noon (LCOM4 21): Noon\u0027s methods fall into 21 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 21 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":"crates/hyperswitch_connectors/src/connectors/noon.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a32275bc1300d086d4b2970c0ce9c0e68fb5ee87c7d177f68b1fcfd71c77697"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Trustly (LCOM4 21): Trustly\u0027s methods fall into 21 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 21 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":"crates/hyperswitch_connectors/src/connectors/trustly.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"05222b02b5ad6567337ba01cd68c7ba0963ef7940f9cfae37343ed3b32960d73"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Iatapay (LCOM4 20): Iatapay\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":"crates/hyperswitch_connectors/src/connectors/iatapay.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba2cd9207b893b2a2869873193a03a371e654d523e03d691c85ea7b2d4b4390"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Volt (LCOM4 20): Volt\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":"crates/hyperswitch_connectors/src/connectors/volt.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1dbd704cc8b300ebedeab02c5659b49eb1311e5275a6756eb011ad55196635"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Itaubank (LCOM4 19): Itaubank\u0027s methods fall into 19 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 19 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":"crates/hyperswitch_connectors/src/connectors/itaubank.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3688f6483a332b79be069a5b2bb22075229653ea82fbf6bc40d50836c12845c8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Moneris (LCOM4 19): Moneris\u0027s methods fall into 19 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 19 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":"crates/hyperswitch_connectors/src/connectors/moneris.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d555cdd8738c3be91d76076a650e2723dcc39746a7fa0b67ebf884330961e700"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Paysafe (LCOM4 19): Paysafe\u0027s methods fall into 19 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 19 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":"crates/hyperswitch_connectors/src/connectors/paysafe.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50c54dafa854e20f9a748b856289eef4e68c1a388562c5cb1253e269069bb7b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Getnet (LCOM4 18): Getnet\u0027s methods fall into 18 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 18 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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a394489f071b512f2f7216a86b54996b0ae1a2ee2017a5ee5f1f1f56deda9c20"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Gocardless (LCOM4 18): Gocardless\u0027s methods fall into 18 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 18 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":"crates/hyperswitch_connectors/src/connectors/gocardless.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a69551f434691e6753818e7415589c3eb1f8dffdc5d0881212c0bdc8c2cadd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Helcim (LCOM4 18): Helcim\u0027s methods fall into 18 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 18 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":"crates/hyperswitch_connectors/src/connectors/helcim.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"1825dac337e768c379477dc1dc01a74b360bdf03799a9abe31a37407bbc2c4fb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Payu (LCOM4 18): Payu\u0027s methods fall into 18 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 18 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":"crates/hyperswitch_connectors/src/connectors/payu.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b2d0019c5c855833db7c717cc8752db503c73718d3700c767cd29aba5a93b7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Peachpayments (LCOM4 18): Peachpayments\u0027s methods fall into 18 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 18 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":"crates/hyperswitch_connectors/src/connectors/peachpayments.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb03615977f3e705f192af8048aae0fd761255f55bb398f17689a40e9297238"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Shift4 (LCOM4 18): Shift4\u0027s methods fall into 18 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 18 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":"crates/hyperswitch_connectors/src/connectors/shift4.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5205c06130839f0f9c0672cd2bfd7119510cde4ae2e7df47c9f97d7544837965"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Dwolla (LCOM4 17): Dwolla\u0027s methods fall into 17 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 17 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":"crates/hyperswitch_connectors/src/connectors/dwolla.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d1e2b2e99b3cde3a66e60aa345d0f35d9458f8b09934816d13bf2cd3cb7022"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Hipay (LCOM4 17): Hipay\u0027s methods fall into 17 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 17 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":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be81a588d0d10a6b53760176a2a618a1e8008cc6563ce957833025b1a4a679b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Nexixpay (LCOM4 17): Nexixpay\u0027s methods fall into 17 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 17 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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c9586d37ed1178f3d356523f62a1c129880201ea7c29e60f948a71ca309226"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Deutschebank (LCOM4 16): Deutschebank\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":"crates/hyperswitch_connectors/src/connectors/deutschebank.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"882677cf4def695ac3d35e6a1f89d8ac38681fa462b70e338916e86291fe8b3e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Affirm (LCOM4 15): Affirm\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":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"30723b20c03c83c01de83c4ba765f25fd1f1d30c2f3caf1a35b58330d159665c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Gpayments (LCOM4 15): Gpayments\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":"crates/hyperswitch_connectors/src/connectors/gpayments.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e05a8056b5235baa26fa7bae58ba417fc894c53d05aafd58a67799137a055f2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Loonio (LCOM4 15): Loonio\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":"crates/hyperswitch_connectors/src/connectors/loonio.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5924097210fa34a5bce9cb73771e97adc55b0bd0d56c74e5b349d428ef0f2e3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Paystack (LCOM4 15): Paystack\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":"crates/hyperswitch_connectors/src/connectors/paystack.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf14a6d26fa9436b03b6c253695ba098afb561432a9b85aa6b598c8b508d94cf"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Rapyd (LCOM4 15): Rapyd\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":"crates/hyperswitch_connectors/src/connectors/rapyd.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"18069cd25a020f8f408aa6459491574edba36f9addf825a26f5bb8ff45f2633f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Redsys (LCOM4 15): Redsys\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":"crates/hyperswitch_connectors/src/connectors/redsys.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"521c72bfe1b581ed384ddbe67bba95049d28c79839c66f3f7d2c45f10c0298ef"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Signifyd (LCOM4 15): Signifyd\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":"crates/hyperswitch_connectors/src/connectors/signifyd.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"333d32d2a8245908ac5287961a0bbcdf6f7cec629454d4c9201aa798d5329a75"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Wellsfargo (LCOM4 15): Wellsfargo\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":"crates/hyperswitch_connectors/src/connectors/wellsfargo.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3139f2f3132a943ea37b33ea0c28bc481a92d110ac95605960feb4282ed83f62"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Bambora (LCOM4 14): Bambora\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bambora.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7202715537188d14fb765bd201b1b31e5d39e08102658faadb9e2b4f6728229a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Bankofamerica (LCOM4 14): Bankofamerica\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/bankofamerica.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3768c2a827e1642c751f076f20fc8db8189be996b793c39049c97a427212308"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Celero (LCOM4 14): Celero\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/celero.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7014627ce2fb2c2c931b3071c7caf95448971027d7c2845a215314830a28a9d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Coingate (LCOM4 14): Coingate\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/coingate.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b88efa57cbb5af23e755826aa2e873f5a88f1c7471500c0bf109fee44465814"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Datatrans (LCOM4 14): Datatrans\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/datatrans.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dc1754203beffdbbfe63338145ad85ba2b62b85232c1c06bf03f7038df6fb8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Inespay (LCOM4 14): Inespay\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/inespay.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0c6b432d4d606564d35d2771b754ac8c965eb66a75682506f3cc35e63d5794"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Jpmorgan (LCOM4 14): Jpmorgan\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/jpmorgan.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"db88d639cca57ff2a630734e64e56ea73648ff3b738a4550e85b2772630c684e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Xendit (LCOM4 14): Xendit\u0027s methods fall into 14 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 14 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/xendit.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c742dca47667ff0fcd1410f608e16b67d1445766958b4eac75d840e3d2b800"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Aci (LCOM4 13): Aci\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f56f6a3685e0e5c8ecae2dff227a3a2b27dafe292588fbc49de7016aa626d1e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Adyenplatform (LCOM4 13): Adyenplatform\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":"crates/hyperswitch_connectors/src/connectors/adyenplatform.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"16263a6b516219a1a0f912f483b872afceb3481d34f01ae89123c72296e38cb7"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Forte (LCOM4 13): Forte\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":"crates/hyperswitch_connectors/src/connectors/forte.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcc7abbf976bf92ef105534db5b57539444d53e5235fbd53c151269a0231356"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Klarna (LCOM4 13): Klarna\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":"crates/hyperswitch_connectors/src/connectors/klarna.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"611bf9b2b254c2169ed2f980a3aed75ad84b11498a87556822720e3c9c1b1598"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Payjustnow (LCOM4 13): Payjustnow\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":"crates/hyperswitch_connectors/src/connectors/payjustnow.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efa4f2a189d7502d22d5c5d7d95df1b4e1cba9f33a917095eeaffc40ab3b648"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UnifiedConnectorServiceClient (LCOM4 12): UnifiedConnectorServiceClient\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":"crates/external_services/src/grpc_client/unified_connector_service.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08321bd1cb9406ba871ae8f15445a6ec53a25c59fef09b2f84493c874bf0573"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Boku (LCOM4 12): Boku\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":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4d5fa3d4a938af2856720fe44cd5a85a0c50d73d5143cbd05f5e6eabd698e0"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Payjustnowinstore (LCOM4 12): Payjustnowinstore\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":"crates/hyperswitch_connectors/src/connectors/payjustnowinstore.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a30f9867bc741388a93ba9c51efbc82befe4c40058250c3c9a2d310338019b5"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Authipay (LCOM4 11): Authipay\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":"crates/hyperswitch_connectors/src/connectors/authipay.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca1782e8ff3eae8482f3c71e0874ae2849f4f1717e93a665ecbc5fe78c5f049"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Coinbase (LCOM4 11): Coinbase\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":"crates/hyperswitch_connectors/src/connectors/coinbase.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"50270b0c7e3b5260c03768af328512edfa5bc0faca39ff187b7246a20ab107e1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DummyConnector (LCOM4 11): DummyConnector\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":"crates/hyperswitch_connectors/src/connectors/dummyconnector.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"688de22c1049816e996b24c9fdb3b09d9d91b90d67034828312dddaf7e2c518d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Opennode (LCOM4 11): Opennode\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":"crates/hyperswitch_connectors/src/connectors/opennode.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a59f080ed6a075d54f65c73d44119b2e49d635ad8735642252d294dd735b024"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Archipel (LCOM4 10): Archipel\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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce8601f6967a99ffb949d8bce051758386df685766cf3051b8626e4ea3fde12"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Cashtocode (LCOM4 10): Cashtocode\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":"crates/hyperswitch_connectors/src/connectors/cashtocode.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3283e33fa268542eefd2d1218251813bdc3f86bb070fe70e741c2119feb228e"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Chargebee (LCOM4 10): Chargebee\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":"crates/hyperswitch_connectors/src/connectors/chargebee.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95eabd42d4dcf34b99a2d06ac9668444f4258d7f3a425f6682b45b3be8eb793"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Ebanx (LCOM4 10): Ebanx\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":"crates/hyperswitch_connectors/src/connectors/ebanx.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"09921aee8a556a0cc9c95821a00b1fc0e408639acd0246645e2db99177095e9d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Fiserv (LCOM4 10): Fiserv\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":"crates/hyperswitch_connectors/src/connectors/fiserv.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cbd74e2803928fe8bb81554fe63f0df6514987e4da7bbcb25f84f4b693d5e4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Fiservemea (LCOM4 10): Fiservemea\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":"crates/hyperswitch_connectors/src/connectors/fiservemea.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca649317edf8dfa231ae471fd75652af82f6062d7862d478c69c96dc475d9ed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Nomupay (LCOM4 10): Nomupay\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":"crates/hyperswitch_connectors/src/connectors/nomupay.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e81a3945ecd322808f063db6ebc0b39fb0ee26a16bb6e2dcd85f154d74fec78"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Riskified (LCOM4 10): Riskified\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":"crates/hyperswitch_connectors/src/connectors/riskified.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c855288a7183b9ce0a3bc8a91d775a63b413de0b6c03a6676c4a168c51c5c7f9"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Cryptopay (LCOM4 8): Cryptopay\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":"crates/hyperswitch_connectors/src/connectors/cryptopay.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dbf0310dc0ecb49c5bbb3e1724351962129b7937695f24b0ef2d531e740180"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Nordea (LCOM4 8): Nordea\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":"crates/hyperswitch_connectors/src/connectors/nordea.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fea1390af73c1199d34a37c7eb29bd34af2c639e5504045b5ee3c2efaca524"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EmvThreedsData (LCOM4 8): EmvThreedsData\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":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5efd76d54b10889b63afc715553d2248c6a8bb87c598068a760665c7b5e78b6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Tokenio (LCOM4 8): Tokenio\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":"crates/hyperswitch_connectors/src/connectors/tokenio.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d600584eebfba495d13fa3ce8449f0ec8ad8e9fbea64247d9e075ca8ae89fc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Payone (LCOM4 7): Payone\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":"crates/hyperswitch_connectors/src/connectors/payone.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"48aca9b644bec358de5beba19ab28c3680f943023034de7abd941e310d5a8b1c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SanlamPayshield (LCOM4 6): SanlamPayshield\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":"crates/hyperswitch_connectors/src/connectors/sanlam_payshield.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e2e5c1d6172f6bcd03662277c177f19e94cd42d330632479052d778fa74c21"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaymentsSyncData (LCOM4 6): PaymentsSyncData\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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"544025cffbd69e63b9b3ca607022d23a51ccc8a1bc7f8f40294bef5c3f9be462"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Cybersourcedecisionmanager (LCOM4 5): Cybersourcedecisionmanager\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":"crates/hyperswitch_connectors/src/connectors/cybersourcedecisionmanager.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed0bde1c82f79fb5542844e33e4b533924cc72d80256bbeee3c801e3b7f528a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SessionState (LCOM4 5): SessionState\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":"crates/router/src/routes/app.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"721a7b4c29a7bfead274ecda9ae04d5715d05c7bb9b7031e1a6864d76acd5f2a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: KVRouterStore (LCOM4 5): KVRouterStore\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":"crates/storage_impl/src/kv_router_store.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04d8be353fb31429212005ff5afc7ed19560d6d6991c7fdee6e9c0b760b46b3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Card (LCOM4 4): Card\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":"crates/api_models/src/blocklist.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e970c8ad49db2cc1c187cc3d109d2b89eaa4e5234913825d6905cb44f1f1a1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaymentsRequest (LCOM4 4): PaymentsRequest\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":"crates/api_models/src/payments.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c72e1d01dc09a8bc17c306fd2655cbf8dbe4df5ed0ac4f78ac89805f590988"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaymentIntentStateMetadata (LCOM4 4): PaymentIntentStateMetadata\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":"crates/common_types/src/payments.rs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3065b3cec208910affd03eeb82cf64883227b6a8b1bf5756d6de5013dce4b92c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaymentAttempt (LCOM4 4): PaymentAttempt\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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"049481a7b4043f392cf141e7e846f9506807ef4aacdf2159d349e2a7aa3bcd68"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Refund (LCOM4 4): Refund\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":"crates/diesel_models/src/refund.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b85a857d47c17675b28050657bed67c21145f113999329847c3f99b7e91625"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PaymentAttempt (LCOM4 4): PaymentAttempt\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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc1e15a6948e96e441c662208c2cb24f063cecc04fff1bc9cdd547e6d162859"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: toggle-success-based-dynamic-routing: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfe5ffdaa3a4255faeae155b300030903a4cb778af79500643e3ab106540fb1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: toggle-elimination-dynamic-routing: Skipped \u2014 switched off by xit"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"753146bd3294940bbb0a8eedec4cc8d42777fc74a94a44f996b8d318996eb1be"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: should return 200 with keys array from JWKS endpoint (skipped: server returns 500 OI_05 \u2014 malformed OIDC signing key config, known defect): Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/spec/Misc/00003-OidcRouteMismatch.cy.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4689c26ca0b2853dc0645e77aa7cce55e655ec4934b9edb919de57df278e831a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: User login: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7c75eddc53915fa63e7e3d2c2fa81b2f02cf92d4e2ffc8ccc35d03de94a5da"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List MCA call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8484d6cba923fa0c36582c1ca15394c427dc40dd7aaedbab5abe5727699b8db6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Routing algorithm create call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"539fef3efd64578f0a6bf6ed0ae198954589446bb9bb6e83718fe1ee7133681b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Routing algorithm activate call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e326794f363159950f201bdbe15ddc7f2d18279f6c5abf95ccd18145d55da18b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Routing algorithm activation retrieve call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12a0dee04c8884b6706fcaeeb3e4b6af342c43f319fd77239bbb29638478d0c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Routing algorithm deactivate call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b83fa46f39be6c2f8bb73fe448617bbc4c933ea771dba95826b6e1542f432d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Routing algorithm retrieve call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62260702f87a358c170694b6680c94e0111f3c596d0c2a555c21960661e2061"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Routing algorithm default fallback update call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfab8941b06fee6855a3f813dbe9f1cebbcccb5f46f8ba56d1a751daf2c9d787"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Routing algorithm fallback retrieve call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"638b3c4f80dddf6601d3c3237f7cf49c535fdb927ed7a54d79c002f09174194e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: passes: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0001-PriorityRouting.cy.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3706dcbf8eca1261832b117e4e9760fc449025b1098012adf2366c425817650"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: passes: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payout/0000-CoreFlows.cy.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4dc8a0264832eafcae1b8db46460a2b78132b3b652e5e9134bf198eaf7ea3b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: passes: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/PaymentMethodList/0000-PaymentmethodList.cy.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe139ee300c6ee81d58e72444f4be7a3ac615c07953cd706acd05bf9bbb6372b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Organization create call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f38e34625f28a6cffd0d26bd2660daebc7dcff2c0cb7a9aed3cddb1bed792b3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Organization retrieve call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc83a951e2a035ba11ba21aba695bd44bef4f98023be6ea3b65c290a5c1b8b70"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Organization update call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1b9c0c6598c7fbdf8c91b7072b18ca887a1521523b068a0ee97430c4a9b865"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Merchant account create call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6072f752e89619cf9ce4050aeea1716d298b9230d295de5358010cf60640bebb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Merchant account retrieve call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8bcba72a2a1878df776f8c3fdfac0fdb989a48672bb70c83038045ddf3e810"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Merchant account update call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3654a757eea99bdbbecf87437cfd1b5336e54ba52fe338c5318fd63d40f83e68"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Second merchant account create call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"091e93e9b3906717ffd20a0e6807c60ba5dd95e6177717180c1d1d07e04afe35"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List merchant accounts call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"790f43213eca66b710fd7b7949f619b0ba82b44227190dea257d39033db60a5f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Business profile create call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50578db91ef0c44ef2473143e68a34347f5541532615dd13d34f0196d634952"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Business profile retrieve call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3a5140dcbc0d2ffa425f2872a246ce2319e8ed3d257849922af20ff0080a34"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Business profile update call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6b8f38e2ebb762f2bc6d6e04ab7498559f2aba509be2bbaa9d3e98ce035919"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Second business profile create call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac975c00608be9649bcb5b98ea0a7aefc0454036258ff67a88b6712b1aa902fd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List business profiles: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a02fd3395aa54ac9f0f2240b5c67e15899c63d27794f013b7f22a812af19f19"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Merchant connector account create call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f8a24ff4f183e93f5501ba56a425cdde8851c59e91e310d24b7e3c9e1a0b2c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Merchant connector account retrieve call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0815caa354c8fa895d4f1add7f41357e38246b5deca5e339ead135ed343ae3e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Merchant connector account update call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a36a88fcd562991f515afb1ce2ad3dbebced2d2acd00235694c386ddea9c7b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Merchant connector accounts list call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4620cf92aba218997ad7083661b2fb4bcda8615d59caa88194f83410782951"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API Key create call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"3256b32298321ee16b70c81c1f64470463708c2bd7ef5856688106d3eb9e15a6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API Key retrieve call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d989587f10f0ad965de7c7af7b0a8d244be7dcdf8c6236aac4225acbbb1582f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API Key update call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b11af7b3a09c9e30d2141e86692cf15a53b5220abbc8e994d22e1b69b07119"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Second API Key create call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"df59816fa8818c884bda03526912577288286dec9a53e027de2ba46396b00fc2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API Keys list call: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0000-CoreFlows.cy.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cf6e3f95b5b44ee6c83840faae2db5723b04c22aaccf2951a6e184c24a9b8b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0001-[No3DS]Payments.cy.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"341478bcc27b7e42e62c8af4a60c864c1b2d7393cf53d418fe034b598d5a8194"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm payment intent: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0001-[No3DS]Payments.cy.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf4b4e90215b42dcec4ed7fdf481bacc4045a050d470e63e6c045e1ea7c0953"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0003-VoidPayments.cy.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f61017f40a2cb0c20f460129802e856e709f6c1e3713f4e8c4e0132758a1a4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm payment intent: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0003-VoidPayments.cy.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bef0b4b860f74bdb40b717ecce1977b6618daad7300c17325b9ba11d000576"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Void payment intent: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0003-VoidPayments.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8de2ee45147d2f8c83c2d305cd671b1f3a668c99fe46a6782928253c82c53ad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0003-VoidPayments.cy.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"da849edcce93c9dbc27f96ee52b1ab7e3ee75ef5bfbfac3c841530d3ac942736"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Void payment intent - should fail: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0003-VoidPayments.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae05f27ba98544c0b0c86b636ab2850982339e35c1a7c354c944633a71633c52"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0003-VoidPayments.cy.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ed0c9e9c3f6a8af51b3bc96f42e9e546ed43d677b0880e08c88df8343177ce"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm payment intent: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0003-VoidPayments.cy.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb94be22beb900b699586f1f1fd5cf54501e9420278a5d1451dc1a4add2336ed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Void payment intent - should fail: No conventional assertion call was detected, and 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Payment/0003-VoidPayments.cy.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"626d8f7a379780afee50a4570f01b262712bef9269405cdd8cbe9a2c14b93cd5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"952015a017ec7ce2bb7de050fe9f8f0a663ace6327dd767699924aa5f9483987"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"135277f5d076fab7feaff012d5f2700e527dd052898d9357f6fd00a7554d983b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"923e78572dde3b37336ab354bbb1e57fa5045fd2ed568612630dd56fd60d6de9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3fb64b72e360d36105c6216b811f2de58085efbc8a6b5163afc8effbe7e406"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: setup-ucs-configs: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d08a5d88c72618b5177f41ef06a0dc4dc359a752b3c7349291cb9fb8c0836ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5955f1c26fceeec3a65201c7a3bc3935a185cb90770e71b9d59c6f39ca3908c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"525b6f7430faf3739d84b233f04436750b8a1eddb6506ea5b8c9cee96021c8ad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ea97dbfcc20559eca09d047299b6b1d16b608733207738df06a75def88b510"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"42999c5b88972d65603278b645758833e1eb19d318b16d0921e6fbe05f847763"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create\u002Bconfirm-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7417b16322e7f173fdfd15b59b21ecdc1836c32e2bf6126808d373049485581a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-2: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39b51211a7d29259b9421306b918e3af4afac21e24e1f3dc509a183203f8ff1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bbb68a100ebddf6e1c55da5fefe1ddd71c80e7d3e29e2b06758b2d4698ae8c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e593bb4552a65c991c04f2673e92a413117327131c8e2c7da08d8beb7e0bf6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9186190517d7219af5625f0c9996f889609545bd296d22721abba1102cb6afd4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d3d0b0a392e996dd34d1b1289986e302f2f914e311d8f552720db06708c2e1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb479e2d7b1b2299d8d89adda8e4664f0c3d9d903ff58fb4957c598d02b9239"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58419d3465b843ee14a9fd2f6b8715ba8cfb9f24326e2ddd2f2a98b8c70a56f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fb96ad1e4111b8a5d59d870c46a06664ed2cbc6b80504c224fdb4b9fe38827"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0a04bf4d88dffb8274ebf579892f2deb74297955a890a15b79425a0e201533"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73c8e02a7dcd60a6a2de37af680b7df158de7524e87074fc2b68af1580c9bc6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ccf0b987753cb7c1a4b5c4dca8957a5cd1e5cccbcd18f38993ace5ed3a30c4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"794544dd46311cba89c050e74506d3e7db5b8b7fc6cf598e18a29248c030fbef"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"133a31916dc7594439c735a296a60ca46b20b2a29070db7e33f742143b3951fe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: void-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dc5845c663decce560091bd7f6404ba25f273818d7b6aeea0c54acf10c325d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff17b459a681eef2c84644324a957623ca00e8bc768944ff8c5b49ab88eccdf2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5193ad58ffbe5bdc1d9f16a697fa9a2efd5fd8f81d065d6eb682c0e4b5372dfd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c0f7a0167c463068e3492a55bfcc3be94710fa7ace8ebbec9b589a6ebdb925"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: sync-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"4540325fe74ceac6e3764782a8878063ee73bbc82cefe9154a70a93ce25129db"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ccd3cc352a0e1fffd29f81d79c17044aa46efbff4603f916a88621d27c8d17"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ccb1a2108d7663a73e9f2349930a16a0ef39cbae29094c8cdd4c3b3eccbeb7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca26ae06b75c1d8f30c9f70f9b9354448252cea07398ed1b56d8097542bb56e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: refund-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8036f4f8349015e14aec7081782cc33a78b06e0a12a9f1316344f6b7e2db004c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b677b309f8933eaacac5ea1b56c5485df39d5a51caeb9732f0ed229180ab5f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2aa5720586e7fb77f7dad66d8c701d960a7449b59d6c7ec73d512103b163b9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"84634e0ec43b73a8d74a7ec12db1c51ee554a40ad37b6be67895148c29beabae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: refund-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"155a2618a48a7323d0c21b7177b31b0b1a7cc80153a629971c16efd3d31de29d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: sync-refund-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"50802826cbef4cafcf2d797aad3c5787546fc32565389697b5ad91fd8401809c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51374f0b17bcb13558d0b4192c71f5010e298f8524b57c7a1a622ffcc71e81e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a6bf9a83df34f58399162134ce66f9b77f0a5824a2dee12520a9d6e05e31cc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"97964af35ccb9e2f4ce7812b7cf7e847f47842b6cba91709cfab48ca1c12cbe0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT 1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a48d45bf8c5d382a3de90f649ae5ef84279b58c80d70c5b8a987b0e350eff4f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT 2: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b910d142c5aeeb65eb1cde719c1b6ffc2bf6c377b87bf8bccceeffbe1cbbbc2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"76efd83ab736145eaf3d2dc9b011320c6e1217dcb71a3b23bc68215ab4d1b702"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8a3598c93996d87cf1fc343a614d7c560f81d29b4c8907e86b0d1ea9097820"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: revoke-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61fbead0a69fc18ac3cf15afd6ca1128425cb6a4c5a0e868fab8830abbb9e39"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f723861344c4d182921e984da26fce98b4ac1a92d97f17cbe5ad35e56770429"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-payment-method-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f349d49514aa7219f354fbea4321ac4d3b492d4d2603a4e8c9c0c7c4556b79"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94d9a7c7d182da19810695fa08d7b96afbedd2295455675076896223764b921"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d349740e6e66d8389bf9c79b060b8d45be08c2c51dd7cadef03e5285c652e208"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"322ef1ef67af5143a8c6d1273d101b9291658b47df8023fdc0916dbf4f9bbb46"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"75baa00360e7c8c8f75fb3e13fac3e7e701bce5732023072f7866302d953c76d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"01290e6d2b895a8c00a668d39660467dfa2662aa386a31879866aa91dfc28d18"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d71b11cc6bed23e8844f499d79e0cda0b1b45e2a09a5c470a1c9bd9979fde3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec0f4faded992bf6b954ee7e1921b1905e8975e513e614b05dca0ab3add5019"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5561eb32da92911a256cd8e53416e5579e8fccdebab05e79535fe6c832cc4b3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eddcacf3de535a40f9eb0b7f19e47a4e33aadcaf33c90fe50bbcc83ab92c6ba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cleanup-ucs-configs: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0001-UCSComprehensiveTest.cy.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"264b47515f0177f9d7be266884f7972d1a281959fe8426fbfeaec0c3b72cd52e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates the merchant, API key, connector, customer, and UCS flag: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0002-ElavonPgHostedFlows.cy.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae8229482d39413fa6d3d18d756ee2b606d7c8cc536065bcf6399d52a32b259"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: voids an authorized Elavon PG payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0002-ElavonPgHostedFlows.cy.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c7870f508c5f8cbe413e1d168c5143eae3adff607cd1cc3f0acfa3354ede2d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: removes the UCS flag: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/UnifiedConnectorService/0002-ElavonPgHostedFlows.cy.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0a2c344fcbd4b1ebaca4e7f113e49ef09b0fe1929a56a516a31022e66429fe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: signs up a dashboard user, creating M1 with default profile PA: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe21279320d264169a21e72df89e9c9c5f094534dbec647361739f062142933"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates KEY_M1 (merchant API key for M1): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9234f43fc4d06edaedb75c2d029c6600bd2ef81441d05a87eb9c86e5ec5720"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates business profile PB under M1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb351d3ba5690a5a4db6374a38626945ee786c9676f1081e5daa9780330c2b0b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates M2 with its own default profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc21ab46ece0de154d6f34f2a5b499f0c9d408b0ca5c9ec197ca996f219c212"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates KEY_M2 (merchant API key for M2): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"888c665c285e5a5bf809875651fbc0bdbb0286a979ef10ab2cf6ae7d0b066b39"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates MCA_PA and MCA_PB: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2a57bf6479201de8c292bb048033d94bfd536b262521f9142a1e8fb90169a3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates MCA_PAYPAL_PA and MCA_PAYPAL_PB, so connector onboarding sync has real PayPal MCAs to test against: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"40bbe6e11d0b160539e2b9174b0e7e186bd0c709f607670ab503109882279a49"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates a netcetera authentication_processor connector for PA and configures it on PA\u0027s business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f1a528eee4c594a5a08d1baa8d5490d705d44a9869edfd68e02cc2c57eb0e4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates PI_PA and PI_PB (payment intents): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"077a8e9d6289c5f519e40fc634daa28f35df13c0cbcda7e49ba4c72f0be09ec9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates a payout_processor connector for PA and PB: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe306bbb373b4df16ee3c1bd54c777be82304bb8cfd050388a9917078018455b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates PO_PA and PO_PB (payouts), if the connector supports payouts: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"79defec3eb28cfb7ccaaa9af54506e9570883e02e43c08fbd2b8f610679ce464"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: looks up any pre-existing disputes for D_PA / D_PB (best effort): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f521a79d9434a72a3d3c83b064627897dddc8b95fd1caa00793c14645e18eb0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: creates profile PC and a dedicated cybersource MCA: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/00-Setup.cy.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a2b5cbafc6eee1a7ef5758f8472b54031fca925401c22f8caf679f0001d62e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve cross-profile PI_PB denied (JWT): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbf4e11ab610b731a5b06a337fdaa201035af419c4732172baab8b920005f63"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve cross-profile PI_PB denied (API key \u002B X-Profile-Id): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"366b3dd20dfdb90b8c4f45c9b5a9a3b71c52598828a777b614c8603130d6e974"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: update cross-profile PI_PB denied, no mutation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada876489e0be07574540052bfd62b14709544094cf5a08575adb1a036b7c4b7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm cross-profile PI_PB denied before any connector call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5fa5e20926a42b1a649733d00c26f74ce1c229d65a36d39e70620d06c4d8c0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: capture cross-profile PI_PB denied, no connector call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab62a67a04398510942c2cfb760e8515bbf9678ff38a73529614299793b2dbe8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cancel cross-profile PI_PB denied: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4726bc12d33a05e3ecb243b2ab34408ab1ea3166424dff7ee5a466a16f3d7b9f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: session token call for cross-profile PI_PB denied: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae81b059722765779208e9ce4458a2084f6a7c0b537ec32a4ca57fec34afca2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: complete_authorize for cross-profile PI_PB denied: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff260f84491f31b475d2a34bf0095cd601357a5866315fbde6c0c0f6d7132843"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: incremental_authorization for cross-profile PI_INCREMENTAL_PC denied: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9560092f0a2e91ec10812f7c990930ea9397311d87276e305e382ba4b54f4d52"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: extend_authorization for cross-profile PI_INCREMENTAL_PC denied: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"267fa4894c5f3e97c304e5a60b3c1880975e30ebd2b60e55a52926f2ecd7cc4f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: listing attempts for cross-profile PI_PB denied: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/01-Payments.cy.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"067efc9f9e5f362659fdc440f64ce8e7b2b95ede20ad8c67725cdb001f0f89e4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout update blocked cross-profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/02-Payouts.cy.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b731da0bb90ea18140f4356ae78af3805b03e02ac7e9783a3e76e2f521bd4ea"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout confirm blocked cross-profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/02-Payouts.cy.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ec27a8be606cbf4f44fe4caa858ffe1b3bde5d86b1d71dbe3b0955fd78c860"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout cancel blocked cross-profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/02-Payouts.cy.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42ae3dd189db4c1f41c1524be08c70866195d665893e635fba65d600df5e5b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout fulfill blocked cross-profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/02-Payouts.cy.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0978c4b89f6c15977a6277ba836c8a0e0c7d9002315fba545020ff6c83c8959d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: delete evidence on cross-profile D_PB denied, evidence unchanged: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/05-Disputes.cy.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66ab4d59407dc36914c6aa2835cee01333b188300671db0df1dbe7612f4bf08"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: sync rejects connector/profile mismatch, MCA_PAYPAL_PB unchanged: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/06-ConnectorOnboarding.cy.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ae5b295c69492dbc89d3390e935d2b22a91b213f3e295de9166bc7b8827dae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: MIT toggle blocked cross-merchant, PB toggle unchanged: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/08-BusinessProfile.cy.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fcd646f7253bc3eb75b91806d9afc42f2f16e074391ccd97caa90f8b6b7f38"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: update rejects cross-profile path, PB unchanged (JWT, same merchant): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Security/OMPScoping/08-BusinessProfile.cy.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab801d23adb976487b66a57c98377a2108769ce7404b0079efb9cbeedf5819b3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00000-BootstrapRoutingSetup.cy.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb2426c65bcbcd6c27a5fc3347d311ac813412bcebbb0b1330376b3ad87fd33"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00000-BootstrapRoutingSetup.cy.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc762cd9196118eafc7f96073ea61b20bde4d6bbb1e64a5cb4de358c709963e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00000-BootstrapRoutingSetup.cy.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba16952d7d8f5f32004c068f8df6b84d8c9568fa943183db68434c5e8a342304"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-stripe-connector: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00000-BootstrapRoutingSetup.cy.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b5eb0888a53ade59a6f91c9f7cb5689ac0d30b963096a5c17f4af09896b91a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-adyen-connector: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00000-BootstrapRoutingSetup.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"249f6c75f745fc33790cfff878798c7f389f9c0783f540e339b9c79f582f85ba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d36d069b8fc92e4defb81dc43769d23750741a7df46e3457f67fd76d012d5de"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac087a48ecd9845b610fc13c1c0c0c1b803eb9f8daed798c33a018dc7cbb00f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f18f93e70dae39a06d2b212bf02ff258f0411985f426aff36b35197bbea505"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edff9147564c4ac7fefd8d2acc5a25b0e7f770c65f37cd562d4670ad8695201"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a27bc2f11c06643698db62ec627872c41ad0588baa259260d311da3da6ba8f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd76ceb9cfd13981243642a61bca8305f52ea795bb3061bf9ee5240ebc6b310"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4aa3cba93f26df4f2d343824842e9523c7115fab240cd7a9809e95f4e9d982f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"279c83f8222e59de03172b9235ccef0395d47cbaa3308196e396699fe8da5ce9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec5b728887839e6723f70313ebb917307acc9e07f5ff0df5349a7922a43902c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8e5210768ff93c0b2c5b0af0f094cb82f07a66071dbe1e188b0845c5249563"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c659b53afcda0af8b5da8505a3ece1f5106b5df8fac3033c25359e0f59cea3c4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00001-DefaultRouting.cy.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17d24528141db542ace519b437d99e3cd7d98bbedc0a46f8c6ad1da63208b59"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a0fd93c99bf606bdd43046130e3017e0e3f4c7cb3c70d1c8d85fd1d5a8e7a1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2aa055809c1c34bf60415c67d0afb5fd8f144e46388dcd295ae17aca9f5069"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8e9d4523910cd61bf8ef1aa4d3c92793a9a063a8680d30063225d2b5f733b0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23251ca3b935e5be07f418ccb1a4855060e06aa5eb886e75594fa713497fcb2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ac3d8c2cc1208eb308aab6f85b7381b25d1ae4f62b90cbe4457f06fc6e68e9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3825d00cf23428eeb91843bf47f664e75f3008be52aced2c32c95b328ae771"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f803325eaa8711deb3f5f1cb53a04b7acfd9076fdbc0c3ccf3f7b3d03a6b5fd6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7a84119277053cc8193f09b0148ed470aacf05f9ca9ed9b370516922170668"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"818206f544c0b57b0f8ed9cf7ba7723f3751ee34080e163d5914f5dada2c3474"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"295500c41adbf799edda62f3db5ccf60e34cd80b25d773a4988221bc145b6458"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b5540a2316abeb4a15d14310c08cf78e0687e1c73cf4b4d62c1d5f81ae37aa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00002-PriorityRouting.cy.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bdec6a33476f8069dafb6c24a35590e264a035ae1eee5156be2015ef979d51"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8249bb72998bf1d0410456c5afeae4aa3e1849c86ac9d0093dad645937a78cc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"415969064a2982f7fd76f2fb8df76b620d0cb587d431b139afee865b92074d80"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fe65e7e23ef6d4b96420db59f8b79307cf3332fd86c2535c44e2e9839892db"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ab4b407e795d91f980d608258bb82af65f71d57b963c04a162745e9968799c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9bc663a64d446c05ba2ae9c8711e62e2587263a1aa3d72fdf94ec6ba7eed46"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8418c955f30a737001c8aa4dac0a1bae6db995dcb000d609cb37cac3d428b263"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test-for-eps: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1d2d0b26c9f8d1911fdc24d566ecdb9fb1caf7cdcf24586fb426822ca8d958"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c91b51f802bc4ab26e7f25ab8645ac3ba2dc67ab733ee4239bb4608f49a4c06"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm bank redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7629a97f9e0b7ed5ad4f344debee5890d068a2c9d9b25d24d310a6466e2dff2c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle bank redirect redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36f6ccc5fe8ddccab670f80be82bfac31e80e4247b9c25417d39cbd5fc6c977"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fe6fb05ae8e19bb9d346b7905af1cb7b0e47b58001deaa83615db8b35d6a02"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea538d055278be677593574372e965ebfdf2c0be0409cdf3de08c49b461f877"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e13cb8e817525971ec2165206aef72e4b8f517716c83efe41f402c1092551e9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b14c700a27d701a4da663d547d3f560f5471496f38191320b20c47073d59bc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test-for-card: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"64803d1838d7ec0b91e3a4c9b796b51274bf89b1ec0ff3cd0d97572e979c9464"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9701ddaebcd2d0c63f172a71c73f9fa76be0a36499a83b0993239a4e5a586be7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test-for-eps: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e9241fcea9ec7b200dec5e7b426ffc2bc669e22fd2b6434c2a87e734e679ca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0550bb58e45143e79fdb042391ad4b08a89878445f3c8b34e3c9d4666ff2c91"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm bank redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"857fe6162323f84ce78ad6cad265afbb3016f9dcde4ad3e396621b702589d944"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle bank redirect redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"736a3943bb49f4136a10c2e4409908976b63e71f1fc7894f022dcdca5583ccf9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e1d6cc50ca978c90c095fc020c9c47ea0e31741186bf581e63d1651fb2379b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"df786bfb149a72ef89ba6ee3e4169d15dc81f907889599cd06fd4917c7492da3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89fc41a1f637b2939ab7d293a6fcb8509a6c6ac66ce43be13b22110410cb108"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"010df2f78925c58a0aaaf5b0b0cbdc99502f1a169362db04a62df13da55273f6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test-1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfb3c8bc5ebe02e6ed0a054790840bf7134788f6ed17866ce5ad4241f55eb55"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1564764760b77277150cda9c143e98c97cb5bff8e17572e117231ac6c9d7b2b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test-2: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c30b6f16aca2cd3de57f8e71fce03072c49295d2f9b16c284b671f68375d2a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-2: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00003-VolumeBasedRouting.cy.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bac3de3443c21fb17ecbe0e3cbd2077ba62e7bdf893a32c82fce4482a940d2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b0429c3275e99d21def923ac1cc6116f45dc539ea815e24acb05599cbffc016"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f3526074746e783dd7d9b274017e5dd67d9e35f4668fade2d38d888f92a597"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68344d9d07609dfd2321b3ec1053ef0c0bbb2191650b36ed2040f62794d1daf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9e26d4ca142be0e2dddad810e552a8ecd6382b469f4dab1332d00b1c18c2d3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test for card: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8df6d3749debdebe86bd10c4667dafa9f14ca5f90f4685c039f7ba2df0f58a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbd7a46644326677ec8dec4ea6cd13cc383d8b4e1492f3152934f2db32b23be"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-routing-test for bank redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff31994f4043196576901d9cc4e5e4bebaafacc9d13b85a8effae314c3a9498"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm bank redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"170aad5866bf761c805eee8f38118bfa86a86c404bbee2625bcc005df383ea10"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle bank redirect redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf8e7ddd907d03b6ec431884317de0264bdd07650eea64224056c45448c0d1b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9683bd0a931ae306a965fa5ee6c9e8a89743e35d97f02bf33d8d2669f032c932"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fc23ff4e8a3319962fd99d2087c152b4da2b29eeeef30ec60298bf5d28f564"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3207bb17c002712fa20519690de950c849ba249de6ba89c1fcbb1b7a14e78435"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2373cf766aff8fb6ad76faac49bc06a77735ed6456bff43768f8131572b6c15e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test-USD-to-stripe: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f481098dd745e74c6f8ed2def47c196c22bd79536fb37a10a886057554c5ad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-usd: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f2f3e75b0af4226b4eb6214f378c3feb8efd7f199adc5b60a9e68a5887d57d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test-EUR-to-adyen: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc94c9b5992627c042e1c0636428bf6f7523c1a2ef6a5e4cb202a5277691878"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-eur: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec825fd346ba08be4284c4722794425ac90f9388f06040bdb22b144ed897697c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71fd9a43a54d4fde08ec246bf146f603e2595a6d9889483646c5daedaef8c07"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b864b0e62bedd1ca5d834595bff81d80bfb8a4142bb7ded60da60ac9779976"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"3675d1defd22857c62295c70968ae5a9c3cf424282345ebbe23727941d20e78f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfedcc5cab0169875aa8bf04d151ae820cf5e1a04f3d4f042d6becbd34d288c1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test-amount-gt-1000-to-stripe: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"707ef00cede09582d384e5657a6f7c9b7590ef43f08bba373ff7aa11441bbcb6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-high-amount: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a46c286c42300a8ffbde67200c982557173a13337166ed8939f5c1477845125"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test-amount-lt-1000-to-adyen: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"af544b09885ac83c00e48e5648dfbbb3b1a0024e933b6308f5946ece667a8202"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-low-amount: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e3736b72d5a671d6a480883ed3ec1e3cbae4a1f84220e69b52ab97f67dacea"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8e08877836921ee0fb7165508c0d0e27a1c8b156ea8e015b5b518703cce7c9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d442e6c065f7f8a155d70f791e485d0e410d895eb20b0bb112ecdcfbda8dbcd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a472653366586ef4e8204c7b53015306c95ae80c3887618ebe6fe1f838e9e29"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"350cb0c0948c168f60de58c784c0682383188479f350153db9126fb8b2efc978"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test-via-default-selection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f9840f062cc7a39641971ba693fc9c1b99d45a5e0d0276ac92099447783eb6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-RuleBasedRouting.cy.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfb85a0896ad2813c83f8d5933fbfffa3ffeee3981a98af34685e48e0a98fe4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84cab3a33b35e857792ead24713707dfc995e5767fce6eda1359839b81806a6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5b40b2e4cda5d7acb09510b763cb6f8b5bee7f552776c84e65ca468c3e549d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f148d601699bc6d11fc57d5bfd3f8a6139a747abcf05b69285488c5f6aa069"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"819eee6a1f5fb597fe8b730fd78286216985ab6aaa591a4500f851b57fdbc51e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test-for-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b44e20e4f64ec86e34ef8192dd7fd29a1ef45469f9daed202d5d7c221ef3b2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-three-ds-redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb112c5e74f0bb436d120c9a43352e678a45d69b08846414187a4e279d5a7b4c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-for-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"45199d4e3fcb6bf601e29f71f45df0f2388a4c2611746148cef2e2042c3c4481"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test-for-no-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb620aa22a5585733e5228d8a2ef8990d9351845878091644906f6a6f5bc214"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-no-three-ds-payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca9bc16450a1f13b7392932ce3aab2d66dc27ffa98a4f9f5002ca44b9c69029"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-for-no-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebec63a557d1d861b3d7de090a4d5225deeaab380262acd651f74c9066cc97f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a636ece65e48ed4ef24627a9b9012a0be802670842f181966374f95cd579bd89"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"99db423ef2b9e66306c357c652e191d6ab53f02705f562fba36d3f5f275963ca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3a675006549ce68f4c506cd95d095b861badb7c5ef11e6948f9f73645a7932"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"586e12aab84bc5f659002460e69e3d125c28f7764d6bf7614d3d4bc4a32196c9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test-three-ds-auto-capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cde3a73e30d9256da4e2090683316425f6b5b9ee393366832cd9d1ab6575c9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-three-ds-auto-capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"56672c137b630d6ec8631a0fe54977624edcbab951544f23252465b95c20d727"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-three-ds-redirection-auto-capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"89eb9012fd05cebe62551bfe97cfd235fbf931aa0d14510f353508455e1d1b29"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-three-ds-auto-capture-payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"30de92ffece278c09e1a04b246227ab03473f894c3b3a5e09bfd095e30690b6a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test-no-three-ds-auto-capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a055d886ce8d2097cfc271a90a72011de49dbe83c2397fa0e616b89e40f040e5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-no-three-ds-auto-capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"481afc1fbe241932007737e7486da0cd8caa3d309f7ea6f11ae753e19c8cb24d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-no-three-ds-auto-capture-payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4a354df2ffeef8a87e4552aa255d8f4fe7139f47796a3ba7287e7f77c43393"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c3d77083c5ccc7c087cf75ff80fdca0417758aec34fc739d0cbec89eb38a67"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d77ffbf7aa669f23f6ddb8f16f2f19b2d34f157e9a1f435591a020d3a83549"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeea25f685e04c29a4dbcbe3f91a8c69a70c8468a574dbb0d04efcfde13e7617"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"416c4eb5adc5e9fdffc596dcf5ceeeb78865b9210f450694e0bea15a8f5f2e90"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test-three-ds-manual-capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"59677c90148e3251bd8279d211e9a0afba32ef08084e7d55724045100907048b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-three-ds-manual-capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"c089fc700d09ed2de2c9053f2f85304254d6950b05c3561352826ea19e270267"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-three-ds-redirection-manual-capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab27e75f5651eacb2c02ba8431da111fbcb7c6bc0913c45dd5628bccde4bd92b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: capture-three-ds-payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf4870c8169c0cf4584641e310c37194c3c88c87a1e0fd6eaa48ccaca7e710c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-three-ds-manual-capture-payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5db6f350630085e724aa5beff5eeb366758b0346972de7b113b62cd182c1db"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2a81620df628677d67ce157355f323e7e462ca84c66aa96366c8793298cccc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeac8ef935a43649a80f87e4fc3459ca85ed52e858c062aadb18d84c5f5e6746"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfd190f015117d186b53aa82b737827c5f066df720802c358ce759241dabc36"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be9fbaa3b6fc8fb589b11a8eb3ce86a25752b9072b27f601f7892a62763bfc2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test-card-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"70df6e720dd949c3e24047fa787da2af9552da18fff461f96446f1663e48bf9e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-card-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7264dab8f04ff8f15edc9547875d03c1ac2a6151b629e0fcafd632158eb22d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-three-ds-redirection-combined-rule: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e469550a8872a9dea157d3677a559e5aeda851b71a365adcebaa41df0186de"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-card-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcdc0b711bd375bce74f24f8a6a751bbfb1ef71e7de414bd2cd131cbd198cc6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test-card-no-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"0637bd6ceedf11c937913b795b4eff2de0acf0cf6609095c44bdb606ffcda6d5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-card-no-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"beceee5b373dfa6d3e43bd042d0550adb5be41d6cedeed992614b1499de1c205"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test-card-no-three-ds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00004-ThreeDSDecisionRuleRouting.cy.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd3202d4ec97d851ccd1174a7168e16246984f71a4dc93658f2681f469cbd2f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bae93851cfd15de0d52dd69b5d837716004a4cf2045ab7f21fc70fc3de05920"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-success-based-dynamic-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa748f99aeff9aab8bdd0702480100ceb30987e76740bd845118670cf5db814"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87a72bb17c52cfeaac9548ccab53d479c07a475ccfeb98c0ef39647a9e601ef"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06d8e1557daa2a4a70b411370c25d3256c34accb502cb97b70dd94cc06019dc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fa9337ab2765eeaba6065172128c9d8023675ec1f3fb663a6eb908e90571f0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"81854364fdd0c64db8b80e84f91a34cf3ecac7f6c82e19d84966b41999e015a8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: deactivate-previous-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"849add7891092486cfa30a342f2471eec2849dec40ca118f0fc415bd9ab4ddc8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-elimination-dynamic-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96f304a3870802426d11295926fd790e3852cb23593837fdbe8997d5054b62f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9153be769904492f5ef694755c18a00bb4e839906f8334acac55c5aafcad1f97"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20ab136d17856597a17fb2ba96f2c7bdd271a3f5b35a1ae8c96ee17a736c1ad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-DynamicRouting.cy.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f802ca6e209a10db2673d2641d2e636e326b788fc462183312614c362eb7e6d2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc45b16ebd972a24e19cacb70391b4a9c5f2e175e467535c862deec9aa73b34"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76d71d31516664b5d63a3a4944c18bd211a307832bcc7e9e4a4e819e8656ac8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1d3d14e6ec7486bb9ad680416535a34b4bef366b36f5384956a594a0537d2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"959c741c3977562eb0da27eb29b59d2d415a0b4544528d474e031fbcc609a4d5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: evaluate-routing-card-to-stripe: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da8c438a7fb15688a53b4db5eb9c1b98695867e6410241fab7493c2ca289e43"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9311b247f26a42ec6c4fd8fd11dc096c9536e93c780b4cd07a23e460f838ad8b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-currency-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f2e6af5ba088d484268f2623b9286e5fc6a447782f218c3c21f26f59b7f578"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa831cc53211c4993c42ca0b13684fb574dafe5f6e0a008dce19564b363e79b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8b4c8d4e7066aa15f916962d5443c5307e60862710f85d9e4af1f05d1810a2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: evaluate-routing-usd-to-stripe: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingEvaluate.cy.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"911925b0e360baccfaa10d3fdd7aeaaf7350d0eb254db667f2bf032aa2d82bc2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ea8f4233885e3e52778a41dc1d8885ba545762ad38084d207804aa37dee28f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa5e37ad64ef4a1d0c9d9ac5a4030d571ee39add3004207b834460f79b488ff"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbd938b719c09a9199e0f450afddb4c98c7852de40e72d6d3f4a39ebc392890"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f63afe06f0976afbc22456157d2a4fc0f13ca6412a08ba57f02ef16a21e352"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"73291dda63075f5bbe3951df1e542c88a0f15dda1402a21ceb87c3de3d3ee341"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6030a9b15559d6ff305cca34c5a4c0ed8d68eb4dd5278bc742d859ad18189cf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"697a2f3921ac2156bd16b523d20eee3877ef3a60bb4aadf8d42eb3873b4bb62a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: set-routing-result-source-to-hyperswitch-routing: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"570fab4eb8edb5f16f0c9938cbab6af5f7ba00ef825d7470d638731e635df929"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6b2008988bfb23b4129bacda7000aabb482c6084f0c9f52616b13025c056c7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd86af49b9eddaad64d382c410a3c374bd410af686230635bd8bb7d8680ccb91"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa29cb5acbdd3b9cfec1298d370112c9e34365769b732069d461054eface1de"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c346260417bb78e089c1d54178b82951d5a6765026af8716622c59bd28a80c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6230cdf9f32457f2cc32efeb79bfa6e3065d85c13fa3a374e7557b1ffb1686c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: delete-routing-result-source-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"196f01d9f3363e6f1122994b45b6fd1d1421832f233d6ab261b60e2e35ffdb9d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mca-by-mid: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2addd46b495562a0fc857ab186aaf9e802c86042a4ce2100b261a8608ed711d7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: set-routing-result-source-to-decision-engine: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ece29b543105db20e32bcbfab986ffd8351c487ee7244057e0e66a44eb5546b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec905cca6192f760ef740c5b660482fc2214dafe2597f83ae4c501e35b133d1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c60015f7968898618f1a27309b62b51313b15a95efd432310c722237d6ff43a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-routing-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"02221e03c91bb2a1b14818c4c444592c3667e38b76aea489f7ada919d9c237e8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1db3c84da6a90dad47417ed6dfd835234f0a65567aa3f25cb7ae8feb7fdcbbc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebdb32f820eb28f5a18edd79a9ca62832846ac2ba554579cfff17714ca1f971"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: delete-routing-result-source-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-RoutingResultSource.cy.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c567c275db3f995aab6c523e6fe3e390e896d96a81f0ef423f6d97c85568df"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-surcharge-dsl-config-rate: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b26b5da53392646641bb281bddf0022ec8f86668fbf3f560b6ee5eeaeb26cd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-surcharge-dsl-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f97030ea688aa9c7d48c44f1ff5b6d0a3de31876f75f5b2bcf6e65d75ee476"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: delete-surcharge-dsl-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf96a642d2da2974a78ef4ea9a614e0b5106e99aaa63050d064a640627b5f1e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify-delete-by-retrieve-empty: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a875c5b4977b88509a2f192cffaf45a3c13a6d504d9f243ee32034273c253c2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-surcharge-dsl-config-fixed: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29daf6a0dce049a2db3478f6558c6ff6a82df2fa705ce21802406d0bcbf57d2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-surcharge-dsl-config-fixed: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6719474162a39335609b504ab0a37f440c51a0baf7edcdc6a42b639f44ba76d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: delete-surcharge-dsl-config-fixed: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4a52236889eeac1eae83a86f04ea7f9a2142fd959df81d542f17cb01afad35"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-surcharge-dsl-config-with-rules: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4fa12c3b0ad28331474bef373fb96079e1eb27b40cfbbeb4bf392ed64acf94"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-surcharge-dsl-config-with-rules: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee1921b5d1647c718fc721cb6f0cc880ef511d313453edfaed26448af477330"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: delete-surcharge-dsl-config-with-rules: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00005-SurchargeDSLConfiguration.cy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a83a5d5debc6c8a35aabd7f5aa0d1828517b8c574c7e76b94f93a6bb8fb449"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-payout-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb8b4ee67c221923964e21a1f99bd48a6fbbede14d6e172f06e6951ac82c0ed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-routing-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d2e73c16137c2762a55dcf8bc22bfaf51ceaaa3f137751489172d5c862f8f4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-payout-routing-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6bb6612a0c3b09257475be7124426cccaf57d2e297ef129fbcc1ec29b4918a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90a92f9f53b22d04ba7a036038a13c3776781be77d02fd6fdf43aa7c093c95e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb265edf83c3c5b1b49a1e569e68a9a81834110b6cf9992b557d2313b09189f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-payout-routing-config-alternate: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ee463ee7881a22b38ea90f7c3f345f786a7ff6b0eb479877dccd08cfacdeb4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-routing-config-alternate-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8c90dd06203bec776bb2dd6886d398f20e178d7571ffd46797b7c07409d325"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-payout-routing-config-alternate-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a5536082d96604395782407060f17bafc7cfcc5b403ff96a5e8a3e82566ed3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout-routing-alternate-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ab257bdfde0a98b221f9b480d57fea7a4439959bab1eacb24f51d3a3c1293f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-alternate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2c68353d6dde6bd319e40d62a494bc51375b59866f92ec25e8e6944a824901"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-payout-volume-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf28d96db7acd5ad973ee4607890d2b6e09b6ab559af34efaab9fa5446b53bf9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-volume-routing-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a016dce76479a41d92757b6ea6b73b86ef256f102b60cf33dc3fa389e5c8f072"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-payout-volume-routing-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0885ce59480acb1f24cbd5d183882875a67639d149699a1f9f977439730bc3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout-volume-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85a2ef84051ebffb3293de5a4b549caf0ddcab64b9bd5a7ee53b8863bf48b16"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-volume-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa96cb9e09c9005a6f358410424e022b0e75befd89e1aa8042834977b132365"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-payout-rule-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a083cc56b48df33b00fe5e36efe3191923f12ea50813c05bb1b97a2b1af490"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-rule-routing-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd0468a55f18945daf8e9a0bc5f58193ce68584ab6952f22540e7f80e7a9d3f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-payout-rule-routing-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfc264c5a6e2a96dc9e6f8bd7b7dc3f5c264eeaf0524bdfebf2a1fcf4870697"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout-rule-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59ad5019e698fa97a08754d4fd15e9c9e13740b20cce67548324e7de10b905f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-rule-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e814fb96341d0576338c42209b92844d879475faf4caccd0b35052a1193076aa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: add-payout-default-fallback-routing-config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c7dcb360fd3ca79a70c45f368d7159e99672b25d7e21449f1d02ac3f72cf56"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-default-fallback-routing-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6821875b4f035588ed25839be5ce2b71530a83715a8b8b0549158de9bc0466"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: activate-payout-default-fallback-routing-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bd491c25fadcbd79ad8b3ee6689b733a4434f662b9018654814f3f068c73d8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout-default-fallback-routing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd18be200790bc8abae4e88962b201ef4d0e4bfb093ee60eeea8a3a8dd6e4ed3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-default-fallback-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Routing/00010-PayoutRouting.cy.js"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"971bf356f93d5a16a1499b77eab3e4ed24cc426ace2ffbc8d5d0c21d62e4e52b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-platform-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9503af18d2783d6ecd3cc5551d9976c3bd1b0b1f60d97f66351bb76d6e50eb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-platform-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1f5ddfd24c541583595863e8d4b6c9f20f8fe105c723021cae4420ddc07d3a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-api-key-for-platform-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56ad0b73d92513cd3423af4122ddd7342ba72a2eb008de46431d19e20ec5fd1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-connected-merchant-1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"77652fba573f96062015e01720a829b67d797067308e3b476c22967208d511a5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-api-key-for-connected-merchant-1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d433365bbe79ccca5e7d58313d059c776fedc0183e088bbd47929329f3490e1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-connected-merchant-2-using-platform-api-key: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"397029f7b57bc54f78ba343f5e5906850864536a70a9421c1badec1d2b55eb0a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-api-key-for-connected-merchant-2-platform-key: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6ddc4a71c719b42511fe4e9d8ad8e166c3066b29958c0f39829663321b0676"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-standard-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78b721db2663155af9a68e1359addf828611e3f7c2c7679d73a22b5ef6c8fdf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-api-key-for-standard-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee429f2f4ffc49710a015eff61c9d4e90725fe9ecec8743c65bb0dd36d80045"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-standard-merchant-using-platform-api-key: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"34defc7cf349a80bb5939430cd2b191092033c011016efb7627f8716cd903aec"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-api-key-for-standard-merchant-platform-key: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6e1832e00f737d00b298e208c0484280a62805bd814c37e9036b8e43afaae3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-merchants-includes-all-merchants: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00001-PlatformSetup.cy.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1572d25383a77de551766db875e158dca1fb687fa0b5f474eca44c2363b0a88e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-merchant-cannot-create-profile-for-self: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00002-ProfileSetup.cy.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8472946b2d2d0ff57dd55174f45ec54525cb63930189e5cca8223a6c7926c76"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cm1-creates-profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00002-ProfileSetup.cy.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46f524c278a07906cad6729984b0621164f45593525efd292b08fb60bb58097"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-creates-profile-for-cm2: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00002-ProfileSetup.cy.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a8d802461ec13804f26de02f15e61a4d81b69b92ba56d371ef35ad1f7bd4a2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-cannot-create-profile-for-standard-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00002-ProfileSetup.cy.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fda4e80fd0f7edc2f3059d5c3826334a954ad62431f46a262fe172d805df8f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: standard-merchant-creates-profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00002-ProfileSetup.cy.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"49be4837f0e57feaa5146fd900ab5b0c93738378ddb4044666e00615ff312c6b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-connector-for-cm1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00003-ConnectorSetup.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"596ef67a114fc9384f486630816a620a14c33c17462e7c71435ac82830de7a64"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-connector-for-cm1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00003-ConnectorSetup.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4c7092a75c8201d287d3b2d925889b95da2d0017374a6b6a571d1fac76a78b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-connector-for-cm2: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00003-ConnectorSetup.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03331c6dc6e241055a30b6868ec16b77b19cd3d74673bbdd4e5e251877891dc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-connector-for-cm2: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00003-ConnectorSetup.cy.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"add57aa5e66f504c3928e064604050835e72185da0f769d16065332346051a70"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-connector-for-standard-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00003-ConnectorSetup.cy.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b507844c7ed8e79b5e0c69528281ffba6b8b4576c4b07c007b73ef0b8d0b4d62"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-connector-for-standard-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00003-ConnectorSetup.cy.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d649f382403cf734652dcb5bb5617db3f4a0f45a2c683eb94876dc44d536ce2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-create-connector-for-cm1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00003-ConnectorSetup.cy.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfa1cb557e1888964c28c0872bb5ad1994ced6d8291587ba3a2b6a32566e289"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-cannot-create-connector-for-standard-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00003-ConnectorSetup.cy.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b4ff5896d11fe1d1701bd8ab404641efc6c84db8af8b39fb4b1825426c48e7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-merchant-cannot-create-payment-connector: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00003-ConnectorSetup.cy.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e0260cac9d3ae6ad63c429c3c45a840e72fb93a7832d8408ad3706fff69a0f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-shared-customer-using-platform-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c668e12340fe9f260b6143184c6d9e3fe70cb5b2a64a9b5735f055b0b1c975"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify-connected-merchant-1-can-access-shared-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb7d2756c7f4669a2157245cf30c536ac07f90d758f9267276a112dff299ba2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify-connected-merchant-2-can-access-shared-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f427fa65a4e29ff4f1bcc5fc81ba8b54c8fbfed1df422da0979baba8bfacd84"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cm1-creates-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbee47fd48474cc6d0017f6e57a2adbb2e05c1f2d67cb00af77446f9b130e49"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify-connected-merchant-2-can-access-cm1-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9209c52429096cc16652438552a93cab5ccff7ea720395cf95836bf3af121e24"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify-platform-merchant-can-access-cm1-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bcd937a4e3c25e4230f92400512525f5e88036ab7d4f71e9e4dca994b06edcf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: standard-merchant-cannot-retrieve-shared-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e831176f33a09d5cf1f285a6866a9b2d68238555984c35cab9bca33dccdd1162"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: standard-merchant-creates-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"64296000724ff536d5747b3b8f9b7fa21a33893bbc5151f802be4be3f0dbbeeb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify-platform-merchant-cannot-access-standard-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea381d0373facf8f22b587c569e6cbe61e2b1d91ca94cad4199033b98d17651"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify-connected-merchant-1-cannot-access-standard-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5a7cad87f94ca80db9d473a86e4d5257aab79767c1c525a2b08a444b7ee858"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify-connected-merchant-2-cannot-access-standard-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fc28a93e0d325cce81c5436d3b2cfd9e1840156f4c4abb86776cec352dd8cc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify-standard-merchant-can-access-its-own-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00004-CustomerFlows.cy.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3e0dd9e0c1b152230fa9db3a9d40dcf1c9e63a41b4dbd1e3985201c8ae62e6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-creates-payment-for-cm1-using-header: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00005-PaymentFlows.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dccc604e4f9e2343313f775d12030760a45470f4c76a4b41264621d1a09521a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-creates-payment-for-cm2-using-header: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00005-PaymentFlows.cy.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"782e18ef13fb0798da47a5f7e017e411c585d02a7ab6d9ae1955034e016dc450"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-cannot-create-payment-for-standard-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00005-PaymentFlows.cy.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"675a13c6fe7b1a68cc19fd7a223ce22f6f76250cc628ff2731d1fe29410a0b1c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cm1-creates-payment-for-shared-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00005-PaymentFlows.cy.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfe58aeaf90801a00738203ffc1094c44847044d2384997809350bcfdbc7caf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cm2-creates-payment-for-same-shared-customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00005-PaymentFlows.cy.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"17373592e7fe3ad330faa1e96021892739f1ade87b864ea368093c76bb8bc761"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connected-merchant-cannot-act-on-behalf-of-another-merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00005-PaymentFlows.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd8b1ee2d79a104c77cf100b4060be270a45a806e56650984120f2cd8761a89"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cm1-lists-only-own-payments: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00005-PaymentFlows.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c732c12893d238874182f5a196d2e36b978952c882a84c5dd2764a96354657"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cm2-lists-only-own-payments: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00005-PaymentFlows.cy.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac231845f0e446805cac6b786a14e81b76f91912891b084e2e46c2a467b6718"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00006-NoThreeDSAutoCapture.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d82ed540c27173f009d9e191ff980aaaf7680165f756b20fa1d13e36666817"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00006-NoThreeDSAutoCapture.cy.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c48f1ef363312ea0f1b16e2d8bb210a78c7583f316a55339ba580c8c50bda7e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment -\u003E Handle Redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00007-ThreeDSAutoCapture.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb0d9e6ff325210ac3762cffd96f1cf06d17f8c7fc67b1d7e8f9a3378e6f55d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment -\u003E Handle Redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00007-ThreeDSAutoCapture.cy.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4581ce256a245b657e7bcad1a622ea7c7559be911ead526877846258e89f7120"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00008-NoThreeDSManualCapture.cy.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"213db84770e4027e285b5742f8553fa354a281098ff3e8d8d0c5a175bacc5147"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00008-NoThreeDSManualCapture.cy.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c327463265e547831ebbf8bce10d509e6ee166bd4f0e31068c57ea0d0df0645"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00009-ThreeDSManualCapture.cy.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e95249f90af10ff7f56f1a4b7781b163fb8ad07c69215d01ac8d0b31cb924a3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00009-ThreeDSManualCapture.cy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c4009f9d07c98b61da923caca8e1c5d9f698b42758e9a6399aa095dee8847d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Void Payment without Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00010-VoidPayment.cy.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"464fcb4bcec9fdc585e3f2f4f64dde3c5400957a1fb60bd9b41b0717eea57a8d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Void Payment without Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00010-VoidPayment.cy.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c37ffbbfdf080890d66247d6ad9e4a4aaec9f63fa4f36e93b7739902192e0a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Void Payment without Confirmation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00010-VoidPayment.cy.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8751c760b0c0ebfef92a045b42b677bf9cd2144a7d7434e977ac344c7e299d07"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Void Payment without Confirmation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00010-VoidPayment.cy.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"642a6fdd10fe810279b70100d1a662e40763bd8bc8dd6787a2ff019210d0728a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00011-SyncPayment.cy.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f902385067e0e63cf88e1851885744b8a6fb55607c674c5a6b0a05d124bd64e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00011-SyncPayment.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb1a38785f9c31aa949c1ca8fcb887c5a9133e2c8cdc8115bfcc1fbc6136ddc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00012-RefundPayment.cy.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a037af60e71a3c5754784ba1b64fc2059fcf8686eec063a5ba47e321c61d183b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00012-RefundPayment.cy.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f864c22bf994b9bf338e05d36ae16e73344e90b023ad76e46afedf9a65ee3e0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00012-RefundPayment.cy.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7f63c8cfa43de4a4660927b82137ed579258f632b7c2aa22dbdef174af68a2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00012-RefundPayment.cy.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fe103358a8c10b6746d43e386350374a2efa3beaf3c90696c1083b0a28126e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00012-RefundPayment.cy.js"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d13cfac57d7195828f3aab115943522f35a4ff4598298b64a0ae3469f72ee96"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00012-RefundPayment.cy.js"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ccb14776824bed3e9806ba420f88604ceefced77a16a5df3e0de4017c2204c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment -\u003E List Refunds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00012-RefundPayment.cy.js"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf44b260522203572ab0f0226a7773d2382136722f22fd2b35509d55a57bc79"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment -\u003E List Refunds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00012-RefundPayment.cy.js"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"b297f91e7bcea5deaa2093e586cde67426da3c8fe432209e1dbe70f6deeda2e0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cm1-creates-customer-for-seed-payments: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c18a948c7a285516903f5bda85349fc8d209bdbb1a42afc71181c45e0a6e831"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E Partial Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"911438ff0720819f989cfef3fdc48c448f91d7f3af2bbe50bc9fbddb2c5ad88b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb050506a9803d8b776d5f1a3f8ca75d024fd83a0e99975b69a2b94023792ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-without-filters-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"363af1df3244b0892cb89f0cca492d8dd58e8cf21e683bfefa276e2ec58ef367"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-refund-id-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7343157ce4f9695ed40b14683dd5bae2cd4b87975f3c2c817cf91556c64a21df"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-payment-id-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb0ccf3bcc0cb74115530dff05dc1d7a81d520eaf42685795af0309f6e83275"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-processor-merchant-id-cm1-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1e3a5fffac9ece0ae78952ec88f8a0dbbfa79cb44552361d9e806310329dec"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-processor-merchant-id-cm2-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"843ec5a2a758ca439f78395e2c94e93965130713c05854343cce4a832b192d22"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-profile-id-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a352fb925b82dfb050a0a36b04fd0a5a1f4e6577dd52f1ed65aaf33b52f4f0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-currency-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b2a3e0c56ada541a4aa61eb9ba35746d95bde5d80e3d7e8ef767ab658e3c04"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-connector-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb924de9c64ca5cd7efa8b5ae52a2e294e66bcc71b8ef74836c4e2262089cb4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-refund-status-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7184d1f05c7804d418fffca39e304c4be6a61183a69e0c07bc23c1094d25041"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-start-amount-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42084e0ff8fa2a9e45bccdbafd59eddf28ff73698886a5e6d1fe5d655d574a3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-end-amount-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"6350faa1864aa79eebfce38db3ad545007a6e821adc805b9223fb3ef320a9083"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-with-empty-amount-range-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"254ba668062ca9e77df6f9365bbb173aa0fc141a477e4df451f8c38ee986713a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-filtered-by-creation-time-range-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0baaff4c434a1e8513ab90eb1af276796c6c36d02474485f21b56e747492d78"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-with-future-time-range-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"795f57b4cbd5fb7e9b5e12720fbdbba2dc1aa33c0851e56372815eee27b4e50b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-with-end-time-only-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5849972a474b4a60b20490cb55226134118d0f0a4d81b60168ef34d05a7b18"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-with-unknown-payment-id-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"978667c792a07be5f854d01f6198367000739137360d102f015c2923089512ec"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-with-limit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"a065547502db03c30748f1006f411b3fc020a8591e681cc8e8c2a06b068d2533"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-with-limit-and-offset-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d52351860454bb9f85d7861443f0a0910e20ae9ea73c0eae4d49a6039445b47"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-with-invalid-limit-zero-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca60508137228a57dc7b190386e78e935080b1dd67462530cb2ea9ce861f214"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-with-invalid-limit-above-max-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e914efe37a4431c9c7b8f3c03bfc2bed30b824231743a19fda6e4ec0fc4b22c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-platform-refunds-with-invalid-offset-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e1ad09ec1cfb0d0903792fb08c7857564c719416753df16e4f5818943bc393"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-platform-refund-filters-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddbf02ddd32d1946a2cc68538b292bfc93f605f8619a468fa3a80de76933d3b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connected-merchant-key-cannot-list-platform-refunds-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfc9f19d145ac00dada89a8d2aa09c41bdce6df9ad89628c9b6fa334a497b97"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-key-with-connected-merchant-header-cannot-list-platform-refunds-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb565cb24c55b0a846adfd01e1f04d9e75d66e0b9054bc0af6623bb6a0dfe957"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: standard-merchant-key-cannot-list-platform-refunds-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ed4648d9702230f33bdd8e247bc0c691e390868b463120de29aba3b13104fd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: missing-api-key-cannot-list-platform-refunds-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b9e6e559d5a0dd299c97dbc0593159fca58008d9ab771a38a10208bb02d34f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connected-merchant-key-cannot-retrieve-platform-refund-filters-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"494a17e5b874d1c0cccf2603bbde476ab51b356ae2a77c6aff9b523baf0b337f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: platform-key-with-connected-merchant-header-cannot-retrieve-platform-refund-filters-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ce05e86a7407b34e7b68163ddc7d34bd3a39d849dade83874bcb68c2c57448"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: standard-merchant-key-cannot-retrieve-platform-refund-filters-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Platform/00013-PlatformRefundList.cy.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c858f3f8ad370f53fbaf45209c9df204712de0a877adc40936852c685b6547c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00000-AccountCreate.cy.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f904ea2f9b9013ad1d379d8056ea6f9824406265e87ec11065afb6ec911eab"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00000-AccountCreate.cy.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e862ee9b2db0216f95a8a381a04f17db1398f1b910180cabd249d15de18c83"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00001-CustomerCreate.cy.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"8262bf0c4f178554f7d2143b9e146d79a68f2beabd6b29e86890a81fba5b3476"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00002-ConnectorCreate.cy.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"23aad4a53629f6b339158e8de3e375ba735d5a02e26d2d92b526d932b8da81df"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-auto-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00003-CardTest.cy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2ad3631c05ee71f73d2549cfa97bfa5864461cc4b4c1fe3aae1673b6003189"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00003-CardTest.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"598c550e4f7bf32cb4cd129801b75b1616243a439ded3d0e6cd8ddd63a640f3b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-manual-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00003-CardTest.cy.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba819783fa36ba216ae085ea1e22455fc40a884c8aa941b9acd6fdb67beb9691"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: fulfill-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00003-CardTest.cy.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b891e190573c25a1b8d5192b109bc600478361d70884e4c34c1344554e02ca01"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00003-CardTest.cy.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28a1374c5705745ebcdd43067a3307aed8bcb5c0d2411d78cddf1685404a8c2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-auto-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbeb330f667c995f6f1eebf8f1013ffb3a71cff4c975d2e3ee67c5d3a19f3e81"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0035a01540e432faa7e0081ee6b802096cf55f394840432386af3eef5d72fc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c778304d43dbbeaff8b467228d8f034bd2fbdcb4d79a39dc2b77502e4ffa7364"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-manual-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1e16acb53db070cf1487a84da493b37a843ba1213f0311b1399ca80bd8b25a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: fulfill-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5a62d31507028c9153cbe5e1e076ee62435e36028e8a7d46f2d00f13293121"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c89adf23d33bc1eab7c899bce1715888a467bcdd656fef178292b595e934a99"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-auto-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8419a158c2327e2b474ff89f5e001969101f67be45c299f769684e1d6964b8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2a278458ddc81aba0b4b4bfa812abe55dce5c0534198fb1d142f10d20b43ed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80d9f2d93cc9f4ffdb3d17164fd7bea1ad9265a770fd1a1dc2171ce501c16cc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-manual-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e128423eb6ae46235567c64e53627e4a87ce2c3548b626ab7211044ffe1451d4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: fulfill-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"993d91248e65c06bdf09409897efead284f324eeb8ed3830f18fa8c11cdd7af8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3208bbf4d5f1908c98c2b19943bab3736ad54d3bc4987bb0cf0970401adc4f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-without-confirm-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2f966e0e21515271bf64c6c1dcc3d94cbe799822690e65924f0398a8b0ce63"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"1118cc6f1c21f7d064ffe2cef70934a702c4ede6941efa908494718271683ed6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-invalid-account-number-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52f6d6037c3c1b32faedf5cb6242450de6cc96fbe056a5fd16d22f65d70e2e0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa2f9ea51af9e8b7dcf48d49a51a7c408bac4d134b8e29fe32c3cb8705778b1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-without-billing-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1363ee3535cff764059552da00940b10d7d32de0dd90b029e24b5bac5d59bc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bb5bd03d2dbbe2412d4c6430d6a418ba5cdece23645e4d6872728162162190"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-invalid-billing-descriptor-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5274f7f56e845445789f0f6340da24cdaa9fca937c17e95a3b1dd4052b10454f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-without-confirm-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a70122b7f64051ca5dcba259b65f44ef3440a4961780cfdf991aa5a2496c8bc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3684acaff4cd77f17fe034cb9adb7409b751473975d54e0956b3931f2604a80"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"568c07ca3239101e46842e4809fe641df6b86ce63d04770e87254105931c3c53"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c3ca1c5d9ce4f239e82922f218423468bb4d9c3ace97969a0e3fa1c312d23a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"614f8ba97dfb654f307a1b5315d1ffa11763ac1be44868e4f4175af4d2b74acf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63010bb80850602016d9472f8c4ea9c0514c11795e8ba8776b7fdd72be4eb9c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-confirm-and-fulfill-payout-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"154b37d99624896e72937273b7e009eaa8c5e4c4a63f4abf548ac24cd87c763e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-after-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"085edf6dae9e17c19afec47e60fc2a5f27f49f3c117634e198aa01aeb925fc72"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-without-confirm-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f708fb4a698e8bd38d7dea52e7eeede5a2cf077be51d5b0d588418852fdce5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9ec90a43079789fc166e764562adbd9fcb27b09966a85b17e228e95c9a6409"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"384d18e2ed93b94e5d0c598c6829b9944eb274a36b6423cfcfc9c173be0edf67"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7063f9efb3b45dada7841df894ac3ed89d05c92a9c6db2625c5c4e0ff1bf3f6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16bd1edc302737ed8f646776649ebcedc9e5a1b2a2eee20433d0ed9219f8ec2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61afe5f70b23a6f971349fcdb9cfd1fcaa007e290d51469c4aef2a8445c2471"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-confirm-and-fulfill-payout-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f00df5150361c18e4f2bc267baeda4598db6017c7872298e71b97bee21ef188"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-after-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cf59f5f654ed7097be5ddf8a1f47d0111f20ab5d90e53c910ec750861fc78b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"52272cb4566f2fb72bd9fb59e43781c412e2fe97c7d6ed869d790669fe51bf7f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment method: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"001717aec47326b4b9db71b0b5e5ef8bd6bb29a0e6933883d5a103ce3df2bf64"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list customer payment methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d62144157d868804f4c17c00ba618083b5917e0958c52744999b95a560ab0cc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-auto-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e710d92ece4536abcf0471833601ede1fb890197e32524035bf42ee2c15cccd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92ef4e94a2a65f8e7c488617f41c81205a98ec047412623d0d37f22ec2b981e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1874781fe6e729739566927d6ba6c36f525dd0d77e1863bb58e963f93f3944"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-auto-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91891831d09672a6a5c9bc7702a112443e1fbb1f76fdcedcfdbccb849f022b4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list customer payment methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c8b00dd31fb7f4c4a10d8c2785b0d1133cb2218fcfadcc1c912e3d915574dd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-auto-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f644d7f6f849af3cb5b3d8b980dcaad7be18121153355afda4e4434893ec9d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdebb41953afa30c374358e36c14b26472e0a65c8de3ee4f223f4098007da17"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"185aee17fedca9ea94b64c4aeaf440060f34737a1c127f7bda6d1feaf8b58654"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-auto-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a36714d4b01284dc4946ffa67d788869d2ea3752e5b3762601fb26085efa9d8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list customer payment methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae30c9250a66deb5557e5dfd8715d6e83958e819e585aa33f27b2d9b8dfdf50f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payout] [Bank transfer - Open Banking] Fulfill using Token: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a46c6c126fbf42533633347ee53c313f7c6a3443fbf8aae0056358c8f300a73"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"449bc7be16aea68880e1047c028da2f43d76c8070f1a3ae584df60efac5d795d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcda06246f1f2baba7dbdf3a4fdc105c53c5d92703b9f820bacb11ab789479b4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment method: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7092fda10ce89019c17f8b0b40e501d678f1604e9965ec4d9b9e0eb9e3a3c886"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list customer payment methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b0caff7ead945c433c86745e5109ab0646c3f0490ac6cfd867b9610a3833d3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payout] [Bank transfer] [SEPA_BANK_TRANSFER] Fulfill using Token: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abee0123b9832c97975340178c588d38abb4384a28ed76acca748ce42c4b54b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cd94fceaa51e711b4754feba1065db44b0f1ec34882f1b5b228e2d648cf50e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d463d67962857eced4d9eb19596b3e98f22c4d6c4cb1ef59fdea9f31266e78d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-auto-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f65ff5c1e653f59a26789047a5b7147e1e02f772a0b55f3ea2b58f613ed36e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list customer payment methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4203d4de8ba493547d1ecf1ab80f2e2253762f5acf65bdf9efadce1a0bd00cd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payout] [Bank transfer] [SEPA_BANK_TRANSFER] Fulfill using Token: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"3808b744f36e1d555c0601b97ba4df534dd0523d69f0969ffe0453b0dada5b30"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52bcd90ba311d5454bea69342da6faecdcd16c481e1c4419ef494c27ba15ed5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf6429da3adc724549bf56ff6f60777bbdc57753a71f5ed63f47cfddc877d1c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment method: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3744d5b09e20754c6739f42337a32c4e6ccf9d1f77c038b6d00ac971aa9e6411"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list customer payment methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa99f92bb580bfa1dedc2f46ed3dae1e6005cc9a9dcd4876d2fb16960f63c37"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payout] [Bank transfer] [SEPA] Fulfill using Token: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e688ef423a05be8288b51171d7f9d35a22ad3bd544327ed8f7948d3befcf9211"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"7990b9e8253b7b7dd9755d4134eebae40a973664f3ef0bf871597be20bbfcae6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0a631f402ce062b22f1db5ecb7646cf0ae4f76f9d395f52b05c6e1a6432240"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-with-auto-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50c74604e5d4e457dead1974633e26cec7121c585dbe92ed67e0abd07a0d0cd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list customer payment methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b3bf56133594b4dc11c998f560c154c8536181efe0c05ebc7d3b469debbe27"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payout] [Bank transfer] [SEPA] Fulfill using payout_method_id: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbe64c75644ce3a0a9b8570d99007540161153c5ddd5b58057012571fe40da5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5b32efc0d81f6ff287427ea253cb625c5078334764492052fcca8f87b2ade7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-priority-instant-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00007-PayoutPriority.cy.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30d6d90492d391dad795503e6951b9371a95abdb0aca36fdeeffa82b04706f0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-verify-priority-instant-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00007-PayoutPriority.cy.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a468aee507dfe5ffb2fc4cfef0091ca9808c09e240a9c421a874cbeb6907bb9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-without-priority-error-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00007-PayoutPriority.cy.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfb0ebe9a9a327abba4972c4c58b8db7d4880d1bf037cf455a166d8d8bd4821"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-priority-regular-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00007-PayoutPriority.cy.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ad63ab457386c0c81fcf4ddd38c0679b0c4206bdc5d1462da9a29136c46860"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-verify-priority-regular-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00007-PayoutPriority.cy.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f080233b72df7ece73819da2dc04f978c63f9a77813ce3fe17fb1e62f1584d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-priority-wire-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00007-PayoutPriority.cy.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6af8faaa98549baa03a462968094fabadef794a5821042445772eb8b20e2cf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-verify-priority-wire-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00007-PayoutPriority.cy.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a36c5d25bdd3c36aec33cfa4a9517621dc5e8d14cea55fb79ac3a0a632a37e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-entity-type-${name.toLowerCase()}-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-EntityType.cy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc1a2f267525c3dc0cd137c4ba488e49b41e8a362283dc197f2bcb8c13f51f0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-EntityType.cy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d126bde7ce4fb687ed1785ff694ad03ce38ab0e1b20598404f3e168e4a89ebaf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-default-entity-type-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-EntityType.cy.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d49de891ee3cf17418392de507fa6703605386adeb209fede3eb6368226b1d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-EntityType.cy.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc0e7074b0c4ca640f89da0e0377978f446b16f00a5330835cc5f3c15976792"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-invalid-entity-type-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-EntityType.cy.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89d0d17b1b5507724650a033eef3ae5abd9df13f1605f565cd5855bed72a773"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-link-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"014fee635df3bdefade3910dfa3111d7dedf214e264fc888a4de21cb6b149f28"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-link-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0e9b12a84af57eb7fa145eeeab239c404d4720bf877422387465cbce839a2f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-payout-links-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9787222172bce861609fa65369637b0d6fe3143bcb55cf3308dbf0da64dc31d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"527e3f700ae2295d40738d99236ce6b07da8e8332645ac4284fb0675e54ec158"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-without-link-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"953ada30efc48d3ac6f6c4a26161f7f1d9144f718136e35e7f29c5a6a285c104"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: missing-customer-id-error-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62dbce710ada559cd22720ee765de33bbb1950a9ef8f6aba539f7552e1d4752"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-and-payout-link-conflict-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e909c9f22fb3009632fad1de0c4b600adc309efcc6677dfe212d852d82f19df"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-non-existent-payout-link-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a080953d167d684f2229e1748052dc6b06ede9d5c08c6beb037e0fe8478c738"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-link-with-theme-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d6a80f9f5826649375500532b36c8e336358e4f72275c1f1995cf8c07e05e4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-link-with-logo-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccee8c79fa4506a53fc518179726266fbcd3ac26d862b9cfadaac123c65532b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-link-with-journey-layout-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4543c903eed60da7078e4aff9618f450c81fdc1a2607e85a1af21f89731f0b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-link-with-tabs-layout-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1c62705d8e7210fd37ebcc4581ea48dafe9dc9fd42f1c4a91f460f1b1019ba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-link-with-custom-id-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc2df241f0c69df7d209637ebc621b8e04700d03d6d5ea97fe1c1127aa5ca34"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-link-for-bank-transfer-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6c9b11dfd2115153f5950be80d148ccb3652afc8012fedef13477c8b22e5a5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Visit payout page and submit bank details: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc8f0cd59137d98ea3d5fb4eeb573a534982b7b26d42b311731ae6f654f6894"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-after-bank-submission-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"da22b78f2113c39a129ccb0b81f9e81c8e6c8b43bc1db80b527dba6a57ec1f88"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: update-business-profile-with-payout-link-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b9a0b42af02ef5b718bfa3e56f8881d3a17b2376de014931bfccaefe80893e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-link-using-profile-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd63eb94ce8c40e7c60c069ee92f859874df3de5e654a702bc25d71d43aa1eed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-link-profile-config-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutLinkCreate.cy.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be14c5ad813c7fd556e95710e05fdffa0641613e3867c586c29acecefc7715e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f08926b23db854712ea69367958572a398cf2845f9c8bf14e94fc98170d4a8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-recurring-true: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c27d8e6250ffbf60a07dc5e193784de7fe4a64f535d8642246b92920a947017"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: save-payout-method-for-recurring: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0e3b2a3ced17928f52eb69c13bb504414d5e4d04509c186b33688484358b5d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-recurring-payout-using-saved-method: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75a47e160bba63101be12e7ad31d5ac536591b443a4810c19258049200ad0b7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"69432abcda4c19a99c258fca54af4792a4ba5807bd370e1bdb08f363c4073b9d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-recurring-false: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6980f757e87b20f9865a1f386412b80c031d4c268f4feb525fceee80a8d77031"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"620dc2e8f229059c8c7cde6c8f92b0106ba664f923100c39039bbe8d6da7821c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-with-recurring-omitted: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a44e88e5a9a161c40d1c5c7f35aaa466f99ee991c7a0548bc34c375f7175f27"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa9c15e35b63d8f11385263df2075cec9eb53c0020d6e199a5cc9424f220d7d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: save-payout-method-for-validation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf271b6269802b957a206edb1e027e0c4890f02cfcfefe7342c73dca2c9a40c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: attempt-payout-without-confirm-should-fail: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00008-PayoutRecurring.cy.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b642578b4c5655b5b5aafef7dd4cbff29132dc10ded406d69f48b8e47df738"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-for-auth-confirm-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-ClientAuthPayoutConfirm.cy.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1de57223032752d43470c92fa75aa73edd5a3dd526bf39538a8ffffd8549eb5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: rejects-${key}: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-ClientAuthPayoutConfirm.cy.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5379d6db4ed22082421cd46ee97b54db66fae95bce4c5f244e528d55108785ba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-after-client-auth-errors-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-ClientAuthPayoutConfirm.cy.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e04ffc08bf2d9c1599734d905907c438ed00cea9c5de88c6f17d98cc5dc8a3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-auth-confirm-with-amount-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-ClientAuthPayoutConfirm.cy.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd00f9aded94392875f59f4082cd243185c62e481e2cca7d99865d7704dc63ca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-after-merchant-auth-confirm-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-ClientAuthPayoutConfirm.cy.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6923012ce5817c1aa601282079a8f873d04f7fa87e10801dd151d356ae1253f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-frm-connector-sanlam-payshield: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cdfddfdce2ba70b5367feb0567b0b9cf59781bc99fff0cd3e91482e99ad86b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: set-frm-routing-algorithm: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"46846bd392c2fc98ce14eb3eae8536befb662bd6b55b4e7dbf2aecdfd657a324"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: enable-payout-frm-call-via-superposition: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e840c02f3ea9e93dd90562ca310e400225c5216a2e53b61e27dc2138703da53"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3da2538f26729a62311aa7096f2a6a6e9026f0be4e916a0ab406cfc08baf9f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout-create-confirm-auto-fulfill-legit: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9892aac2f68a4c15feb539beedb99e02ee5d5010a6a08e09620e1def0f8a9cc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify frm_status is legit: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe0b785cb8522982f2a75faf8032aa677756039d482303e45ff5869cc8af8db"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67ab63697f3b9000c46ff0828f7da78d6e226934907a9803337c42f783e3cbe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout-create-confirm-auto-fulfill-fraud: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff7748156ae3bb2ce666157e71d0840937a414b1172cc5c3e2099b436e59e81"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify frm_status is fraud and connector was never called: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b672019c4e054d1f12e0a190961e9aafd58426e7b7f3eba0817a9f3ef0df841"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: break sanlam_payshield credentials: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4038b5a810f4dac53e70413e041114e28a6d6e19925f548c9dcbcd99b2eb4468"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: set pre_frm_failure_mode=fail_closed via superposition: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de3117304c0e2d9979224377800f694abaf0d86267052d248c2bea39785301c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f064aa6593a9a437389e823e8bbcc12abeec88b0c5bd7d84d3db2e279ced7e3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout-create-confirm-auto-fulfill-fail-closed: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e385ff694a0fb65fe9a1e78d15f903b0cee8c2f4fa95886397c0d491e7fa7493"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify payout blocked with transaction_failure: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3745cc63a6b55b496286a130856872059ede48e7121e945b5b9cf383c1fcb2e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: set pre_frm_failure_mode=fail_open via superposition: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c97591403054988a836ba4c18599986d4ce3877cb9816f63dedaf0638f161d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce1f20c85f2f5f89f4cd57bc62ee77f9fb6f5ce18b157d59ee16a9b5e255841"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payout-create-confirm-auto-fulfill-fail-open: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c9fc4f99bcdf38cda20eae90c42965f810aeab5a564cea6790c466ae3bf7c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: verify FRM failure did not block the payout: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00009-PayoutFrm.cy.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c528cfc3af44454407b4dc27f5bc95736d0f4705e3100e86f662b7c2bca8b0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf41ce7266ee3c934f1a07a2bb5ae4445a91a69d0679a11217722379dfe0c300"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b24a055bffba80fe38bf7d20b616fbbd911c1a574af200cc013674ff8ec12bf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: fulfill-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b872b05ad0414bc3d73882f67c18e6e3619326bb77a5b3114672fdc08d2197"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-after-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2816830f48b7e89c82cd30f6783352864a6a09d7f0a83b5edc35dccc29fbc646"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-venmo-wallet-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7a9e7eb2a7a5c61f4eb262a781878c35e7ab1e5dcc2bf95c65e8037845bb08"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-venmo-wallet-payout-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8ab02bf0109b9d7a31fbd714f6efec31507666e7f83b8d3c496c5a730aedad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-venmo-wallet-payout-after-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7d86774fdfb3c43a41c76b2b49eef7492d3fdebe17aa801c180c5cb255deb2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-confirm-payout-with-missing-receiver-data-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a2aa1cad858933d09c6f69a8c8e17a7fce300f0a2c28359a39348345ea2657"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: fulfill-payout-with-missing-receiver-data-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29d03c4e16e5a21fbdfa905af908524b0004e1182f2036179a100ade8a9d23e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payout-after-failed-fulfill-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payout/00010-WalletPayout.cy.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"efacbfc9b13bb640f3ad66dcec8341c1dc813a260dde9a9c33b605403d972a49"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f720a8fd12a5f0357258ce857d30761ac816fc5dc087e63eb988d386529a06"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1089a36f37432823fe46976d1777ac46bfae520767145af0e3517ef262540fcf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b280dc0b46ad6fab59cd63c887814b4cbc2b196b156f6ed63c1aea7584e664d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a93a67cd6b77e07a3a280f5d38e9d49a9a8f8b606a944af2c2594ae602ac6c4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"727d52b567f07b0e2acda2af44d89371ef98ddb2628892497e1dc8e007284570"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1487c7609b2c68989103e681a89f2c8bf49440ac28037ff26eba419a3433d54d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4759d2d272acc514622995ef2b6b4c2f3fcb5d9b9834fe2ed4bd608598bb91a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6138bfa02ee93148612a7cae6cdc0a754045ea70570331ca1a2c126fcd6544"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf8145c277be621c6a5a5013df34371429923ff8345aa479f4e52ec3665295b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca318c497dd58c273585c4b19def0f9684c91407d27c508cb986e95a6ed2e55"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37fcf0c81d7b48a99fb7db6c819876efbf2483be299c1235dba32e14b73c23c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c029f6774712ee1744e0fca2af1ca9389ecf1b1e0e4c76cbfe3d07fa0b53d8d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55c65f5d29c8af97d7cc25cd0795ded24417fa03a305ca17ff070fd12f8f4fb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"801d7b8839b5f9070e69e367345744ca510c2ef6bb775fc327f437b172ef5e53"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e7b495307ad23835a718cdf998705794ef821a922f1db8f31a1d527402cb40"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0d546ae525df395a751654ace9d88c98fc3aa242517edfeb14fcf11740d82e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0441aa12a50cb363cbb0a02bfb59724b2b3d83f4da17b3b99bf640f721d927f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"899fa93a85980bf512a82f9d50ee47df809569e463d4fc82649bde1d72642161"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d0c17435b0cf446ef18bf3fcc63853cc280b433dd5c737ecbbbec98475c9dc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9468a87943ae72f14d5892b80a60aa66847fb1735a2e4869080d620e160e44"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b2e020914dfacfef294e34576098ff3bf6480bab69fa7f73220446e06bb5ee"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5632eb75a2bff817e4bca7ea2f0bd6a386edb6ad51ab76b989e0fd1467b93f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f03fca5c3c78850da3044bd2c91564450927079a8b837cdfde68e57587d325"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed82a825942904381203c5dcb034f61b9a1290c5b87bf37bc64772b1c795b12d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5cefba15605fd659254116cd58cf3ba8046f029b4b8b9c9bdba67703a0e205"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"04db09a86d70a15cdf6316168ac7a39b88f1d9a837630419844d7f474e036c22"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a41b79ae6aedff7c1d7afe9b010fddf4f5d780f80b73759cf9705ff87df32d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ce68ae60daaa8674bb2976eed368f5256e52636d37cb7ae0c7b6c4c9397d53"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cfec11781d517d472a7792ddc6d4f0565d104e96a881aa22aa711d28aaff53"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a63735a617d718890d8726082d3f23bc8b777eec9e9f47091981e6567c61a9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"9303243b12919a0aae7b6cfdddf5ed9e6a023bc6a485fc0c207798bff6e04f22"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3968c23ed1d6a196f4d240f2d8b32bf3b1f76c0db509f797edbb8e142aad4038"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd4c7451bfbc667879128628e0af8d239d12a8c80f6cad85c0155408db54450"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"706d21d33f335e0d059c771c4aa04d9dbd59d358048e3ec7277797de59e92dd3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc37f4f3de482163b06f33666f0249a8b82f9983bf57e991cd5973300344607"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"73343d2dd3b70117a01c9ffcff063a0814e9ff6c4c700f9b09e74d0d1ea7454b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe88cc7b41dd6382d23fbb2945b2abbd87567b9b46f253b4d4988eae3395aae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"832f64c74b5bca5dd5e2f12ec9e80ff9536a88c962078406bd4493bec6368c38"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d05a5b75a9400cb9b5ffe72f229e8d30898bf0c673c2f30fae3126b5249cd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d19e18db55ddae92a31eb8597c546b5fc3e3b76c27194d02646bcc032d8942"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"9997a2c93a4c6804d3d1280b38314d9c04cec2792d060b6bab98f97f7cc72bee"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"0697f46dd94d258b57356511facbb98d7359c7a4c928696c4119f9c6cdf854cd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eb38efdef549f23b1afd21786d4514a9b5028706a7694499e5b8edffd4ef38"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d03b4cbfcacba481f0b9d7e28a538f5ba8aeaaaeb16e1926521711c11137e90"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a78a031de64e8a97dafab819193f145da95007c5b8f12c8c4785849ed3ad96"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"526940c90c19ecd9af0bfe544a3347a32860834279ae4cfa3242173278fd02c6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1bd378fb529366d4a79525419550f4cfeafac217304efd3ddab17479fd2456"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1e9b30a2888b8b7a87b6e608f6270580fb57ebaf3e52aa770ce7debe3a505c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b89ee5fae9f522778a5cada9c252082dde6f355877e472ae180e7a98ade40cf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbc269a91171e1ef06308e31839be9f33f7c46f1c8f271f7b5348372adaffc9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68db355c1a89ac034333dfc2be3633c070a4c0c06062a5f797bbed68ee6d353"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ccb16e8fc0ac25ff708010c422dccbf8d6164fe2c47037f98ddb422a911b05"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99c9353bf8844519586c90dc881179354e7f3a07f9f795a806363fcb1c3ea47"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d80da873dc2fa7615685e93107c6341e0fc747218ec12e05d695da63ff3a1d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"61307162fa5a9813c21083192586ca208c233d9d6a8b34a83fbc909a4bf040d6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"24dbab254b6945f5833300828bfca1dc0a075fae34355e09834414e9fef5e8ad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4559f4ebfec51e2b49a6cb4d0e7a807f0e8003fd88b610780ab02ba481cebec"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eca856876fa7d06e55a6fb9d753a1434af63f43b14223052d07afedd0686151"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af52df84bdec3d9914f2f0420dee5fcde8c55be2972c5164967157685bdf268"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b183782f2d95c3211c4a299c42cea39030edd9c582512821613a11eb555b8377"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04c7190a33769e57536f4342dc59d51344a42bafae0063ecbf09342a6724035"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b42b287851f518c11b51411db51bcc170dc5bad05fceacafe1a23411b04cd72"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: card.credit is supported: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91631700563a7b5d96af8b71de85d6df4ff2046b54978f944cfa6351f8d441b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72ee0af02d486519692772efb4e1950f033cb43d23a8c28d3a0aa6fb01dd7a6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f42d3c2ba39ca9b09df29d817864d1076e8c803ec31a9945097d873940e9b7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"108f80bf6e07688e0e50ef76ae7344f29167f22d1133563229475ca1b1482519"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2aeed5739c64bb55499d7e4a510bd3a78a0b2a761cda11a360beb6b10f2943c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5bcda94a432509b9be6c7fd7db0e73eee1afee3c5c810390fbdca4c21bcf5c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment-method-list-call-test: bank_redirect.open_banking is partially_supported: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/PaymentMethodList/00001-CustomerAcceptanceSupport.cy.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"8209748190c09b24c379f7065be28944f6470ee2f8e3b8fbe8e33ed8d1ce7335"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a9acdc53ccece1df90861280a7c457504efef9595159945d7b516d106d0e02"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant retrieve call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"328cdddb47dd57ee66d0c67a97379a491d2240f707f45114d515350435e544c1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant list call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa754fd0675f21a988e734ff5778f1ad17a3b5eff5837b205ec5f84dc4ff797"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant update call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"684bd4d6b61ec75c54f90893ed722ddd647232ab1486dbdff3fd1bda07424332"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API key create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"01846f02f6c6b0f91ae5228ce47fccc6efadd0607c850950d017af14dfdadb9a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API key update call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd47ac9f5a23904452ffd99235bb0571f7058dcb604012c6afbb00ec865246c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API key retrieve call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba240c1b144b3bf3e1308003c4144a89f6c7ae010a2046b9dd19c9f4a949b196"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API key list call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1f725702e29bb9df6722c152b0010a9f32af004d321531f8703c6c7290bfa4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Customer create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cbd6ce9215305d5619b60292de4b22f586fae7edf39abef30c0679b34b1c0b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Customer list call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1bc7874c8d2976e7be38a9fe1844fcb8a762bf2ea5f0b4592e5effb2e38bdb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Customer retrieve call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6b99da8bd5b4785cf473634353c44fb2a5ef8d290ccc49786e03be717deb40"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Customer update call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e24706ecf875aff237bac15fb4feba0f29b0c262a077a0974b37ba07b4cacc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: 1st Connector create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1913aebe7686f69cbc2190e19f835634b0aa186c0c50efeea891358306ccbc11"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: 2nd Connector create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e1c2514cfbc249c69babb2c43458f4cc3a9f284c2cd82ddeaf74c115a49a47"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Connector create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"199d2878781dd318e9309d0c14073f771b8b3ef4bbcf4ff31207bab957051908"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Connector retrieve call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2824a212d6caa40412d6e531fdc811c8be70298ee50bd5b81c5c31e62c65f1cd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Connector update call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92db0c38eed3bcdb2981029b3dd3576ed77b483e350275eb136caf7217e5431"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List connectors by MID: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e257a07220090b812a6df554c2ae0f0eb8c5f5328ad732f38d582286252d8f97"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update business profile with session_expiry: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78802f606dad5f8cbec414879d0f2f564eb0a0b521c47b5f1890e0830894710"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment - session expiry inherited from business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a418d546f3eee2674f3ea2f6725bc1daba0816d96e7fe9fb4bda43d15ca0aa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm payment after session expiry - should fail with ClientSecretExpired: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf15d8f1188d6f70be6d542b1b29418ddadb04f95d26d840b46f59f4916d3576"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment with session_expiry in request body: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d86774bfdd50642d9d9ef1075546dbb14220ffcb09b5eddcbef27e700ec2cb5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Customer delete call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77be6b159e79693880c8b86d5a1dfdfe65023b4b81cf669ca8412e4c0c73d02"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API key delete call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e0209a2e5d278858710580046f23bd50fb8934f421bd12f503f9776ec616f1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Connector delete call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ead6ea110dc85bc11624fd93ee208df3889552bd9b4efdf4d12b57d028c9ab"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Merchant delete call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"247a2047ae1b93fe7e4ea0a723d5f0b5556c19b8ff7131f9aa91cbdb54d09dc0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List connector feature matrix call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"422ccc84c5ed634287badb27b4a670f1b96c9a990ce981308ea1dbb653daa468"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment method collect link create and render: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e0f2e62c2fa5f7be1a7182fdd93a1f7c8519330a77bd48bfec3715ac53c6ea"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment method collect link render with invalid id: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/00-CoreFlows.cy.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b97b5b4382349d93e5fab7f80bb2abbd224f722fad49d3a2c50700e93958972"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/01-AccountCreate.cy.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"060b7d997c7fc090c8d22da430da7684c9eee20902b4a7d003846be935f620c4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/01-AccountCreate.cy.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf05c536d6a9100923d353f3a8c5cbeed8049e3999f1f7deff1053022a7c063"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-shadow-config-if-shadow-mode-enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/01-AccountCreate.cy.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bea4df24205ac090b170d3ebf8d57e462de89473d87afa2a526a799aa5b2f1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/02-CustomerCreate.cy.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3115158741d831170ef37c07055ff375e8250cca39f2d1352545faa2d1e138"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test with valid phone_country_code: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/02-CustomerCreate.cy.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1834525b27856a20ad6e091ac39025e226de80749492bb2a849f23f10ff30f62"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test with invalid phone_country_code: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/02-CustomerCreate.cy.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f2f7d58b0df76d6100414bc399933cc32a9473aba6f1f9424343959aeb5cf6e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/03-ConnectorCreate.cy.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"de727d4697759a20a1cdff4b9f464548b406038d1d1bb27623ed2c9e6ad2c1a4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create multiple business profiles and merchant connector accounts: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/03-ConnectorCreate.cy.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"695a39950ac40a6ab1a632c93a77b0a755db1774fc12509fbcbf080a9a6cbbae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/04-NoThreeDSAutoCapture.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bc8ff182dcf0500ae9e3451daed3f407e55407beb639c77ca1f631037cb0f1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/04-NoThreeDSAutoCapture.cy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcaddff44e47e927e03fa335a49fad5c6ca19d8fc2bbffe74e524cdd78914045"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent with shipping cost -\u003E Payment Methods Call -\u003E Confirm Payment with shipping cost -\u003E Retrieve Payment with shipping cost: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/04-NoThreeDSAutoCapture.cy.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac20b1f86ef442562c1f5fb52bc68e4455ff76d0358b078d472a4f1176635cc7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment intent -\u003E payment methods call -\u003E confirm payment intent -\u003E handle redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/05-ThreeDSAutoCapture.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef50548ed81fcc6668e18472a7e410ba1f110c30bcc21b0d153ea7b0c72374ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/06-NoThreeDSManualCapture.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef1d94f9ed5aebe0154d4b9551e806ae29f8d9468356e5f487b3b959bb19585"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/06-NoThreeDSManualCapture.cy.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"398662cac7c3dd7453fc9ecd1d444ab555063b09e17e8cd88365b4159e033940"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Partial Capture Payment -\u003E Retrieve Payment after Partial Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/06-NoThreeDSManualCapture.cy.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b3cbd48093e47f18648037fba82df48bcc23a239334716cf461a6cad441f50"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Partial Capture Payment -\u003E Retrieve Payment after Partial Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/06-NoThreeDSManualCapture.cy.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ce52e6b8598606351bae187e1bef36e9494042eb8686d274bf9edaec408562"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Void Payment without Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/07-VoidPayment.cy.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffd6f0cdbcb675a68c2da139a613aa605e88689117aaf54a0d39c7d53119ea4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Void Payment without Confirmation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/07-VoidPayment.cy.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cca157c8c67c61351fbe5bc86cd6e8e790f039cb9719551b81e3dae35fb039"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Void Payment after Confirmation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/07-VoidPayment.cy.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f9540bfe7fc38206f265aebd8428245723a0b1eadfecf996ca85ec1e460e12"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Void Payment -\u003E Retrieve Payment after Void: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/07-VoidPayment.cy.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cac57fbf20742f7a12889aa559f579a2bd6f7df15bdf02f533c3651c813670"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/08-SyncPayment.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb00f8cba37002cb612d198c0886586584825edb2d477de8461a5718b3eec2d3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm 5 payments of 100000 so the sandbox account has enough settled balance for refunds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7d80fbc955dcf0beef0eb51313563595cf9428d2c8b65239349712aa712457"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ca1c175e821d186bfed75f133a9828cffa05611ebaad5845a71df9ddd21157"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ae4eb07b139c7551465be85a6358aa195d654f7038cb373429a34ed394e7ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E Retrieve Payment after Confirmation -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd1d2f8e90d37a6706258ac80109243217f60bfef04d240e4afccb08cc09864"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E Retrieve Payment after Confirmation -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef79482912591de5d0fe55cd8e6f9ecb0f2a2bba011123baf01efa2997d8ccda"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9597d42879855919ebe5b8e1bb28bd1a9c36b80fef3fbaa325634736d7d66ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment -\u003E List Refunds: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabc7de5262e35e5758f718867c89452cf1639ae8b6a4c89d2a2250c13781f01"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Partial Capture Payment -\u003E Retrieve Payment after Partial Capture -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fe2078b249527a059dac2fbb229aaea1a213589ca05899cc74d9a414e0f3d2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Partial Capture Payment -\u003E Retrieve Payment after Partial Capture -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b1a972d20e5ed1b893a5bbcd5e041d9878ac3876cb7053249f3f47a72080ff"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"421cea0fc20d362ef9f53248121a7812f40d7e6cd894d80f7178c3869c3ae152"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"570c8de44d086d316c01839cfefdab0e897032322afb70625f07ace94362685c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0ed50c338d1e262ce8c8b012a008015da45678150c6d62dcc3720846ad56e9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1228f34d3ef27658fafe2e816f194b9d1892874443406f5ae8102478041a8f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed0abf8f9a47149bf1de4639a6b4ede25e918c25286ccc0e934695d02fabdd1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture -\u003E Partial Refund Payment -\u003E Partial Refund Payment - 2nd Attempt -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02af702b5bf2a375c75c7737f10f228444a7d307bc6ea8785ade3d744719831"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Partial Capture Payment -\u003E Retrieve Payment after Partial Capture -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":1682}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ee233ac364208d4467ad85d6ee6cc1abbe8d3be0293b69b7b71b8da104f632"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Handle Redirection -\u003E Retrieve Payment after Confirmation -\u003E Partial Capture Payment -\u003E Retrieve Payment after Partial Capture -\u003E Partial Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4c46af1c0ea04eaa7014623a3929f87d5d99b064537a37d42c2f36c482c4d2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Create Refund -\u003E Manual Update Status -\u003E Retrieve Refund to Verify: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05e78ee763314058f56632b3ba104073ba36ff8958722df03cc064dfec3d9a4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Create Refund -\u003E Manual Update Error Code/Message -\u003E Retrieve Refund to Verify: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c3510359bb521c34ac4c78f9807b723d1d61408ed7c4077f3a249d38ac961b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Create Partial Refund -\u003E Manual Update Status -\u003E Retrieve Refund to Verify: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":2184}}}],"partialFingerprints":{"codehealthFindingId/v1":"92acdc8f60746b38a1c8fc65eaae9c741ce6252d6c128c9cf714479fd1c8d343"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Create Refund -\u003E Manual Update 1 -\u003E Manual Update 2 (Same Data) -\u003E Retrieve to Verify Idempotency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"18813b87e9e644210c9e326c62ec0dfc4992fb55ebe92cee6bc1a4bf674dcb9e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Create Refund -\u003E Manual Update with Error -\u003E Unset Error Fields -\u003E Retrieve to Verify: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":2389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe958507e9275ba2c9e8969a489fb77c3c839e7eed865b20cb957f7b664d9a2d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Create Refund -\u003E Manual Update Connector Refund ID -\u003E Retrieve Refund to Verify: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":2500}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2b3714a7ef448be4607b5cb4e46e5f8e2d596515e0d6928d2f0d77974c25c0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Create Refund -\u003E Manual Update Connector Refund ID and Status -\u003E Retrieve Refund to Verify: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/09-RefundPayment.cy.js"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9ca45730f3c657887719f735fad48cb467da1b696bb7abc9ddc7a5bea66b91"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Refund Payment -\u003E Sync Refund: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/10-SyncRefund.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5fa9b7e6f235ee59c598aaac2f165645cdfb4b5e909a28aebc042252402b46"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8006617e62541613248a42989ce03d3e63aba1733e6623faa403a49accb838"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10234d597bad03b58588227af6a1db88fdbae243a62d40faeec9d7d288e3a54"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f613ce48496ca547ee757cdc9ecef04533345489658f2054a54148682cbb7520"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cit-capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff3d5ebe58fe6c558433a6d46b84d39a283927268b0b684275387de7fbd9a4a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26f071697a07b53e5dfa7d004cfcb4d350e9fafeaec172ff9672853c5830847"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: mit-capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d363c74e850176a628e540fe9eec2a571eab57fc91e370937fd23fd5342c3684"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fef948f20d6a1a36e758f615bd05ebdfb706e46331d8d84cda1680b024a6db"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd882adcba7a80f3ac6872577a8997b32e904cafa1660d049cc58928321d638"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cit-capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7495edf4db651a514a1c08d71107e5197ebeb300cbe541d4bfc0354038af6c8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4206f3c24cdb9757862f996bef7cb448ed079431141e8ea9182f9e65e07e054"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3bbf234af9fb81a9f2a72ffb28ae0bbd127442491bd01af9b2db75e76153fb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f473444a4c23f0233a7576b3f0c783fe27ff72b82be06875f63438cc3ccfda6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb93d3449aa461fb95e8a532ea8afe01a31910e6e3a906d1a57b77370890cb2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27bbfca15bba842c1481d110d980fb0eec85eecffec82bee0d14330ebb2b63b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4917a785c8f2c25c1166255fabc14e3638e45ff5865e0f45727be0ee3c678b1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3aa062613f5a5ff2b8921efb4c243a2da8e2c58e31ea923c92f73cf24a039f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/11-CreateSingleuseMandate.cy.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2eac394a47e9d81aab2794063d254568cc55127ff0d41ad67338cfa811f406b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"845b7d37fec86111d47aa11f099882b085e0b323ad932a7d8453ff06eb7f0780"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b101b3064bd4a6a700db330dc5970ad96c78b25de2437102b4b021703b73ae4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8aaa6f2046eaf3e6134fb4105b26f778bce8b094ea0fdcf5bb42a7648a5215e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ae1a9a1d75d52f58ea12bd8f3e7ca713a977554a308a71c1e8b0f24cda0160"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cit-capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a9879e1a499dbcbf094e94fc004989e01d6198a8f13e6f6877557a57f9e9a6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT 1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad0c746c09fcdbcb33a7a0d0b65395921acf3ad793061355725e939f100236d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: mit-capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ecf9dc6d99bda505b615471377de2d75c4b7843a62b5798bbbb4a7e2f22a2f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT 2: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9877453fc27151de1fb01c43a23992cb7832049b1c9f6e3de1cee8b068c63c60"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: mit-capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"339bd23dcbceeca4ff361eda5428572c66eb9df593eb5a4c2f82037362362fca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f05accd8c219de969ce96355890c9b1be3eca79ce25b189563ea54cf31b32a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: cit-capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca4e1d41721d3271ec069e9fe8ea41396f04c033f96cbe651a6b2bb8e222ab6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"95084f1cbf72f4d141b92dda0e576097b10e937b012e37dbcb9420b5b8575a55"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: CIT for Mandates Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2439ee53033de2e5b0c8e9129c0e08b0b90c9ad8a899e0cd5ca68c857d59ac"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"6703c447b2d05dbc171fea468faa1e3bbb57fdd11d41b7e3f5f88b85c7ed3931"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"777f3d46e7bd048571937e48ec9575ccc17769ad860dcc196d8cc558998c2ad8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fdf47b2ce9a1946d8a9b22d8d1beb5d85357bf9caa6a86a8075cc4cf405d24"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ef4c4de47c22200b3bf6887c421283541b1becf5e985e7b23ea77fae0ebcd4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec02a98837e595c428901630d74876856b03251f3a997d943d511024b7159dd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/12-CreateMultiuseMandate.cy.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a971b71363e99b9971fc884366e7c8c8e1c78591d20bf0da79843a8af9066e6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4262c68d42b9a4916ff2bfa9ab9a1569fb112a023d6f166d168b7466e7084e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5fee067bf1d17b4835ae7e00cd55fce5f175e0813e69d358ee402e18a38489"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3155fa8763b5d5bdc8dee0f564abf8024f752422116e69a2204844b29026793d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: revoke-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9780c305ab9d5d3dcbaae8e5fb5af5f0d37df3715578d19877fe40f810fd0f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: revoke-revoked-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fe74dd81f0642684b54f110cfec3c759b974b28911c276deb62720633114f3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"294d33fd47c8f34478e6e5b6b0fe0cebc802af18d22ab52c5d5e57a3e9888b94"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe512995b25c2ff9a76cb727ea77bcfd204fb8cc3fbbadb13209d855f6cc8b9b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced2c7f4902ab0892412330c64931e61250b01ec8cbecf0f369dafff05a0c92d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"399d9c454623b831d6b14f9cdc51e51c83064637b96405d2347beef98757b5f2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: revoke-mandate-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/13-ListAndRevokeMandate.cy.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"acedcccd0866f9f2c4268906c9ff2f367c2efd8b05facc3409c8df1d769a25b7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create and Confirm Payment -\u003E Retrieve Payment after Confirm -\u003E List Customer Payment Methods -\u003E Create Payment Intent -\u003E Save Card Confirm Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/14-SaveCardFlow.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b5ee270d800138054594b287538905d5a6a110f6f505e7d1f2d208687c61a3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create and Confirm Payment -\u003E Retrieve Payment after Confirm -\u003E List Customer Payment Methods -\u003E Create Payment Intent -\u003E Save Card Confirm Call -\u003E Retrieve Payment after Save Card Confirm -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/14-SaveCardFlow.cy.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1504243b4dad95ead5149e50b4c439c6b43a89ec2876d02bbdc91e4b55a6558"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create and Confirm Payment -\u003E Retrieve Payment after Confirm -\u003E List Customer Payment Methods -\u003E Create Payment Intent -\u003E Save Card Confirm Call -\u003E Retrieve Payment after Save Card Confirm -\u003E Partial Capture Payment -\u003E Retrieve Payment after Partial Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/14-SaveCardFlow.cy.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3e253539608c5fa71a7677857d81eeacc50b8f51e8de891ed1efe8ae51b646"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create and Confirm Payment -\u003E Retrieve Payment after Confirm -\u003E List Customer Payment Methods -\u003E Create Payment Intent -\u003E Save Card Confirm Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/14-SaveCardFlow.cy.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78584260371d7efb2a993b614db9b7fe355d68bbb2bbc8f0aacb00d607bbd2c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create and Confirm Payment -\u003E Retrieve Payment after Confirm -\u003E Capture Payment -\u003E Retrieve Payment after Capture -\u003E List Customer Payment Methods -\u003E Create Payment Intent -\u003E Save Card Confirm Call -\u003E Retrieve Payment after Save Card Confirm -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/14-SaveCardFlow.cy.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5e1a81cbd029467774feb405740a5d85b397eb452f23c5b0fa1d86c904c9b1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment after Confirm -\u003E List Customer Payment Methods -\u003E Create Payment Intent for Subsequent Payment -\u003E Save Card Confirm Call for Subsequent Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/14-SaveCardFlow.cy.js"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"81221180d4b3452303099b2f18f1fda0f0ed4aaae8bf93320632b2fac28cd8f5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E list Customer Payment Methods -\u003E Create Payment Intent for Subsequent Payment -\u003E Save Card Confirm Call for Subsequent Payment without Billing Address: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/14-SaveCardFlow.cy.js"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e6788d066a8431a8b388ea74dd4bfd4cc89e277314f576d5dff80abea19c9d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create and Confirm Payment -\u003E Retrieve Payment after Confirm -\u003E Create and Confirm Payment again with updated card holder name in metadata -\u003E Retrieve Customer Payment Methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/14-SaveCardFlow.cy.js"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"077d22254e44ae53232d8e04e42bb2d3061d2ed5baa86401eec0e3aa21833702"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb91426c08a799fb2f300f0a20e00cc51b92c96126f6b81c506a3d143b29930"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create No 3DS Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e517f44aa9bd5dd297f1b1f91079a314128100d12886370fab878bf09f2ae9cb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6930cc308a56aff5a81b6b860e0e9c2f34a9d0870ba2340ceb39bf67663ed2fe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"db77ae527b7d096fa15fbe333de0fdd007c31551c67c952685d455b460c1b757"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve CustomerPM Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff91fb76b276a998fe29c406189f51da12c15648ca9900258e8cdf5b1eea3d9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Recurring Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"086fd7ef51906f5b69cd3a34b33547d9125f9f0c5aaadcb9865173e2e1d19625"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Recurring Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac331e78b0a33551098c0ecbb4e9ff9587f0798a748ea7502f6949eceb6a141f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec1846b3eeaf2daaf58632126cac7b8655ddc98abe8362abadca70224b9b12a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Customer delete call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dbb6e22f4514dc9b9838f72e73f7b622ff974298f0ec89b771b157db5c758b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"713c3efb0fb2cc783768b57f98449df5d099c8244093da5154bf68c82838a9c9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create No 3DS Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9498dae69d3bc451606e4d457078b377d6bf90628999db39ed2c3752d2fe72e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d607b703c34a469bb7906602fc9ef740e6c6c27c14f9f59502bf9742a28d6d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a90729ff663b11f21d3aadb539ddc059f7d15cfc3a92ec5a34c6a454189cf1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"437b83ea692226464b7781ce22406abfefbf58797ebbeb1589cbf619fa9f3b79"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"3637c21be4560bf0d8998c02803be7050fb7435d34410393f8cd4adc15bca3fa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d176d9a3f7a3cc3d42c0a19f38c63d3ea4f6d608cb80ecd8db75ece705092d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a07962d02fcfdb274c3903e6ec0d67d5d34901e35b011718e21b70097c2461"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Customer delete call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"527d9b00751ecd9c0d38446c8f5a991117eea24043441b029bf35400c9e05370"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f8d738b8c204196e250d612d28977856e09896bfab0bd9b03f85ba1207f313"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa18d281d385c65c8bb856d6156d68a40831183e85ed9ccfabb431e7f449d342"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"773c8324e588c15dd4104f94ae389ac02abccdb08819cd9021e01110a0e67ca5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0155fa7dcaf1cbdd7269b7237dd2c7c9310513428fcd0351a5e1a91a5840aa36"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/15-ZeroAuthMandate.cy.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f58b7ff3d1c86b28677401bbd73d35405cc94f9d4bc8de392392e8e4bed44e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/16-PaymentAccountReference.cy.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f48696cee26a5d3e0eaf322fd5573f75f69e2c44d077b7c38fd65e708479af"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/16-PaymentAccountReference.cy.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4ead1fab3c3ae44a612080fa7be8af7009ab4e6b94353c7e1482ad86745603"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/16-PaymentAccountReference.cy.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"053a8ab8716a5e05472827e6ce9473617be3a327e9656d7e65fbc37283fa641e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E handle redirection -\u003E Retrieve Payment after Confirmation -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/16-ThreeDSManualCapture.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7c69f93d26f4b45005e7812a836713121e62ee08224ae8c2c51cde32af9397"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E Handle Redirection -\u003E Retrieve Payment -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/16-ThreeDSManualCapture.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8309136e2e082333feb1dd5058e3337adca818fc4df48bead90d34edc4dede0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E handle redirection -\u003E Retrieve Payment after Confirmation -\u003E Partial Capture Payment -\u003E Retrieve Payment after Partial Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/16-ThreeDSManualCapture.cy.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ef2ab3fc7df31d4566f3a4d87d61dab322cf2d95678b0d52334f1f71a040c7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E handle redirection -\u003E Retrieve Payment after Confirmation -\u003E Partial Capture Payment -\u003E Retrieve Payment after Partial Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/16-ThreeDSManualCapture.cy.js"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f37c7a419059b0877c516026a215d360d36edf33b51cc1a8de6ae7d035b327a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent for Pix -\u003E List Merchant Payment Methods -\u003E Confirm Bank Transfer for Pix -\u003E Handle Bank Transfer Redirection for Pix: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/17-BankTransfers.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4747bcc8e3d676efeee0a15e87f50663c41497947ee967561c293a278e2c320"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent for Pix -\u003E List Merchant Payment Methods -\u003E Confirm Bank Transfer for Pix -\u003E Retrieve Payment after Confirmation -\u003E Refund Payment -\u003E Sync Refund Payment -\u003E List Refunds -\u003E Retrieve Payment after Refund: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/17-BankTransfers.cy.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf4fb2e5727923a8d3ad076f508135294c00320d5a6d369c8e9b3a12f1e03fa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent  -\u003E List Merchant Payment Methods -\u003E Confirm Bank Transfer  -\u003E Handle Bank Transfer Redirection : No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/17-BankTransfers.cy.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"997ade7ec1a12bd7224c372636e2551724f452769edc6e182a0105959c0a2175"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent  -\u003E List Merchant Payment Methods -\u003E Confirm Bank Transfer  -\u003E Handle Bank Transfer Redirection : No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/17-BankTransfers.cy.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ed5241d8f9ffc4f3b42fe427636d4c452ab4d6bb7f352daa0c39bcf5f0a672"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent  -\u003E List Merchant Payment Methods -\u003E Confirm Bank Transfer  -\u003E Handle Bank Transfer Redirection : No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/17-BankTransfers.cy.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd6873852e59158615676b7b49b3b44c6294894f908cd5091b328cda8371d6c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd77796d8b0ce4a1af1d3e4817421167d609c7579a14c9ed97417257f432096"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"668030696a6dd59b003182b83272ba1df94fb1706dfc8e536e4b64ccdf385550"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8613ef61d43362d40bc03c3f17513091de81e049ae84d690d0a845428f9c751"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4663771b7edd6dd3601e3e3823e57d47791dd979e534dbfbf08458ab92bce959"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"8065536b96f536d330ddae42b1a8bdaf86e08d5f4e0400cbece2496a9bd24132"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c5a627ada1f249d71f7f263fb5fce8ade28a7d66defebefd82c6900f8c444a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec861f15cc7c2ef0186d88ebfe9292b405ace63ea6c618a82e8c8f1ff4975f6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bc1ce56f3cfadb3e3268b92a742da7e764f08b7825f218873400aeed14ed0b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fe0dc4e80751938d705c05552cd3d0ed6ed8b2f778c1c887c4b7826b248b45"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1b20199cb54055456475cff48a93ad044b41394fccda089b1503f413385b2d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db839505980cce3092c1815757e1c1db86b7f3f8fad0bea178819d113512166"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"175564932b8536e3fa5ff7b84e34d867f8d83d58c638b0376b303bad7a4f528f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm BancontactCard mandate auto-capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fcac9f98d49d03d7491a8881a47e37cc254a6a641d1977c50614b4d81dba39"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: CIT mandate and retrieve: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8518f368a5faeaeb5a259d5398a06caf052edd194d5094a0c457ea2a6f153e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: CIT mandate and retrieve: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff69d43da7191ab6279bb82317e97655aa6dba8c4fe4cd1b3e4110ec41ce897"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: CIT mandate and retrieve: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/18-BankRedirect.cy.js"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e04992606f2b3071e22a4d10581925e1fde34fb2ba29ba110de0c12064eec8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"06992dd618e0648ef08d0dcdc73baf0ae99703f251384c5145a516b180d1caaf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"169ffd980d3cd2695bca78235cc91a5aea53c3f3bdd2a0808984dbe8155e9b9a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm wallet redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c762ee76ae0d2e90fc9787534c809bd38acffef46eee3981805be04f5187875"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ff7d6bc0f39fe30378a6af0cee263a21d356ebba43b69df91ba2830c03548b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e35752849c2da1e8126d33d1090fe6e3751491278f9624097c26f415bddac48"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"749c264854c01f8b0713e559fc5c2a7916ce707a57adfe4784c628e4729df556"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm wallet redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f35e191abc6d7cfcef6a3544ba17e6c6ef7f03e99e65543ef24dc1ef529492"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9acbdfedcf48e1f0057297f4adc65fedd5f3b13ad6f5d8559b0133789ca1629f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Wallet Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d021d91484a557a1a6d837a4df45ed83245566c5e8d46db66f8ff406c67ab54f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcc6b980fb4a916eac04e3c87bfdc3324d0692ac3b791970371fb3a0beed3d7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c421e8c57b28ad4ed97ee69c4b9fe10f5227103695e617f10828cdf68315222"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm PayPal redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e01975652eb74841e65e7a731711663da5b247eca983065c6bdbea58d45e3f3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1747e508a1d5dd1ad9d56ebe18179ebfda9bf3374e9f46f2f5302c6881b0a5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9d9db160512a384f3f04035590cc22903e4e73b3e46780fd1a3ba097d40242"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7aa7472f58ba55bbcf509ab38ac4e194231a92a7bf383f5a13197a1acb65c9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm PayPal mandate CIT redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab74a63606d20b4e774a6f3110ed5277faaf34c664cdfdca688632b4dcc7aa1c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"1050fa961ae237f7ed01b891fd5de3f8bcf648a97f53c6b060ae540888ec007d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Wallet Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"607d3396b063fed7007c827aebba5496c9d1be3674a7304fb417ca536ba61478"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Wallet Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d5e31adb1e541d6c331f24e3e90d679453e5a2c1b9f65d8319ba7645a2a6b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle Wallet Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"5703107c0a4304c9f29c687fbbbb428461829627db6523b1a30263b91d26078c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afd019fc4a9f418c9dfe7a3d9aabb9b8fbeee065cdd4218284ca81d9d63ca41"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"30685f32c99627b23e7ef6bfe1e623887a809c53b25ddb42ae0b144a78173e6c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Skrill wallet redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0617460bdf9a22efdff8e3ecb6f68ba9f0725933d698a5baf228ba5e1649f91"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle Skrill bank redirect redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"56df54cfa3644475ccba596092e71b711b51798359c1ed3e8c1dbe9f6a38dbfa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c3ee713edafd001e36c1b80a60a49a150f39bfeadd88b873e7406d2e50c93a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61a805547afdcf8f3580611075b9d0a659cc344cff8f0c75078bb18756b74ad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"84076e55a367633e78c7058ae9a045c361eee7a59324eba81606205a4299037b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm AliPay redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"28676948e64a90ed2cf7438abe7a8f30ef0b3813bd814872d64bce6890fedeb0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f41b48f2df5beea0d526c20019f502336c807bd8c18899f20bb3c3559f2bbd9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-alipay-with-invalid-currency-should-fail: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"608ee9eba36378046aa87abb9dcc9c256520b82cbaabc19bc67ff85a5a52cb91"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c41cec00f37cb4f9ab2f9a0909f3bf107cef7fa7370453cb936fc670e33cbee"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm AliPay with invalid currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5018e94e44e13192cc45525780cb536c3cfc205dc9a816dad7fe7cd175d2a67"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46ac6027a261e8f2269e6b559bf387c0969ba7976cfd3a5833a23d1b134d7d0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e53780291392728f22ca2848b0c75aeab002381ff63aabbfd885234116d250d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm AmazonPay redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7798c96577fa53120fa54835dd46ceddf45937aa2890b1847fb4c3aee9b2e54"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3a1c4ef2188d1d56e4ce17db43bd2c0c2eaf033021deaa2a5f45895f1c761f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da013da84025eadae3dc3edbb73f25b40a043b28da2bac6923ac8e60dffc2ac"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e97ffe38192e9d8e7a7e93dec50b84ed2dc27c9babdbd743318878da3096698"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm AmazonPay mandate redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdb7a226bad204f6c6c4e9fd6cd37e15edd99d87ae2a0281c935476162f8653"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c00cef5e038e333e766f4986e72766bbcc04b70be47332e06cf01d7a18d6a5e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-amazonpay-with-invalid-currency-should-fail: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7ba3a84b7691b812977f4a0622effd62730d60b7a4df1a1be037e91d850315"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd80c23f0ed53f1e982e75f19ea8f7e6d6281e0c3fd434e56c3945c7895c79bf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm AmazonPay with invalid currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c79ae5a132d3f6afee3ae9a5faf8578bc39d814e7fbeefd68e5c84be711a037"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12535646c07c9a5c322af8371b032c5dc3bb289302f2e24a8f5440f311f3502"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc0e3e6da26e2d4fcda37de36cef92754528f3ed8c72621efb58596a37c6950"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Cashapp redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d25f9ad08abb459159c64ba7a73bec8f57a4b42a22f0a80d699b3b26c9eaa5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle wallet redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"febc13fbd0ec11ca43d815289f0f229453ca6706c9a4021cb64dce249830a395"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b378eb18938b0f782bf378cbe416cb9d7ddc05935849394f6ddef10e52b69a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9bd3a9c95e1d23cab3beae37ba8d396f86a875c92d410bf63bf8a12fa50da5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaa8312962f3c0545233e878c07b227701cfd0ed5dd1be941d5476dc88841d1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Cashapp mandate redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d528b8f7e7c99ec676898fbc77954689ea8228f216b0aaca63ca09e55245d34"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle wallet redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1c88eee8303d3e83ec1bc1444e0f655abef28f298f4db280c327faf91d4090"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65ece34a79c41000ff2b226d417adc984146d26974074c9ddc3b2145b3de68a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-cashapp-with-invalid-currency-should-fail: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1ed92a25296d7297fc5b00756e3635b2ff5708278387b3a86ddd3864fdbe39"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d2819b4f715ab5cb0c94c3cdb9dd8a5ae152d7f7f5e5d0ccbe65de2153b051"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Cashapp with invalid currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1636}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9449a51ab346c46cfc16c5ad615037d1a7cd8d755363d9ce5f1f6b7f9becb4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e2511230d335cd5ee58ba1c9d9ce00f870869f0a20af5f060af631c10b63ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"e674b1c708ce063d8809a4970c19b31e2c6b331a6bf8c9eb604bf0b60db96b2c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm RevolutPay redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f54a0bc933e57e297df2ab057d8c6d9a72824446e62f5b9059511a72187782"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"550b9ce16ddf16c9dfd856ae82d799dd09ead7138076dbde1face8355facdf2c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2639d962297b1243cf7613d1c2fc1f55248ae8fb45caa5b8c681f71f99f13a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"682dd79fa0ddb2b0405df2a33d39f87b24304d57c1149406239186c48d834882"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm RevolutPay mandate redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b94a0908ff2c9f1c17619af0c4fe120677435edacfaab942cf8a7462bda982"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"1590f3971633571e637a7fd4f028d43148947be7e1888e21d63a4831d97d6c68"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-revolutpay-with-invalid-currency-should-fail: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1891}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9b9777cd93937dc163285236eb2282693b1b5a291beaecbb06f1bec479d791"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab0bffb3c8f56fb7dd3d9531c3d83fec7ecb11840286d6131f97a82e2e07021"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm RevolutPay with invalid currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9f6c1846fae7e2b3d456f523fafd42141c3b9ae513db9ec4c1e111528c8a98"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"caef14c511879bb5e0f6941c0b2277ca82c06e20741f1b8c96a9ac3eef1969e3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"001f9060e4bbef949c5db102c47844d951ebc7cfd38e5d2967d41d4a3fd258db"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm WeChatPay redirect: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"00796abc946d8c962472c09d1f71fed07a533e6357db6dd67d91fd6fa6758ff0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle wallet redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":2003}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce9471573443c4c9e05c9576e0323fc65f57602a4d7b94aa23d6f094877c5aa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync payment status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"07042918fb260db61030751a8726075d6218ad322e13292a2190e1f383543759"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-wechatpay-with-invalid-currency-should-fail: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":2066}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61bd4736e80d5888d431b70701ba2a7947743e229fbf6fa6d3031fb05a203c7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":2081}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b95eaffb0a539505442dce2a610c4520aef88cccddfebe679d2997c02adb59"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm WeChatPay with invalid currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js"},"region":{"startLine":2085}}}],"partialFingerprints":{"codehealthFindingId/v1":"988cd4f4e3e5de8effebf0497ffda146474e0f26c7beabd1e39b80fe6aa56861"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: customer-create-call-test -\u003E Create No 3DS Payment Intent -\u003E Confirm No 3DS CIT -\u003E retrieve-payment-call-test -\u003E Confirm No 3DS MIT -\u003E retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/20-MandatesUsingPMID.cy.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78b4fff0fa34ebd36b07969e4e941701d956549ead53fcab415c3b7f3d74f6b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create No 3DS Payment Intent -\u003E Confirm No 3DS CIT -\u003E cit-capture-call-test -\u003E retrieve-payment-call-test -\u003E Confirm No 3DS MIT -\u003E retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/20-MandatesUsingPMID.cy.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dbae3eb9a6286471b9d92f61738c7183b1803f850d85a23e476c887bfaffd7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT -\u003E retrieve-payment-call-test -\u003E Confirm No 3DS MIT -\u003E retrieve-payment-call-test -\u003E Confirm No 3DS MIT -\u003E retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/20-MandatesUsingPMID.cy.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"c990fccf8fba86387c9afb460a625f4fa0199867e83f4c38610fc7a5aa5f1563"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT -\u003E cit-capture-call-test -\u003E retrieve-payment-call-test -\u003E Confirm No 3DS MIT 1 -\u003E mit-capture-call-test -\u003E retrieve-payment-call-test -\u003E Confirm No 3DS MIT 2 -\u003E mit-capture-call-test -\u003E retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/20-MandatesUsingPMID.cy.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77d4d08500d5a0f9a4e73c43a190581ccdcf95b5dd54a518b43529f32d63b1e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create No 3DS Payment Intent -\u003E Confirm No 3DS CIT -\u003E Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/20-MandatesUsingPMID.cy.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f80ab04618aeaed004db5c07ff2bdda14315c007cbef4dbfbd12ba072eeb4c4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create No 3DS Payment Intent -\u003E Confirm No 3DS CIT -\u003E List Customer Payment Methods -\u003E MIT with PMID and customer_acceptance -\u003E List Customer Payment Methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/20-MandatesUsingPMID.cy.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30dec7dd4808d4f9165370e74e7a1c36f55aec88422469e382f7565cc0d5cd0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm 3DS CIT -\u003E Handle redirection -\u003E retrieve-payment-call-test -\u003E Confirm No 3DS MIT -\u003E Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/20-MandatesUsingPMID.cy.js"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9e158a7e26b153ac17c46d633e7259963ba43e9f57ef707091f91dd8825ed9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm 3DS CIT -\u003E Handle redirection -\u003E cit-capture-call-test -\u003E retrieve-payment-call-test -\u003E Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/20-MandatesUsingPMID.cy.js"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d9adace8de2bbd5baf1ee0e98b7c5eaede7272813f6c824ac160f68907697b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT -\u003E retrieve-payment-call-test -\u003E Confirm MIT with error_on_requires_action -\u003E retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/20-MandatesUsingPMID.cy.js"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf8b578c6f4b9ccbf16056c2a3248ac821b895ed972722629ba67b9f87b3724"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/21-MandatesUsingNTIDProxy.cy.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffae193a67c15b39d95d92dc7e73cf6f0953804ca9ea4926856ec9ca692d7f4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/21-MandatesUsingNTIDProxy.cy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc5adac6363a104dce1a186fc8bbd0573a90305230cc28d716cfde9ea4c43df"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT -\u003E Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/21-MandatesUsingNTIDProxy.cy.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52cf9cc52e51657b429b135981a67433fb4ab6a2f20bee04bcbceb812125ce9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT 1 -\u003E mit-capture-call-test -\u003E Confirm No 3DS MIT 2 -\u003E mit-capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/21-MandatesUsingNTIDProxy.cy.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec9ee5cfa15a0dcf534a0650656a4f7d4bdd3521240bda6ad4ba2eb3547feec"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT -\u003E Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/21-MandatesUsingNTIDProxy.cy.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7413c085235ab2a71f81cf1b71acc7039db90f5f9ec002a2b9647a87413f4bda"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/21-MandatesUsingNTIDProxy.cy.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0415c80af443eb9ff77c78cfd4f757e128a036c23a58b5b4420a68a71951c891"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent -\u003E List Merchant payment methods -\u003E Confirm payment -\u003E Handle UPI Redirection -\u003E Retrieve payment -\u003E Refund payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/22-UPI.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7a2a3d311f3952180b6c3532ac001ad79f32e2eeb33c779c4eca1ae38a0859"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent -\u003E List Merchant payment methods -\u003E Confirm payment -\u003E Handle UPI Redirection -\u003E Retrieve payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/22-UPI.cy.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdacabdf2d4a04ccdc6ac06de1ae9b4e98a9c60990b1b6752a09f435e9b2d0ed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Invalid card number: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2426548383556bf744874656412798d461c510a8a36c5331469e669600f6ec4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Invalid expiry month: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"91404981773ef48a7edbcaccf2a1a3c63e8f72ae6fe6a070521ac3078ca8ce2d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Invalid expiry year: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10a1b12e46a6018a7a3c8ce85b8e4769f51aad2b8a6ec4f2b72eddfe25b606a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Invalid card CVV: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bb2ad90a7e2dbc75a4b09d2a7159cbab640ca1e91d2ed32748f1b4e19f7d16"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Invalid currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb831fff0cab01d9ad7676c4fa912ed4f4ddd3e090cd5050b25f357ad7bdaa52"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Invalid capture method: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dfabca3ee171cc7351e74a5c583232a26cb8ca16bc9b367f20ce512f11efe2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Invalid payment method: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f78b600e095639ae497d10b45ad4ce0df024e781cea52aa063a6e7dce9eb94"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Invalid \u0060amount_to_capture\u0060: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e991fa77b7534ba9f9ee4b20243b682328c4690342c7dbcc994c4c2ad1a11ab"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Missing required params: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d138b0dfde09b7abcebab87df8ef9512d20ac765c96697e8e1373759f42363"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] return_url - too long: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e779aa65dd8830886397e3330baad1410c3125839143f338a7b440b3981bb12"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] return_url - invalid format: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"5423f15009dbdf3186f78c40d5c71d641904909f1af2a377cc3cabe666b4164f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] mandate_id - too long: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c50bd1759ab0cf52e48677fcdf5a0b7bf16e82ec1386fa9c3838332e6dd1bd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent -\u003E Confirm payment intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7256490321cf5d66ac7437b271c7fce7db17a7ee8934756df18ac8e4c2c79c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent and confirm -\u003E Retrieve payment -\u003E Capture call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"1647863e113cb23323459dabd322cee62f2ff66cc5751b20aa4a18d682501490"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent and confirm -\u003E Retrieve payment -\u003E Capture call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c1d5373f9901403376f08f38a8581502212865d03415c5a87fe0e23a029680"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent and confirm -\u003E Retrieve payment -\u003E Confirm call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8900d022e85e2fcf2a6e01a51afe337c50ae0a58c0e779d0d570510fffa9bc5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent and confirm -\u003E Retrieve payment -\u003E Void call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"3debad609774027f4ab7994e519d5b637323b2dddaeef41e1e31ec7750df5ebe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent and confirm -\u003E Retrieve payment -\u003E Handle redirection -\u003E Retrieve payment -\u003E Capture call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeaed66653c5f34120d6c671ba9a2f9a9a3155e9fa059be112b63ec4ebb471a6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent and confirm -\u003E Retrieve payment -\u003E Refund call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ea0f27f5fb7cb83840ea8615e5f9cca7fd51a981c15ba09a5346a99b4130bc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create payment intent and confirm -\u003E Retrieve payment -\u003E Refund call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"0247b9bb5aa8829c7cd3401d4b3f51b34bf4103454b039a8b3b8683c05a1a2b4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test -\u003E Confirm No 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cbd78fdb2801f4ae107ae2c3ef9afa6e35b343d727c85782e3eb248038f190"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create new payment -\u003E Retrieve payment -\u003E Create a payment with a duplicate payment ID: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ed56c8b686200a72990f1b80de00e5a557f79efb26a17eebe56abb44d0601c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create new payment -\u003E retrieve-payment-call-test -\u003E Create new refund -\u003E Sync refund -\u003E Create a refund with  a duplicate refund ID: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbaead603da4f1ffa20901f2b8600af84d62bad6605dddff1b62bf8a5e755d9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create new customer -\u003E Create a customer with a duplicate customer ID: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c494d90d8f62894f334e09629cf2d80b0be0dd702ef8efa2519e23f0f2b8d447"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm payment with invalid publishable key: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"30109589924829e98d778790681982659efaa2797ecb25fc4f8c5333c3a23231"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Session call with invalid publishable key: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcb7227adc8f6aac539ecd69a01b6b48acbd99afcd9ec49f270b5b1dcb3ad54"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create customer -\u003E Create Payment Method -\u003E List PM for customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/24-PaymentMethods.cy.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59c8c8cef6ff4375b5600446902f80521611a18dc1c7d1494d774a77e69fcfd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List PM for customer -\u003E Create Payment Method -\u003E create-payment-call-test -\u003E confirm-payment-call-test -\u003E List PM for customer -\u003E Set default payment method: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/24-PaymentMethods.cy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3d3579f873ab87ba0e3d8dfb06d2c2b33ca0278be9fc18fb99b3c4e0594db9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create customer -\u003E Create Payment Method -\u003E List PM for customer -\u003E Delete Payment Method for a customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/24-PaymentMethods.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"34affed00869f183440943cf43f6aff678649f807968f13088bd205cfa3b46fd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/24-PaymentMethods.cy.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed15d39f402c809de222197dfc616f1aeef1070b9fd5794496894bdf38337f83"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create\u002Bconfirm-payment-call-test -\u003E List PM for customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/24-PaymentMethods.cy.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb88502b28d0c28e5364cc80889914435c33b295f55684c9a2ddfde16bd099ec"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create\u002Bconfirm-payment-call-test -\u003E Handle redirection -\u003E List PM for customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/24-PaymentMethods.cy.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"db25ea7ff610ffe7954a12986d72a6c40d3e84aaffde4089e9e307fc4d2f1055"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test -\u003E confirm-save-card-payment-call-test -\u003E Handle redirection -\u003E List PM for customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/24-PaymentMethods.cy.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a065389a3c89d37ab3f7f25dc9e11a095064ccef7642601df473fc80b1dbace"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test -\u003E confirm-save-card-payment-call-test -\u003E List PM for customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/24-PaymentMethods.cy.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f889a74ffc0799f4a936f2f2abefe3287300ec10761e08c0fc8c2930375d757"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff204e9e1ecce68c8c10056e608b990dfafa43fc0e83f059064d060aa815210"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e431e75aa738d37600a30cf7af90ad5fa588940d40eca4d7355f6a8fb92d93"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba10cc60720958b28cfecb590ea2f4273022f45aad0bd55794480343404b7a6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e18f65b7e2432f19830dc2d5557236077e4183fc56ad5cccd3369141261e8e6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ff22d2392f4877a68b3ebfbf1602098cedb994fc9911e762bd4478d68466ff"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer using Client Secret: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f420773eca0f67cc0da80db2d0921b4cd090b2e736a16f4f531d7fc45642a92e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5744b4e9686b34cad3e95151a43faa1fa54b4ac8ddb7d081eaa677dd9482aa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"30059d717c5b0df1c719fa3dcc8e467bccf585a3be48fa822c34b9fdc4d250fe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0489bcb3a8ae1eb688e6d538df1fb76e71222305fa51ffc9a95319a3c9aa87fa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e18f13a7d175c42d5979162c435d48fdfd17e32e39b0972099acda2fb8701f1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (PMID): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6532ad790979d135cef1071d33e556f27704c0e2f5ee147bb90003af81f32ea3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"308bcb277f26f027110ff103a3fd486c3a35196c347b83aebe43b06932074a70"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41f4f228f95f31095cde958de33c0952e14a19100455845fc0e3ca6f985c214"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (Token): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"f784b2c8587e0e5a9da7fe9caa75fff2cfccebfddd49868ceaeb6986ee26ca68"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e684ba30d97dc955e9a672c18e1c8ccf7c67c047d75763b844280963649198"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Enable Connector Agnostic for Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd2a8da1981feeb488f6b37b0720e6ec5f7f8f058043ca550bbfe94887e9ed6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5ac0fc072e0edc421f80405e745f1ff816b0851f1e5b4988502ce128d91ff2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"915a19bfaf1ca4c9d98d8d64f4a9c95ea86d6fcfd553949db39ab9c2018fa97b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7070a68549803c446bbd0e66a18aff3c5ee729fb8cfc92a2fec786f3635b07f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e9d5a9c035de0c82fe7acbcfb31c7120946d97884365abc79f7b95c3082dbf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer using Client Secret: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"2673b3f0736d89e767b27264fed7c8b1b863c5b70831b05853b3412aa94e425e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eaad4e128d1718069bab350bd631e02866b9f35a12ff68a25e56e72f87374d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6906014436a7a50c46c3b5be8aae1543dcbf84b40a467c267a6333063d62c7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b1b5b5205a33648f0af03a91b005194415653075abb7ff6adb6229950cbf1e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6bb25eacbdb7e1d3a7e487cc795375f862a98d838565ea63f3a22ddfd49ee6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (PMID): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef406a6a72d8595e62fbbbf86e99703d1a1f2d0f40576c9dcdd7bb94753f77f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3310144895d2b54760667ba95734b4d0aaf6334db06722b5630a3930394a7f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2edfa1188fc284932effd101b627802c630fd89de7c57d4bb61b55942a862d8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (Token): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85c5626b71bc71efb243d6b79026e99895fe3f568e05f8b40fbfb037ce8af23"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b7251ae8151404ea375ef0376e7da4543be3ea796b7a3f28c6db6306823f2d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83ae2a483e78c2636f330fe4ec25adc3ba177074d321763b3710b2cc2595627"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cdc4671ab26bad3211cb967835fbfcce1434299937ed901c8c8afc4fce5c41"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fa38259dd6399bdc8fc91c33eb094b35f680a476950573efcb59f94b24ea6e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e0d8d3338c6d29aeffb691264fbedd94f560dd9e252820359c4c20a9c61c84"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer using Client Secret: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"d152b5a45245a0a81f4a7a923c9f38e810121b06c50936f182ecb5be58d158c4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efd3ab7945a645a1a9f146e9cdb92f12857dd49f8f4ecfc819d1d4efc5c0064"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81c0c8853378a89deb56fd35c564567c245b4b6ce96e5c66594bbb2aaa60631"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Enable Connector Agnostic for Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"103df8e619fce049803aeb8ded55ddc642ae46ea2d8a550a169ddd199d273938"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a9585187545f2050a6773e20c1ba586899a7d4da22d627cf7bb41242b012f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"13914dff85d7a475934067a0e157482d94123937bb171c28a033db38b1641d52"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (PMID): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"3546a27450d890356b3150d7b239f12a6b17a101efc022bdc0320931a20f8153"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"584eadfe4a7263c93bac7d0d698dd844d0acd81f7e429fdc2e299f73927992e3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ac8e936e4bd38b5ac49d6d600f45b015f6a6108119c48db9136075da5a01f6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (Token): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc6cbf2c5b61c21c9cb872eac86d0af78ecd64204ff74dbab22d39d9a0bc837"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"73990e5591efd9b4dbe48ec53929843c557033fdc5881a24c465fb1d16a6866c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef968f745da8e3c5564a2d8e8602f0034ec29c99d129675bce02c0997aa48031"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e60243c51cd44868311ca9d07381ce3866a824b34a5ca59288282afa60556bd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Enable Connector Agnostic for Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edf211b01ecce3a101a28f92fa59c91380fad2b5815814f4744a4c38a20ebc6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a1551e03557da208365dc8db166985c2e96e8a281bda9fd72a32fcbfe21e90"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca6b9fca5c2438620f6b751b1f0bafb81e9ef5f05d28ea69964f03283ce7ef0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer using Client Secret: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c951086112301d9af5e67512e731044142854307d58625c7639069585c42309"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e4ed1b201ca0871f52a1cddabeff0fe50c5801312cdab10151be510162884a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a56fb19839603749d41901f9e048ec842707c938525ebc17f162ceff06bd2c2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Enable Connector Agnostic for Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ca1e3f5044fc72ddf3e27749ed2270a07a027c8e6ac44a9aeac0ae455667c8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"316625c1e851d0fe97d252d6ac21f71865b9983d0c6d6b98835ee83128b0ebaf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"92dfc5d637645a8c2e62aa672908524578c7ab841c821e9d01433e1f4f4dc262"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (PMID): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dc72b8e8c8952e0892b1028de008e05e1f1f6807c28ee6122b29e85f8463fd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"974d183794170ea9491a7fb5267de857b3d109c7987e4dc8797f356d01af52e2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9eef3c5d9c1dd85588d12392af91bc2f0c80173c23e388462306013bec5fc8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (Token): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/25-ConnectorAgnosticNTID.cy.js"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc743cffc831986aa05eed1add669e3aed81bfe80455049e7538e0e1fa35d61e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: session-call-flow: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/26-SessionCall.cy.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f93b7639d6d5bb74aac40d74f7a364cff0490c0e41d9269032d4f2f73f4c10b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment -\u003E Delete Customer -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/27-DeletedCustomerPsyncFlow.cy.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"727ef3d2c8d7aefd4fc795798cb1d5490cfee8bd0d63f1a462b7d5004480292d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E Handle redirection -\u003E Retrieve Payment -\u003E Delete Customer -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/27-DeletedCustomerPsyncFlow.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7978c55bed089b485b904978b534bae58da7c1e89e581ee6d62b96d8d09a4498"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment -\u003E Capture Payment -\u003E Retrieve Payment -\u003E Delete Customer -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/27-DeletedCustomerPsyncFlow.cy.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6772ec51ffe191c035a5feccb8abc43158635be11bfb53455518d572bf7c7fbe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E Handle redirection -\u003E Retrieve Payment -\u003E Capture Payment -\u003E Retrieve Payment -\u003E Delete Customer -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/27-DeletedCustomerPsyncFlow.cy.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ddb959bb626df36c88e4a99736f2a0d19e4ac21a24fd9ec018cbfadfdb646d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"873f84cc02c8a895eb234b0a9dfa5ea9c21eb7b83056b1794d36e0d0936e672e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"97db94fbcbc3a72e3d125aded542bb9f8362dfecad6b704ab0a7d9587e5df312"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c573d0e6aee5d4090eb3d7f3bcfbfc16a67fc29f34937a74a20423b91534c07"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update collect_billing_details_from_wallet_connector to true: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a810524ca9c6fb5bbbf490c5afcc2fa13b448191a66d045a3f248dc010d9361"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa1eeac0715944623d5efa2b958654a0ecdd993b9243524636eb62ce645e7ec"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"124c68769dbe83153b0359fad9ae1a5e6dc9ceee4a475eda5d75d6659b9123ee"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update collect_shipping_details_from_wallet_connector to true: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ee93ef8a92340ee04fae8b261444b0b616466cb8a8f64286be9d644e765795"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2dc72a481d701a0aeb079a6dfcb65f7c0de2b9218ace6ca27b616a7b8b7f73"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df6bc56a0238fdb78626ed09af20a46cf39ed6b263fe1b2389c30d5daf3abce"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update always_collect_billing_details_from_wallet_connector to true: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0986da1b209146b31fbd793bb28895ff5f489f37283bae8532c4293bc03e85"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac285180a6129a2c233382f91ca8acd1e7b027c37654c29039b3d798152a340"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1fd1c4b9120f8155f57ca32e8e188029b636c55b88a1c98b466d5c7c3c3772"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update always_collect_shipping_details_from_wallet_connector to true: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2891b362e04b9445bc0a5220f84cf26b2d9825e012c3007a92d1505c7a3c5e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5dcdd636bac3f9148803874572b1a0548863e427b089254b2e13b975a6e501"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b6f2ae7cd393e69b088158d25e62e48320df75038c27a4b088a2da1b329994"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update both always \u0026 collect_shipping_details_from_wallet_connector to true: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb700c0748480cbfdb16fa2b47e6afea9f1166d5354df9caab243b7f826bf43"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abfed8319acc1f788cf2b02d2c81c1cf53cab0d93ba7c5f3d504ba25a3bb8be"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4ac30fd9c93163f2c97d801efe6ec7cd2ee2d8d1aecf383289d0e46cc3689a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update both always \u0026 collect_billing_details_from_wallet_connector to true: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"5479f9ed2acce934b1682635ebc2e0d544a35fc832d03cefe8968268f766474b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd987297a36b80dc0e5a44a286473e91be9d9b4dfee798bf4cccc2da9a7598b9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"820f8706ff4b8cd6d168aad4c0067d1769b2ea42d5aa09adbb844cedcbd2ec9d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecabc3f048e478f88e18cc0be18e2952443cb8ed6265228b08a903ab50113e3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"567f1139ef54ac5ad112fcd273469e157112b3561012954cb3d7780199f35fa5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"f507b2b3c6fa13bad9d7561f6e1980d75088202033a1b4563b23d7a465250985"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update all config to false: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ee73071eb8456ba96fe7fb698319d3633ab2e3d38da2684cb636f63f22d5fd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8848ed7a4961a6beea3a9bee8fb9a24fb0bb4b186f17909d84edb9c5d2edb43"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab37cfd36ff4077c188aa45d0069c7f197ea4121ccc11de2eb945bf2d6c369a7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aafc9a5465744c14dae92d449ca3d34841b65f871744a640d958e93ef40cb05"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update business profile with custom webhook headers and verify masked response: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f2f6d4eeb786f0ff6b8849d881d5652da7e0d323ffa1a8e14e00a0ea2dc508"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update business profile with new custom webhook headers and verify updated masked response: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd48e0ede419a247065c96488c4e1a3c185c412faa4d65ba2027149f84b5e1f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Clear custom webhook headers with empty object: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c29c9229b48a243c88f4f3fe4b960799ccd8f272f139016981d01ea5e85ef91"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile with webhook disabled events: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc993951a9aba085d02e4ef595903c0dbd6f0b6ba34424c4681d38b0489a7a3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Business Profile webhook disabled events: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac53dcb4ce0bd7fe667e15f88fb285c8cb6b797e7694f079daa775001136e0eb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile with invalid refund_statuses_enabled \u2014 expect error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"db214963b1b269161469ba8afe6e0735bcc82f210b7db0c744057fd9a8b3157c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile with invalid payment_statuses_enabled \u2014 expect error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee649c2cde73660563bf4e622ddda824098e8feaf089b33fd8380905a953d01"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile with invalid payout_statuses_enabled \u2014 expect error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc34dc5e37ddcd116751567eaa70a0ca01764076d1a408b3bb45a6faa55da35e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile with invalid dispute_statuses_enabled \u2014 expect error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabc7660a904a562f842117084bf67646d9f5efb071d7035c3974ee9a9f58c26"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile with unsupported mandate_statuses_enabled \u2014 expect error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1191b2a7c110ab79b2e9f607fbeb5edb43ba0e069f0c4465beab68df89af54c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile with unsupported invoice_statuses_enabled \u2014 expect error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/28-BusinessProfileConfigs.cy.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c6fa956d7e80564fe278d74de9599ed98caef145c91dda1eaf7fbd55e33609"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/29-IncrementalAuth.cy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bb48253c035011a3bb1dda6e20a47a7d2b9b5cd0c336e18335204718757795"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Confirm Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/29-IncrementalAuth.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b18bcbc630d240abeb8504bfcab76daed1e0b5871fe01488696aebb325bf47"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Incremental Authorization: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/29-IncrementalAuth.cy.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"521052ec8f7b6f310171c39ab27ce597823362f4b5355bf74c3651311caa38a9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Capture Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/29-IncrementalAuth.cy.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b62034d946b7fae52d1f74ba20b8424cf2cf38389b6792b4fefade84fc9b1b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] List customer payment methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/29-IncrementalAuth.cy.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"245d56620e59f6eae3fb76cf040ffe9ebac5a4dbcdd4198bb4d324c005adae5f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/29-IncrementalAuth.cy.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a90e3998c1eef474ee69a3d25d921dcfcbb04d45ef38daf4ccb78c9d59eccd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Confirm Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/29-IncrementalAuth.cy.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40d70e101bb8767fd596469baf7737c4c22b5cb477a542741530093e4900a69"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Incremental Authorization: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/29-IncrementalAuth.cy.js"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cd92146f36fc2a60a3f1a59289b9e787a6f1ced612082d0c9ed1da6490043b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Capture Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/29-IncrementalAuth.cy.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ae4d3b0908265b4131c97d75bac8255bb77fb5b6fe5f29f71f02396ea6638a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/30-Overcapture.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b5b839b81db67109c3b093ca1c1059c2ff45557924bbc4d9b6c84c04b703d4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/30-Overcapture.cy.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c077643af2e286bdf90be28bd200611a5642d9c4dba90c1fed543bcdd6a16676"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: capture-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/30-Overcapture.cy.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95ccb5aebe7dc3b00e8492ff0d08bba2df029d6c909176bd89b520b50407d08"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/30-Overcapture.cy.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"932ffe629cf154cdacccf13e166b40800ce51c15e39147961b30984c122affce"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7bae2d12db566b6ed9d886b40f5ddf50664cd1903336aa6951bf1d4ee5cf910"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d87dcacfc9e4f20bd64bafc4c6469878b3870f1d79d6abd10324c3796fafe15"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm DuitNow: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"595492cc390a6975b63375403ba73eeb1c6d0b02e23baf635bd05fb28a5ce77d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Handle Redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"255bc4d73fe7df9bdbfeb312f92c5b1fe116a513833896d8ba7123a283a0c9f9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8303f4066ee38c7e188a1c39b44baa896a322123b17232de11a3893ac55d248"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b0ba887e8e24ac95fb6282a9bb47918731be50e73dbf13076f69c761c2e0ed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c807e6cdd8cc9c2693b23d7379690f62d00c8d9b0ef7b5e3f6d79993f56171"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3884d16f74f443b2fe3480f2228837fd85f0841b376663de86dd913e4c596de9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm QRIS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2206c458e5a21d611a158a4cd395fa6505a805aff16c03168075c88039cb5793"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"807c3e7c0e1647eb0542834db30fe942300ffe6ffea7c4f24b53f2df56298719"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac89ae59245e6dc5faa7360773a38f37fb3c68c741cdb3d3b483725f8bfb20cb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent with Mandate Setup: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1ae82c503fbe0fffc02a309af0e9ee5f0cdc6033f14722f73310b6fe3f4260"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ea884aafae297904605b1ce48376b1a15caec317687c769b8192b943c85582"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm QRIS with Mandate: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"922c4782172d695643c2bc84c2d0ed3680c52e1e7d7b34aa7c5e4f3b63d2ead6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/31-RealTimePayment.cy.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0939df72b2f48a367ef1940c2c325ca5a4619f6aa7473e6205f739afc28cd0e0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Server-side DDC race condition handling: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/32-DDCRaceCondition.cy.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"02409749c11d6718ab28a7acf4f5f6ab4c727fe96cb33cb6dcbac468fa2b4837"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Client-side DDC race condition handling: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/32-DDCRaceCondition.cy.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb098fca235f540b659d2d9e401d353935d6d9364e45b837cc9a8f4c16056261"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Profile with is_manual_retry_enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"745733491cd940b1c3bee7f7377decdd79155d34efc7fb629131ddc1f259fd4b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"64eab4f967374d2af1db5c5ce06e1d429da44a325f45eb233d7359f06bfbd85e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: First Confirm with Failed Status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cf80afe0d4a9b732aa5f03db7311fc5f08ceaa92c87d157bca276dd7b2638b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Second Confirm with Error thrown: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"678b4db571cac08bf308224133cd5ff07e13f3ef583c629bb87ce321ed25857b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Profile with is_manual_retry_enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd0212eb550d63478ad9618b6499ac3c9e8cd453695e9ba244dc0bd89cd5c71"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3b51145f5cde7d807d03d7efd7034692a4e07a40c20ff30623621a246710b2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: First Confirm with Failed Status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72efb98db5176d0bfb8b4ac0eb3acd9839ce5a934b2a9345914dddcf42a14db"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retry Confirm with Successful Status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"61516df9978fa55ac9ac3802da3e759976c365d1912c496a693ba9e4b48d65d2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Profile with is_manual_retry_enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc0d3d38c1211a7424da1a3d822024370f0fcc26d997dad6b24de5a8f106c84"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd405dd15e54946533596b585ef3c3c3092c965a1cdda3cff04afac830fd364"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: First Confirm with Failed Status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1c328781ce4f74124a20d051daa61327ff73da5cef62b07deaf3edfa49891b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retry Confirm after cutoff is expired (Should Throw Error): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee022e92c603f885e04f8b06fe2de33ac1db213babd99335a8d5345d35c087ef"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Profile with is_manual_retry_enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e96a0e5a105b2f548e0d38eedd0e9ef6074215b66922ff693e87750faa2558"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf549ac6275938d75a3ffcf7d34dd544803a7045e331fb05dfa646aea61a78a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: First Confirm after Manual Retry Cutoff (Should Succeed): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/33-ManualRetry.cy.js"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"034a5d736c1e003bcdcb7193a222e04c98195d4b10cfeec432b266de8bebbcae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should work with default limit (20): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/34-CustomerListTests.cy.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c503de6b2ac323a620406668694629d96d27a4aa2c1517a2a38af0802ec28f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should work with small limit (5): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/34-CustomerListTests.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"004beca9b79f4993c24bbde47e59342e074a089f9a802c936e27a1fdff8dde4f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should work with limit 1 (edge case): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/34-CustomerListTests.cy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"429f0533bd8145f8f297abc06ca6feded10c7378a5e922fbe70292406fad6c81"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should work with large limit (100): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/34-CustomerListTests.cy.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"365a4f78c1536d07e3ea8e0ab62aeaa5287a4862b40e4e18f5abbe7e69d2e1a8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should handle offset beyond total_count: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/34-CustomerListTests.cy.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3c66bc3289eedfb64f89abdf046ba523935c7b1ae8b442f5d8c81b98f6baff"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment intent create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/35-PaymentsEligibilityAPI.cy.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a42856f90ea1f55903a983c18c9e6aeaeee36712e8a47c902ba386d7b99eb66"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should create blocklist rule for card_bin 424242: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/35-PaymentsEligibilityAPI.cy.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b89e268d856959e3c0c14a0be1c5f3e59ca4918469b1dd8d2c3bf6051710915"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should enable blocklist functionality using Superposition: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/35-PaymentsEligibilityAPI.cy.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"629d83df09dffe5e76f5998c8c3cdc0f87359c9ee64b8debc0d32d49d14a2686"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should deny payment for blocklisted card_bin 424242: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/35-PaymentsEligibilityAPI.cy.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd752d4361e4e191411013860494b0d56747f74eb3a0c6df39e48fd2a7f00522"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should allow payment for non-blocklisted card: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/35-PaymentsEligibilityAPI.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"62461a656ef23bbefc65a2a532365de1530d3376f0706aba102768fb58de6991"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should disable the guard for a profile and deny payment after explicitly re-enabling it: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/35-PaymentsEligibilityAPI.cy.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"faaeaf84bd965cb7f76f046ab04ce85de4d9da9a833af6f9eb3059e95fff16fa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should enable the guard for a profile and allow payment after explicitly disabling it: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/35-PaymentsEligibilityAPI.cy.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"386a691d31ff52f42ab6c9fc429e68aac9c24cca1af01800e88a9b816f2bcf97"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should delete blocklist rule: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/35-PaymentsEligibilityAPI.cy.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0c8313a11043bf601fe923d764ab5991db81bae35a2068b050e04922708c04"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: diff-check-result-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/36-DiffCheckValidation.cy.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0570203dbce736fca741b81cd5adacee181979390ade7bb3b3fc6c83230302"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent for Evoucher -\u003E Payment Methods Call Test -\u003E Confirm Evoucher Payment -\u003E Handle redirection -\u003E Retrieve Payment Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/37-RewardPayment.cy.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8359df944ecec1c7462938c032756facf4f37c8bb65ce1545bc340e9cd8d59a8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent for Classic -\u003E Payment Methods Call Test -\u003E Confirm Classic Payment -\u003E Handle Redirection for Classic -\u003E Retrieve Payment Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/37-RewardPayment.cy.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"20120ba309d507661b38b6ac7b3f2f250db7817eb509fac85f244797e9a4a490"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/38-CardInstallments.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1b2e7b5d931159ae8313bff8925df96cf46bb70f6ef850a5694e3cdaaf6e06"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/38-CardInstallments.cy.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb70a6655c2ee94e82c57225831b8ab2c0710367fafec9a13951e8f2dca702b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm Payment with installments should error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/38-CardInstallments.cy.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8b5eb8287e15aeb5538434984118ec25bc77e4cfb44a14b2bd608fbf1774aa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call Test -\u003E Confirm Crypto Currency Payment -\u003E Handle redirection -\u003E Retrieve Payment Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/39-CryptoPayment.cy.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5235d43f2bff84be1651cd454425c7d48da5f091f119f8910628957c59e4868"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call Test -\u003E Confirm Crypto Currency Payment -\u003E Handle redirection -\u003E Retrieve Payment Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/39-CryptoPayment.cy.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fc6aea111ddaecb0ddde2c05b4a5053f556e7038992119592af5304ff19bed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm external 3DS payment with vault tokenization disabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/39-VaultTokenizationDisable.cy.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c55fcb79abc1c41e4b666690fc3cb04b47e729bd7619682e4aa7ba500128d4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/39-VaultTokenizationDisable.cy.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"899f14b0181cc1c31709b41a63c210be24db4d71fa8cd547f642dc26d981022a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm external 3DS payment with vault tokenization enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/39-VaultTokenizationDisable.cy.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb732a2381156dce5cdb00a6692f95c18ee15ba54580c26e0bb9680b40dc0fe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/39-VaultTokenizationDisable.cy.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a79042dcd6d30f9216811f0dcda61f3989a89a485f21dbe8eba9cb7b1dc16d4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create VGS vault connector (vault_processor) on existing profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/40-ExternalVault.cy.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51af9df5918558ed1dfd6b41f1d0bfb32d6c4e83fb80b7df065f738fc149c0c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update existing business profile to enable VGS as external vault: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/40-ExternalVault.cy.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70845c95f5297defdd3741240edc90e59776befcd8ff9cf2fa102129575a4aa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Remove external_vault_connector_id from business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/40-ExternalVault.cy.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e0500beef8bb6eadbc7014b1bfea6bff371fc99e2efe9d14b95751dc9fc3f9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should block payment when card issuing country is blocked: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/41-CardPaymentBlocking.cy.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60531c23b109ca1dd0d5e8f2c1b80ef5272d0be4e1781428cae48a0b37607a9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should block payment when debit cards are blocked: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/41-CardPaymentBlocking.cy.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad8c0b359e177fa4ab8cf737e52ed0cd342ad08e07a67d2ae5d5eda07b5ab98"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should block payment when card subtype is blocked: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/41-CardPaymentBlocking.cy.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6f5348d91a152895c90504a0094b63ae2a813a21e9ec444337515e9d58e66c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should block payment when BIN info is unavailable and block_if_bin_info_unavailable is true: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/41-CardPaymentBlocking.cy.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09ebfbc7cf9e0fe2fa3965cd224ff5b581de9ac0086f9a0348a1877822635d7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Secondary Connector: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-AutoRetries.cy.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7dceb92afbc00e1b27733ed0b3e5f22e317bd6c93294c27fc2bdc6971e0e5e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Business Profile -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-AutoRetries.cy.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2766544d8ea0c5ff56bdb29955c6fc33a699a9d680c72ec1e43b86ff5d315873"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Business Profile -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-AutoRetries.cy.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da687665d177571f7dddbe404825f1b65e5d312df895eb03d7c63d41b2f82e4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment intent -\u003E payment methods call -\u003E confirm payment intent -\u003E handle redirection -\u003E retrieve payment -\u003E refund payment -\u003E sync refund payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-CardRedirect.cy.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b18e5040c539595bc5ad68404751a5c1a62e6526508c1238b57bf8842f3aec2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment intent -\u003E payment methods call -\u003E confirm payment intent -\u003E handle redirection -\u003E retrieve payment -\u003E partial refund payment -\u003E sync refund payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-CardRedirect.cy.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8144f6bf5dedc27852cd49cabb408b95373da62e71aa7108a12e092c176824e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Givex Gift Card Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-GiftCardPayment.cy.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec0df448b39043d9c9237dae1070863d07dfd2b2c7ec72aae8316dd8804edfb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Givex Gift Card Payment with insufficient balance -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-GiftCardPayment.cy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff09cab5d6a91197da42648f4cc2bbd8bd610c3a982c46d0fbfe520f5c9296f1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Givex Gift Card Payment with currency mismatch -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-GiftCardPayment.cy.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7041be1347b5174b531d3ea2d6232e35999b20dc1cbda110dc217a285c9dfd7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-GiftCardPayment.cy.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8149bc0f6c81e5852bbd7f467ed28e82e9515a4e3e0e2c1b7bb16c7cced8dbf2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Givex Gift Card Payment -\u003E Refund Payment -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-GiftCardPayment.cy.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d49de4fc71c9129d1a2512583b9de9a248f22d9e2bb0f9c7f5f2a56c32420a4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-and-confirm-paysafecard-payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-GiftCardPayment.cy.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4de15a26fd55c59e00e76565df576aed083e6d4ecac0c872f973c9f561bf753"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76cfba1458aa5a56159849e7cc58153bd8f911091c78f22f8f72f10d1a99273"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Set requires_cvv=true via superposition: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e63bcd19b9f025f9c5550840583e62f0b7c7e50cf6f11a6ca8a5d93b92ed07a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed3e1acc4928262f90ad534f8081c70d9c25fcbd954c36b9fe9dbd32c1ff3c7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a542292a53aca3586a8c88bfba5ee27521244ef314965688fd63c3470ccf77"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm \u2014 save card on_session with CVV: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8955bf1598aa57df1ec910243318f142d09292e47a8c9a49a778bbd34a7d90"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"027c4fa4173e182a42698019e37d15896587ec47b087cf5fe34143d8bc6b2e2a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Customer PM by client secret \u2014 verify requires_cvv=true: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd714530dc0da881de1df0303f6d028c69d0bf329de745e1a56d0f04bfa1005"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent for saved card use: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b2a586d15e514df4945d82c2b5ae9c4baa259c64f3cd90130c96c070c06d79"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"31474e30709f62faf2c5704f993089dcd0c9be548e467943085b5456bd7a899a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Save Card Confirm with CVV \u2014 expect success: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e24ed47472097b58b3967ed9bd68b2a842f19628d9ec005aa59b434405453f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5820d9961eb821a7b57feb91ecbad240f775848dc78217599ce9a3f4538cca5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Set requires_cvv=false via superposition: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ae89d1e725de984f913a2fd94a0e0aff870f141eceeeb449f86f777c3c282f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent (off_session): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46ce92dc3fee2503cfba88f0b0ef4d342572980d7c88e8a57d18cba69b09600"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea8ab3c78f85f7e2d2f811cfe0c12ef6cc8afbbad744299547bdb846a7202ee"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm \u2014 save card off_session (no CVV required): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5eaae3c5b357fd7ed4b6c0d89d57b6aaddca5108bc97a681710e400b372d6d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Customer PM by client secret \u2014 verify requires_cvv=false: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdfdd99ee315a6c413cc6214dbffc6411c8303d0c5ad70e3dc3c350f2ae83ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent for saved card use (off_session): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb154618d1c7a7df5d771c41063fa3962b8e46d24adb34a1f029de64b353c62"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8792eddf2e3922e483bfe8967737601ee4652f2f0728a4682b246c6eda5a4f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Customer PM \u2014 get fresh payment token for saved card use: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54806aa48676b2affbbdce96abd37888d47bbb30dc4f7d994139bfd010043d2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Save Card Confirm without CVV \u2014 expect success: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff64760a59986701c3b762293430872ea72e393eaa1ebbe2d3913e3e4ef772b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Delete requires_cvv config via superposition: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d74974292aa068a6646dea7d40db47a12106d42d25bb8ada3b7b26b6481b999"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"beca70495cf301da25c409aff46d8401816966074d2b93165463bca12a495bed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d526892412a1a1fcac5c95ef183430737bddf62bad2beb3f396fd8f101887310"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2891f6a53d78591a2dde2634952f4ea17f87bafe250d964923eff66ebe00b536"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm \u2014 save card on_session with CVV: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db6c2f53ae77dd7de0eaa883a1fba54134c72da3fec8488f77fdb28df3b7dae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Customer PM \u2014 verify requires_cvv reverts to default (true): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e456ff51fa222563ca39ba117f8a3e2808bca176dd8568979146659b5d1d25"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm with short CVV (IR_16): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99bcf927ac5061653237ee601b52f0193102a8169d9a770ae3cda6751203910"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm with long CVV (IR_16): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"1741d278bad79e9c88706e73f59337e876413da40d691c13bb9b552a28bb782d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm with non-numeric CVV (IR_07): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/42-RequiresCVV.cy.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d6eba26a138f9d0741eb23b5d50d567f563707003a3a841cb64e241247f58c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm 3DS payment with org and merchant both enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-AuthenticationServiceEligibility.cy.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f6d57e7bfcdf41db3ad438803a6b20f79187629c9dbe7720f4dcd0deed4dbc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm 3DS payment with org overriding merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-AuthenticationServiceEligibility.cy.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"687cf4413184b42e60e5a460aa24e27248b82a55799cc46ce96c30a614c536b1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm payment with no_three_ds when org overrides merchant: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-AuthenticationServiceEligibility.cy.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99be20f2af26c392d83e0e6f260a800601859d3eb825357974f8c0a2f049f4a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm payment with no_three_ds when both configs disabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-AuthenticationServiceEligibility.cy.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c09e79cf035e304b31b6dae2f374be2fb760c171d6f3c32d3076dac288f6a3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm 3DS payment with merchant-only config enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-AuthenticationServiceEligibility.cy.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d63c8ac557eaf64538cf41096fa9b94f9254694c1e5b2fb0d7867c844c11fc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm payment with no_three_ds when merchant config disabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-AuthenticationServiceEligibility.cy.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b024e82b8b6b7843790454de80a66afdab2afe1b8f645bf5a75455df43dad70"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm 3DS payment with default behavior (no config set): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-AuthenticationServiceEligibility.cy.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd28e259ee8ebc6bb322d9a7bfd7047bfb331e9a51a6c3ada81826b684c10936"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm 3DS payment with eligibility storage enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-AuthenticationServiceEligibility.cy.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"045a0676a6a4dc154322aff56fb8e74af636348927dd7fa5b58be833af9eb949"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm 3DS payment with eligibility storage disabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-AuthenticationServiceEligibility.cy.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3599cb86045455bd54110f49be533554c263c34d83f9216159d4c131891d8c69"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-BillingDescriptor.cy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"48941c2f82114af09351c3f87ee0ca6b18d55bf6b6ab9b816924e862fc9fe7f5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods -\u003E Confirm Payment (expect error): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-BillingDescriptor.cy.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"72525197ae625a7f90ef8999cd957fd23cffc00cc9496a4d0cfe69feaa2bc274"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PartnerMerchantIdentifier.cy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dd2ec990ecd3197a5189f6da15738350285d0d1c8a5b0007c38879b262b2b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment (without PMI): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PartnerMerchantIdentifier.cy.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed24d5e703cc75af765d5f51cee6f8ba5d50ca1b00f0de6982f4ca11cf4d7fe4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment (with empty PMI): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PartnerMerchantIdentifier.cy.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e786cd586e9462685a3521f762673dd9bb5e9b43b54077b6b50624231ecae81"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle PayLater Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d5d662680bba9247c12ce7c59071df941be56aae2be2feb62b3fff8557391e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle PayLater Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1a8e3b97a4a4e8588a9e109e44f109e33a61ac0cee93890683fa55fbd99704"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle PayLater Redirection -\u003E Capture Payment -\u003E Retrieve Payment after Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6947e3896a44ba0b1036da6006eae1421d665359e828654555651f258d8f1e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle PayLater Redirection: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab921df66114001217719e294fa6a6e6ba9f7ec0116d6e78d631f53cc98397c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm with Customer Acceptance (off_session) -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62ee343baef1eb1ed3597c9815a4d0bdc2286859f328af924140f90ebf7348d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm Payment -\u003E Attempt Capture on requires_customer_action status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"8201222294b377c4c40621f7fb558a431e88f1c8bb958be70b34454c7f88e3e4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment without payment_method_data: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f808d60828b8d5ef295d4e5737566dd402250ca0d80ec3346f0ad536ba5dba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle PayLater Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a84ffaddba2cf6d598be33d97528f7aa2c301e280486cf79483b9d4b6bd1fad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle PayLater Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48801293e63ddf68d76b7fec36ccb431659a8fec9024f9375cd9e21af5c2e27"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle PayLater Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93095d77e9628f41bf16d7d92e793cd7a169d7386d69ec444c24d0bbd5c2a3f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm Payment -\u003E Handle PayLater Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"749c81177d7192300f4fae416d4dcd038de1863b23864e55d41514962833cdcd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm PayLater Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81774f4b69826a2c9c5ec47171b807623aa910119efc8a45242890ebc03aec9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm PayLater Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment -\u003E Refund Payment -\u003E Sync Refund: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14d5520d63e91c9c684763a9e58100eff160c22e464cd3f610402792b7fd786"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm PayLater Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment -\u003E Partial Refund Payment -\u003E Sync Refund: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b5aa9ace027cb9cc59b7825c7b91a99fb600cd5aa97fa4022449f5ba58def5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm PayLater Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37b97d707f2d720348b1c7ea4f68616b7ab0ccd7b119c1dba8d796396682fde"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm PayLater Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment -\u003E Refund Payment -\u003E Sync Refund: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8cde7ee0803072c3da2030dd1fc3af912cad512757e648c61fa874edba124d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm PayLater Payment -\u003E Handle Bank Redirect Redirection -\u003E Retrieve Payment -\u003E Partial Refund Payment -\u003E Sync Refund: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-PayLater.cy.js"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7f2904f3c5f527a9d5b50753799abff633ebc38c862259b2d8eb5d3cc3da84"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm 3DS payment with UAS routing region set to Region1: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-ThreeDSRoutingRegionUAS.cy.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"26dd765b6138e46203ac859643cc1ef577c5bb16f8058855bd59aaada93ac3c3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm 3DS payment with UAS routing region set to Region2: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-ThreeDSRoutingRegionUAS.cy.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed74985d2b79ab4a834dacada9ee5dfe74cd24455dfdd4885e266ae989654ab2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should still confirm 3DS payment, falling back to the default region on parse failure: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-ThreeDSRoutingRegionUAS.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef09bd8737fe671a8288d2259cc4f3db4d5afdebf2403e22f210f9524a785a4c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should confirm 3DS payment using the default UAS routing region (Region1): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/43-ThreeDSRoutingRegionUAS.cy.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7009120e5c42ebb6497357513ebbeafdcfe9c6b00e338fb069f5ec1bc8d79603"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create confirm payment with external 3ds -\u003E retrieve payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/44-ExternalThreeDS.cy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc418561e6a80f548f36f95c177a544c75772d416e7a9823d340727b57bbe213"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm SEPA Bank Debit -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c87900f2cba4afd75bd349dac0440f24bb861858377541fddf77dcf1c198267"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm ACH Bank Debit -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb681ef25ebb5ea6107304270a0cb82d64dd1bfb2b6983cbc26afdec95d2dc9b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm BECS Bank Debit -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ff94a5bd048f2de2fa45a6e554be956a5b0536910082fd0f544a0da3808b58"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Merchant Payment Methods -\u003E Confirm BACS Bank Debit -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"548620c3329734d8b39220572e6af4bb7b60f7811b72b652ac22c53cd4de782f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: CIT mandate creation -\u003E MIT mandate reuse for SEPA: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3794ed79aa815e4eac86b9f9b30d437ae5c2d47cd765214d776082be9c6da4bc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: CIT mandate creation -\u003E MIT mandate reuse for BECS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7549399ae8f9f3e6be4119c86e65ab05e78b4d5673fdc66e8b53f52aadec78ff"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: CIT mandate creation -\u003E MIT mandate reuse for ACH: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c271f006e1209013d02b205ee5c25ddaf24f6d5f72d992f6b37131cdd419db72"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: CIT mandate creation -\u003E MIT mandate reuse for BACS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/45-BankDebit.cy.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"87864acd33d90682737f1907f31bac3ba878867f15421f7f511032f20d610c15"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent with connector testing data -\u003E Payment Methods Call -\u003E Confirm Payment with connector testing data -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-ConnectorTestingData.cy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac342f8f90ee75309dbd30e5cdaf2aa759f88eeb110d21f0341262072b3f5616"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-ExtendAuthorization.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17809d22488f258cf3f898d2e8c3449ef0e296495aa871de6dced229232629c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Confirm Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-ExtendAuthorization.cy.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8c6287bb4cf41b9823fca9a7b82c5dd4321b2c09c473513026a5381844ea64"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Extend Authorization: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-ExtendAuthorization.cy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d041f8ab3eafaaa78b19b85d0df662ce5f91716f4db628695a9963395a3a77"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Connector Specific Behavior: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-ExtendAuthorization.cy.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc935c72523621557056c8b04a56078f2b47f504a441fcc8f4449eebdd3beee7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-ExtendAuthorization.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"144817692228d27bc8b8975a22e4f4a9ebef95a5613029cff9ca5a49e069a0be"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Confirm Payment Intent (Auto Capture): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-ExtendAuthorization.cy.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e2322ef2b08db058437bae9c37db8cea8d26e57476f7b018dafc868a6aa82c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: [Payment] Extend Authorization - Should Fail (Payment Succeeded): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-ExtendAuthorization.cy.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d8c1abff0ae24bb1b19279ec64c1402cb5c170050afb8424c673c3caa67cd0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Business Profile (L2/L3 enabled) -\u003E Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment with L2/L3 -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-L2L3DataProcessing.cy.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e21b94c27e1b4de120d1929dc5b6a91a611227e345836419c1c682fe11a3bd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Attempt L2/L3 payment WITHOUT is_l2_l3_enabled -\u003E Should process without L2/L3 data: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-L2L3DataProcessing.cy.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4e13a25422c67c8b3b56e67604b75ab1e648a6c3ff567abecce442c1ab2c7a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Setup Step-Up Config -\u003E Create Payment Intent -\u003E Confirm Payment without 3DS -\u003E Verify Step-Up Retry with 3DS -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-StepUpRetries.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5418d5e38ee065fcd19dc22264fea9072f88aba52cc01a7d6e017493a74f5039"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Disable Step-Up Config -\u003E Create Payment Intent -\u003E Confirm Payment without 3DS -\u003E Verify no retry occurred -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/46-StepUpRetries.cy.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e307bc9ead3f2a281bcfef5ec3f955845471c3a6fa4ecdb51ee49e1ee25c1c7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-all-disputes: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"953153cd3511dfe095736354301828f92f9f1b787be94d6414d49899ca1bddeb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-disputes-with-connector-filter: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed09f2d7998d9c2c8974994e84099077ee18b17de74a76f0b730024e841bfe91"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-disputes-with-time-range-filter: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c15c1b0d9df42898ea8839cb3e80175a259c36e401d92e93d74c07f83ad9bde"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-disputes-with-invalid-status-filter-error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"3862b5e8eaf72a8b9801a8823a01bdce103c2600e430f0e6e372ca3142f0b519"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-disputes-with-invalid-stage-filter-error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44ef8ee518fb059045496ffc37611b55ed1aaab2f8022274492fc738a0265ef"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-existing-dispute: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e173a0c68dc7a7e215d1b960509d3a576c85f3dedd56609901682aa0d06efbf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-non-existent-dispute-error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c48659e9bf805e9da50a4fdaa729e67a0eb0c68c639042dd83ff9fe76c80d3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-dispute-with-invalid-id-format: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebf2fb0e9d267e7e0389794e15776dccc2a858337e49531f878d82d7af8d4c5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: accept-existing-dispute: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d879fae17a18ac218b387b025ee77efd906377ac09ef6b36eeeee0101e6f6d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: accept-non-existent-dispute-error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea45471eb72ae200fcb79adc01c363c9f313eae71e578af06f6429875068c19"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: submit-evidence-for-dispute: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"632ad934ef6b73a9c34e9ae688f822b16a2d1f5523f0f279061f99cb4b8802d9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: submit-evidence-for-non-existent-dispute-error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8df1993d3073fc2f369ce06c3949d213ed511612cb4393126b227d40520cea"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: submit-evidence-with-empty-body-error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ef390cc0a3b58f234fbee2f861d240d24c892fe251c073b3fa1c88059552e6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-evidence-for-dispute: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca2bf32dfc1910999d31a7323cba230f192f19ce63e62d0358b50409fbcdad5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: attach-evidence-file-without-evidence-type-error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a929fbb17908a41fb4fa28a821ad06aa9ad170e1f401c41b580ac1ddf78caf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: fetch-disputes-from-connector-happy-path: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e8cb4ac5adf3a3f4f7d9f81502f7f310fba8cf26b3858fb6cfa0177c11afb3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: fetch-disputes-with-query-params: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2581f22bb7dfd491d09bfa73310b57a95e05e429d00853be1a0ba9c56fbd345b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: fetch-disputes-missing-required-params-error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebf8e30e0ada3172581a5feac642998fed5a6bec6bcbe714e4b23dd6ccc268b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: fetch-disputes-invalid-connector-id: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba11736419760baed81f2822c43a587abac6f6d8af7970b466b220c01563437"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-disputes-pagination-edge-case: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c32e819f6067166259ad89cccefa2019551c656c7f131516e7649640045fe9d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list-disputes-large-time-range: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-DisputeTests.cy.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5f3967a54f03196c82dc03a63d35ba67d8b1c5d0c597fc85f8665aa58b9ddc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"033be672c7d5b2db6c5dc52dc7e8b0daa536d65932755c6181d65b508b345059"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update Status Only -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3b33e6c4508600a8d54be3fb75dbeb40344fd28dc1f4a6cc95b8fa383f284a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update with amount_captured -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"35afdd76ef5074d252adeb3a9f750097427f3defdb10fd3d8b22494fd38d7698"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update with Invalid Attempt ID: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"add32a2bccfe9182683a5583343ac0711693be532f38a58bd86495b522651ffb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update with amount_captured exceeding payment amount: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b090a38cad9f2ca5ab4cc6e6c45323154dc291e8d7426f6e52fa60dd9439c9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update with amount_captured equal to payment amount -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1839e6d18762e4a07539045f46a0d345eac966fe0ea01cd6b93768c380254d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update with zero amount_captured -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eef235b8f3b2265d439e26f75efe0b5d67630421b2d3304a870d17fb98964db"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update with amount_captured without attempt_status -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeadc4bff6a9c36c77b091e77a8360723862c2daf10ac4bde1faf4ffc272826c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update with invalid amount_captured type: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaa70154fc22e670f806fea61847f79315a47d36775e531ed81d0862083a873"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Manual Update with Custom Error -\u003E Verify Persistence: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-ManualPaymentUpdate.cy.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bc9f6cf02c0fcd8bc2124b9f83d851035f35a6792ef7a5a45e377536d709a0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment intent -\u003E confirm 3DS -\u003E poll with constructed poll_id -\u003E verify 404: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-PollConfig.cy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde40fee95eae24720e6a8a8990844af1f210aec966a8f96b18db62088a820b8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: poll with invalid poll_id and publishable key returns 404: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-PollConfig.cy.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc94ae2310d390caff1fa4aa36d1efb729b35a137d2af4276d31d8cdefd89ca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: poll with invalid poll_id and merchant api key returns 401: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-PollConfig.cy.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5140f99c7bd031179864700324d0154cb28696daf038eb8ca724c6186500a83"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment intent -\u003E confirm non-3DS payment -\u003E verify success: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-PollConfig.cy.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e4704a59a7b5a66cdb07f64b0630216a9adb6925d92bde700dbebca1dd3de9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment intent -\u003E confirm 3DS -\u003E force sync -\u003E verify status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-PollConfig.cy.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"81422afef5e57f0cabecb1f7dc65f724b3c2a60e32654fc1a6ee2e047e6e6b48"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create authentication processor and update profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-StepUpAuth.cy.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c00aa3a6ebed3eae6a3b5b6d2c57824e50fe0084b8e0c9cae62879eb390141"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create, confirm, authenticate and retrieve payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-StepUpAuth.cy.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1463d4752a9a3d7b694afe4482f818a2943b70e399d705c668ecfcce23d8fc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Reject authentication without a confirmed payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-StepUpAuth.cy.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70c86548cc49f7c6006bc757fa55b5f2651dfdde8c3c2b360e34fc362728467"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Authenticate payment with merchant codes: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-StepUpAuth.cy.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"c486598a689878d35c7d9d2af06647aef680bed73261584c33a6d81e1635805e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Authenticate and authorize a Visa frictionless payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-StepUpAuth.cy.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70b0ba556c26b0ae9f258bc196c71d9565918871c156c55cea6a2f890b9e247"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Authenticate a Mastercard challenge payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-StepUpAuth.cy.js"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dc21e15401decc754ecdfb1a03c9f5db906b59a5ee9a22e37742ddb562f068"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-customer-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd8909e64ac0c5b6b80c489e0cc59d1c80c53109caf1bc177ed0a9b6b1198f4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: paypal-wallet-mandate-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d363fed291de79a57addae65b633a028c0fced6e0e9ef5e9d5f62f474e2c248"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-wallet-redirection-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e866fb90fdaeba9cb8134676e3ae1dfe72f2c91c68ee166362baf0cb8a2468"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-after-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aed1fd0c892c41b580f134c1ced56ee5e0cd7746b33964234332d64e495cfae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-customer-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e126e683b2d19b45433fb1ee4eafad6f3ad34cee2bcfbcecbaf96831a7578649"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: kakaopay-wallet-mandate-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"097fb94bd6dcc103dff80aef49f04b5581a9215deb628a1bf2f15c9ac584516a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-wallet-redirection-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1dc49895c8711b91108a1a06a0767e94656b0b19065cce756b5640d6eae72e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-after-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d919d6360ca5a36f02e52f28806b0746e90d8e90dc6778fef72701f9e5c226d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-customer-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"586a0dd3caf409d45702f70f1b6b1b02657c0582f95bd5d5b23b41eef1578c85"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: gcash-wallet-mandate-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b2ad83c2a0eabceda2135692f726fff6ee3b7c7977b3fe15bdb4dcb5b56c68"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-wallet-redirection-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4204b2ade656ebcab22c0ca0745e19d0fa41fc7249e325a8a6fcf3b95e508bb5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-after-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60c156bdbbccf6ab4daecb634060988f7c514248a98a64b42540c1520a304bf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-customer-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3564458d0bf1f7bebfc2c7d535bca12eb73c9930da493236aa85e0204822a234"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: twint-wallet-mandate-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1265fe94d52caa5de62294bcfc6e9cb03e069f6f07b2dc6cfac82434f9853914"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-wallet-redirection-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f795da674696f98652dcbbc88381c1e6619d2f10ee041659396efbdf4db9202"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-after-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"be884a128583ebf3713316cb1ea2ad65c80725cdeec87eda79011803e846f2dd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-customer-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78729e3b6fd3cb711bc090164dbe1a67a66dcb035c407530daeb3e9dce1212b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: dana-wallet-mandate-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"552d22ff0e7a837f2b472ce5b90fb8b320f828dba8cff8133cbd0c3ec8a70469"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-wallet-redirection-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb398e7d42f2d8440f962accdeb4e01909746ff7210c2d555ac1a5b762761e7c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-after-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"808a7b834e1f9cc7497f375d2368e1437050994ac74e8a28eb89f3b0b54e8df3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-customer-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f59985bd9733acc6128c5162e08844cffcf0c43b1253f233514acaf2cb44f2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: gopay-wallet-mandate-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbe9daabd89a108f55f8eac47fc2c144d54db8c6c2683c5409cebc86acb6633"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-wallet-redirection-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac62a8c6cf4b2e6267c00c5599516b94f679b20ece3bcc2474cbe6c4a9e6d10"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-after-cit-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/47-WalletMandates.cy.js"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc516c78337cefb1022084d2840e487b2cf12370959faec65ad64239c533e16"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should block payment after card_ip_blocking threshold is reached: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-CardTestingGuard.cy.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4b6ba24f91bd3cfd1af42b716d34d8b63be0e59a9adad95d8e1e4aaa190c95"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should block payment after customer_id_blocking threshold is reached: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-CardTestingGuard.cy.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da026e5d60fd6c7ca3412c2143523725865ca7a7fb8c8bc56f9bab75e549bfc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should block payment after guest_user_card_blocking threshold is reached: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-CardTestingGuard.cy.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"58aac3e349f02879fe1df28b44e13485faec959a725ac2560e40e72850807af7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should allow payment when failures are below threshold: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-CardTestingGuard.cy.js"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"71478b7c37b298ed976aed336ddd622e75d145c57b334238b3d14cb286a6e7cf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should not block payment when card_testing_guard is disabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-CardTestingGuard.cy.js"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"e928ecec7c2a259c25c779176343412e5437acfae96a677632d9bac243530c20"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: mit-card-limited-data-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-MITWithLimitedCardData.cy.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"66eae91a3583429a90c7adf80f3a5e087c1752ebcb6a515bee7ade49ca233eff"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent with Payment Link: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7c07af6385c80e7af4227e19961f7ecab7589bed9c3accda0fbe14ee887685"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Initiate Payment Link (Customer-Facing): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3976786a97e8302edb39f1c4e178d0f64e7f9d4f5758cf988940fa67f3c4b06f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment Link (Merchant API): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0b1240d501fb5409c156aed8324a0a69ad8d54185be63ed133c8afa51b394e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Links: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"861a1820b006d1fd8dac179dd3e71b34fd47c96f134d9875272c81e1432ef44a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent with Payment Link: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5683cc49e48609531fadef9af0425d8b6f750585850a5f1e0ff146011fc12f4f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Visit payment page and confirm with card (UI): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6bb93813e7de418ad266b4e028c80779272cc883a182797230f5a69f951ac9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment after card payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3befb8d7df8eb68a90ae839eb6679a79008668ea98ba0184f84a9b103b94945"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Link with custom theme color: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f34cb4407bbf647dba6b3008b0814d3980f82e7d42379e64f2a52a97a2f0c3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Link with merchant logo: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1a85ff2007eb360f70ff79bdbf49b51fec8d7bc5acc6c77e49c5baa0a920fd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Link with accordion SDK layout: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd32ab35d177015d34a77abb82854c84eb7e7899114378ff51d3b8f04445df2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Link with tabs SDK layout: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0377e9a90e6e0380fc9f21565e67b30a1721365d3b3e3aa9495d09b8ff36e2ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Visit payment page with tabs layout and confirm with card: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeb11fcf7607cee047a5a40258cc8fb3e44f1adfd98b3b3cc2a6c0f7edbf08d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent with Payment Link for 3DS card: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd95d714cbad9312766eaa1d7d197aa46871c8c436e4eb59e10e7e8b5b5fbc8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Visit payment page and confirm with 3DS card: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"525db243d3c6704d722c5c5d6f5ae43734752aa109f5f5508a9e554966d3420a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment after 3DS card payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"921ac1b7c82e90ec035b5c145ae31c3ff0c0e4d2359787036e5b6bff5d1b927f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent without Payment Link - should not have payment_link in response: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8a2245fe402b653bf2a3c10debc7b27f8eeeb2b3d3d4370377469d539fefed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve non-existent Payment Link - should return 404: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/48-PaymentLink.cy.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeb9045b99a8d7c70e868caad4045ca3bb8b2c30434ca0102aba4f3fbddccbd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"13685262fe6b97ead8a53d3e62773054cae97cac82e3c17377ace5cbc78783e7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfecee4232f66dd6d874f4d23ec56489ac40bde97fc684f543401ccee3b7e973"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba37890fb599b28fdcce39f95dc1de4f0a05562bc5aae008a3e3386a6c257d4d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f08af7c9f6510805c0dd823823ad483ee9a90dcec53befbbcf2574feaabfbf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"985132fe9f7df49fbd548f713e03236da6262f9622144f7f63bdc20d9963a528"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f4c287c39b3516063f2e698ebd4d6b3de53de83e1cda3acdaddf80207de7f0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update-payment_status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfc4d54b7e09b610d28cc5aee1445a606cd0c1e974955c968913dc4be14d6f9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: send-webhook: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d85cb302768bf7d4514697d784c2691de65fa389d4f514c3a0d9009ab8b3f7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f6998be79ce002f102330548d1cac2c2fa7fa8d08e6f8092a36ed7280a5e5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment with Partial Auth -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-PartialAuthorization.cy.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"30074dc8bef7bba93ae30d96adce349ec7671581f635e902d60958804d665b1d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment with Partial Auth -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-PartialAuthorization.cy.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"68365e9c7ffc868b91cf4310b642e8b50294a50acc2256eb419c46830df3595e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79faa001b1bfcc1b4f1f82b34f87399e9595133bfee8c9912510346ec741fd0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: api-key-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"027e3259f5bf2ee91154e3e1c12f10cf2ce4c1e616203b0f7bc7d22e9894e3d1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0e0edafd7b321589e9273e83834c5f2a89ed14312f2469db31b15344f154ab"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9812d854a972adac2d8f29ecd06b62b74d35da143e1d18ed5f030c59e5e2ed44"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8d65c200e3eb688563acddc0cad80f1d8ffcab76c930d4877ec14d46d34776"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS Auto Capture: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"da041c68fc3a0c00ade7775ec20ff8a3909250c8681944fd447a1f915eadfd80"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: refund-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"86617f4351ec13f371b0586daafc1c6f4010e6517c12029bee0dfa6386891628"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: sync-refund-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6c3e1e9f134b4773b79860bf6065cab8ba570f12f824b57f735d98d33bbb06"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update-refund_status: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdebb80cabebbd06196c4fe7da178d7444abda0bb74fa6d150f6271479ae14d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: send-refund-webhook: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"667723327ac49b3b993c73e88203e73ec3f49e3254bf2a6e89088688f1e7b847"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Sync Refund Call Test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/50-RefundWebhook.cy.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b831c8f2994be8027e129ebd9531597b8375311ec879fcd879b0142af4e17f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf1759766d2352e3fec564a1ee1f9cbe93303f6a722710ac04b57a3ca6c3676"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Set Extended Card Info config with RSA public key: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d57acd6ac766a78f57383672117c1ce16c59ecbf8a8352dc7fc66bad995886"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Enable Extended Card Info on business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f83ac2adaf6ea3c5cc22768513bb95c081d7a69f46d85812b9ac5fc4009d60b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24fe8f00bcaa625f0d2285044d96fbea38037dff95f98c9aa6db91cf469e702"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad19b01affed39d84498f9dbd24d9dc77a4d1c993dededa49193f7797a1ae93"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Payment with card (No3DS auto capture): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7176849386980528fea2a19582df4232345744a2dd51fc500ca3942ebcb5538"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Extended Card Info - expect 200 with encrypted payload: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e912049b70e74968d932728de862ff019764fb554303dc8aa8b9d25300ab4b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Disable Extended Card Info on business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00ad5c0b84cd5998bff29e5e7a1d9f2401452e9278c1769f4968c25f05a69c2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4575951c9b7540832667ce5cb637f803b3609511a6b4101eb17c5f3251e02e91"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadd528bd274e1b6e14e2b88e473852c116d606590e1237d116177f5e98f8e28"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Payment with card (No3DS auto capture): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e753cd8947a05cf4011da927428b624a3832993d3d8f38684bb13151e2d13b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Extended Card Info - expect 404 (feature disabled, no data stored): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c7b0e61c4801257e6d0391165fbfcce487c24b625ef29035e99a9a64f8aecd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Enable Extended Card BIN via configs API: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eabb245f3d249a6237724c3babfb18f3e8a9764fe266c7f36c2b52d13733b1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"659039424f875f5a276fc70815ef116b5ad057c77739073c3bb1b23b643f252b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"59dbe1b142749a0c8e7e093175c70c8d83203404ae304ba494e0d024af487e52"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Payment with card (No3DS auto capture): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8827a476943c09361bcab85cfcfdfaceb791d08c7cc6ed3c9e5ebd8b4ccef955"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"add6b5772be4433bdeaac2cfeac76fd39b5f68f79155da192b014f820a4872ff"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Methods Call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61a2365b4c022379204e7e221c95fc0095899bb1d1e3e62f08af482b09dea1a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm Payment with card (No3DS auto capture): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-ExtendedCardInfo.cy.js"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e8c2aa92d50af7e2d3e7ef978a9121774d661be0a3ff33f8518ae5ea1f87f7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent with feature_metadata \u2192 Create\u002BConfirm Payment with feature_metadata \u2192 Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/51-FeatureMetadata.cy.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60c3890c5cab69fee461c4dc7842f6e0a26953cb1bcf5ddca0ee83a126af4d4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AcquirerConfigs.cy.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b556087061e0a1fceee6c1505167af31bc14b0853eab4d5bcdcea2436074de53"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Acquirer Config (Visa, is_default=true): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AcquirerConfigs.cy.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b6ca29eb4261d48e6eadbd2ce6281cc2c6d5855ba238059990bd6017961d5c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Acquirer Config: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AcquirerConfigs.cy.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acdbc560147cd1d18d5ecba529e763ad23dad20fc4f4c5afc47766cc7e936fe"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Business Profile \u2014 Verify acquirer_config_bucket populated: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AcquirerConfigs.cy.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"140da766374f4be5bf71f32f3a29ccc45f9b01c47f0fed5501dd1c4ed7ac0a17"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update with non-existent profile_acquirer_id \u2192 404 HE_02: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AcquirerConfigs.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4107fdd757fe2729a824650b32489a52fe11cdffa04c7ddb40f337a57b49a9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update without network field \u2192 422 IR_06: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AcquirerConfigs.cy.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e1df54dd44cc0cb214b380eeec24c92e534420fa605cef588fc368220aa156"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Acquirer Config (Mastercard): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AcquirerConfigs.cy.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"876434bbc1fd30908437415db6ca7ff197baa404f9b9d5f66867e7a2c06fdd90"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Business Profile \u2014 Verify both acquirer configs: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AcquirerConfigs.cy.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"da79dcb1dd434a2cff0c4df4668fad29113a32b3809bb725e825f30d52c7166a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create with non-existent profile_id \u2192 404 HE_02: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AcquirerConfigs.cy.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"46953f95dc44b2fad003046d8d98d1d35cec81ee41a664723f36af45cff562cb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d88332085802207b715a47f15fcb03c02627eb36f7d53f2b4b8de13c2bae936"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7a4a3c27d38b6736e8d0a78ad08ec845f3568085c5d688e902a1faf9ad8624"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-paypal-redirect-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"087df09a238e1c157268cbae90a7b595064c0eca5fc9d5c5826bdf92eb296a22"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: sync-payment-status-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42a212e3c9380f5da3774b7f50fd8d081df3f8e81607ecdf5aa0080133f7b1b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"27084b3c421a92225f34ecd51429565c03958845910c48ff21e2ebffe892b84a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d1732a2b1d04fb815bacdfe0c6a2cf1a82694c7284499356c998716a98a262"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-skrill-redirect-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b5c6c1461db770c9f4837fb199406e75257e801e31bb83f013ff19b40f3fdc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: sync-payment-status-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8706a3e93b5667264087c40d2577c3d80da650c2137bed36ef6232f0508f335"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acd5430b9eb9daf500fbba1602309397b7e5f0b848e9d046f252e13e435bcdf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ecee5f83e0519b25108b23a71a6b59cf6098de3958181bec00e76c9c011661"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-klarna-redirect-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb880190ffb30497d5f0b28e2518563e35e2b9664bc78405c2e6dbb6859d7bd8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-paylater-redirection-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead3438cbcf5acab02283063c14f62b3fc0ddc6ab914772bef962a82b0f75e8b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: sync-payment-status-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"187234f62cf14ef760627b5a82aa891a5a08309229305d85d049c572cbc583ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"016ec69399b2b26d5f55560e07c8cc36dde5de421f591fb93b2e0f722affe3d0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment_methods-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"2764c7e38c22041666243ae742007f4248460862398644a853f043a91f2bc4d8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-atome-redirect-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360736e6fa69d71dff5a3e0268916bd209e0e776b80bb792b61d8b515b87832"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: handle-paylater-redirection-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea739902d1117d52ba9d221b7c8d089fe2f4c6359cd744dbdc520eaf4e29f1e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: sync-payment-status-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-AlternativePayments.cy.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f5da54f424639681be4f29d97b7d1acc6e9f76d99f61d7c7a5944a2122e52d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4fc5a53d2bd548f4efdbf4931f588719fc96519a794eeecdfa94d000bd4d3d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm with valid SDK Authorization: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"474788f45b7d5e1c532e244dbf62aaa23197e21d310859ffe0411bc4563cbf6f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7550ac2526aa95e7e7bb1336a2d685df86167a66c4760d8e2ac17036ad65e125"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9920177c7ae5766fe936146b3a8fbb132e954e8bd724b695d47dd602cf953ab0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm with invalid sdk_authorization - expect 401: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e597c491e40be842bc64116092b53a3fe3030aa2e40c3268d92cc5747264b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d712d8b07171044d290697b7274817f1a7c1d42a46ef9508ec5f081f930e5a76"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm without sdk_authorization - legacy fallback: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c8997c7e0d63dc224f1bcdb445f472a26b8cc0ab7a3984c1e913d64a9511d0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"310444937dfbdc5efdd75a3e6fc43f22bbf7919c0b4a8e4f62724485a7022e24"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent with 60s session expiry: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"d256e3930c68377c31f1052a9b2a05b258143891a6438355437297c066b22409"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Wait for Redis session TTL to expire: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d674a15c063203880f9bacbcf1c87afbf1669c65137086b74e704f0e3e987494"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm with expired sdk_authorization - expect 401: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-ClientSessionValidation.cy.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"83499c86add2681a9ba619f3c54fdd13f22524821336e8fa3190c873dd1bec0d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-frm-connector-signifyd-and-approve-payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-FRM.cy.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c38d59858d0d8e83553072b5adb88f487aa2deff9b725934aa2a3ee1b9cac6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: skip-frm-when-profile-routes-to-connector-without-mca: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-FRM.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09f7cc855c9731c164cc501479fa0f2c09c41c80b4a72f220319fe7ca2a19e5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent with is_iframe_redirection_enabled -\u003E Confirm Payment -\u003E Verify Redirect Response -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-IframeRedirection.cy.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a971695419b85918aee73537d5930a736c9f19fd49bc244c4a258dfa2cdf25d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent without iframe flag -\u003E Confirm Payment -\u003E Verify redirect goes to external URL (not inside popup): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-IframeRedirection.cy.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ac3aeb42ef6ae9c149036d21794bda50469e6b86d553ebd6e810972100694f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment with iframe flag but no_three_ds -\u003E Confirm -\u003E Verify redirect still inside popup: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-IframeRedirection.cy.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f3ce19f644a7f373952a5b8a2265d27b7b0e0fb0ae88b82f246db0d7a5bf88"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E First Partial Capture -\u003E Second Partial Capture -\u003E Third Partial Capture -\u003E Retrieve Payment after Multiple Captures: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-MultipleCapture.cy.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0b0296e7045b6fb9f16343e3cd750fb1f4ae6cf05938a05e4d731b62774bf0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E First Partial Capture -\u003E Over-capture Attempt: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-MultipleCapture.cy.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f00d9c4d98874a2108a915e016297addd97d65fa483d4fcb366b96718f31f3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment with order_details -\u003E Retrieve Payment with order_details: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-OrderDetails.cy.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec49ec7fd5d96d992d1f2b1116d72aa75061cc80fa0641090ddcc12896d22b8e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment with multiple order_details -\u003E Retrieve Payment with order_details: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-OrderDetails.cy.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59ad45a9bcb19d2d39a4773ea6d8e0d96192ca87f0d8a44a570ca61d4d6f128"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment with missing product_name -\u003E Expect validation error IR_06: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-OrderDetails.cy.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a5b1720a7d79d159b24f52a7ce51c0094affe3b428d10cf6c3a5817efe80c3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment intent -\u003E confirm payment -\u003E verify payment response hash: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-PaymentResponseHash.cy.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50bed02ead4bbf3959c4df0aac45cb4ab5e0fd24aadfff16c08cba046844f55"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment \u2192 Confirm \u2192 POST /relay (refund) \u2192 GET /relay \u2192 GET /relay?force_sync: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-RelayOperations.cy.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f6cd0c56b3baf92f7646a2be78ae2735e64053dd20189e8a60a2c16657175f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment (manual) \u2192 Confirm \u2192 POST /relay (capture) \u2192 GET /relay: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-RelayOperations.cy.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0a2f5a22b66f6f9d643bdd13985cdf54b9580889ca2881654daa23db7a1f21"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: POST /relay without connector_id \u2192 400 IR_06: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-RelayOperations.cy.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f95ca55eafe19ecfcb8afcd62f63ba017338fc1cf41781a9cf1cbd1dbb3191"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: POST /relay with invalid relay type \u2192 400 IR_06: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-RelayOperations.cy.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eea20279778e8bea901f123c455642e636d7a9b2277fa6993f6355e32bbd301"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: GET /relay with non-existent relay_id \u2192 400 IR_37: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-RelayOperations.cy.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e1930f9bbe486885490340dcc6b7f4d12990e33db09d6b55a66366ddabfe0c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: enable-use-billing-as-payment-method-billing: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-UseBillingAsPaymentMethodBilling.cy.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefe185d377535c0c288d8a9e8442eea9b8cbc0d30ceca1c35992a11faac5298"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-confirm-payment-with-billing-flag-enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-UseBillingAsPaymentMethodBilling.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b775610d66778c7095954d053d90f85c4e7e1329b1d77964c484f79f857fe456"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-UseBillingAsPaymentMethodBilling.cy.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d513fee2bc921b65ca8db065bf695c0978a3eb447187c41d6d48bdfbd2b01a72"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: disable-use-billing-as-payment-method-billing: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-UseBillingAsPaymentMethodBilling.cy.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"7403d951283ef06fc8c7788e6225b2a90a5b297f6f7f943779989cecb8dd4d20"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-confirm-payment-with-billing-flag-disabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-UseBillingAsPaymentMethodBilling.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39779e284e8af226fbad889b19edbd658cfa8f539978ab05e493135b4df1385"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c767081355491e87f07df2cf22ef3faae6a5314c3d1025d943811747b920a27"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1554dea877fd229d7be711b117b7b91f816a235fb464ba026401f9efd6e09ee4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: OXXO invalid voucher value should return deserialization error: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb488475a84fe9ded06e2ad269ca25eef45023a78e8220c13193e8c68af4e19"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38676c22b2d84ab9f1d8958a740c9b8d320f56f57f34ffb2bf116c720013396"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2772a1f8e1bfb5c5db0af5011725269b2b41914e5adfbef3bd669f8d4033da"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"61168b5700fac84d140db9afc1982bfbc7d20d732b51d80fe9861bea1af98e12"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb2438f190c0d77afe8d443285d2542867a1689424609125967618ef608df69"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d6e1741544d209225194150c626a79c75e4b0bc89e41d4dd93e683ef61cc6a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"de64700c4ff42200b68facc7d82645343ecaf8cf8d5f3e64432c2fec625e7069"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c5270405d7e3d042a37765d88fdde6c13f1c3d7302d3ae20def88d16da68ad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm Voucher Payment -\u003E Handle Voucher Redirection -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/52-VoucherPayment.cy.js"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7ea6a83901bc6b1d7ac0f5f341086b83c45f05994c13661b2aa9bf22193dfb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Enable Clear PAN Retry -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/53-ClearPanRetry.cy.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3df17a2f7d72e9b913b742588bfd9e3e08e1abf5061f5d6dcc2b763c6997b6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Disable Clear PAN Retry -\u003E Create Payment Intent -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/53-ClearPanRetry.cy.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8946c6251c402d85300fff0b8c95938794714614ee3ce2bf26fd38f5523d942"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Reset business profile to disable clear PAN retries: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/53-ClearPanRetry.cy.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d3a3e1c8a191312eda01cb5ba4dd41fdd24bed8923908e17e3d65ca03215bf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Get Delayed Session Token: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/53-DelayedSessionToken.cy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92ebcb789b13b567a7fec94f3def358e4f35a6df84aa0f7310f56906ae262a4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Session Token without client_secret: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/53-DelayedSessionToken.cy.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"284afc61645a932c322170a9f3d51463df25339934e02a49ddef89c266a65f7c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Session Token with invalid payment_id: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/53-DelayedSessionToken.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"04da85ce19d55fa6d3bd71d56c46d7ba164376249e9e64fc8466c08be58c18b8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: update business profile with auto_fallback_capture_method disabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-AutoFallbackCaptureMethod.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f1505f1ec1e321471e3109964d75c8f0edc4042610cd7c9da5be70db26d5bf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-AutoFallbackCaptureMethod.cy.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db19a5d08c5b5bf1042eca9bde6cfc6f36197018bfffee502479f012d63eeab"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-AutoFallbackCaptureMethod.cy.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4253c2377f1f4b19b59953ed688bfc9ea63f30099263a7d2685cb7fc73d27756"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-AutoFallbackCaptureMethod.cy.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76ffd2535d985d9f0b4ec15e0d582bb1f89eaee43a25ff459bfc258939ab745"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: update business profile with auto_fallback_capture_method enabled: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-AutoFallbackCaptureMethod.cy.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"814e5070ff512e6a0bc356bc95ef5ffeca8689a5df66a3a4d8ca3726d4706408"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-AutoFallbackCaptureMethod.cy.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b753902925fabe6595e3ae4ce3745ccc52ad2169aeeb5f90827e847b0bedf51"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm-payment-call-test with capture_method_applied automatic: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-AutoFallbackCaptureMethod.cy.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e344b999bc9512b09cfc8d4c40c7e6a0a8f320f9dcb4d438582ff161a6bbe1d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-AutoFallbackCaptureMethod.cy.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8f16e1b6c253a5f36e494a82613de71ba68752f255feeca34dcbdaabf9508d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create payment with non-existent customer_id \u2014 verify implicit creation: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-BlockImplicitCustomerCreation.cy.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce9645f571901e8a675d57f996626bb7ee9152d49271cfde2456439219fce96"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: set block config, create payment with non-existent customer (expect 404), verify customer not created: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-BlockImplicitCustomerCreation.cy.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"108375145b67274525ebf9ddc445f6610e68b33999d288d10fd475185956d266"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: reset block config, create payment with non-existent customer (expect 200), verify customer created: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-BlockImplicitCustomerCreation.cy.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c75458eb17f1121b64296ec5e1d258682efe9bc116f30947de6e8959c5a30d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-confirm-payment-without-card-holder-name: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-CardHolderNameBillingFallback.cy.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6708525b19a13d2188c8de8cd9fecf6bf32a7d8fd4ed58d29f38e68bc5f77d1e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: retrieve-payment-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-CardHolderNameBillingFallback.cy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"420c4b48cdb06a4c1f90e64b7106ca17b8e5718b17a64704fd8d71a4a16229a3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create-confirm-payment-without-any-cardholder-name: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-CardHolderNameBillingFallback.cy.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"2700ea1c96de63ab514046599e4c0ce640e54bd8ec276bf9d6176daa6131af75"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"45335c6af5b8f4bbfdc01aa97abe3b149f0be785a4f94911cee72264df6cf4e3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Visa - Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbb0845e7dc7d89cc6366bfe97ddb9ee9e812d9c3578e5e75a189ce9b4a8a65"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Mastercard - Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c977b711eab3db0643fa1555ac1f9abe18525cbabda89b7fd01b612fe5586c7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Amex - Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6d68af1458304ef9b9b7d69167daf6de101aecc00e24937c8852bd3f935c9b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2096266f0ff1e4f885f09b33f609f19c7c44d19aae2e522e7e419159edcaf60"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Enable Connector Agnostic for Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"b659d308785f505ff89027da58c7dae422970d3a7c4dce08ceb07aea3bf618ca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"de883be5bd77caf9524ca91206050278e03dadb9428b618e95b9a6a0c1586c76"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e880708cdb520c3b21e16e99654ffa8eefbd9ed175a520bc08adad14a47579b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"67375f903fa8e7e5a776b786bf7c29037800ea5a4ed2de4766c06d2b96cc7e6e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a361f10987587dc932b8b64f3852e578d6193f7242716b1fecf3491af2af04d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment after CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa210f1b9f2fb2e3e86425ad1f14b11d5b87a04c9064c5901928eee64ae7aa36"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer using Client Secret: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"76daaada7f7efa3099191f48dc440bf18a46f20279d47a9b63c365f7077a99f8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent for MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"7beb7756780c3779f0d70679170f6d686a303b0f18cbc61164f7d697a29f6fc2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"030890c6924aacd3f08a52f78409d2cd01a7c1526c4992c068bf7cdf3810b80e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (Token): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2a834f7427595e59e9b7b2bd72f4b190e85926cf08dde407aaf34596dceb67"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment after MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc1d71649f1e3978ff4891120122df05a293f990d59e5ec7532dd3334b4b3b1"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc6d4d6f9205980d70d6823d2d8c3d2b65e5338738eb2bf08d73c43faa8b35a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c69e9eb3945aff40ee84a7cfcc4370fec5b0093b01b9efe65bd2e488e4d6200"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbf739f4d740343ba97e1404a9716f98cabaa029fccec00ad27b9619e9ffe68"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment after CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd26d5c759d6683750538a11c59c4a0cffd48aa61cf5c5f128e3bfb02636f57"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (PMID): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7cb1124bc8ba23c1c4d56620fbe23cc455e23922f2c6c4b534e944210b33ba"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment after MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f78ef33627717e27e7d0a464c1b9abbcdddddb03cab40c0fab6d268b0ab727e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e7c0238527ac083256fa020064df6d32eb7c4c4ca273e10f491d2cdbb96732"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT (Zero Auth): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e72c479feff4798d56f04027347910418d5664c511601a533fbb89bba795de"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment after CIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7109d86434d01bcbc6b53a4301bcd5e385e86a120848a63aa3b0ec1090eaad"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: List Payment Method for Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1625ae4fd5f3b56fbb488bfe61648a2848dfb6f38b9985b151a48a95b335a4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (PMID): No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"58767df2c066642e32b64ac69840a7229ffe3987f9af1e1d8a534ca7426aaf56"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment after MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3edb92a623067757dbdacdacb9c366a39291502144efdb7672b26150f1d8ffa"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3c08584bf6242bb772440ddca19d89e65de8a6862a2b13ad463301acb14ba5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Visa - Create Payment Intent -\u003E Confirm CIT -\u003E List Payment Methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f48771b313098fe0908100b0c5cfbc355675e60f6110d44098c69daa9a5750d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Mastercard - Create Payment Intent -\u003E Confirm CIT -\u003E List Payment Methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8867b1da06389fd9799cfffe58abd2d3c8d1d1939610a6e5d4e547e575baea10"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Amex - Create Payment Intent -\u003E Confirm CIT -\u003E List Payment Methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"4533416a4e600e98b760fbc3fa1110925f6c7639884674d02aa6bf7727eb9755"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f5eba06d3043763cd327b0ff97d02265e8d9c8a05cf08b4f3cc5eda6c811fb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Visa - Create Payment Intent -\u003E Confirm CIT -\u003E List Payment Methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"f353d1b874bec9358f6ddcf35b42f2baf7cd480c24a6cd297061026b7d697e7a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Mastercard - Create Payment Intent -\u003E Confirm CIT -\u003E List Payment Methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"6293a380acc6db0b6a5468eb445427ff87cbc9f31d667d03900265801f815497"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Amex - Create Payment Intent -\u003E Confirm CIT -\u003E List Payment Methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b72d1a43b37164c947f2cbe25a93ce6cf9cecbfd178f6702e8a1405d176be41"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS MIT (PMID) using the default card: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ced78fdc90a9bce19ecea9eb2dcb78b4ff1b770dc8f90738766052329883bd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment after MIT: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aa1cd1f5ac833badc183c1e50f76e59f9dcf0f28e96eaeae9899f6601229cd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Delete merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c7ba0183cedc5a02e05eb4849de7197777328c722eae1c20cdb46313c105cc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Delete business profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81d6c8bea77f3225c0263ceec60a71719ce321053ceacd95f106bca649c953a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Restore previous profile and merchant connector account: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorAgnosticMandates.cy.js"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4b09b0634d5906ac322a8a9814b95ce2865ad9afebb49798ea2806995f2868"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm Payment with connector metadata -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorIntentMetadata.cy.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9209d5d0518e115525f1d2f0e796885d107906a3ea9d2f0818d7dcdab062f8ae"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm payment with connector metadata: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorIntentMetadata.cy.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dd5bd4efb5302646ec6fefb3e7efcfcd259f5dabd2d232f773fe12434b5d0e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm AFT payment without connector metadata: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorIntentMetadata.cy.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e3a9756508290015afdeccf42e51c6cf284f2dbbd5a4137cd066188737e38e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm payment with unknown field in connector metadata: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorIntentMetadata.cy.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1a3f3e7c888f8030b8af5e9e60c1164b72d61b2a435abd75366462fc23af8d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm payment with connector metadata: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorIntentMetadata.cy.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b71fdae28a4eb0be945d813bdd14f0babb3e821b1fdfd913ab1b5e609fb68cf"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm payment without connector metadata: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorIntentMetadata.cy.js"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"632eb707aff98c41ea368887d63ab40d0fb2306de9a044ad83d1b49672d09259"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm payment with connector metadata missing funding transaction type: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorIntentMetadata.cy.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3b80e3b70a156ea2eb810e9a15f00df2640395025138324f49a7cd0fdf1eb8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm payment with connector metadata missing payment purpose: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorIntentMetadata.cy.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a49ded6af1c80f6c7485766faa254343b9f03364d96f039b108dde4bb8cf7d5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create\u002BConfirm payment with unknown field in connector metadata: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ConnectorIntentMetadata.cy.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"333349e16ad7f18ab187067e89906e77ad013978fbc370af2c4d8c4b5232724a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create intent: ${label}: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-IntegrationTypeValidation.cy.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b73b7a793f413e0efe4c2106c009d4c9c9135f82d313d3de63ca7ff32b21891"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: update intent: ${label}: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-IntegrationTypeValidation.cy.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"517f3e017c651847b1ec37e39de31713326db1d2c8cd073f54b69d6ba85eea86"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment intent create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"73679b537e4b66752a8622117edfbb3090ed5c96c15ed8c34ad1458dc0742f88"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment eligibility check surfaces an eligible offer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"465b2935e18ffd41f9f65f79a5b275560f96d985c77529b1a930f5d61b3cf3ea"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm call applies the selected offer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"25572ac56bfdf1af388b2f1fb2f661c5ca102fce92f08d931a2bdbd5e15bfe92"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: applied_offer is reflected on payment retrieve: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca8bd9164f3cfa1ca9ba9d746dfc142784ee62e9d5d5bc15061792f252ba235"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment intent create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"399ecabef806897d2916777a049a2da99d69e544c7fe80c35ad1ac7ebe6a4752"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: confirm call without offer_details leaves applied_offer null: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70e969a056258ea154a4ee2325a3433122e4ec2858ddfc7b49e1c4fda474718"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment intent create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"deef6fc7a9e55c4e17e0c9619c4754b25b5e50b4a4ef7963bd49fbdf57dfd284"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment method list signals an eligibility check is required: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8455a484a6d031aae823e66490c5ec68c325ca6facded3c44513954670020ee0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: create customer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c768aae6722346458fc4f2f1a69dba0b55d24ce7d2802031e5b511eca0c3c1d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: save a card via a plain create\u002Bconfirm payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4ee3eca35811871ae61b2836750269f620dc0d5ee849ed09b867b4f4800719"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: list customer payment methods: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2576a91f203602c9b5c040dd6c3f30a5b3740d0aab2bb70d7724532031f98b"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment intent create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e27d31f3e5ac178652c4dac93f4d8e2934d28b8392e0ba48cd7c70733699110"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: payment eligibility check surfaces an eligible offer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"95886bb7ff1f67f9e21d1c4423471624f8393f9e47a03eaec5ce68278273f025"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: saved-card confirm call applies the selected offer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"25babf7eeb48a46d2b873f9c8ad6fc07b4e669c96f7e4a11f809be81c4d47f34"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: applied_offer is reflected on payment retrieve: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngine.cy.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"35973669113f7c9e5d586d016506f2a1d4c54f87dc0055ed39de449e8b7e07f6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: browse offers without an order context: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngineBrowse.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bb077bd03c156750a9a8b95da4a1dc7cd48e3b7b1ca921137e3b288eec2483"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: browse offers with an order context: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OfferEngineBrowse.cy.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"099dbd65603840f63d89a32d747fc3eb2a6e9e58ecc875196ed3b07b5295a6b0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E List Payment Methods -\u003E Confirm with OpenBankingPIS -\u003E Post Session Tokens -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OpenBanking.cy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"33285d304d12499e11e729879d98bebce99439f27966c98358198f8b5308b11c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Confirm without billing country -\u003E Expect failure: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-OpenBanking.cy.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a6c2026e5913cf35e0c292e66278b01351dd0cda27310a344724479a5be806"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods -\u003E Confirm Payment -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ProcessingMethodId.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"246662b11917a392e8c05210c68374d6f3d4533bfe9538e1603b90c2a1f3b40c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Confirm No 3DS CIT with processing_method_id metadata: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ProcessingMethodId.cy.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b4170fad4ff47629941c8dd9c0d1f48be59b031bf7261d5a3c83853e9169ab"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Retrieve Payment with processing_method_id metadata: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-ProcessingMethodId.cy.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b8cb490baea3b1ff47e018636caa14556beb97a2ec14bf7b11dede0c90dccb"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Refund with Instant Type -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-RefundType.cy.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2451ffe8400c19a85a7a9bc5c66b3884ff6354ca11d2987b14e1efcbc10f9614"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent -\u003E Payment Methods Call -\u003E Confirm Payment Intent -\u003E Retrieve Payment after Confirmation -\u003E Refund with Scheduled Type -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-RefundType.cy.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3b2936ce0f5a2920bbd2e766c47ffb699baaca9d396936da2ecbb6e9952482"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E Retrieve Payment after Confirmation -\u003E Refund with Instant Type -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-RefundType.cy.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38891f6588f5269d125f0c5967792920433a7cee8f167c5943c4c87946486f5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create and Confirm Payment -\u003E Retrieve Payment after Confirmation -\u003E Refund with Scheduled Type -\u003E Sync Refund Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/54-RefundType.cy.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"1434dbc53cfcb2817171519d93f142d6f1ec6da6dfaabd31462cb5f4736c6713"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5809ba62d6995866127fa537d6af570fb955143223ce3cf205fb5a3a33795399"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: connector-create-call-test: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cfeda3907113132f24a78d700bdbbd78fa1a35818cc3c8193bcca2afadbe2f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe45a1318e2ebf84bb1e308b729dad747911aa0b0b6619d16353141f79f2836"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method List: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bf8b2c5a62878daf8ef942d3fd44c6324fc40d560e793131d301421ce37c92"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e72b2a86cf4aa770994686ff490005cb1b06fd287f70cca0df9c8968fb60b12"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method List: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2863c7701f8e19bdaeb0ed7beec790892ce7f6c962b47b33cd3112a13ff2c669"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f2182573d4f37aa2b47d05ce3b8b634ddc5e99ffa3264cdddf5363e179cd24"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method List: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"016b259c1a2069861342881cc8e93dbf255be0bc2d09a50d5f13b43d87edb79a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Payment Intent: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd111b49c3343e369e0cc1aed6b5f18f8fa6161cfda864c15923196e9506dc4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method List: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fd43749d40962b4966d50ceb94ebd5d0bb1e3233261e288107d1563f5ff3f89"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Delete Business Profile: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Payment/55-DynamicFields.cy.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0031fc32c50b120d01b161bd0f333a6622f2a78c09eaef198b6fe544920d27c2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae122b0098a21019c548a7933e098e2429b108cc3c79223ad52dcb2a7f5935c"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: API key create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"01319bfeafe2e1def370044a247ca61bf2e673ca870ec39de1f25020d147aa70"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Connector create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fea39a24e8d283943053fd461c3a0dcd623d0cf50793cf4b1e16095d2310d4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: org - enable the modular payment method service: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"267e7d168d50bf786b2565c73ddec953cfb7da61d12b0a5fce0caea3397da7f8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: merchant - enable raw payment method details: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d648194a8863ffeab496b13ca5697cbb39c6ea5890d4b5ba07c2665eaf6f01f7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Customer create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d635ba6ad1b61f72a0235bd40da01123275e449372b8567c5c3910d11600af9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method Create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eb42c665e9ce756465b2fb464231a8fe53e5000b3a0640af80b735ad6a58de"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Get Raw Payment Method Details call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b172dcdfcf691025e9981c87cae767e970c5b91b592ba93416f57ce11db614d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payments call with pm_id -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d4cf207a52018f239a90ebd9d259f298e7eecdb40d6611b102bef6b2ba9090"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Payment Method call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74e2db3324f9383f639c2d45673b94c09d4f191cad03cfe0bb56165e24b37e7"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method List call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"616c61a6b214c7edb9254f8245cce6abd72e653298a6593069a7980a10b4678d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method Session Create call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a41227dbb51c995ce97adb41bc5ac59ff2791f6cd87d67467b10b435f226edc"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method Session Retrieve call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3192b60fe897fa983f338fba3bbe9502a79125fd506215fb39a49a35107ace"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method Session List call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"000db18976cdb5c1b0ec7e8c3ae79927de1e8593b67e82668f5116aea35edcfd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method Session Update call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"366b0acef9e824a8699602acea7b2a8a8c132a2582d3154db557668601ab7d4f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payment Method Session Confirm call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00a9901874b37a2e20e53e9c0b3caf1eac93fda7d08adbb822f5edb447765a4"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Get Payment Method from session token call: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"425e0b4d136e535aa7de750cdeb219d1c9b516093e8d91f3612289703390b773"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Payments call with pm_token -\u003E Retrieve Payment: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/ModularPmService/0000-CoreFlows.cy.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6669ddec5c66fd3663f8b910f7ed9f62c6a9d41933aa58b82e648a502d17553f"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Configs: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00000-HealthCheck.cy.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"add44ab5eb91ac974d8c508887b4c698f1a5712df759b0c7c2f67fdb59d3bae0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Create Configs: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00001-MemoryCacheConfigs.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ad7d84195de64f9f14eb75f5920ffdcc30a9d4caa14579618e3307b2326324"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: Update Configs: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00001-MemoryCacheConfigs.cy.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ab6b1d4a904044ca99aef92075de8dfbd709eb42ee8094eab803116bb794c3"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: delete configs: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00001-MemoryCacheConfigs.cy.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b8f9680c855610116ee5337fcbe860cc728b90958c6d9fe4b9204ee48df0a0"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should create a new card issuer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00002-CardIssuerManagement.cy.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f535dbc409e915c4246be98ba700ef3c4f1a155ab3ac790f596970fee517cd4d"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should list card issuers: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00002-CardIssuerManagement.cy.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1028f041c48ff5ae15613c237cce5365d3644f204943e21182b61dd941473f64"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should update an existing card issuer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00002-CardIssuerManagement.cy.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61e60aa7c7f2466403f3a19bc7052a36d245ad1ae8240e7a9a63313b47fc124"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to create issuer with missing required field: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00002-CardIssuerManagement.cy.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9468e013f0f4b41616fa8b1db649fb36d83e4fb32f00e430026027150fada024"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to create issuer with duplicate name: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00002-CardIssuerManagement.cy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1e676fd922f8fcd44e41fc166476a2d03add3177a86b24f2ace0966f7b3821"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should handle listing with empty query: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00002-CardIssuerManagement.cy.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a057c75337d1919c491f58740d57c637d72477d51143192291dfdb50ee0f1e3e"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to update non-existent issuer: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00002-CardIssuerManagement.cy.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e562671c2355a348046983c2c8068c4819403ec66d645b65b9735da14a409f1a"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should retrieve forex rates with base currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2912a72a3d974c72e75bc2100a69df4a2cfc75044c45ae10f9f0dd22f8a6a173"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should convert small amount from USD to EUR: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"176ac2c26f4d8d79eb23eadb494ab4be1f938182f57f7884ea46844447a01746"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should convert realistic amount from USD to EUR: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b623bb5d20d32733f9fc7afce75ceeaa7c7e7339f7a2c04641a2ccee38dc3ce"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should convert realistic amount from EUR to GBP: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f3c790da578491a01a5a885b55208b93bd80091515cec0b61661627c0bdab6"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to convert with invalid source currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c42a3af49a1332c1ce86b061bc16431fd8146d84f756af797ddbf3edb9f5ed"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to convert with invalid target currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a34d874e90904f98c2fc96130ed1d2cd46048d2665f51b9d814676dfc640ef"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to convert with negative amount: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"574dd9ff313c583b8fc8619c6ca9d3ae87b5feab00b5ae3294448a663df1fa23"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to retrieve forex rates without api key: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7231db1d39c08fa2584866bd47670de911c9565e0754cdf7b54042d75734602"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to convert without amount: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ab2b1455e7a40b645c0cb25f6de2c6ea20a7346030127c6df349ad6cbd7c66"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to convert without from_currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca104d3b3278ffdee84d2c9e880cbccc10e69d74f6c737d4dcd9366b779d1ab5"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should fail to convert without to_currency: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9377473223e9af1b722299c276d67fdfbc6b7b98dcd6c2b1ca0d5f7f257e75ca"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should handle float amount: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d63c764c0d36273851148bdd3a95478eee9aea355a70bee7eb7852209939e49"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should handle maximum integer amount: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ForexRates.cy.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f445483e8bef8948e40d0e74b7609c6edb742197387fdf49d07c658978334db2"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should return valid discovery document: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-OidcRouteMismatch.cy.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1c8880711e8e38e64eaf2004d6c83ebac5ee4c10a5a3d54f6ad1da19077473"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should respond at /oidc/authorize: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-OidcRouteMismatch.cy.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cebfe4e31de6fa55d24a2c12797eb01bf03507f6f40eb06a31d03689605104"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should have token endpoint at /oauth2/token: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-OidcRouteMismatch.cy.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"66aafc087afa8d046045bb7c05f0b6cc7b5f239603439556d5f7dceb18d577bd"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should create merchant with vault product type: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ProductType.cy.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1c4dd44ccc5b7697a978e6beadcaa7f55974459597bfe5070804def80235774"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should create merchant with recon product type: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ProductType.cy.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d38b16b57bdb614b8a61c508a9f7c69a37c4e6c105265c6d1fe4985d109f20"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should create merchant with recovery product type: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ProductType.cy.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf318927af6326cb69cad0d081ebc21020f6517b3778247588abea84725b764"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should create merchant with cost_observability product type: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ProductType.cy.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9972abf8477a1604c61b274be4f3a50dacb45767c97fe6f8f34414cb9439d02"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should create merchant with dynamic_routing product type: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ProductType.cy.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d94fff7ebf412f8d3fa7a337c1fc03d451fa228ab520ae52dd9bbf0337f7b8"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should create merchant without product_type and default to orchestration: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ProductType.cy.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"332ca82591c95877c83a0bf46f6828b38c455582b29fa44c59e47018f163f9f9"}},{"ruleId":"D10","level":"note","message":{"text":"No direct assertions: should return 400 error for invalid product_type value: No conventional assertion call was detected, and 1567 of 1665 tests in \u0060cypress-tests\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":"cypress-tests/cypress/e2e/spec/Misc/00003-ProductType.cy.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"754ef1ef1011aa0aa6447e1f50429ba8cb7ef5403eb8557705d3076fd2517afd"}},{"ruleId":"D10","level":"note","message":{"text":"Test project verifies nothing: cypress-tests-v2: No conventional assertion call was detected in 44 of 44 tests in \u0060cypress-tests-v2\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":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"680519c809951a8dc993bc7685221e59001cb8d2097ad44b1bb73d300665d4a4"}},{"ruleId":"D13","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":"0bc4e7eab2230b1db0a34a187aaeeada108fd9d841fdbed414c7cbf94971a14b"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"77b688f039243c87afc4ab1c2ea3c73ddd971d4bdd9a1b032a6f235922618e37"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"354692e9b399bdd97973809bcc76410ab84655786f343227d0d6bfe7a7d29eb5"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"82e28f434fa0ea8353cf9048e1f80c495b2ae55a15b876aaa70e70b155fa27eb"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"367361043bc36ef7abf93179095d29922c5084688d9fafd174cf58a37ce18343"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"6ff6f11b3d9f4826ff0a5268d2c88fd87b442f2010bb345ad3ced3a1480ee699"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"528497351d0283f3440ec6778af491f434614ff257dc5099d37f62f3dfab22b1"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"03ceaccbd0518dd0915b33843a42ddc4bf4a292b6fe19ab3b023c3b6aeb22765"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"a0bac37afbcfd354c7274e7bfe2cb53764d005ef565e02a3c37a7a0e1f3e7632"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"f0a1b89eb44894b2dbc87018dc091087ff845e189cb6c3b3358bcc7aee253f75"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"4df84f0e1e8d24515ad5eaaf168090389df593b0cb4635bedac58b94ab9a0c02"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"0dd707ca9c5675efe0fc92eaa88d7e15d5e323b20c58f673eedc3b6c7679f50d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"c67ae70e58a55ca450880ae71d5c7be9254cb086f5dd5098ed01eb0b58cffaee"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"6388fde1e201c94bdf9d4018750bfe2314e0dcfc6eac1544f37cd1f6eea913b4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"4d73db3f291cc8cf5449ed0e87aca4affdaae683b698ed6168ccfc1be24b1ba2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"a8679f400fc631b4c16cf27cee665a869453dd120dadd5045db589d01daab1b3"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"84db022fc831451daa2fddd0a830f6eaa4d8ecbaa070566639c530950cfb9016"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"27bee7e85b79c2bc460fd271ed8594447d8f45654de53def2e60403cba38983f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"d9b8f3ac75b684b30621d6ac5ca31ea15d89bf9095bd0eda40632635dc7346cd"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"ebe66fc7c68c251e66ec30f0759f8e3f695efc3c7c2f9e7c7cece8e91c1526bb"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"c9c7504a7d41d8ff27d67dcd59e955c2e34efc2822c2e282b688e870db38258a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"b16dc136c19365e28f467c3b099f3b411af971445db931dce7af7284d7db6f54"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"6a3dac4f85932526d7027be1ddd65f045409e45505d35dec0c19e93b8c30912a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"f8bc3594800af4214ae60cd5b39c68bdf931de4ed93b81d95e4092d82a5e9b15"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"6207faa16a540e81ba75a2927f2d1b519525559ff8e27c14ee099183123634b3"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"7a60299b9c8296c1767c58b89ba74f45b7395d28d800840be1aa364babf184ce"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"eb402eaad246fca1cb2ea7f5c86155b68aea12bf689e17922b515a0545d09dd8"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"27ee16c24862ad1c3aea2419d8adf0d443bb93bea979400f941fd4430860d316"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"0a955d0b7286c243317a3af5632efe92b946d1ab217cc6df3c4c16e3b823aa45"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"08e866ad7e6e1561d4ca058abb20cc8b04a572808292e31fe88089605431fe79"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"a9f44c413a7af98485a150e4e2e57ae3bc81433b8e14a48c218a3fc9bba2bee4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"852951c97cd7173db7e48c2f12ff700fdb50f3c0bd0b1cee1ade5f00c78ae352"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"40dded43e5881b6e6f953886d8720e8a102ddc0c5a3752a0f26b5eb5e4085dd4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"ddb034c8cd2d3aa89f3422d8fcd9ebe220c4a257e5ed822d4de799d4b46ce617"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"483056fa777f89b5bd57ab00f8ceee8118dbc49a69c1421c71c0cf4a6d4ece40"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"fdb2a004365792dbd4c74798d22bac6d2bd9011ca21e62b422aee7e61faea620"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"be1704c9f8fd89e375ff1c4711157743dd09c4c8ae821e6b7a8f3713eaeed358"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"3dbe88d4ad283a05158e4e110d969fae7a990e4b9e5be2a991fcc1e785bc156f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"16728f591ad2ff0f68ca8199dc422ae3546fcd02aafa8398024610c397200f40"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"53950f8200f02ef2cdc64e212831c052119416677bd2e253d59b8466b7edac6e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"c1da8c02722df445fa732519ab07450c2c6188ef66b0f1813bdb7c7d6a9a3386"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"bbd38438359bab8836687b6416febfa0c1365bf25e49487d430dbadb3f54a5b6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"3150a6e69cab8ce29df59dec0096be03dcc481658d3e5150cc71fd96249f6440"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"d932370c18e4f990a8764d5fff31f0e29cfde8936a0548bc92c85fd436ed2633"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"d22a1a5d6f488c95e616529247eaf45b11cbf55d3b61efef7592ec1bfa52d2d4"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"8ba0d92b4c7b846e4e1232ca88012f8bc03911bd75f1c9feb92bebdeb4377dc0"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"42fed9f3223eb7b095ba661eb7e2611fbeefe4ed4b5ab7dbe5ef191c49c2de6f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","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":"795896d66fa00c93a041be7b988a8b820285ee686888d0994d2d58fc674848e2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/unified_connector_service/connector_config.rs: crates/router/src/core/unified_connector_service/connector_config.rs changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 225 in ConnectorSpecificConfig::foreign_try_from at line 964. 2 of those changes were fix/bug commits, and the other 22 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/unified_connector_service/connector_config.rs\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":"crates/router/src/core/unified_connector_service/connector_config.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88dcf6188724265def2fc65ff69b7f24f04e4d2b7320e492cdc583fac980de5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/unified_connector_service.rs: crates/router/src/core/unified_connector_service.rs changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 105 in router::core::unified_connector_service::build_unified_connector_service_payment_method at line 1949. 8 of those changes were fix/bug commits, and the other 27 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/unified_connector_service.rs\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":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1949}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bd8c3fbec9777714c60f206ae07a763b965135f563ad19d1d4e25d8073da52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/utils.rs: crates/hyperswitch_connectors/src/utils.rs changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 135 in PaymentMethodDataType::from at line 6944. 3 of those changes were fix/bug commits, and the other 16 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/utils.rs\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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":6944}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae07c2677ecf13121927a2dbfe50a952423034cf878bd40bb54af0ed7af86be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payments.rs: crates/router/src/core/payments.rs changed 69 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in router::core::payments::payments_operation_core at line 792. 16 of those changes were fix/bug commits, and the other 53 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payments.rs\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":"crates/router/src/core/payments.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"7125c3fc8e29c712c345950e2299a21603809e8906bf200c2415af295b03f41b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cypress-tests/cypress/support/commands.js: cypress-tests/cypress/support/commands.js changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in (anonymous) at line 3554. 13 of those changes were fix/bug commits, and the other 30 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- cypress-tests/cypress/support/commands.js\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":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c74f566deaa99b9fb2670d2964eb10ab9c0000a7a4297d2df7ae39da5b9e63"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payments/helpers.rs: crates/router/src/core/payments/helpers.rs changed 46 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in router::core::payments::helpers::get_additional_payment_data at line 5920. 7 of those changes were fix/bug commits, and the other 39 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payments/helpers.rs\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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5920}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3ffa1a37c3eaec4f05cf11b48d85ef093c695112a05d10fee3b88850431100"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payment_methods/cards.rs: crates/router/src/core/payment_methods/cards.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in router::core::payment_methods::cards::build_merchant_enabled_pms_context at line 4669. 7 of those changes were fix/bug commits, and the other 20 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payment_methods/cards.rs\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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4669}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed346c7049b928b4fc94c078bff7666e7f9876e6d6d55d42f760e152a382911"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payments/operations/payment_response.rs: crates/router/src/core/payments/operations/payment_response.rs changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in router::core::payments::operations::payment_response::payment_response_update_tracker at line 2596. 5 of those changes were fix/bug commits, and the other 22 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payments/operations/payment_response.rs\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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":2596}}}],"partialFingerprints":{"codehealthFindingId/v1":"591bb5e5aa0a9c920f2d817bac220573a4eab7c0eee1ac91537047b0ed8a2243"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payments/transformers.rs: crates/router/src/core/payments/transformers.rs changed 44 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in router::core::payments::transformers::payments_to_payments_response at line 4059. 7 of those changes were fix/bug commits, and the other 37 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payments/transformers.rs\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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":4059}}}],"partialFingerprints":{"codehealthFindingId/v1":"92de167428aad4473b12d72fb70f36e8ee7c171d2810ba7151af71f9a1e7be41"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payments/operations/payment_confirm.rs: crates/router/src/core/payments/operations/payment_confirm.rs changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in PaymentConfirm::get_trackers at line 78. 11 of those changes were fix/bug commits, and the other 29 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payments/operations/payment_confirm.rs\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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7b26c8b8b77dd046b4520408f298538ce4d37026202ae9c2af0b41c3792934"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs: crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in PaymentIntentRequest::try_from at line 2437. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a9c06db5901cf29a92df624259fab003e89902f2584b44520b2b214b16217e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payouts.rs: crates/router/src/core/payouts.rs changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in router::core::payouts::make_payout_data at line 3865. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payouts.rs\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":"crates/router/src/core/payouts.rs"},"region":{"startLine":3865}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cf4c92b0290f2bf5a9459c5096f28b0fbf8e5e61d033143bd958768366441a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cypress-tests/cypress/support/redirectionHandler.js: cypress-tests/cypress/support/redirectionHandler.js changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in (anonymous) at line 2394. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- cypress-tests/cypress/support/redirectionHandler.js\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":"cypress-tests/cypress/support/redirectionHandler.js"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c51f968a2fe64dc2668cbaaa87a4a48c98247245d7d658f9aaefce1c7f86588"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payments/routing.rs: crates/router/src/core/payments/routing.rs changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in router::core::payments::routing::make_dsl_input at line 372. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payments/routing.rs\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":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"c297fbed299475dc3a0686350232399be34fe2d707156284621712dd45255a0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payments/tokenization.rs: crates/router/src/core/payments/tokenization.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in router::core::payments::tokenization::save_payment_method at line 193. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payments/tokenization.rs\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":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e17d4cc4e5c3efd3362fe000f8f0e73c8302e5b6c826904cae92653395480d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs: crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in PaymentsRequest::try_from at line 772. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"affa6c8e043e0ea5bdc63e1bd7622fb8ffbe713814ed7c5eb40347e5de6644d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/webhooks/incoming.rs: crates/router/src/core/webhooks/incoming.rs changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in router::core::webhooks::incoming::process_webhook_business_logic at line 528. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/webhooks/incoming.rs\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":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c942cb4cdd7322c80188aa11290e61f86b406e575f654958545785accb5e6ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs: crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in hyperswitch_connectors::connectors::cybersource::transformers::get_commerce_indicator_for_external_authentication at line 1248. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"19aef59ab71113c7cce4f2c3d95d5370642f601474cf307d1da5dd437cb01887"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs: crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in PaypalPaymentsRequest::try_from at line 1089. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec591d7c597d864742328885118e0bbd6df69850bb6ef4e16d35e55b4697da34"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payments/operations/payment_create.rs: crates/router/src/core/payments/operations/payment_create.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PaymentCreate::get_trackers at line 74. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payments/operations/payment_create.rs\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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcb2b37d96c447b689bd909e04823d79866e0d4f467d37564cda46f7ff99339"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs: crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in AdyenPaymentMethod::try_from at line 2433. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":2433}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca0f6bb192604276e2bbe78ee8f72c98a0c2a25b779a42b4a23f156522de787"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs: crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in MultisafepayPaymentsRequest::try_from at line 386. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/multisafepay/transformers.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f098a5232c67cee04f2c5237429611c77a06c57871abb5d8f9ad5760da726c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/api_models/src/payouts.rs: crates/api_models/src/payouts.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in PaymentMethodType::from at line 1954. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/api_models/src/payouts.rs\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":"crates/api_models/src/payouts.rs"},"region":{"startLine":1954}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecdef870a8e4e3e2a10da96333f9c7934308d802e7804f62cadf005ee42f369"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/storage_impl/src/payments/payment_intent.rs: crates/storage_impl/src/payments/payment_intent.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in RouterStore::get_filtered_payment_intents_attempt_for_platform at line 1080. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/storage_impl/src/payments/payment_intent.rs\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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"452d9b19ea29fc4f5c4dcba1173a36b7946816d53fde5a8b35dd12ddf0f89d05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/routing.rs: crates/router/src/core/routing.rs changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in router::core::routing::routing_migration_status at line 3418. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/routing.rs\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":"crates/router/src/core/routing.rs"},"region":{"startLine":3418}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53f0fa7fcc6e1e6443d9589bd4845d54abcfed4e0b2cd54d2f870874e5c4323"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payouts/helpers.rs: crates/router/src/core/payouts/helpers.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in router::core::payouts::helpers::save_payout_data_to_locker at line 381. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payouts/helpers.rs\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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"299d74526555c0bd1c5fc7bec6554eea78f1dcf15947eea0c61acf187ecae3c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/utils/user/sample_data.rs: crates/router/src/utils/user/sample_data.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in router::utils::user::sample_data::generate_sample_data at line 28. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/utils/user/sample_data.rs\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":"crates/router/src/utils/user/sample_data.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae21888a19373178921b5b4c47a42c7747e8769889c74887ac6ebbcbb4a5a165"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/webhooks/incoming_v2.rs: crates/router/src/core/webhooks/incoming_v2.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in router::core::webhooks::incoming_v2::incoming_webhooks_core at line 103. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/webhooks/incoming_v2.rs\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":"crates/router/src/core/webhooks/incoming_v2.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a452ac95fe704e312ed027f8c8c8ea87aef3d5c5fad3bc2adcc02f9702dcb875"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payouts/validator.rs: crates/router/src/core/payouts/validator.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in router::core::payouts::validator::validate_create_request 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payouts/validator.rs\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":"crates/router/src/core/payouts/validator.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5071e127ddd2c20b25f4e1b93a52d4b85519f4f610da167875eff720085e01"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/santander.rs: crates/hyperswitch_connectors/src/connectors/santander.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Santander::get_webhook_event_type at line 2224. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/santander.rs\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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":2224}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd032de826b9b2f49bbf28cd10864787a755d1f693149024673a8d3e75fc350"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/services/api.rs: crates/router/src/services/api.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in router::services::api::server_wrap at line 418. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/services/api.rs\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":"crates/router/src/services/api.rs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb7503c99aa1c3f1b3bbac53a329449bbe87ed4f67da2246bec02666c12463b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs: crates/hyperswitch_connectors/src/connectors/santander/transformers.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in RouterData::try_from at line 1440. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/santander/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/santander/transformers.rs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"98247e15ffd35328853f4520eeab0b0e2d90d7c0434e23ab2270cfb50e64b5ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/external_services/src/http_client.rs: crates/external_services/src/http_client.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in external_services::http_client::send_request at line 110. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/external_services/src/http_client.rs\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":"crates/external_services/src/http_client.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc66526e35f75f5c55191bc48dc75255a42387c1fd088c48385ab171525efea7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/fraud_check/operation/fraud_check_post.rs: crates/router/src/core/fraud_check/operation/fraud_check_post.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in FraudCheckPost::update_tracker at line 413. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/fraud_check/operation/fraud_check_post.rs\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":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aa83ade59aee41a5debda56db7945c84922fa490954cd2e041b76ecc3271d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs: crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in AirwallexPaymentsRequest::try_from at line 517. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/airwallex/transformers.rs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6fb6b545439f82e48f75aca35a50c5f487597f3e9f2aa714948a94653bf80f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs: crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in FiuuPaymentRequest::try_from at line 459. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"638a816673d416b8736eab26bc77565cda61ab77fe9853c22258de0a0d84eabf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs: crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in NovalnetPaymentsRequest::try_from at line 224. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"85268daaf0019acf8e0eea300a467ffcebf1ab622654476feba35549bf882dfd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/unified_authentication_service.rs: crates/router/src/core/unified_authentication_service.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in router::core::unified_authentication_service::authentication_eligibility_core at line 1033. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/unified_authentication_service.rs\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":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2ff55479831fb4f10fcfd511acb2bc163dd31d366703aababd529808387b05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/superposition_sdk_config.rs: crates/router/src/core/superposition_sdk_config.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in router::core::superposition_sdk_config::get_profile_superposition_sdk_config at line 139. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/superposition_sdk_config.rs\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":"crates/router/src/core/superposition_sdk_config.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bd98d13b464f16c5c11c8c60e84c6aaf419680d48c5aa19c15b034136b9397"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs: crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in HipayPaymentsRequest::try_from at line 151. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/hipay/transformers.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce9c3a815407eb8f2c605c58b8cae4bc814f41763ea969acde014add6286900"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/hyperswitch_interfaces/src/api_client.rs: crates/hyperswitch_interfaces/src/api_client.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in hyperswitch_interfaces::api_client::execute_connector_processing_step at line 139. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_interfaces/src/api_client.rs\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":"crates/hyperswitch_interfaces/src/api_client.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c866959e029bea1ecbd66189e091f889fa33c64f3c8e7821bc88e575dae15c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/payments/gateway/psync_gateway.rs: crates/router/src/core/payments/gateway/psync_gateway.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in PSync::execute at line 56. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/payments/gateway/psync_gateway.rs\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":"crates/router/src/core/payments/gateway/psync_gateway.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d9debe7ab4419807fc91bc12523bd01f1b8e65230a841b30a31d1218471be4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/types/storage/refund.rs: crates/router/src/types/storage/refund.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Refund::filter_by_constraints at line 89. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/types/storage/refund.rs\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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ff7ffbe610c565cee4b52aa2bff7b10369f8bedbaaf78346bc529c75b84b6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/core/merchant_connector_webhook_management.rs: crates/router/src/core/merchant_connector_webhook_management.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in router::core::merchant_connector_webhook_management::register_connector_webhook at line 175. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/merchant_connector_webhook_management.rs\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":"crates/router/src/core/merchant_connector_webhook_management.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c615ac2eb251984373d60833ab0f2d6d5357be870c08782b9d80c7d93762d6fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: crates/router/src/compatibility/wrap.rs: crates/router/src/compatibility/wrap.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in router::compatibility::wrap::compatibility_api_wrap at line 22. 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 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/compatibility/wrap.rs\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":"crates/router/src/compatibility/wrap.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c554e3e1f3a05822e9d40c51ba6f6bacd7194070ea7f83ea67f9ab47ddbfcd36"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/router/src/services/authentication.rs: crates/router/src/services/authentication.rs changed 18 times in last 90 days and 10 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is PlatformOrgAdminAuthWithMerchantIdFromRoute::authenticate_and_fetch at line 1184), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(payouts): restrict confirmation to API key auth (#15180)\u201D; \u201Cfix(routing): validate profile ID from authentication layer in routing functions (#15126)\u201D; \u201Cfix(subscriptions): require client secret for publishable-key estimate calls and scope profile lookup to merchant (#15120)\u201D; \u201Cfix(blocklist): update management API handling (#14985)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/services/authentication.rs\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":"crates/router/src/services/authentication.rs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4db96f1e8b785a4440ce4c31a0fa9cb9b5e9d3bf664b6d58337f75a2dd989da"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/hyperswitch_connectors/src/connectors/zift/transformers.rs: crates/hyperswitch_connectors/src/connectors/zift/transformers.rs changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is RouterData::try_from at line 733), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(connector): [zift] handle error responses with missing fields (#14873)\u201D; \u201Cfix(connector): [Zift] Handle void transactions in Zift payment sync (#14637)\u201D; \u201Cfix(ucs): map not-supported UCS errors to IR_19 instead of IR_00 (#14377)\u201D; \u201Cfix(ucs): surface UCS client errors as proper 4xx API responses (#13709)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/zift/transformers.rs\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":"crates/hyperswitch_connectors/src/connectors/zift/transformers.rs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"017f560577fa754a1caaff7e47e4c56c1c6da25b98b570d47d6e95353f6acec3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/hyperswitch_connectors/src/connectors/netcetera.rs: crates/hyperswitch_connectors/src/connectors/netcetera.rs changed 5 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is Netcetera::build_headers at line 89), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(authentication): fix source ip validation for netcetera (#15127)\u201D; \u201Cfix(connector): netcetera webhook (#15100)\u201D; \u201Cfix(authentication): added webhook ip verification support for netcetera (#15083)\u201D; \u201Cfix(authentication): allow netcetera webhook to enter without signature verification (#15023)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/netcetera.rs\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":"crates/hyperswitch_connectors/src/connectors/netcetera.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc40d4b372adbbfbd1395986471a21d231510d259202f83e813900027da4bf2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/router/src/routes/payouts.rs: crates/router/src/routes/payouts.rs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is router::routes::payouts::payouts_create at line 43), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(payouts): restrict confirmation to API key auth (#15180)\u201D; \u201Cfix(api): enforce merchant and profile isolation (#15049)\u201D; \u201Cfix(payouts): prevent concurrent fulfillment (#14931)\u201D; \u201Cfix(payouts): restrict client confirm fields (#14547)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/routes/payouts.rs\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":"crates/router/src/routes/payouts.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb8f408fc045fa8a6c35defff34f1a68b8ae6a827bd43bb47cb62260e25dd5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/router/src/core/webhooks/source_verification.rs: crates/router/src/core/webhooks/source_verification.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is NetworkVerification::resolve_source_verified at line 60), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(authentication): fix source ip validation for netcetera (#15127)\u201D; \u201Cfix(connector): netcetera webhook (#15100)\u201D; \u201Cfix(authentication): added webhook ip verification support for netcetera (#15083)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/router/src/core/webhooks/source_verification.rs\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":"crates/router/src/core/webhooks/source_verification.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccad97a2545621da378d98377e513edf8633969ee4ee3d3e51f3242c9bfbd0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: crates/hyperswitch_connectors/src/connectors/peachpayments.rs: crates/hyperswitch_connectors/src/connectors/peachpayments.rs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is Peachpayments::get_webhook_event_type at line 971), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(ucs): map not-supported UCS errors to IR_19 instead of IR_00 (#14377)\u201D; \u201Cfix(ucs): surface UCS client errors as proper 4xx API responses (#13709)\u201D; \u201Cfix(connector): [Peachpayments] Fix Setup Mandate Endpoint (#13734)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 19:46:39 \u002B00:00\u0027 --until=\u00272026-11-13 19:46:39 \u002B00:00\u0027 --full-history --no-merges -- crates/hyperswitch_connectors/src/connectors/peachpayments.rs\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":"crates/hyperswitch_connectors/src/connectors/peachpayments.rs"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc9931658189032bcbb03e20040f234177e9c2374c107ddc7f5547f0fdc1a0e"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 10 significant file(s) lose their only recent owner: crates/api_models/src/cards_info.rs, crates/router/src/workflows/blocklist_profile_clone.rs, crates/router/src/db/batch_blocklist_job.rs, crates/router/src/workflows/blocklist_export.rs, crates/router/src/core/blocklist/clone.rs, crates/router/src/core/blocklist.rs, crates/router/src/core/connector_onboarding.rs, crates/router/src/core/card_issuer.rs (\u002B2 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"82b36f6525198b1b05e3e3f0a36fda8dc9e02b424b963323c19fb942397a6c8b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: crates/router/src/core/offer_engine/notify.rs, crates/router/src/core/offer_engine/config.rs, crates/router/src/core/offer_engine/apply.rs, crates/router/src/core/offer_engine/eligibility.rs, crates/router/src/core/offer_engine/connectivity.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b31b4c876d59a6af4147d9fea9d00952bb39452f4cbf1b0daea43ca692e1b37b"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 4 significant file(s) lose their only recent owner: crates/hyperswitch_domain_models/src/revenue_recovery/retry_stats_cluster_key.rs, crates/hyperswitch_domain_models/src/revenue_recovery/retry_stats_document.rs, crates/analytics/src/refunds/metrics/sessionized_metrics/refund_error_message.rs, crates/analytics/src/refunds/metrics/sessionized_metrics/refund_reason.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"894f0c7a5a88ed0052df25add2be75af6c8fe5b919e3346df32044be938997cf"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 3 significant file(s) lose their only recent owner: crates/external_services/src/grpc_client/deja_transport.rs, crates/external_services/src/http_client/boundary.rs, crates/router/src/services/kafka/deja_record_sink.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"964b6fc32dbdf9aa9876fc6a2827aed1f7e9aed30224e31d8de1762304297ed7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #5: If anonymized user #5 becomes unavailable, 3 significant file(s) lose their only recent owner: crates/hyperswitch_connectors/src/connectors/worldpayraft.rs, crates/hyperswitch_connectors/src/connectors/merchante.rs, crates/hyperswitch_connectors/src/connectors/etisalat.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"08e412648525c74569ee7599edadb0263c13e09c2d0b2cf9d892bf54fed03124"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #6: If anonymized user #6 becomes unavailable, 3 significant file(s) lose their only recent owner: crates/router/src/core/payments/server_integration.rs, crates/router/src/workflows/network_tokenization.rs, crates/payment_methods/src/client/session.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"edbea7758a0b41f3ed951b50fb2992c9802045f97f04c2c97036e2b3e927840c"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 10 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 (46 single-owned of 1493 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; 1493 of the 2044 production source files in this repository met that bar). They are anonymized user #7 (2 file(s)), anonymized user #8 (2 file(s)), anonymized user #9 (2 file(s)), anonymized user #10 (2 file(s)), anonymized user #11 (2 file(s)), anonymized user #12 (2 file(s)) (\u002B4 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: crates/analytics/src/sdk_events/events.rs, crates/analytics/src/payment_intents/aggregate.rs, crates/hyperswitch_connectors/src/connectors/santander/responses.rs, crates/hyperswitch_connectors/src/connectors/santander/requests.rs, crates/router/src/core/superposition_proxy.rs, crates/openapi/src/routes/revenue_recovery.rs, crates/hyperswitch_connectors/src/connectors/absa_sanlam.rs, crates/hyperswitch_connectors/src/connectors/sanlam_payshield/transformers.rs (\u002B10 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update to import from TypeScript version once fully tested \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":"cypress-tests/cypress/e2e/configs/mock-server/router.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef00a4b14bc591369bc473120f181cd8a8d9abe2a7f5c4393af318946dae342c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle retries here on failure \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":"crates/subscriptions/src/workflows/invoice_sync.rs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b7f40943dcb439bf9eb779b4ff8fc675b142cf78f6d2adb26283b4255e80b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This needs to be removed after the removal of diesel_models dependency from domain_models is done \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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee927c0ddac4cac4fccdf5e466f944bb43b7389400275ece5df4704e329bcec6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This needs to be removed after the removal of diesel_models dependency from domain_models is done \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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa35c3e71fce807897a669808f36f12178c61b6b633dd01f7b5df9962b95ebd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: create an error enum and return proper error 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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bb523bce3de54d3afc062cfe0717dbe4066f50998f6f0de31451161c1dfcb3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should not be used beyond this crate \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":"crates/storage_impl/src/lib.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"56715656e20d30da4ff31256cfe15f741e6e0eaa489e54aab348539fbda8b22d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we will not have default profile in v2 \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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"116363f3b650b436801808c657e1021e773eaa0763adf1b880aac450830c8111"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Verify this change \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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcee6e91ec6603e89559e8a8d8ec745ff07b0334ecf83bb7adb4a9bda3bca615"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Verify this change \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":"crates/storage_impl/src/merchant_account.rs"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dbba639b38903eb311ac5242337093a57fbf890154e4f4a22d6736b2560fdd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Remove this once diesel_model dependency is removed from domain_models \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":"crates/storage_impl/src/mock_db.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc62ea9195cd7384065cdd7db4a91f1fee714f8383fb5c2473655371eb9e141"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Remove this once diesel_model dependency is removed from domain_models \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":"crates/storage_impl/src/mock_db.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc426e1a3d2601ae735c355a3b0f03c85aab3d6695f4a2f9241b5c96fb5b74d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Remove this once diesel_model dependency is removed from domain_models \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":"crates/storage_impl/src/mock_db.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cf6cf35c0287f55b819c47f6ed3618e5494e30d1eab50191ee3ac4225eec25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Remove this once diesel_model dependency is removed from domain_models \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":"crates/storage_impl/src/mock_db.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"534bb6cbe0203af32c3f4bfe8a8e3b638fd6abd040c9df2efa7dea8634c1a461"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Type the remaining interfaces the same way payments are typed, then drop this module. \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":"crates/storage_impl/src/platform_wrapper.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"887fd07b7915b9bb66b58d1d19d9d2a9597b621c7e2994fa1692835d1638c8d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move all key generation logic to a common function \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":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6550afd1305f57210cbf9775539ce46e028fceace883c0a3fcc2e6099595998"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fetch partial columns for this query since we only need some columns \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":"crates/storage_impl/src/payouts/payouts.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b6547dcea43081c2ca3c4b3d67deb7c00e814570d9ba4aee1b5c7a03ac745a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fetch partial columns for this query since we only need some columns \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":"crates/storage_impl/src/payouts/payouts.rs"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0ecc90935fb335e6b3fecaad05b5b302c57e788dbc04d8823f26a2d8b42498"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fetch partial columns for this query since we only need some columns \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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"085e93959d753de17d96217b3df46ad4e97cc911d4905148aa783c36c553def2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fetch partial columns for this query since we only need some columns \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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffc69ef8ed552f940af19e4f9fe65088899179ad2519a5c73039e6972c705c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fetch partial columns for this query since we only need some columns \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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"533acdb7c9630f180c81b62c296b8515d34a588df36e5856fc26f4ed8d81c014"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fetch partial columns for this query since we only need some columns \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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f3189955039444fbdd696b8616fc8a3ea86a0ec984c700454ff4dac8674547"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fetch partial columns for this query since we only need some columns \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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"624ee27f192918eeefc331d119c4ae7ebfbef3e97beadaf525afbca173efb5e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fetch partial columns for this query since we only need some columns \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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"daec2caf5148bab8fb52261a3183357fea8b410dcc9f06f1ec5ec61d41186883"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this redundant function \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":"crates/storage_impl/src/payments/payment_intent.rs"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d3ac39896f0dae5f59173e932303a7204b623fc2c4ad5020ae7edbae09110c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payout_attempt.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97c3490b53769cffe7e3da670daf6ea1e11fd9520bb18175f4705f715d261db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payout_attempt.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda92fb5aea50e2d9e1a60aa0a12fa7ec8876b371c8a96035a33539767ddf7a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payout_attempt.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9526528c186d879498b341bd646440794c0d4a6203500d69cf168696c30028"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payout_attempt.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"52891dccd14171d5ab1e592d50d56c293d41c7a9e0c365f3e05ab774725d8606"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payout_attempt.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1ed160225d4e0f14b01f6108ec0d90caf369a0894ac06cda77abc505a28b15"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payouts.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"149e43c63fb1a3a9a6ff1e4ca5728adeb31e2811ebb7cb76af5e65eb0b97f303"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payouts.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba8bb9aa5907ff16e74211eb65329dcd3c2a02da878cb4d9292ed7a8b600a6b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payouts.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b396bdcbe52e2f23cdfaf17b7c933ab7e04cacb1c12d67b56a7190fbb99c67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payouts.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f5ae28bf235ca562c0ba89516b9b45503d4cbf65e4001c013f77299b828ff3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payouts.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcd2f07f1788a3cbf8a7b5331b77163d947800bcdf44bef7b629ae31d1c68df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payouts.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40a39fd58718b24155e590f10572fd493b4f89c94bae3963f871e2f5a3212b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payouts.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1ea7b6a185729d63f333b19a11debabf16a26f7075bc1ffc2aa274cd10204d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payouts.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3209141384e03b42cb0fd22dbd1620834abf3ce6a3cfd15d14b1704125926f53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/storage_impl/src/mock_db/payouts.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f42ef66742c4af009c95449f5dba32b3cf0902da2a94d56f34423c0c251103"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/file.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8975b599dc37e09a0bc0bab624cbc6421cda3f303a9abf665dbc001eebcfbc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/file.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd3c54eaab9bafbb468d4e68dbb730b711e957fe1a7d611fd18944bf9344805"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/file.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dca0d89be3e7ff4d979c027a2d71df198752cf98c1e7f041d3bb7ecc5cd6d0f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/file.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"572d70591eca8417d890d1c483f2df861dd459d50572cf5e40e766f2fd82b087"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/generic_link.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d19e4231057347ae508b611cea21c623a6cceedc1de984a2bbb10766a51b278"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/generic_link.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e715a5b8ccf502f0e80991fdfb23c4b08fe483495c472b1af1e09b9eb93ccac6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/generic_link.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"58358c53aea94411878e535a4e32bdb42cb4ebcf55f8cd3019a1bf6f916a80ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/generic_link.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"851c162ac855f2eabe3ad698b6b2b705e0d4b473f87438e798d008cf7880ce4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/payment_link.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a020fa7467b6ed374db673c40d0d5f89783209a1ec0b8c2d256f0936703eac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/payment_link.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a215c3db61236792ce14407cd7378dbefd4dd71194757e574aa808d7cf4bdac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/payment_link.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"818f368cd758eeb6f9abb30a3feaa22c7945ba65f9d713f12e51245bd5b9850d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\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":"crates/router/src/db/payment_link.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5576a385a41015e6bda7ef2049541fb5fcbcb9fdfc38205e34631df9f63d18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Figure out what to log \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":"crates/scheduler/src/consumer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10048637c63c7bae0050109b0e66d28e3e11d0df64acd739a9ed5bebb8158a1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if the current scheduled time is not more than the configured timerange \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":"crates/scheduler/src/utils.rs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49c929be72da2dbd79cc88917306c0d705860fce35db8c09b17d3803cccde97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Documentation coverage for this crate \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":"crates/router_env/src/logger/formatter.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1974797b40e1920e4cf05e6f4e689c6485dc9a9b084858f934ce35ebbb603d86"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove allowed warnings, raise compile errors in a better manner instead of panicking \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":"crates/router_derive/src/lib.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb5461c592fbe16119eb5cdabc3a69974c430217097ebcfa7776c308b778f89"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Use \u0060compile_error!()\u0060 instead \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":"crates/router_derive/src/lib.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e01a17c6a2f7f2e988fb5139d0ab8c56d1cbaf468ebd99fe2dcf9368137011"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: broken test? \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":"crates/router/tests/payments2.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7db2df73089dfb7d0ba6fe020fe8ff8982db57bb13288b1148fa7cc4fbf044"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: broken test? \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":"crates/router/tests/payments2.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a792fa2c8564770e72d2395d88e2bdfca1f4feb0ebfd03caa504be44d14f8c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: broken test? It looks like we haven\u0027t updated the test after removing the \u0060core::payments::payments_start_core\u0060 method from the codebase. \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":"crates/router/tests/payments2.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c68f3db2fc485ffc538fcdba4b5da437ab2882c657128ad550a3f11d687e58"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo() \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":"crates/router/tests/connectors/authorizedotnet.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7797a205e069760721b1a4dfa4c201873be870003a6e6e68500f4bf2be98cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be fixed in future. \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":"crates/router/src/consts.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f95e0ac5d78eb9eed8076f175965031d085f8bc91338e9b6afdd8398e3b95f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: have a common source of truth for the list of top level fields \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":"crates/router/src/middleware.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5027317bcce86f2177d485b94e25a05e542341eff4b07e1a15ea7c23cd99bb"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Why were these data types grouped this way? \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":"crates/router/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"399bc2f90a53cb4826afe7273d1b08cd2628739ad26a0f0c1ed0efc672e33b8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a getter for 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":"crates/router/src/types.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf10028a63b60e24188e0c5f6864dbb6cde5f8d453979efcea47d00755d94ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow charges on mandates? \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":"crates/router/src/types.rs"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8dac95adb1a04fe3521dbcfcfbfaad029c8737c0f2cdeec0ee505bc4313f6b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow charges on mandates? \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7741}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ddd35315bdaf0a3d637d4b328c95be5008ed7bea1df26fc7ae509d6737f73e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add request state for the PT flows as well \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":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45bfffd0f938d3c76a2f9864e5d3efb1fe0fcc4de1f4d004c0ff6862d0e449e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Revisit the version check once payment method version follows customer 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":"crates/router/src/workflows/payment_method_modular_forward_compat.rs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c431222a4311e4c5e3b133e47f4de31c349c1d24596f1aa70948ea03dd8bfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for ReqState in PT flows \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":"crates/router/src/workflows/payment_sync.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d0240571af372a3616d0e9f7ce168a2305957b33fb87080532d8738be62dae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // forever \u2014 alert fatigue, no new info. TODO: emit a corrupt-slot metric as the durable signal. \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":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e669386d54a0cf55ea58db81c287f40117c046aaaffb5e7dd5732fabd6cba1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change this to PaymentId type \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":"crates/router/src/types/fraud_check.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6139f797b8feed3ead8ccd9a762119a24a1bd54abdc2a7affd2f1a1beb6872f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this usage in v1 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":"crates/router/src/types/transformers.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd08ceda8514d9bfddba20bb820433a87268f0cb7a98eb37c455f4dcee39990"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove foreign from since this conversion won\u0027t be needed in the router crate once data models is treated as a single \u0026 primary source of truth for structure information \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":"crates/router/src/types/transformers.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdb8f8c05a2470bbbe3aa35d4404aae82220b6db61d16de0ca07088138e7f65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO! All other card info fields needs to be populated in redis. \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":"crates/router/src/types/transformers.rs"},"region":{"startLine":2992}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6c685cebf61a53e2600f6b03fb4f0eb662ec7212938a2e3c93d5e328efa073"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Why can\u0027t these fields be mandatory? \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":"crates/router/src/types/storage/payment_method.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"af33293c7d75d30cbdb5887151b5706353cbf38e7818abe65560afa07de4395f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo!() \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":"crates/router/src/types/storage/refund.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f370addc5bc0ac04879033931faca5c7b1489d585f48c7cd15f2915d805209"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo!() \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":"crates/hyperswitch_connectors/src/connectors/wellsfargopayout.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"066759eb3e232f427d204b96fbac8eb8f5c6a36753a27a4a1002a641c62db1b5"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //#[test] // FIXME: Fix test \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":"crates/router/src/types/api/payments.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41fe284dc537d27d682f80e6c2648e745204119dd14ac86d440c0a22f5b9135"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle users who are not already logged 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":"crates/router/src/services/oidc_provider.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ade03b013484096e635620b631e86d62ef549082fdae09be028b123513d164f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Cache Discovery Document \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":"crates/router/src/services/openidconnect.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e28b3c02180bd8878e774c2d7270f8a8343540173b7b069a2447f28378fa0eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These types should implement copy ideally \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":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c9da35ec9df59b71418dae615e994716a805bfcc15b69fb38d66c0d4ab25f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These types should implement copy ideally \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":"crates/router/src/services/kafka/payment_attempt.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"398308c31a813f10c48db3fc82606d740c6108c72b920f134f56f8953dbb329f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These types should implement copy ideally \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":"crates/router/src/services/kafka/payment_attempt_event.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c29732179ca7a1a408a61e74fb2d22eee719aca4173b9f91c233252fbf531ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These types should implement copy ideally \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":"crates/router/src/services/kafka/payment_attempt_event.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1de1526f968ca2a16ac9ba11e8e645200d432bc78d1787a8686fbf8630e491"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use typed information here to avoid PII logging \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":"crates/router/src/services/kafka/payment_intent.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"79695d3d4191e62e11d65c26172146bba2165bba5d2e548557317c3da1a141ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use typed information here to avoid PII logging \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":"crates/router/src/services/kafka/payment_intent_event.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c73be6173f623ce7912972dafd4fedea445524e87699e0baa9f86f2a261537b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change the linked html for accept invite from email \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":"crates/router/src/services/email/types.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b1d1104e9e96595cd4488471001a870eeb7e156beb584918bf6c7b7e963b4f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/services/authorization/info.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5421ab05837648d90445bb5279dbba5535351d24739f31982a3d72a899ddd00c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/services/authorization/info.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6d95cc209e971e2ba6bca1bcadcea1c005af4ef3c33a06abe5269ab8cfa9cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/services/authorization/info.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b48de92589a37cae70a3d09d48ab0133ac88d5b2aea8bc13d662366195588e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/routes/app.rs"},"region":{"startLine":3040}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9710a739bc9062a568f3e91ba7290b373a4669cff81f1a5e6ff0e4ea037e1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/routes/app.rs"},"region":{"startLine":3045}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91a0cd7a28bcb88df6bcda5f9a3ca5a9613487a8ffe409d2cfbab9560f39e4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/routes/app.rs"},"region":{"startLine":3203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c54b2cca0b0927eb8606d80f6cf539ad3605b8798c314b04b3c70da6446c8e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/routes/app.rs"},"region":{"startLine":3208}}}],"partialFingerprints":{"codehealthFindingId/v1":"73894eb046dbe17750dfd84d236c26ea9c26f302219eb458f30b52c0a2f08055"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/routes/app.rs"},"region":{"startLine":3262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6585a5c16c6314f251ec7fd5382ae4c8e8794a2a3e4a6d364a6af1ec81daf3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/routes/app.rs"},"region":{"startLine":3276}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21f5327a50a93afd7e8e0455dd444bfea62c51ac5f5796ceeb9ace681864c30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/routes/app.rs"},"region":{"startLine":3314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbe0963290462d2c4fd97a586c4cca079673bd6fac63c6b8534b58dadc589da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/routes/user_role.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d164b8856f7aeebbfacf41bba8bffd521cade01c123ff24a32a9cca62edea9d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/routes/user_role.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e0a17a966c1b3714a501a682a821c7f1bd905abbbc5f072a2125cc0a170dfd2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/core/user_role.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c1dd8339b7d8d5d77206924ce91d7898901421245f9ba320adece7eb9381f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fb96a1e10f68bb85e91ac1d50c36b8f5c52c3a64014f5bf462b28c0cc9ecda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d9e0a0d27233f6a6a1e50e5a9288e95f07025009eaea94531643657d964d7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c0273bdd4f606e42ad3bf72ea9d1a686014e99cb4ad98524331d8e7de53f11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"023bbdeded3799049e37688109ae7dece284090676758cbb646ea4dfdc980b4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6b8c87a89c41218501c077350e92e6ffad4357fb879d57b1ab3cb3adfaa440"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"297f85b7046685fb1fffe88804fb357576be09cdfb623d605f29f89d5a68fd77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/router/src/core/user/theme.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf4c3559d85fa28798bb073eb5d4b11744582b71d88cb12c7fbff7539f670a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To be deprecated \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":"crates/api_models/src/user_role.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f86f63e6c03ef276c5180fd6ba9622e8ebff2c38fda9020b8623cf89d7609dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: To evaluate whether we can omit org_id and tenant_id for this function \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":"crates/router/src/services/authorization/roles.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f953715919cea318825c643f3013604eb8f2d2a75f624c86da33d5fcdad4eaf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Convert this to MerchantAccountRead once FE changes are done. \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":"crates/router/src/routes/admin.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7f466975eb32a8ee4d92f4da989dc811217d546b44f9e4335a3930a6538479"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Convert this to MerchantAccountRead once FE changes are done. \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":"crates/router/src/routes/admin.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba548b425231cf70ac9827c417d0c6cc4cb8d4ca6a795aecb19b1d4def523f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Convert this to ProfileConnectorRead once data is masked. \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":"crates/router/src/routes/admin.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a808fad5da08db0a796273a05415a3870ef81d2db337f4756daf6748bdd6133"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use a separate schema for accounts_store \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":"crates/router/src/routes/app.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fcc6dbe57682f40ab4c9ce90ff3f6a38d2dea4a9cdf03805ce3a4f12ea1624"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Deprecated. Remove this in favour of /v2/recovery \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":"crates/router/src/routes/app.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a6f02ce0577d50b1c78d41c8d69e9b3361bc778d81b9c1a6f0ef007e5a82a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Deprecated. Remove this in favour of /list-attempts \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":"crates/router/src/routes/app.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30852e2552279faa4d46407bdb95c93acd7178f40c9d24da89f7269748a7f8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : added for sdk compatibility for now, need to deprecate 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":"crates/router/src/routes/app.rs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6c33e647e1875f14de861c63feef86500a7abdb9de73529b13064e73763879"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Deprecated. Remove this in favour of /v2/users \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":"crates/router/src/routes/app.rs"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d21bc89c6977c7ff9700d82525a10621dcc5899912c84131bfa94d1bb564c49"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: to be deprecated \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":"crates/router/src/routes/app.rs"},"region":{"startLine":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41e4e56382b4106ed299441d817605509f16134aea8d4a60f32c7d52dee08e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Deprecated. Remove this in favour of /v2/process-trackers \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":"crates/router/src/routes/app.rs"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b92117e3f7f5bbda06f563c05581ca726dc56d81627a52685bde13acf8ae30"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: This can be removed, added for payment list debugging \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":"crates/router/src/routes/metrics.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4275831f90dafb30a5521bbb788d0cb622398028a52e2194d43d78cdd24a24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Fill platform_merchant_account in the client secret auth and pass it here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cfb1c716b892610c885a8e2039f79f61acdc20ffdaa8e61fdd53560ea1318ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Enable it back once combined PML API is provisioned \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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"4338c4dbb973000098d54ec5036fff5a9decacaf9cab0be322e72efa9eea5b32"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Enable it back once combined PML API is provisioned \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":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2c5ab858572ccdfcdf6ae2ea9e67a9b3eccad6c18dddf56e2fe1ec9685d9e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change for making it possible for the flow to be inferred internally or through validation layer \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":2954}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3fec2ae979d2474cc0bb8cc1ddcfeea9da26a18329ba96cae9af6648799d5a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Populate browser information into the payload \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":"crates/router/src/routes/payments.rs"},"region":{"startLine":4300}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e43b183a761edfa236a649585fbfd4ff0242fbe015ba1ad0360d5deb4fd59c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this line if InternalServerError is used anywhere \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":"crates/router/src/routes/dummy_connector/errors.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"daee9bbba22bda9114cb01a78f2fe13cca504d5979558faff3e47824ce9c4aa2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: add support for dispute outgoing webhook \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":"crates/router/src/events/outgoing_webhook_logs.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f13baa1ce2a8ac1a8618f4acd3d59a79f90f2cc8fa3557dab7daf566ea3fd62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: add support for dispute outgoing webhook \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":"crates/router/src/core/webhooks/outgoing_v2.rs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a4fac1a25b683aa4d94061e4586d98d55ae13934919c4d4ee74a382ab03c7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\u0060x \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":"crates/router/src/db/generic_link.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb2892fb344a9ae65ebe1f1aad84a9db71fd36641245de6015f3daec2e1b301"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\u0060x \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":"crates/router/src/db/generic_link.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddd0d4bdc1479dcdd02ac31527aefa32cb21417f02495d470d46d523d1e53d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement function for \u0060MockDb\u0060x \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":"crates/router/src/db/generic_link.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d794c94ae387a1917a45374711318723f168c2be878598684ba31d3a9f1a55"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Remove once generic_list_roles_by_entity_type is stable \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":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":4613}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ce7506525ed8a3cdc791404d22424f840dcef605a410e76e6b77027a0b7f31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Remove once generic_list_roles_by_entity_type is stable \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":"crates/router/src/db/role.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9c2f34bb370ac2125b2041195f5c741afc1c4d1fa96fff10f5e9bb0ec302de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Remove once generic_list_roles_by_entity_type is stable \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":"crates/router/src/db/role.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"00162e1a617b300ef4efa9a1e7af542ba661371fab8da0afd9bfbd061ee5d894"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Remove once generic_list_roles_by_entity_type is stable \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":"crates/router/src/db/role.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1ef9ccd721c55bc66810e5fe96a591e275b0307aa25b91895ba4416ab9ad8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Remove once generic_list_roles_by_entity_type is stable \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":"crates/diesel_models/src/query/role.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5691f9ac0651bb3d9e4ed6823a03cd8b7e32f081c94b3c44d61696e5dcad5076"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Handle race condition \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":"crates/router/src/db/merchant_connector_account.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"608eb3b92d83ceede59d33032592fd197dae42273138d8a3f184b7bb6f75ca85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to add an application generated payment attempt id to distinguish between multiple attempts for the same payment id \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":"crates/router/src/db/refund.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c1669deadd1273e3deeac46e6085f97496dc60e94c4e0c20553a81d7db7a77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This error conversion is re-used from storage_impl and is not DRY when it should be \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":"crates/router/src/db/user/sample_data.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3dedb61bd9ddbaeb55e8608180ff7ab609f4e96e052f83d5030367ccd2bd0bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the profile_id should be generated from the profile_name \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":"crates/router/src/core/admin.rs"},"region":{"startLine":3830}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1b2b1b188c4355b77c103641753ec1200270ecda8ad54caef96ae5faac8d99"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Handle ThreeDsAuthentication Transaction Type for Three DS Decision Rule Algorithm 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":"crates/router/src/core/admin.rs"},"region":{"startLine":4765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45cea309ac5deaeaf9ac7de3a5769b88bd1563eb5e732598e0558fa1b609bce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this fallback once \u0060health_check.proto\u0060 is compiled unconditionally. \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":"crates/router/src/core/health_check.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf323572cac88a0fc194dc2123bd882108a2fb0f093db033ccf80279394de83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement surcharge recalculation 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":"crates/router/src/core/payment_method_balance.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3342d52d7e832d8f95351e8eb15b1fa8f87b29eea19b26976c09079d6a9e2855"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: why are we using api model in router internally \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1515}}}],"partialFingerprints":{"codehealthFindingId/v1":"714d8b89fd71b942a4d1e8f9ff5a9d51f8765b2975b66523828073b916ecf96d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: why are we using api model in router internally \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c272c72f57c35421e58113aceb0ea0bc8493f73f970e7740aa67dd1d9fccd13c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When we separate out microservices, this function will be an endpoint in 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":7042}}}],"partialFingerprints":{"codehealthFindingId/v1":"934e68c98c90290de4314693b5f159971112deba9ab33e58569009368400393c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: send associated payments response based on the expandable 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":7789}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75750a4fa69ca0040214431e5ea412150a6750380680f5b9d045b86f85ae27f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: send associated payments response based on the expandable 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":7848}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e556eaf1ddc9a4ae504e0e64c083e1911e8af4b9395b0a2ed3ac397c7ed9a8e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: send associated payments response based on the expandable 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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":8107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9130fd90f46534870c7a860da18bace5b48c9a0966985cf99fb3b233df4f9b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: update the payment method session with the payment id and payment method id \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":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":8366}}}],"partialFingerprints":{"codehealthFindingId/v1":"37626c5e7caf987d19f7de86d900f4395083269f45039d40fa3661e7a3710c31"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this field after implicit customer update is removed \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":"crates/router/src/core/payments.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9ded1a5b0e49e609771c933ab8c19e31b5926643226d36af2bb7cb2fcf311c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to business profile surcharge column \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":"crates/router/src/core/payments.rs"},"region":{"startLine":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94d76578b824225c1b6e692abab24a2fe5bf3bf2e3e45673feb3ba59af8ea86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to business profile surcharge column \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":"crates/router/src/core/payments.rs"},"region":{"startLine":3048}}}],"partialFingerprints":{"codehealthFindingId/v1":"4302aaff09b3231b8c0b232d2b406310db9cab6bc8fb92a164e3f343c4c5d4e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to business profile surcharge column \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6026}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc31aed6c0c491aea3f962d6e4b640cf8d0b78cd5d8cb647fd196b2b17458ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Will get the global payment id from the resource id, we need to handle this in the further flow \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":"crates/router/src/core/payments.rs"},"region":{"startLine":5263}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8f9df7c57e70c021cbed15ed8d793a6ba85e0f3f57ae16c290b8ee264ff560"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement for connectors requiring 3DS or redirection-based authentication flows. \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":"crates/router/src/core/payments.rs"},"region":{"startLine":5746}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c6742e93436b263d0f6bac324fa9ae7017d5d3c7903c09141b5a23d6004152"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: status is already set when constructing payment data, why should this be done again? \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":"crates/router/src/core/payments.rs"},"region":{"startLine":7340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5c04e92dd45db54492ec9b874f64506cc8fc62f4cb005dd9f3e45901ec6bf2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: send valid html error pages in this case, or atleast redirect to valid html error pages \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":"crates/router/src/core/payments.rs"},"region":{"startLine":14447}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fbbeeafb2d0264b95b8327e707b38d09eb8e11c9f243fc2758a4dc8adbfa6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should be a mandatory field, should we throw an error instead of returning an Option? \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":"crates/router/src/core/payments.rs"},"region":{"startLine":16254}}}],"partialFingerprints":{"codehealthFindingId/v1":"71427ae8db634ddec57420c8cfc15e67e7155f6541115ba2109d4939aa1512d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this case. Should we add connector_customer_id in paymentConfirmData? \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":"crates/router/src/core/payments.rs"},"region":{"startLine":17341}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef4c3aeaed4728b9434741ec5bea2540d3b99513cd21771091fa81b5a80f7b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this case. Should we add connector_customer_id in paymentConfirmData? \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":"crates/router/src/core/payments.rs"},"region":{"startLine":17666}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1064ef909619e66e461fe5f92676bf2c6427f001c1cdee16e87379a42febe0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this case. Should we add connector_customer_id in paymentConfirmData? \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":"crates/router/src/core/payments.rs"},"region":{"startLine":17981}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedf3c1d5ec66b4451cffb139d4d4fe5d4f5f783cd52edd6aea7a898fc50b1c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this case. Should we add connector_customer_id in PaymentCancelData? \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":"crates/router/src/core/payments.rs"},"region":{"startLine":18441}}}],"partialFingerprints":{"codehealthFindingId/v1":"772b9f6c5a906d2d9ef43743603add96bf2614d9a12bd87d614378d441264ffd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO decide if its a global failure or is it requeueable 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":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6fbdd81a5db8ba5f31faac5ff85b564164182c45f6d772ed701ee072dc7fdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle ThreeDsAuthentication Transaction Type for Three DS Decision Rule Algorithm 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":"crates/router/src/core/routing.rs"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf42397467f1896723b733cacaa9403da8b26582d763abc5eb5a8099184b02a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add surcharge calculation when it is added in v2 \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":"crates/router/src/core/split_payments.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dfb5b7f80981756d4ac1c2e36f43116bb64d3c420b1c5da762ee0b0ddc6ad8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Adding this to avoid clippy lints \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":"crates/router/src/core/user.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e234f0ad29dc8d4195e9a5a09b399e546a7a9de634ce2b47b3b2b1e3e6ac0f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Impl conversion trait for User and move this there \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":"crates/router/src/core/user.rs"},"region":{"startLine":2492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e342d8a5056c83219e69baa83d72c5ec18584378c6bff3273e7a0c72118ef390"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Use config to handle not found 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":"crates/router/src/core/user.rs"},"region":{"startLine":3112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6df57f9733a0a8f1ca5d70fce0c8a0a686d1650456c46515d92c3849bc8ac36"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add a check to see if merchant accounts are empty, and handle accordingly, when a single route will be used instead \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":"crates/router/src/core/user.rs"},"region":{"startLine":3333}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8b5f9b08fd5efa50111288a87d9dcab2b60bb97534a343a07cbeb1672df594"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this hashset conversion when merchant access \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":"crates/router/src/core/user_role.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3228234578230d8846f01b54d0c58afe9f41b6efdbebb65b62db7f763e938fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this hashset conversion when merchant access \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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f65674899bb3ad40b6f1f4b8f22c791a669f3324796a6e67524db4eb4d05d0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement for connectors that require a webhook URL to be included in the request payload. \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":"crates/router/src/core/utils.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"4568a3167f25689c714a6e1689e07d27b46506409a69692df53f378c3beb91aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \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":"crates/router/src/core/utils.rs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4beca65161267fba846b98b6dd06d8433e6c873387b5a2b96bb1095e13033dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Based on the connector configuration, the connector_request_reference_id should be generated \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":"crates/router/src/core/utils.rs"},"region":{"startLine":2255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a66353464d642038a30776fe025c63538688a663afec526f5e17877aaec492"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this in a better way for v2 \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":"crates/router/src/core/utils.rs"},"region":{"startLine":2782}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a35c01304e763555b8f3e8ff120a6f69b7921e083d36d689f6c2a772014ff56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Set this to null when custom roles at org level are enabled, since product type is currently a merchant-level concept only. \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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"43dd598d0e9aac03579e375c3347c9d663475adc60408fecb90c6b1260d10bdb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Set this to null when custom roles at org level are enabled, since product type is currently a merchant-level concept only. \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":"crates/router/src/core/user_role/role.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90449ea3d8753f62804c616890ae771f5e0d0a2fa1b97d0643a8b281ab23fed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Use Enum with proper feature flag \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":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b5bb53bac439c6ba3b879704bdaccec4e838829ce2ed69d5636114847c3bc3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Use Enum with proper feature flag \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":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"868fae8cfb845c6a89e847fbc26d441c7e6fe56294331d62b98c42ab676db24e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#6717): Delete theme folder from the theme storage."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user/theme.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dd35c5b6da401d078bf07f882db55b3036846545bb91aaec8de5906fdceb07"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#6717): Delete theme folder from the theme storage."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user/theme.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc58b3b7bfeec30a87d096fcf68e6b447fc32939eb556ee5226b626720a5d3a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Populate currency_conversion_data when Dynamic Currency Conversion (DCC) is 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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":3328}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7253919945e9c32a820da71aeb2f6a00136e1c50de2e40f5cbd18efeb4a557d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo UCS \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":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":8090}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f64ff32da76d7d2dc4b8a5a52f5dbd1c1db7863f8236186a4d7d23b1eed12fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update the status based on the status code or error message from the API call \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":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f9bba558156ec5688ee62144e412de627f411b2867ffbd5401e0d17f0da187"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once open-router makes this field string, we can send from attempt \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":"crates/router/src/core/routing/transformers.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee14c82e01c83ebc13bad66363bebb97a1b8b411a9551d0b267fab9cc1ae15f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: once open-router makes this field string, we can send from attempt \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":"crates/router/src/core/routing/transformers.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52846b64ad1a728e59fe13d87e7c15db481affff319c729c0e55072d0cf21ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Use api handler instead of calling get_tracker and payments_operation_core \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":"crates/router/src/core/revenue_recovery/api.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4ad86e6146f99aa137ac52870150b9b3c50d268045103f4a0caf2c233d2d8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Use api handler instead of calling get_tracker and payments_operation_core \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":"crates/router/src/core/revenue_recovery/api.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5437e53cae2a478306a3f2d06b58d6f6c1fa2506f027adaf9e976bb8068955b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Use api handler instead of calling payments_intent_operation_core \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":"crates/router/src/core/revenue_recovery/api.rs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7187932109afa03526801833ee3e58e7d62cee46b9791a732d453b1249b3640"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for retrying failed outgoing recordback webhooks \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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62c1f34b5f88b609cb9636e9a418ca087ee0a721be4e84f21fdd2f45dd6dc8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for retrying failed outgoing recordback webhooks \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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8bd6d4fcb6be7498985202c979b512c6b194b8cfe49103a9b642f70e5c75cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for retrying failed outgoing recordback webhooks \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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"27682da7e9103576e191371648ce91a3b3e85e104c01fc3d4f5f95dd57662715"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for retrying failed outgoing recordback webhooks \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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad550c1f9f6a32e4b84c35dad4dfa59d729bc7bc574c45e9ac82212f959df551"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for retrying failed outgoing recordback webhooks \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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7900f82349e3867f26032813bcd1a1ee7bc8ee5ecace5b1fdacbe07566d1b14e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Retry stats not recorded for partially charged payments \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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3ade837104989a471dfe650bd55734f873aeb67f762ec35505c307c1120ca7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move these to impl based functions \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":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1569}}}],"partialFingerprints":{"codehealthFindingId/v1":"509a8e36145c40f981d6eae766d4e18f0c593a84293c8b999b0c5abfdb32bd9e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make changes in connector to get a mandatory code in case of success or error response \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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"675d32dddac2ca407219ae0cae2a519585001a6b50ed1d0cdd0400ccbcbbe1e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make changes in connector to get a mandatory code in case of success or error response \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8315}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c83b7d2edb2aa550737b99fa98d1f0da3d790d680e80ae5d80b23b93685cb4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement v2 logic when needed \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":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1893}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b8ebdb6f41ec4119fecf15cf561de5d4d560ce63102d0bd8f15a13cd0707f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : move this function to appropriate place 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":"crates/router/src/core/payouts/retry.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"71909598d50dc7c79f0983ffa3aa9d9657e03ce08631823ffea03165ec6b2149"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : move this function to appropriate place 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":"crates/router/src/core/payments/retry.rs"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d2fb4e5ca505d76a1898334ef469fa9e1881bfb6cb6ca85d72058dea216e5f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Construct connector_customer for MerchantConnectorDetails if required by connector. \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":"crates/router/src/core/payments/customers.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1d4396cfb90eb36243c22d3b4cf9f81059be0e287f8b42c974fad967259ce3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Construct connector_customer for MerchantConnectorDetails if required by connector. \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":"crates/hyperswitch_domain_models/src/customer.rs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"811f6899f97b720c7c35470a8b4aaefc45349ceaaef3947a39430d5e07d35ecf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle gateway_context 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":"crates/router/src/core/payments/gateway.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e4bd8ad0a3f436bdd86805c4870d28043254807af185f5d76357f66051df85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Evaluate all the helper functions () \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5849136659f595f62c8c2b8896ad56cf3c80dcd3a0753b95a9d17bfa6322c60"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimization: This call is redundant if intent and request customer data is exactly the same \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22fac07acecf04d74eea9fadc376bd84121934e69cf3048dbe565e5a153b611"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle case where payment method and token both are present in request properly. \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":4054}}}],"partialFingerprints":{"codehealthFindingId/v1":"564b9605b87c11eccaa5fad910b44d93aa922de463d5f82249ce25eaba499bb8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     todo!() \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5767}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ab838d226ae28ad662083e6cb563ace9680d68620b2d5b82e619c559c67839"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo! \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5937}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c55de4e0f20b7e4a3a1abf3c6b174b83e396f32d637900359214af4c5845b05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: External authentication not implemented for BankDebit \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":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8982}}}],"partialFingerprints":{"codehealthFindingId/v1":"694b81b5223163efc502bd837c7e61c5e68f5eda16840c8a15767d8a1561359d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do not take the whole payment data 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":"crates/router/src/core/payments/operations.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"984c4dd8e76db8397cce0ac4c46a29ec307ec8c65bcdf72e549e9162d2a953ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do not take the whole payment data 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":"crates/router/src/core/payments/operations/payment_capture_v2.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e47f9cabfa22b627e947e399775bcbe301691f379e6ea7121d296c2a856e3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do not take the whole payment data 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":"crates/router/src/core/payments/operations/payment_create_intent.rs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6710c9729b40264aef7ea2914fa4d18bd7e84f8a969ec91ae1fad0c6a5ca7621"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do not take the whole payment data 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":"crates/router/src/core/payments/operations/payment_get.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b996708d18b406fee19d7253dc380afed880f66d904164f09ba9e62ec831c8b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do not take the whole payment data 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":"crates/router/src/core/payments/operations/payment_get_intent.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fdbfc730a18c8f6f36e4ae1d29a1833b0d59d69f306db81fc0d1ecad2a4a48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     // TODO: raise an error 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":"crates/router/src/core/payments/operations.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a8b8e1fdd09e865342a0ce4533545b4279b22e67502f2f8686e843aa43974a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     todo!(); \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":"crates/router/src/core/payments/operations.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92b4a8b2da03ca4e004c47e27efc9fd2191ec5b502ac8b5ff9089bfb6db3dcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Perform surcharge 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":"crates/router/src/core/payments/payment_methods.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ee056ade8c08dbff3351b20c9380556aab729f6645818945362716c55126d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Return card_networks \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":"crates/router/src/core/payments/payment_methods.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"766b7c1903a12ac607480374090c4c13338bdbf3ff6421904b981c083bc1556d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: call surcharge manager for session token call. \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":"crates/router/src/core/payments/session_operation.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50cbb3698932b48d5909540d3f597b1a5b13667c1eea2b2a2b4af36590a8123"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Take Globalid and convert to connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72820839a11bf84e88f7faf47189bc6d6dcc1eb6a61cb9d50d7931a0ec8faef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Take Globalid and convert to connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34da54a962a12a0769e46574d0ec2063ebc50fa7475b8b0265602f4a3ec140e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Take Globalid and convert to connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cfcd1530b3cd83c035597c8c71147f4548fdfab05e3c7707d8155ad2e19b6a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Take Globalid and convert to connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1631}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba59213063722078c226253493b2a87ca7fe7f938220452619c8c2dbd3649d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Take Globalid and convert to connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b6eadc0f8cf83cd1496a4419134d517a10ee01f1219959fbe08ea8b179190b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: few fields are repeated in both routerdata and request \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"70083e6cd3618f3c0ca5b3a788c49dee53db2e1aee0356f0abf837ad144d4e05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: few fields are repeated in both routerdata and request \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d00d83249c67e14d0a9828ce1410f772a9a0b4589840c00bc389c7dbf302cda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: few fields are repeated in both routerdata and request \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"070b155676273c9cfa2cf70f2ea0c1b746c9f65885f0314e6a560a1931da20a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: few fields are repeated in both routerdata and request \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a7910ba70fd66a2655f16f43e6cb3d27812ea7a4b5d853fd93e67a55653722"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate the fields in router data, if they are required or not \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fef3a850fab044143b6b45ae9f2776be755655bd647cb247a83fcd97ca5241"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate the fields in router data, if they are required or not \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe085d62c4288bd711b3e719ddab420759d06de6f9a8e648962111de331c5ca4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate the fields in router data, if they are required or not \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"34efaa978ab7c14738c8990ee9564dc03c54b9524bc8baf8683fcbb32f819d40"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate the fields in router data, if they are required or not \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a364133f02617bf40cc2a1ae542307b668be34419f2438f6303dc34d83d0ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate the fields in router data, if they are required or not \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1975}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea50a33a7e3e152d057079583eddc8bb3b2dfec927cdb38e41f2e1fed2a0f457"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need customer id at the connector level. We already have connector customer id. \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"9596cd8d0043224e9c81d59a83c45751a1159b26f4b11a76f688d1e1b611efd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need customer id at the connector level. We already have connector customer id. \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"35cd11671ec8944cad183cc17f5433468422749acfebffb78d596094df019246"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need customer id at the connector level. We already have connector customer id. \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e673de0f085209e02f7348400b246846fd2018908a10089bc5c5d40c8daa053"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need customer id at the connector level. We already have connector customer id. \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"7114bda5b623bee055fd8ac184855cfd0d46eb523269e2ab8c2eeb4a58fd85a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need customer id at the connector level. We already have connector customer id. \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4515bedc4b47cce1e99fc77f1ac81a00b85bd3b30abd0ea11afd6b9083daf79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need payment id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5afc45ce396fbd3b0851b3a82ca19139ca50bc24b60118d7dff4e7ebed6833"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need payment id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e46819c23dc1f240b8fc298ba1c6a7a64bbaed44111f8a9cbc3615479a7721"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need payment id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1374}}}],"partialFingerprints":{"codehealthFindingId/v1":"e717f088e3cfbbd4dd3841a9cbf3ff8f7c1c881bb02cb7597b1c7f5eb7fba03f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need payment id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1736}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a754f811c167682705327f9e69e5fc6e55fa7d9c0ca389e2c9faed5cd83a59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need payment id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa8bb01bf0f6b5a597cc780528fa1cc505b4fc44f2b73bee9e4e54039229cdc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need attempt id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"283ef2e36234322c7757aae77e00f008893e78bd66c0dbfea069704533957e01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need attempt id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a1c2da13a430e0b68f34869d4bd83c75203bcfa541b15b6d869f5f1d59a29a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need attempt id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e260f6f44da48dd2e8075e6c2c7913f791266eb3a27b811b1e1fdcaddf7a78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need attempt id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1738}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ed791489de07015bcb819c445488d50cf8f67c951f6b156bd60888cbd4fc67"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evaluate why we need attempt id at the connector level. We already have connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c87b0f542435dc2b9afaa29b698d8cdeb1cb0f352fcf195ed3fdf424d1760ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create unified address \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cdc698bf830e3d33c14abcb6a2c20c26be45f1b13fefff18c1a94830a87ea8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create unified address \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"993aeda53affaa806aedecdcb7f7d594608302c9529420907e484a308519597a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create unified address \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d0a2fdde85e0906c3a509634aeac1662198ad198673fd98052fa3217b54ba0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create unified address \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"c140c2a81c5d19c3e214b60180c49d105a676c243e7af0ad403053f954e27aa9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create unified address \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"71de870ddcbd5360b49c842c63be265475d542ea1f2e035be6d9315f5a537f61"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This has to be generated as the reference id based on the connector 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e115217b5bc856d1d5fbd5f9f0f4eb413f4a7068736d8a3ef38895cce16bac2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This has to be generated as the reference id based on the connector 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bd8238f4dbb8483fd96f2d2eef997d23481d2f69c60eb79844b03684bc280c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This has to be generated as the reference id based on the connector 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb322dabe08bc64e70b555cab4bda3c678fc61bc522f09d82ca713eb242c9e1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This has to be generated as the reference id based on the connector 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e19a43a37701b2cd6ecfac6ad62bf19d81fc97381013b15ecf6e0cb0647ae8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This has to be generated as the reference id based on the connector 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2021}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e8b1794fda3c92630f54c2b44dabeff0f8687eccb65212f82c41aa799f1fba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take this based on the env \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"5966b899abe0688a56109420b3d5a2f268bb7ebd33e67b3be07d509f934c33f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take this based on the env \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07b330281a70b7d91bd72961d8cf484485688825e89d28dc693a02f8f53bd19"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take this based on the env \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7afb851bc59f7afa9425b25477a129178ee5c89b3dfdcf4eb30119fb1453c42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take this based on the env \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1777}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca495da2ba1bfcdf77902e63ece8605b311f28d46878d30c6db5595b701b0f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take this based on the env \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a00c5726a6517e4de1412601f3e45673f85e52fa0483f5fe11d8e30bb509fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add multiple capture 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a26b8b8aeb2f7ff2acc30592ded6b912f847202be6db2da0173a6dddf87077f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add multiple capture 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6327}}}],"partialFingerprints":{"codehealthFindingId/v1":"042283133586debf6b5d0127bf4891b6ea7170c9d42e0b1dd7984b661c60b7d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: why do we need browser info during capture? \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c278fadf6903e769e8312e964c2c9bc58d99437653b4d2d2c7b2c2b1b470aa0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: why do we need browser info during capture? \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":6329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fb410199d86f056911c262ca375cf36b20482248988f1450ea1919c0c00890"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Take Globalid / CustomerReferenceId and convert to connector reference id \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dc835790524e9c47ad6345636e30fa68f732081a9fbc26350720c20810094c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Get the charges object from feature metadata \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8f33014bf3efecacbfebad2dd9f4bb11b1026b64a11dd6a50af7b7a346f92c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: populate surcharge 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"859598b8912201dca4a58990c4c4f03007bff8abefff639c93b94899083b4d6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for other next actions, currently only supporting redirect to url \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3351}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b74c628ef2ceda4b840aa8ac58088b7e673352108a03338f909106728a1953"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add support for other next actions, currently only supporting redirect to url \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3512}}}],"partialFingerprints":{"codehealthFindingId/v1":"f328bf87f05241a9976abe193126f5d072762f5ef53ba5a9c48d2370c18359f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: add 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e347231f022834109bbed810e0198aa6ecca6bb96e032ffd4b6c987cf523932f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: add 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3429}}}],"partialFingerprints":{"codehealthFindingId/v1":"626cb0b6393c096a1ba3c1118546f423050dc49b212327b05a8f279fab630fe5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: add 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"950da9c1afcf13469187b97bb97e18ad4fe36f57cc729ff4dcde5ae2a2b40da4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: add 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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":3587}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95d5f9a0c5e2ce1d489be8d27393a045093765480ebe805ed40664a86e2aaf2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fill in details based on requirement \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":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5241}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa4bde12f09b34a908645f56546880b974aa5242f13f3191268855582def17b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement external vault specific payment attempt creation 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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85b3c504cbbe0483a53a524f89c225df5c97c63f8172f8d44466881932391c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Extract external vault specific token/credentials from request \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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d113c035da585b99b92bc75c45e1bc466850338a13407494fbb3b089efb18037"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement external vault specific mandate data 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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1339d7a3296f351a3478c070dfb778913e3ee7674db6cc063d9e6dca0363fa0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Review for external vault \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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fbefab9d6c167d88b67618da7bdeeece0f951ed7cf54ff8b723187b4a5b441"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement external vault specific payment method data creation \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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffddfc467ca0ab2957ce4b34c8fff7f18fad833785bc288e7597b71e3d7cf2c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add external vault specific post-update 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":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e333b3f6b3a3baf9ab4f581eb47e0dd095ef18be91b6d9e4613a14a04aec063"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change the macro to include changes for v2 \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":"crates/router/src/core/payments/operations/payment_capture_v2.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"695a4aa41c3e9e4cf85d252821bbeb3d30b78dcf248314090ef00c85a223fdb0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change the macro to include changes for v2 \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":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9c557b959e768309199fc683a22a4c44fa1e3470bce6ffa75ab4f6d50e3bee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change the macro to include changes for v2 \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":"crates/router/src/core/payments/operations/payment_get.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2cbb34504ea9c9fbd6ee152b3723eadf3b5a6a9446a099281cb0030a348d2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: PaymentData in the macro should be an input \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":"crates/router/src/core/payments/operations/payment_capture_v2.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"82447adda11703182eea566396bff1e93679f4bd7a97c48cc9a72e5dde194f4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: PaymentData in the macro should be an input \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":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"305cc4c9df35733f80eaabce16221feb72399de9ed415865061110cd9bafc73d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: PaymentData in the macro should be an input \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":"crates/router/src/core/payments/operations/payment_get.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8f1414202ae784f4e7b77426fe428cc6c6813ce71a60439e3931cd010385e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once client_secret auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a578bd3055e46aa5300df684951ce9b29658dd19cb620cef80dc2ea4628ffbf8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once client_secret auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a200716ff401b9661a0c0fa6db0ceb5e6a1a74421db7f7bb0c49035e6a5d52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once client_secret auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_status.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bde68803723633c38099f26254f55f3c5414892d440e4ec207f13362454281"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once publishable key auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b377964788e49ab7ed408e06de6cf39f9b39f15fc4bcac37c7caf47e5fb3d6a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once publishable key auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm_intent.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6647a88d6390de7e6954f6a433111efc525f35d0bfa8664e66e361e3aaccb1e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once publishable key auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_post_session_tokens.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2d880b48bd04a9a8a3741844e7c65cf12e26a7fd05f9bb989911a7cc1b6b72"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once publishable key auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_session.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8c6e495c47facad7b652f724fec6f3dec21142ba3a181b1df539d849ca23c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once publishable key auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_session_intent.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6f2545ddbcbde887ca5044d7e759350ba0f08d964c58a1cb0836cdad832d7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once publishable key auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_update.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"958daf5ba76c0223dc0b8f5083f9a5eeee2b7989c06a3fab56cdbe1ee49cc6c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once publishable key auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/tax_calculation.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c6bac67cf92b71438274f482a731d0585957f4f7dd66d4af5f0c7e8e505760"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: do this later, request validation should happen before \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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8cb5576600acf175a6f7dd7b2a6f60c0c755b95ebac6a6661ac186f44a54e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove once https://github.com/juspay/hyperswitch/issues/7421 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ee29b993a561999cade628d602a44a5bfd46a74b8d3079e8090f7192e3441c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo : add a way to fetch client secret if required \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":"crates/router/src/core/payments/operations/payment_get_intent.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8fbb0e96c269fa72f47c5a2ab02af318713ecb6a1e369436e9606931ecef4b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor of gsm_error_category with respective feature flag \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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":2657}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfc8411ae41847ffc6bffa1cc1510cfe8e630e2b403914e53445e04f15860c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add external vault specific post-update logic if needed \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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":4931}}}],"partialFingerprints":{"codehealthFindingId/v1":"97646ffa3baf89547a82e32c536f21f337ade73b0b5317d0a66eafb705ae1f5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check what all conditions we will need to see if card need to be saved \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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":5044}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aec1294073b66ae06391c8b12c793054fd9e87d3a42aee5c6cecf56cf9687bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: create a new payment method \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":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":5122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3efa4047931702ee352fffca2ef1c0281ffea6cf2fd6de2ca5c327715e93191"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO (#7195): Add platform merchant account validation once Merchant ID auth is solved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_start.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9656ce00807fc90155029e2e2a39cf98dbf11c22eb020b13005d178c4e1afa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Temporary solution for Redsys 3DS invoke flow via UCS \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":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab61f2e127e4198aae362098b0dc8a5a8f14a0372b2fb70b721cd3ccf8acb145"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this and handle it in core \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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"189a860205521633096bd38f596d9df23738327cc5ccb8f8c2fd604ec681cd7a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fold proxy-vs-direct UCS dispatch into the \u0060Gateway\u0060/\u0060FlowGateway\u0060 abstraction \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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed28b436d4d080940019c35606d0515039bea742a1623eacfd1c71317cebf47d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fold proxy-vs-direct UCS dispatch into the \u0060Gateway\u0060/\u0060FlowGateway\u0060 abstraction \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":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf92c8afb698594250441a24a41e97f02af2e6e02e7dd360fcadc5ac187e703"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: customer need not be checked again here, this function can take an optional customer and check for existence of customer based on the optional value \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c06fca7e7f95fab5251ebecd13e715e09bafaad7c70ab916df4994789bd102"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: customer need not be checked again here, this function can take an optional customer and check for existence of customer based on the optional value \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b2a117d487b5119f05f8069d740b9333ea0c0ec23e3a368c01e2958c694ed1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Move to business profile surcharge decision column \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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5956}}}],"partialFingerprints":{"codehealthFindingId/v1":"9208b9d899b7d3d371be5267b6f4eaf0923b7a10c7c7d9a4dad3acf6c91e6bc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Migrate PaymentMethodsData to domain model in v2 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":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":7264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31e23ced5700680a26a76650c2531c82f1ed51574206a077801dbf989b70d96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: uncomment and resolve compiler error when required \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":"crates/router/src/core/payment_methods/surcharge_decision_configs.rs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"14037330888abaf919a43e6793c48eb2e7706615145eddb5bf3fef08605d3ad8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check how we can get this field \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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9569c884fe51f6e2f1cdeafaab979fb4d1ecb44f8cabdabe3ca46c3d6a9372"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check why do we need this field \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":"crates/router/src/core/payment_methods/transformers.rs"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee47618fde9eddf533c2d4ea28e3fdfc65aad116e7f7c872468a5acab94a814"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Replace with utils::when \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":"crates/redis_interface/src/module/fred/commands.rs"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc98210c7cd28263f2ae7bcc5a6d184c3f761c234d04bfe880d47479fe4d8175"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace dummy response types with real v1/modular models. \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":"crates/payment_methods/src/types.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"30982cea55ca7da11d166d9518146a36fc1ad5f6747229a7e96210d9d99b3846"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace dummy response types with real v1/modular models. \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":"crates/payment_methods/src/client/delete.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"998050e1c43f154a5c8f9eb8377a0c0483e1d0ccca0840ca2cd22bc927531ba8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace dummy response types with real v1/modular models. \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":"crates/payment_methods/src/client/delete.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e97a97293cc21797374bd7288a317602691ee3ad7854e6fbc16e5b90c71261"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replace dummy request types with real v1/modular models. \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":"crates/payment_methods/src/client/delete.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d29a1998b43c59b6a25da35b93040160089e81994e4320e8736b739a75842c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Do this using utoipa::extensions after we have upgraded to 5.x \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":"crates/openapi/src/main.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"68471470c3fe32c6b37fb6a5b32a4c018611a497bd4517b1ad7e0080a1277e14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add examples \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":"crates/openapi/src/routes/payment_method.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd94415691cba09ea4d23a58d0255579551ef7815705fd60b15ab2c95e4757ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add examples \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":"crates/openapi/src/routes/payment_method.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d10936642d007a101c0bb3ceb622edcecd2ec63ef999c301e1d8b1915bac6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add examples \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":"crates/openapi/src/routes/payment_method.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f43f11a001bde97d36c73a00600ab3757b7b87f495286dcd58e358430958c7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add examples \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":"crates/openapi/src/routes/payment_method.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12d38756ac98abdce7047d870bd8459fc78f42526f8babf3dffad0ca11e5f42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add examples \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":"crates/openapi/src/routes/payment_method.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae0057151930c8cbce908a29dbb320dab7563258120eee240a6285816a451e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add examples \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":"crates/openapi/src/routes/payment_method.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c335f3e899b46c291d07819e377cf2eaace23ce53da1eb0df3a8972726583815"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME write doc - think about 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":"crates/hyperswitch_interfaces/src/api.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2301b01dad21282b414d499da5840ca656639604ae3c060945881dfd9d50849"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: Global tenant should not be part of tenant config(https://github.com/juspay/hyperswitch/issues/7237)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/configs.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"190db016f4659d72120297b3d6e28ed1f6c1cb7ce11b0dfb8261259653211f26"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: Global tenant should not be part of tenant config \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":"crates/hyperswitch_interfaces/src/configs.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc826507474a3c2cac3d6357a849f74c3cfe3684962b02c7771db4107c64888a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Currently the refund amount returned by the connector is \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":"crates/hyperswitch_interfaces/src/integrity.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"072b0c77e86909ac45d420ff18885a27c269a489af9b9930aec1765210294275"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle amount when there is a currency mismatch. \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":"crates/hyperswitch_interfaces/src/integrity.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e716f11cb64625fb9a84afc49794cf0fa7089245cc5e281cf8bcc34c834304"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove merchant_id from here once \u0060id\u0060 is an unique key in DB \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":"crates/hyperswitch_domain_models/src/customer.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"020f4dbee88f316190cf92ad438076a779854dc043732ae2456773b05e4e7b63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove merchant_id from here once \u0060id\u0060 is an unique key in DB \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":"crates/hyperswitch_domain_models/src/customer.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc368756d3d71d3e7b0b2540fcadc32ab3be220d081402b3b4edef6e68e30e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: uncomment fields as 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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":1483}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee07e2b179f4f37336035ee42dd017f66f778bc084e829363cd3b94d1f5dbb6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: uncomment fields as 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":"crates/diesel_models/src/payment_intent.rs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fc1f2901885fdcaf07dba5ee2ed58413c88e723b25d7730d8c4557d900132f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if this can be merged with existing payment 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":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aad1b61a986438ebb0779c4c43ab356279d4d41b4cc6a3082e3dbbd0e83dd4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should be a PaymentId type. \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":"crates/hyperswitch_domain_models/src/router_data.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb2be51b30ca7dbe2b7091750d0424081ea3b1ff66b2bfd69ee5dfa0baec563"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: External vault proxy payments should not use regular payment method tokenization \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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1d47a4b5e9b56c81840673e229e4c5cdf3df81dbac6fa2e46b3d168336fd98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO : add fields based on the connector requirements \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":"crates/hyperswitch_domain_models/src/router_request_types.rs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc141fc575b922b92f0a28e5ddb4637f167de56cd8fcbb73e5116f058582430"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change this to RoutableConnectors enum \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":"crates/hyperswitch_domain_models/src/routing.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f7eb3efac2b0f10866c3376a187dd804b6dae9c56351fabd4e14df6d611bed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use connector enum, this should be done in v1 as well as a part of moving to domain types wherever possible \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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45e21ae170365090eaec5ae5bdc6faeb757dd910ab6b93a3c4df0d0e30b45f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change this to type instead of serde_json::Value \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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb930ec35838812af5eb8957dceaa391324f8d8f3b2227d23d18cdac55e0f5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if we can 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":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5aea7cf9b6453d2afd0c122a93649cdd9e9f27e0cfb1f776c2223632af1d842"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check where this conversion is used \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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6a32be5eaaabb36ddd220b7914576d1569c37d9045820b7539bdc9d5cc5039"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: error message \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":"crates/hyperswitch_domain_models/src/errors/api_error_response.rs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b4512126eecc00d63b38ded8601eb8bbf59d6bdf1b92c5215b8f677d81c175"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: //FIXME: error message \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":"crates/hyperswitch_domain_models/src/errors/api_error_response.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab42b432c260b27c3dbe4cee0707862fda84c839423af614aed56a6ef51b1bd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove \u0060ResponseRouterData\u0060 from router crate after all the related type aliases are moved to this crate. \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":"crates/hyperswitch_connectors/src/types.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3c7a2398478797cb7e461b5ec1fd95c97331b363cf809e4311658e93ef30a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make all traits as \u0060pub(crate) trait\u0060 once all connectors are moved. \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":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0385a15dcee5113f2ee2e89ecc2777d363c1ec2edf813200906121b60392cdf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ParsingError doesn\u0027t seem to be an apt error for this case \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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaa4b39c98db17be728ac3d4d4c5ba5f30db74068f66650a253754a436a0561"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 97 files: The identical TodoComment appears in 97 files (101 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 101 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//TODO: implement sessions flow\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/affirm.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f898e54a28f7932c8391de04d0ea35dcd36f169e8164bf25e412be149b0d797"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 20 files: The identical TodoComment appears in 20 files (20 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 20 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//TODO: implement functions when support enabled\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"887a793a0e129987be851134441687d8658842a71c5299ae698a440bb1c3de3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add logic before deciding the pre processing flow Authenticate or PostAuthenticate \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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dd1ad7a4f488ba83d1d5453109d5a975829e9630572ad6ba7bd22a74eaab89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add logic before deciding the pre processing flow Authenticate or PostAuthenticate \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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6beb1b6cce01207a1dc396574c4f90b159d8f727a3c1fa58cd56abcecbea46a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add logic before deciding the pre processing flow Authenticate or PostAuthenticate \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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":2408}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f08a8ae3ddb684a759d761568ce634f5b64087c033c5c52a215c5ca86da4bad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add logic before deciding the pre processing flow Authenticate or PostAuthenticate \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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"306045e80a323fcc08700d6ce738d1813ad88bfaae27348137a6127b12cf8770"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add logic before deciding the pre processing flow Authenticate or PostAuthenticate \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":"crates/hyperswitch_connectors/src/connectors/cybersource.rs"},"region":{"startLine":2498}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9860afbd5ec31493150f2ef70cd24b1c49eb550bfb9f452488df855038c41cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 12 files: The identical TodoComment appears in 12 files (12 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 12 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//    TODO! Check connector documentation, on which unit they are processing the currency.\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/breadpay.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b6c6412c80a155cdbafe2deff8a3b49d564b5a61e09c94b456cb35a088827c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement functions when support enabled \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":"crates/hyperswitch_connectors/src/connectors/chargebee.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"c779d80d0cf50c194bbdd65f71c3a100f6e8e04d99f9580440910837d20a1374"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this after debugging \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":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ec7f1e29f6194540833c8631984a4d20b78eb1712fb04b7dbf75ca2a895ece"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: else handler, recurrence revoke api to be called \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":"crates/hyperswitch_connectors/src/connectors/santander.rs"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d8c712c2fc9d4e540e7ea9517c9536381a273bd1a1aeb0e4d34c5722eac8aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 51 files: The identical TodoComment appears in 51 files (234 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 234 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//TODO: Fill the struct with respective fields\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/xendit/transformers.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"558c3ffaa35074fb5f14b88effe08acf58d145a21b1c621e356d0f26d2f93da0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 33 files: The identical TodoComment appears in 33 files (33 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 33 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//TODO: Append the remaining status flags\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayraft/transformers.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e007f65239c27aa5afbbeb5e08d74e57be155cdc63e30bf4368a25c6b13af5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this later, kept purely for backwards compatibility \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":"crates/hyperswitch_connectors/src/connectors/worldpay/transformers.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb17ba67eb156b656a441418a596633f06688cc9bab2ef063a715857491c2135"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 35 files: The identical TodoComment appears in 35 files (35 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 35 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//Todo :  use utils to convert the amount to the type of amount that a connector accepts\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4ed9cd904d87ca7681915cac6461274e57d472e2adf76e5d9fb10661250636"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 40 files: The identical TodoComment appears in 40 files (40 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 40 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022//TODO: Review mapping\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa0627373b7a4190ae9b108b8fa9732ded199b325cd8105835bf88fce2f5479"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO! This field should be handled for billing connnector integrations \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":"crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"793594101fc733b871e89b1811b8eba0b6a178dd900d92579be802f4fbaeee79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO! This field should be handled for billing connnector integrations \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":"crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1b7005a6f7b66b9c76f9dad739641eafc8863f488dd98b1ff340d04d5099b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: Fetch Card issuer details. Generally in the other billing connector we are getting card_issuer using the card bin info. But stripe dosent provide any such details. We should find a way for stripe billing case \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":"crates/hyperswitch_connectors/src/connectors/stripebilling/transformers.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8070db9332ef123204aff1d80abb628952c34abddf57872f82fb7814b776048"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO check for customer acceptance also \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":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfbca8644ef3c14bb0ef0e40eeda23d8edfb7a267bca54531815d286c2e5780"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //[TODO: Line items specific sub-fields are mandatory] \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fee36fa2b7ca9f4d90a3d4280928e0dfb5e1ff31435611de587aa3805b33e2"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove hardcoding \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":3140}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf7da005a00bcee1ee7f684ce109906771520e883ed9e4dcfb8489763730954"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove hardcoding \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":6220}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb9f0a1e340585516794e8ed67210d9e4b78bb1f3c1946c59fb5edd4852660a"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: Remove hardcoding \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":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":6896}}}],"partialFingerprints":{"codehealthFindingId/v1":"8825ac018d0cb95dc3c416128351eb78347153e84de046188e9c44dd08e878b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use stores defined in storage_impl instead \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":"crates/drainer/src/connection.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1624f6a95980180d13af54b12a28ea26986e7575f6d52bb9ad042c9503cfa88b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: uncomment fields as and when required \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":"crates/diesel_models/src/payment_attempt.rs"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b949be1fe8eca0813cc7eec1b1d79b28fe33ef85d309d58ca961946845ef0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check search_tags for relevant payment method type \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":"crates/diesel_models/src/types.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc5c326172fe172330f436072e12f17b69328e02197030d424c21ab3c3eb991"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check redirect_response metadata if applicable \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":"crates/diesel_models/src/types.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"587e89dad17db58d712250c2eab0bbd7c1ab076ac56cd4f97a7eaafa0f1c77af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check apple_pay_recurring_details metadata if applicable \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":"crates/diesel_models/src/types.rs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edbb0560c248d1678c6e18ae5de7654594eb80d3423a0464a33f3342e77631e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //         todo!() \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":"crates/diesel_models/src/user/sample_data.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5260949237bdc53daaea83cc60ff1c59247a3e2eeda16ac8d3240e9927ea6391"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove these logs after debugging the issue for delay in count query \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":"crates/diesel_models/src/query/payment_attempt.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b7c8628b309fd262ed3e843a33b2667214d9b651f914341e3bf614e3f546ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove these logs after debugging the issue for delay in count query \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":"crates/diesel_models/src/query/payment_attempt.rs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"104e743e90f719c804b46eb11d983a63ef0671d22d8ffa64e222175bf5414418"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This has to be removed once the corresponding apiEventTypes are created \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":"crates/common_utils/src/events.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"693e567a8c30c189e297c5341a0ed303550e35df8d28d65b147c9941b17f92dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally all these types should be replaced by newtype responses \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":"crates/common_utils/src/events.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e99675f74a61cd550445e6c6fd4169e7a481de52aa50f4a578f84fa240efded"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: add docs \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":"crates/common_utils/src/lib.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a529be202c007d9c664b162f0d2a022eeb2a43d9e9e1a1d76f318f84b940cd68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: add docs \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":"crates/common_utils/src/lib.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e44000180cd039b9390f796caec088d02a5d3e4afd2153d90315fbd424a3033"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Todo: add docs \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":"crates/common_utils/src/lib.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"44437584571093d28ae6fa03ef192f65066b850d7395b9ea7d552c3e93720b6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this once actix supports http crte 1.x \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":"crates/common_utils/src/transformers.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ee9656836194c0fbbb94e8108f81f1cd2f18b1798010513a8de2f24c92883c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove this function in future once description in router data is updated to domain type \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":"crates/common_utils/src/types.rs"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0a9a4007858645d8b6557ead4de884b89d91c091368b28a0c8278425f02da6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor the macro to include this id use case as well \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":"crates/common_utils/src/id_type/global_id/payment.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a5117b40d8bb7dc85e25d0678a098875d38e77ba611202b8fe9c101ac55001"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor the macro to include this id use case as well \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":"crates/common_utils/src/id_type/global_id/refunds.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7449d8250b139d2200af7f50e551506ab811082465b24a9b1f7fb2994998231"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: refactor the macro to include this id use case as well \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":"crates/common_utils/src/id_type/global_id/refunds.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4290033d8cab87ba815f33e3b40ef337b01666f98d712a9e65286d67fd958ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This decision about using KV mode or not, \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":"crates/common_enums/src/enums.rs"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d505780a8875b2cc1a3c6bc5f81d1a6ee5775c0db87df35fdc6df513796637"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: temporary change will be refactored afterwards \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":"crates/api_models/src/routing.rs"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3504fa41166925cd0c893ff00920f90d420c5399190ccd3e99b6c82be0676f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO RefundType api_models_oss need to mapped to storage_model \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":"crates/api_models/src/analytics/refunds.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccce0a9dd2155b8dad4f3bede2f167cde757562ceedf943c9a64d1f7137d975"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO!: update the execute_query function to return reports instead of plain errors... \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":"crates/analytics/src/sdk_events/events.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"457235600c5e255e4be7772da45436cc3f6bad2432903da78f06e83fdcb20779"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO!: update the execute_query function to return reports instead of plain errors... \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":"crates/analytics/src/outgoing_webhook_event/events.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cb641d5404ccd043ebc1072cf8f58b65275c65e5a6d57f23c256cd10d375f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO!: update the execute_query function to return reports instead of plain errors... \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":"crates/analytics/src/connector_events/events.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"836c8b8ac3629bbd56d68a5e57b721970c08995d9a565c61239ffc2f998246d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO!: update the execute_query function to return reports instead of plain errors... \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":"crates/analytics/src/api_event/events.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b07c45859de7413b0dca2c1c087d7543c844ce150295eda90ac778bd547453c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: lifetime issues with joinset, \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":"crates/analytics/src/payments/core.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6e6ea1f42a55fa4c777896663b4e945e880150e9beea033dbaa044e2f52623"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: lifetime issues with joinset, \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":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f78873959c64b6f93cf61bb4385fb136e1a242200c5ece20d45ed01eaafdfc56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: lifetime issues with joinset, \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":"crates/analytics/src/api_event/core.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88456643bd82aee2e4914ee9892086a46c0c297d3e75eeceddb358b09e6f724"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO({{project-name | downcase}}): replace with your connector\u0027s actual error message \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":"connector-template/test.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0dbb2c24de0e6a5db198f3baf596d71d82e73597a88ac9197eeb535e35da5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO({{project-name | downcase}}): replace with your connector\u0027s actual error message \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":"connector-template/test.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"820352dfb1b5a6fb73a73cfa1d619d0d5e52903dc3fb2511e6fb85c0aa64c49c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO({{project-name | downcase}}): replace with your connector\u0027s actual error message \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":"connector-template/test.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5746610bfed695a394c0081ca23564b1b19051e98195021d0a187a5fcffb8851"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO({{project-name | downcase}}): replace with your connector\u0027s actual error message \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":"connector-template/test.rs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"df11f4179255c8a1bd38a27d5fdfd03a13fba50064c81f28cc30054405510304"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO({{project-name | downcase}}): replace with your connector\u0027s actual error message \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":"connector-template/test.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e81ca11e2b6dbfdda201a14a646ae771ae300bd12ea30797d53c387ff9304fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO({{project-name | downcase}}): replace with your connector\u0027s actual error message \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":"connector-template/test.rs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c5d0940208a98c4ff0036a5f083ee9e7cb264cac030f4d94323b4dab99ee74"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060ForeignIDRef\u0060 spells \u0060ID\u0060 where 19 names in the project spell it \u0060Id\u0060: 19 of 20 names in project hyperswitch_domain_models spell the token \u0060Id\u0060 (19 of 20; unit: names in project hyperswitch_domain_models containing \u0060Id\u0060). Peers: hyperswitch_domain_models.mandates.MandateReferenceId (crates/hyperswitch_domain_models/src/mandates.rs:700); hyperswitch_domain_models.mandates.NetworkMandateIdRef (crates/hyperswitch_domain_models/src/mandates.rs:715); hyperswitch_domain_models.mandates.ConnectorMandateReferenceId (crates/hyperswitch_domain_models/src/mandates.rs:741); hyperswitch_domain_models.payment_method_data.NetworkTransactionIdAndCardDetails (crates/hyperswitch_domain_models/src/payment_method_data.rs:160); hyperswitch_domain_models.payment_method_data.NetworkTransactionIdAndNetworkTokenDetails (crates/hyperswitch_domain_models/src/payment_method_data.rs:206). Rename to \u0060ForeignIdRef\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/lib.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"557f56b8295b7a8a1b10b1e8f71286dcc4861c338aebfdd005af9fde94a66717"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060TenantID\u0060 spells \u0060ID\u0060 where 53 names in the project spell it \u0060Id\u0060: 53 of 54 names in project router spell the token \u0060Id\u0060 (53 of 54; unit: names in project router containing \u0060Id\u0060). Peers: router.configs.settings.NetworkTransactionIdSupportedConnectors (crates/router/src/configs/settings.rs:832); router.configs.settings.AltIdRequiredCardNetworksAndConnector (crates/router/src/configs/settings.rs:863); router.configs.settings.MerchantIdAuthSettings (crates/router/src/configs/settings.rs:1260); router.configs.settings.ConnectorRequestReferenceIdConfig (crates/router/src/configs/settings.rs:1448); router.core.configs.dimension_state.NoProviderMerchantId (crates/router/src/core/configs/dimension_state.rs:28). Rename to \u0060TenantId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4498d34ceae31951900a9e665a0ab83aabc965d0913555111800ff48e85932e"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060connectorTransactionID\u0060 spells \u0060ID\u0060 where 68 names in the project spell it \u0060Id\u0060: 68 of 69 names in project repository spell the token \u0060Id\u0060 (68 of 69; unit: names in project repository containing \u0060Id\u0060). Peers: payment_link.createHyperSwitchBrandingSVGElement(wrapperId) (crates/router/src/core/payment_link/payment_link_initiate/payment_link.js:883); Utils.getConnectorDetails(connectorId) (cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js:9); Utils.mergeDetails(connectorId) (cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js:14); Utils.getServiceDetails(serviceId) (cypress-tests-v2/cypress/e2e/configs/Routing/Utils.js:9); commands.logRequestId (cypress-tests-v2/cypress/support/commands.js:36). Rename to \u0060connectorTransactionId\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Utils.js"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba9d58e6229e7032c494cb8f2d8edf11960db5a9e70b63e09eb3409b435fa88"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Render status details\u0022 repeats the code it sits on: 3 of its 3 words (render, status, details) are already in \u0060renderStatusDetails(payoutDetails);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/generic_link/payout_link/status/script.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c96d5c877faa6711f3c43f56d24a271362bd037fbbca63a6ef422f89f47ec08"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 6 comments in this file only repeat the code they sit on (lines 685, 695, 705, 777, 779, 1201), for example \u0022Create price node\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfb1ee17d721a81f47ee3904058e39a38ac9faf4cf268166c3dd974490f45ed"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Render status details\u0022 repeats the code it sits on: 3 of its 3 words (render, status, details) are already in \u0060renderStatusDetails(paymentDetails);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_status/status.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d4ffc2fb4af70111ae264d96d2700f0846f9d75a53c36cbb71a45de37b6aa3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the value has connector_account_details\u0022 repeats the code it sits on: 5 of its 5 words (check, value, connector, account, details) are already in \u0060if (value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 value.connector_account_details)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"87520feac1f6aca6e0e26a72faab6ae49956a67d875a54b53de9b844d3e0fdcd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Function to update the default status code\u0022 repeats the code it sits on: 4 of its 5 words (update, default, status, code) are already in \u0060export const updateDefaultStatusCode = () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress/e2e/configs/Payment/_Reusable.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6308d710e45504ff5a5158c93503d5f7c5617d485a3b6749644776b8858af144"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the value has connector_account_details\u0022 repeats the code it sits on: 5 of its 5 words (check, value, connector, account, details) are already in \u0060if (value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 value.connector_account_details)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress/e2e/configs/Routing/Utils.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c431f0ec9f7fbe73ac6ed9ba57fc7b248132a75055604849080f86057d9992c6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022fallback_config_details\u0022 repeats the code it sits on: 3 of its 3 words (fallback, config, details) are already in \u0060const payload = utils.getServiceDetails(\u0022fallback_configs\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress/e2e/spec/Routing/0000-Coreflows.cy.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"086ec15fd7bd34eea12dadfb1e7d8e43b45371732ad2c0a012c891f5f26a7afb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022API Key API calls\u0022 repeats the code it sits on: 3 of its 3 words (api, key, calls) are already in \u0060Cypress.Commands.add(\u0022apiKeyCreateCall\u0022, (apiKeyCreateBody, globalState) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress/support/commands.js"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"43540c1219011773228b7a3307d51c67b8b26d8a6a8d2e700d4e738adfc8e8b6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a new date object for tomorrow\u0022 repeats the code it sits on: 4 of its 5 words (create, new, date, tomorrow) are already in \u0060const tomorrow = new Date(now);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress/utils/RequestBodyUtils.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47f9ddc645eb1296e825ed30ad81b137218523f9a6cb7c959c96422ef9a9c48"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Payment method card details\u0022 repeats the code it sits on: 4 of its 4 words (payment, method, card, details) are already in \u0060const PaymentMethodCardDetails = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Billwerk.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ab023c77aeb00882d1ae7663fcfc89a44679efc3ab9c2a47dddf7c073bf7da"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test card details for failed transactions\u0022 repeats the code it sits on: 4 of its 5 words (test, card, details, failed) are already in \u0060const failedNo3DSCardDetails = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Billwerk.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"941e3486dfb7b4d6572d6f070b381f365dea65184e92ec0551db881f535188de"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Payment method card details\u0022 repeats the code it sits on: 4 of its 4 words (payment, method, card, details) are already in \u0060const PaymentMethodCardDetails = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Forte.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"21488abab459aa942872de2519ccb173138d16e1f37ad45086166ca2078a7608"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test card details for 3DS transactions\u0022 repeats the code it sits on: 4 of its 5 words (test, card, details, ds) are already in \u0060const successfulThreeDSTestCardDetails = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Globalpay.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"619c47d72a8f46e2b8c042798086f0dfbe359e67379d3d447d9697c16909e2ad"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Single-use mandate data structure\u0022 repeats the code it sits on: 4 of its 5 words (single, use, mandate, data) are already in \u0060const singleUseMandateData = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Globalpay.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7743652a5a8d9f09fdacb2f4eef2bc5303d8c23b8f015ef72a785c17cb62be63"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Multi-use mandate data structure\u0022 repeats the code it sits on: 4 of its 5 words (multi, use, mandate, data) are already in \u0060const multiUseMandateData = {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Globalpay.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedc6178050f8ada52515ab377a7ff2cf434d7aa16b3bb238a4fc0d8d29466d1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Function to update the default status code\u0022 repeats the code it sits on: 4 of its 5 words (update, default, status, code) are already in \u0060export const updateDefaultStatusCode = () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Modifiers.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8217b12e49cc0274ffeff76f200ccab19cb75556f45e78cf60fa3bd1186feea"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Simplified createMerchantConnectorAccount\u0022 repeats the code it sits on: 4 of its 5 words (create, merchant, connector, account) are already in \u0060export function createMerchantConnectorAccount(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Utils.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59a61580f5cf071eeb758bf70cb3a65a35a2ed41780725294be9be5db8adb2d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get MCA config\u0022 repeats the code it sits on: 3 of its 3 words (get, mca, config) are already in \u0060const mcaConfig = getConnectorDetails(globalState.get(\u0022connectorId\u0022));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/Payment/Utils.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6437677c5dbcc08c55cd63a276bbba478f2b4d61ff7d0e000c081fd029c6f7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Valid API keys\u0022 repeats the code it sits on: 3 of its 3 words (valid, api, keys) are already in \u0060const validApiKeys: string[] = [\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/mock-server/Connectors/Celero.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5207b8785885a82d7f4b73d6bdda0de6872092e7c37bf9e08b4068661126b3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if payment method is card\u0022 repeats the code it sits on: 4 of its 4 words (check, payment, method, card) are already in \u0060if (!payment_method.card)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/mock-server/Connectors/Celero.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7865f165a60318aec36dc9c8583182a3927ce3dca801734b89252cc1c97ec34"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set invalid publishable key\u0022 repeats the code it sits on: 4 of its 4 words (set, invalid, publishable, key) are already in \u0060cy.then(() =\u003E globalState.set(\u0022publishableKey\u0022, \u0022pk_snd_invalid_key\u0022));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3468b2fed6aebc8829fb68c96ac04d3e13fc0bdd6884505ae05affbc3a7f41"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022set invalid publishable key\u0022 repeats the code it sits on: 4 of its 4 words (set, invalid, publishable, key) are already in \u0060cy.then(() =\u003E globalState.set(\u0022publishableKey\u0022, \u0022pk_snd_invalid_key\u0022));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/spec/Payment/23-Variations.cy.js"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"2005a1976d77715c81e999a84675730c1f1e975290b695854952ff20f49b0c1b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clone webhook fixture\u0022 repeats the code it sits on: 3 of its 3 words (clone, webhook, fixture) are already in \u0060const webhookBody = structuredClone(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/spec/Payment/49-PaymentWebhook.cy.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a3c3b84005caf209255465c1f75711d86cfa368a3b6c48729faae4b34b5eb8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022API Key API calls\u0022 repeats the code it sits on: 3 of its 3 words (api, key, calls) are already in \u0060Cypress.Commands.add(\u0022apiKeyCreateTest\u0022, (apiKeyCreateBody, globalState) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6b518cb2e57119318cebb4087615f6a797be30e82994e8d0aeffc6f8e4cedd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Try to click the succeed payment button\u0022 repeats the code it sits on: 4 of its 5 words (click, succeed, payment, button) are already in \u0060cy.contains(\u0022button\u0022, \u0022Succeed payment\u0022, {\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/redirectionHandler.js"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb4accada5f993016960175aa54d93dab645e7098f64f1b7f842a011288bb7f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a new date object for tomorrow\u0022 repeats the code it sits on: 4 of its 5 words (create, new, date, tomorrow) are already in \u0060const tomorrow = new Date(now);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/utils/RequestBodyUtils.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9dc961382f0a9615e3781171d27ed342a30645632e052d0684ec7636e95cf1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 17 comments in this file only repeat the code they sit on (lines 41, 99, 204, 210, 216, 220, 437, 568, 592, 596, 616, 706, 716, 900, 937, 955, 998), for example \u0022Setup event listeners\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/dashboard/dashboard.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5add2a12ee09b1d9bd313aee59b30d93ce37818164698f747cb781820480aad1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 10 of 41 project(s) overshoot their size bounds, lowering Project Cohesion to 5.2/10. The most over is \u0060crates/router\u0060 (357020 LoC, 1773 module-visible types across 91 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":"302d13d924ad1763f04c0c1f7f49c1774f1c92b0ec8a26cecebc6912a9bdda77"},"properties":{"commitSha":"576f8e1f2fc277f2bae87e5d120d53c0aaf37f8e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"effbfb5cd5e56d9ec0177c3f87688570e9aa85bd286dcfe4a732521716aa6043"},"properties":{"commitSha":"3a3b33ac178f56a8b134eb6849efe6255c7154d1"}},{"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":"f32f522e9f34a6f454cb43ea4c61a15c757f28548d4b381831bba8f48ce5f5a0"},"properties":{"commitSha":"2185cd38c1ddf08d9dbb7a320b627fc03f0e7026"}},{"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":"0417b3ebefb6732806bfdc5bf774873c0f2ca3dba38738dd0bbae1bf0fe774cf"},"properties":{"commitSha":"fa392c40a86b2589a55c3adf1de5b862a544dbe9"}},{"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":"aa32f94e7c683bbb62bf5f543117fbda8c8f8558a7982167f811abd0d75ae6b3"},"properties":{"commitSha":"96153824a73f359623bf77f199013d2ca9ff5e43"}},{"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":"8e568c76f07c0c6411d338968b8b8f870c1e78afba91fc7ffe5cfa54ba8e85f9"}},{"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":"407174833fdc736ab077a343969fe5db496f74eb63d3faefb4759220bbe87a24"},"properties":{"commitSha":"2005d3df9fc2e559ea65c57892ab940e38b9af50"}},{"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":"1f657c16b6e6bdff7b211fc8441b131bce2b026ce6107fffb5f18454d64dfd82"},"properties":{"commitSha":"31fc5beb6ee245dfe3a3e4c74e1d66a1179cba2d"}},{"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":"b3164989af84ae2bf01ea2601b743348f04db2c85b3d54d65a468823aaf2cf64"},"properties":{"commitSha":"b2b9dc0b58d737ea114d078fe02271a10accaefa"}},{"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":"e5f1379d1bd6bcc23ae6ef8468c03d7695e98b04403d4024b4964d9d12050ecd"},"properties":{"commitSha":"3a3b33ac178f56a8b134eb6849efe6255c7154d1"}},{"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":"b08cec66f076b68f9067410c96ccb84939c331609a3cee400dc4ea38dd18f047"},"properties":{"commitSha":"2005d3df9fc2e559ea65c57892ab940e38b9af50"}},{"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":"db3ee26a80c8d03a499431cf1d20e853a4461bc71e4d850cd02cff5f93bde9b5"},"properties":{"commitSha":"ef42ad43120d8699876990718235b518fa5011ac"}},{"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":"d9126848dad88c0432a9a5d7bd7a4d14f0a8cdea7b3cd434b10bcb3c8e62a96f"},"properties":{"commitSha":"e56fd505b6495720e680b64291f6ba172748e46b"}},{"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":"220442b2ea79e8c11baf8329b286aaa8c4e7e2e9780b0cb1f65ae9b2492c7872"},"properties":{"commitSha":"e56fd505b6495720e680b64291f6ba172748e46b"}},{"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":"d8d8380987f023d68e8719299d951568fa61a617288e2132db6f33320774ceb6"},"properties":{"commitSha":"8e9bad6457449ef2a435be03a9f97acc2dd2108a"}},{"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":"c425729e4b1e4c84e0603810d3410565ab8958f13800ed02bc571561a66b5194"},"properties":{"commitSha":"0fa8ad1b7c27010bf83e4035de9881d29e192e8a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b854f1d357377cc1111101f23ae7143595aa248db48c56611bda938c836a5a20"},"properties":{"commitSha":"0fa8ad1b7c27010bf83e4035de9881d29e192e8a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-540","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d895627a18b90bc87cd678e454c8ef09ea7f86ddc38be8ddd9ecc72fba59ce0e"},"properties":{"commitSha":"3a3b33ac178f56a8b134eb6849efe6255c7154d1"}},{"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":"a5fc85391aabaa64dd61d0116512249eda1af2406ed38712951fc406fac6f165"}},{"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":"4defc6edaf78e4e145476afb1d2a3d8ce7d6a5f95e26de433da7cf6b5a3bd459"},"properties":{"commitSha":"6188d515790be10d373c138d8dc2800562e7e20f"}},{"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":"5790fb848e55e1ba658f7be2338ea54c8e57499a57d17fa008024a5535e61a6c"},"properties":{"commitSha":"ee6b2512ddf3868954eebce62bb60d4abc6e93bb"}},{"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":"c97102d82f03a6c454ae7782bc8ba5b7e2164692df17439f40eb9d5d4e785b3c"},"properties":{"commitSha":"430dcd1967d09866ed4c94fd1386561de21daaf0"}},{"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":"bd60db4874749729d01268835d4d80ce9845a6b8a631939d280308d52be43a2a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"dab468993ee6109581034073f1899cbcc3a4f6d87f951c34f0e757ae187b8462"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"7b771e37b49f20e7fe19054ec926449c784499c37f25d6704148316510adda38"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5ca4e7ad246b65468ec8b6fd1eb5f8a404731be1b7961904f127e2d6d7e2d0b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1d1d2f75b2dbbc7017684efe9cdba866d2652bb36c5e7cb0139bd411aafca2d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"552178b91bbd1cdcda383e4924ac1c1b3670e4178d464bd6599e6ad78fa4e1ba"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1b367a61d985fced59bf4cbece96b65e008769e5b24f2f3de8ddba310a09e7d6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ee00df602e9027d507e72faadbffbf0a976d78a9ebbccd1a6447741ce5603907"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"9053c5bf8b361bfe354da6a6fb7c3ad06ffddcdcde6820680808010268d0704f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"653e3c4d4c552734083d9e8237964f55c2429d4f8bce07ba273b27fe7507040e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"7b29bcba411efb44f3fd25c7db659fc01698d2e4d543e06b2b7941f6e1c6beab"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"9c66c562f511af519c331e3a500234b02dbfc653134963ce14d9bf896cc7b94e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"7d60d52fe25201f0356b57788deb38d09197c323d9881b6d5f30d37c289aeea3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2834d34d9c72992a6d38e1c75b75cf9dde13f04dc356047ad61bb05118533dd0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"58f2cde5402b1989981e2e97edc7fd5e9b477176e940f78493fc16cdd27d0a67"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"7aea9a7ee5062253a1a35ca919b4a8af68a3b45771c0043b037928a8c212e4c3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6b0cc1465c04137a0c3bee46dc7c7fe7365f1b5ca430a4a4c699e49f89edeb9b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16cc32926eb5eef9809d82b4a421e6599e16173663945ee67ab541d591ab93a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5d4225082f7108c937e4b0691fb23e8224d3cf78991cab3dd17a49644aca49e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5e88d20714dfbf98413feb593a040f738498aac4154c0f49e107d60826958a5d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f636d9e8b61da5bd7c4a34b12dc45d0385a52f76179cac55f1d0a5eba8e97b84"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"cf645a08280ce93d5b554979ef3d05d429d8144ee047c858d29b8a1c608998b8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2c5bc2e75a78cbee5fac7b0f38cd74fd31594e7f321daa6312a31c1537887e1f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5bbd25752b88829970495c48d5e91f8bfaf2baa5277f3bede22e8e40a3181597"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1415901335cd426595bec93b9cc3067395643511a3b4bce3bb2c0f0091962e04"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"fbd91e49e01445578d6dc07b3eff60312f2befab48b15809ccf859d28b1ad106"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6a9e1ccefa3df12733784300ce2b1eeacc58a74647dfdf8f0efc8c3ff1005f10"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"40568905aac9012eb44a54c9ce62607af5bf3ae9d9a2cfb2ac0946161b735f09"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5298f8e91a092062a94e20c7a87d2dc5983d76377e39f6074946de7f5d0407d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6f58ffdf1191e03dace495f3d1d4dd5b8cd73b3dd0bca6a38311a124baebda86"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"61d70b0ac6229d941d570e3b5d4c003e1e7fa1740133b5e3dff2f47a32020983"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e1309de2f1c1d0e9502f13f69636818708b8c0e11d1d0ee11682377157ba4161"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d0b6eb23e645a5c117adfb3f7d5c3c93f64cd5deb5418fa2ddb8aaed4fcf65d1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f414a3008c6d06e07215037bcacb78be4a72fe1286366ed86a34270eee2b7427"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"9bf66848ffbf5869834543e0cc98b05649f9370f42f948b22f618f0545c02460"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ffd8d0b050c12ee1b19db4ff552a0d8c02143bf4ff5359a3f63a0d029c42a55a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"19a5f42216c72932492bf379ee12b4ff7a9f5fc17e67e25ab4b95f0cec35d3a3"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6211d932795b7015e1f9f93446973cf0474d2c93076777c57205b8ea704a62f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ab6648f2de0955ce81b307e050037bc48575a34eda794351179fdfd1df97044e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2a12a25e1ed57d5ea17a4dba65a4758dc2f3ef4e0121941bb7b859ca429fd536"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"fcf7e774176dc7b34877de1bf6903035dc7fe163e7ecb47f1d000b5040fbaada"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"fc989757baaf17434a4fe20cad239339a40b77a2928517ada70314f1d7e7ffa5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"91659f8c65c007d4b0bb3e2ee5ba6e0a3ab9321471ed21bdcb89202310f41e94"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"96bc4eb1f5cee097ba680f4e0e547ffb2967ce8162e92b51ec79853a564eab5b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"45dd1e68130cdb33aa3c1a82f49e942b754f8f3bcb01da9baa599e9a04cf18a8"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2afe06caf92eac524aff9fc965234b42f998dcb68f3aa0916550eef62c0a8ba8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"770c40d0edcb6354fd3e9b8796f2bc391e2bdd61a6296b7b1980db3104c43f01"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8f2bbe697988b436c92e841ac8f0046f8e97c90e718730ba41dc382523c6db52"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2d07feb90a076845178bed2377660196cb8ec27323d420de16785fbfb31929ae"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"44bd49c4aef235ce0954ab609abe364edbc10228e754f3157d896d76d3990b9e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1e6ad70c9e4e513f7ff6b492415b9376cbe0c5be857bc83bff995e62f0c1bed5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"636064b46c8b96342ce2a4b1fb72c7e52232f21356ea2b7b64a894ca41f3d90f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"881097da1f76e50efd6f1a360656a00ff1e6e199f14e9379f4e485441e4768a8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"3d8c6f6e9606b29c9216900cfefe5b11a5bb5957e547ef5fe1f28c6b9e29c7a3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"896e855fe9465e6d2f69e3aa08bec03ae95af1974bf1d224367679d42ead27b3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"3a213b2f058d83efb60d9cdf8a6836ad071fd87fcb2b3327d079d69b3ed24449"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ca3987cabc9efe57adaececc30b848a4d23093de3a280f9cf40456bd131fa52"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"3dce9d64ddc96ddc203f8659c9d91edbd97194cbf9549db8682d0cc83bf665b5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a7b12ac4de492e9c4eb591243b7425c3f9eebb5ebc9046b0c01e5407f72ae371"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"812ffab0443b1a60baf53b67dd64b1dbca69408027774b45cf8059220bfb2e39"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ef550e556034ad99f9fa438a7cd4092bd6dc391524edef24d22c2193c1567583"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"21c43622ab6ce3b297c0a7e5c96dc409ea5f428d2fa3fa4e782035456987cb07"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"33ec9553076a69f5ad98bec8126f1d81e4eb4970c46ba0cb6ff4b8a1604d00bd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b8ff1794c5f7bb9e5333758506c19ccbacaa9c2094797b52766a9a0be7bb3341"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1c6f96a1bea1a9c681cdd27b602ca91915d2e97433367ba36ff3ec7ed425bba6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8d582758820f9bf06ab9f2bdddeb35465f4142762f940b1924dd7d5eab845b65"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0f974545bf996b686e66f28072b22cdea57a67af95dd992ec6d75b57a8f46a4f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b186a0d1db27175d453905cfe263360f1345ef46ea72bc6fc937fb32bf4fcd8e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8a2bc14930bd47ad50d87d1978293f3bef05afbbf7ea3ae04e800d8226124290"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"936a7f5af89bcece1a2fcc10093c26838378bf914bb2325962b7fc4bc07d063c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2edda0e3a478d84439f99369c22b1629f20134fa532934298941de23b297fddd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c82fa458d84e8f92a9eabb3710f358a05539350e50ef7f5da43f700150cbff20"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c9a69129875bf71e8a6c640cd4d9570d208062ba1cfe1c50fb67d25cdf0579c7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a9b470c268a02abb9d465cb43654427dd121fc48b5aecc768d4de803731a752c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"77cf4d74caf516190ae6327c3d8b289d87f7ae0519b80b1c293a6f4d581e3e55"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2adc41b61ef7cf5d0b35712ce5ff581dea885194899e693a4d67f35344c9903a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b2532154093260756730dda615c266b5c629860e03f8358ebd34c255ae11c93c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"4ccb35af0d66bc065efc7049556627db6b63e0e6fe85f1f2809e9a412a2ff960"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5a8d6a45c405ef326d5953fa5c1ccd1bc8f7fb1eaefb6502b1f76e6f128cd06d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"727bbb857c440ec412009c3802c3c534cdf125f0ab8d9bfc38a62833d99629bb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f1c4ad03a8844ad229dde42eb1922e8cd7876c74dae9dda3c12c5cc79a1bedd1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c99625b58f89c5ce84ff6b01d5f200be9bfad33aea21decb82a5764bc3115497"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"46572799916f9706639fcca86dba515db7989a018b9a982c20ada6775f45ae8d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"749e1b4257009f383340acaaf30aaf073d6e8f9909874b3118a98068932650c2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"98fbcd4596f9bbe6172af659fbf2adf7ae87c5c837c6d63cde489b0a1644e6d3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d8a9c218fa8bcbcc47ff0d6dd55768ae8bb7a7daae413164b847e4d504fb2e48"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e0f1209811211f23d2607e69255aab7fcc43edbbabaef2cddffa6de00d9cdb9e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"407a2462593fdf59be7e07a08603920f6cb2d667c6d06ab9cb19a28a21f47912"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8415d49412be83bbc15631c02297f9e2f421008197831fa6176eb4319c6739f8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"9509ee19a00710034644d1cc56b00d3a0bc6cea827c4fe1a1513acd0aa562117"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b7fb0b77f51d8fba8073720a8cf665b0039e5fc7c544edbff69754050ea0c8cb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ad6d7a5fa525776b4f6de10e7644580e9efb7bc77d9c1a08062501fa5294860c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"dd51a91c0c89c81470a51bb08a690136ab47b8c7b1fab0ba9f23b3647454d9e7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"813f25cbff63f6919be1776322e6e736da25c97b892460de9f99f70286017d72"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a8a1baa2f023f8b35be71b9ad333d8e2f12dfc4f82459c85fdb902b9d8009926"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0e7db09965a278247c01de18dd4577871be0cd25916f467473a485d8dd6d4c5c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"adfc801b73022d288895c3966a09cd6b5272cfca17e5b72640206a6ffe177eda"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"3f77d061bc86491a36ec3064a2d0cf8e3c9dba1846d21a5cfad392c069f792a0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"45595f507fdb6f281a185840b678aec18c4a4fcb8fd76b4038c85c2d67459b3a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"9cbecd8e3aa2390862f7bc837b3496cb90f5aa93b6fcc33036ef23c51e44d359"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"51dcdeb1256e93806ebff5db02f339dd7e72e157475b33e8c120af33eef175ec"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0e62af60d80d60dc44bccd8dea3120b44f507b08f9072630d3e5980bb2063782"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"a25be4c22cc5fbfca092259e76f42a7ce8877318a52329543db64b0c2e62e744"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"03d9b9e2c4e6aafad668d5bea43c51931cf43f735ff1c978ae0c0f0d242634f7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0551a483fb0dc011a53517fef3b5853491c4333628395c277257786ecd60f736"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"cf4bc2b64eec72456fb706daf28a57bda3d0a956578f59593187b08a6389a559"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"47ef2247fc9968c25f7f39501179f82cb58c44d01e5892f998efaedcf046bacf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5c7fa439ffd0a71c08652d4fbe90bcf29ca02e4d5306801188d90d98bb6ae9f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b0dcb133268528410e2572560b1a4f67faf67a1f4cc520659cb106a10a37780a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e0668234c71d26e041c75fcd6f0bba9fccd3e73b3e38a963419c0d86f0e08275"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"83bda836111f41830c300e38b453302d837dd7fc0078534886311f9fb3181986"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"331a07446db2d3a294e0d5e8a7fe90e46b4b8e4c9bea605e3d39327b98ab79f1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e907df39ebad3eb5dc4ad457c0a892b7ba0b977e96e6d06da70ee8f390d875ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c96a48b2cc9de63a70e90131c7ebbc7c30e941309a22d2fbe2c253144b0380cd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"bc34d29f3c878c1a24a1a48fd8e2b8eceaf50748be537a578d9d4243442097b1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"44ceecbe9840c583f33d562e68c57930e285e2301b7455f374623f80653c64be"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"18aca290375ed4bcb79681127e81c01ff2da7c01bbb7fc45f62552112bdb9fc1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1ad0ba5f3eb62590d80672d7a43135cf4dd76ce1a43c6a4cc2342d6837218f3b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e0590df9a17c1c021a573f38888ff2bd187f80f635b4943fdf1f3da3ecbbc3c0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"e1ee475963ad9c884fd9df1ee62311af8f293d629cbcd5c964e10e4932b8122d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f76948a1b6a75574fa75752fb195b36fb1614b22364d01708b4ba9ed26c76ed1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8e771b2d0f323746e96eb0c3617c36bda059c7f3bf6e0fe3841ffeb2206aa391"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"c5365b2a2ab1d1e28faa2a6e0a1eb551273dbba7cb67beb182e94fb8e33765ad"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"fe0bc38019e154a3ec373485eb0fb93f4a51c20bc681d2642b7df9d197226c4e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8d30efcce88d2884754cbff1efbe006e625f8f522f02b81973385bef1abc1321"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"832b1665958353c373422a89b68564a8f36a2c75e7ade8976462e1778c0c218f"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a75d6be7356387150b87efff2bda5981d0328359ebfaa49a867b00337cf9a6f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"330207f4dd4d1624edb299f2cd528e1a1630cd65a6fdfcc2a15fcf7bbaca55ae"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"4d7d95ab7d88848de628426e7b3f78e0d270fcb1b89fe119c04390bc59337c5c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5aed325f45105559d307edc8f0345b96bb75c23e317781b39720540e64f6fcbc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"bda1ed7e46e78dc1dc742ecd961ba319fd04475761e46857ead522b3c1dc6d13"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"10df8e542da8d975ce14ce0edee770d168acbee3b96dd9ee4eee279020dee5b4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1c2adef343e6cec22118ad18b6d5160dd9600bc3d531e5995097e421c6ad3afe"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"9670bc6934fa3a62e3b9928e4c6eb73995c53ca9c0a0cc82fcdfd053ea16a103"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8d59e50e54a195dc264aed135a9fd982f40bd5f6796766d6391891732f9b7dc0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0c6c802b1704e649d84cb9a57273c462b3ec7b45cb73f3ed18ca76c72846dc88"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f13aa18fa4860de7300a661076ad8cc204909752a38e9b39a52072b3ad25e117"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b66752ae19524861635b24fedc0ba79d3c205a8dcbfc8d727feac14d759e4931"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"6ede873723ba1a7228fea523fe1f611a726c3dfb8ff44eb339e33f2191381a2f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"666fd32edb02837214e886b533548c619de71cd7bd014e933cfdb1f3728e93fc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"4f3adeec1c29944577c202e96661ded9e1a64e522d37e47f2c3d1dadaace5b40"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"32c6c50525018a04b3eac68c8bcd7c552746629119c7d67e559b588f334c5714"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"341c7f0495ccf24bdf405fe765aab9d51a96f2202962144310acbe7c7325e454"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"b16a104bdeac907f4d1b2809d9ae5713011e3c1af596a5a966e053511154e064"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"78cdb73a6ced8d70ebea75f815a4a7e80c2c3bd998586bf46ad4f27cbf90d4de"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"25daf7e6e4c8056fc0585d6122c0aa9bcd5aadfce7741c9d71daf1405905ba8b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"fc415c9843524f8f9adc414dee2c069afc98034cf28bc4af3a202d3fa656e85e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"732d8b4613115548b77783abf22c38f5234a727516408cbf3334f5a6129a4253"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"4b9281411abf2f1c7f2d79a8b81a47a61f6aacfa4be6c869e6c01bddc68a91ea"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65ea9233442d811129d6d6a751797cbf1f8e5d2647fb57caa361328088d689f6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"f0997fe181958298aabc099280da334a3c78b63380ff469578f2b0192cd4fcd2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"d68a44cfb3f023214736c18fcaa052d26a9bdd25c41591c50da4500ca1671860"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"26e0551258a7e34ff0aaa501ec2c4a69a94de6a74c4af65976fcf52ff1651f3a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"02443c56d26a61e2af2b06f4aa156a0f7fb4827f24c075d9140b28c49177f5ea"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"ead24d98071787e1c18349e9663b11a7300a609d46a41670eb4fd4951ccdb19e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"1192b5603a234116de173f9d0789b1c5c20c735358d7221fd3ce0b4c685bddac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"5823283e324241a194af09d3ae76c9e1c6813dea7f9d15a1df9c5f1c5235a4af"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"aae394e996853baecdec1704f9d30af2be4647b192f3b59f23042cc4f64c729c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"418aeb1a6887a7b44bc603e7c7da3b788d22716dc1ce8e66e6a1a27de82641f9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"dec682a20ee8e33845bf94f88b8b042ec2c47b4c75f6f953029e1092ae855f4f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"2caef2983adc06280df8434eabadcb725ee8a971149a01620be9d181ae786c3b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"bfbdbbfd68faf135e048452b98d391260eeda14abc30032912dab9713758ed88"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"96e15569c6162e161d9856a449864b7a3118ed547486f063a84103062870d6e5"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc828ff26380d1daca179b0beb15b9539fff5a8bc8cb10bb4fa9a530d6c87617"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"289c600b7715d9d1f5fb2062b5ff85f9bacf2a5a377c34bfaac957f5637c5a1c"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8ffa8724ddc0cb246e7656ab88060f2d2305e2856c8ef80f04d781babee10b0d"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"069d84f7ac1b62b2ee746a1a4877607e9e36d7cd54bb37119c5fe5ecf8a01872"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d9f12cd749522758cdca01927635d18510db85852113389041e0dc61d41e8b53"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ec80f57bd726cf8ab8ec4cf6e45afe7649e08127c12f9367f84e10370eef7d5"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"71d67387cca059ba3dec61e2c8e6fb924ea22d83196e9107fccce9fcb384b464"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"797622deb5e8b2a84418586acd573b067fd516ecea6c46978f05f33c2f349244"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6dfae792652b45a90437159de26bc7e4b5d5585479fe9ff2a0ba8ca88dfe0475"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"177e491b549cd81b46c187e1d6074dfc951b3880ace164764ee9fe9561c1b0e8"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6f0e97296826bf99df8024396cfb0c11333b7c4590b8a9dc114b957a48696f3"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f5462b26f887d0d60982c032e0f7042fab16ba288f82f247e14f5fa2cd05ee6f"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4bb82192516c2300639219fc73e3f26be6b9caa83217d9f5300a227434023dce"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39f5acb93510a4ff72821198f2ef23ae01d8637db3633591a19e9e9e76eb5730"},"taxa":[{"id":"CWE-1321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ffcaa945c18c3b9313767804eb8fc636b8986b7a97fcb0c7fc7c0a7bb15c77b1"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"546a9c5825b96a21cbd7e552065f5ee943e34780a36a7507c0339014d6f51059"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"0e1f971585e25aa8da9e58776204c21341305c8a3624201dc31a8f3c218cd0c5"},"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":"613f806ce3e5e7b8cd9a761c1cd18baddbe370f7b30188844d4cd83d0176c97c"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"489c1b34ffb7eeee47db1639237571ba8597d2bd4bcf9ddcb8094933ea452647"},"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":"6ae4bf23d8feaea906883863bfc93814bfa237841345dc7465b508819c2d12c9"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ccc04cb4472f18bfa710c5451ed506d4222b7294fe5c92825778578817f9b834"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"a5807df5737c4682f1a932bc3f79d6ac15d2829794ff14b7afd738c3affe2a0d"},"taxa":[{"id":"CWE-611","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"28017234b190da84634650c3f5e5302677be7540d8734d8df0e74d9fa9fc2deb"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"04040de197de44f68978b792a01cdd8c592177ee9cb337e72f6cf2793ff1f21c"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"eddc146c91d319d0d0f8b6afdeec9515e8f0aff54acb9080bf50c3cf78f4c34e"},"properties":{"dependency":{"package":"actix-http","version":"3.11.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0446","RUSTSEC-2026-0447","RUSTSEC-2026-0448","RUSTSEC-2026-0455"],"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":"71d284c2c3ef21070fb428fa814d2df2464ff71e41623904ac7b7f9e4eee0a88"},"properties":{"dependency":{"package":"actix-web","version":"4.11.0","advisory":"RUSTSEC-2026-0447","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0448"],"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":"1a1e503af806e767f14c170c32073931de1d4295405a897beef69c919a99a60d"},"properties":{"dependency":{"package":"adler","version":"1.0.2","advisory":"RUSTSEC-2025-0056","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":"17b4ba36d6fbc2b3aec613f5616c33fe0ec3b9e4dadf92a0ef81372a98fe51dc"},"properties":{"dependency":{"package":"ammonia","version":"3.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2021-0157","RUSTSEC-2021-0158","RUSTSEC-2025-0071","RUSTSEC-2026-0193","RUSTSEC-2026-0213","RUSTSEC-2026-0373","RUSTSEC-2026-0533"],"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":"759d36a63e8483c4a467399ff199fa57fa2e02d89ef311720974588edb9516d4"},"properties":{"dependency":{"package":"anyhow","version":"1.0.98","advisory":"RUSTSEC-2026-0190","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":"b066a2b58ae4db7be6d042309847a8825c9fbea4c10daa49bc531dab4309fb0b"},"properties":{"dependency":{"package":"atty","version":"0.2.14","advisory":"RUSTSEC-2024-0375","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":"fd5c585b8c54c369819773fdb0ddd1383b1d0b3ca7573d38678c34407fbff305"},"properties":{"dependency":{"package":"atty","version":"0.2.14","advisory":"RUSTSEC-2021-0145","aliases":["[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":"aee23c0997519f9a53e2269c98d35b0a266e7a24cad6a6d93c1c088edb4f3e32"},"properties":{"dependency":{"package":"basic-toml","version":"0.1.10","advisory":"RUSTSEC-2026-0374","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":"4975822701b3b96654c82dada9bad969e348a6adefa52cd3bba1b6cfd71c3bb7"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","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":"a5fbbccd4a995e54051ac6da7441d2adab6778825918bb499131f39a3dc4f20a"},"properties":{"dependency":{"package":"crossbeam-channel","version":"0.5.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2025-0024","TROVE-2025-013"],"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":"c4a0c58aca13bc848c37d4c3d5bcb90f8e046f8df5b386f5a3743d0625ad8dae"},"properties":{"dependency":{"package":"crossbeam-epoch","version":"0.9.18","advisory":"RUSTSEC-2026-0204","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":"cc4db900d7247116e90ac1f55322889d7c04a2f09430308fea72e799e9229468"},"properties":{"dependency":{"package":"crypto-bigint","version":"0.5.5","advisory":"RUSTSEC-2026-0387","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":"14938f9000abddbc223a5b9d60bcb27c57f9bab0b2d91321d5ba6e40e418fefb"},"properties":{"dependency":{"package":"error-stack","version":"0.4.1","advisory":"RUSTSEC-2026-0198","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":"37bf838ad6da6900a170f57a951f9d8145a92c2b893a54bc81d3a1bad7bbc830"},"properties":{"dependency":{"package":"error-stack","version":"0.5.0","advisory":"RUSTSEC-2026-0198","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":"1092cdc16bab90e26caa98781415518f2a1a0fec9b43d183894264e01dcc42b6"},"properties":{"dependency":{"package":"event-listener","version":"5.4.0","advisory":"RUSTSEC-2026-0221","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":"b751c5129887c6a72d2838660309f93bb01a5d1e99ba6807b4d01b86451a5705"},"properties":{"dependency":{"package":"git2","version":"0.19.0","advisory":"RUSTSEC-2026-0008","aliases":["[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":"9985e934bf5258966ba30771d636042c3373acbe5f9699173950198ff207d4c4"},"properties":{"dependency":{"package":"git2","version":"0.19.0","advisory":"RUSTSEC-2026-0183","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":"1eae401a2a8770be38f5a54c3afe36fa4464ebe4004c5fb285ffaa2f1ae4d5b7"},"properties":{"dependency":{"package":"git2","version":"0.19.0","advisory":"RUSTSEC-2026-0184","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":"80b5c22beae306eb623d7a60ec13361ab89285e1cc30fcf5b8daa2e87ffb5c69"},"properties":{"dependency":{"package":"h2","version":"0.3.27","advisory":"RUSTSEC-2026-0258","aliases":["[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":"29893d3a3e305da437cc83ee22a1371122931c4170a4efca5bd1b42e190a502c"},"properties":{"dependency":{"package":"idna","version":"0.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2024-0421"],"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":"be9977d5d7ddb867e7f2e9fb5ad301e217dd9c03427d8e948d094761434f4502"},"properties":{"dependency":{"package":"jsonwebtoken","version":"9.3.1","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":"7b3f5e73f54279d8a385f3ccb6ce6659725cab3121019062bfd36c6500f66d85"},"properties":{"dependency":{"package":"libsqlite3-sys","version":"0.30.1","advisory":"RUSTSEC-2026-0459","aliases":["[CVE redacted]","[GHSA redacted]","RUSTSEC-2026-0502"],"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":"728758c9d3428053e1082b5fb9832c05e2e04dab40233f2ffbfd7792b93201ec"},"properties":{"dependency":{"package":"libz-sys","version":"1.1.20","advisory":"RUSTSEC-2026-0418","aliases":["[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":"422864efbc32ee020d94634a443edac9d818b90faf02ac96d91c4d66ffa4da37"},"properties":{"dependency":{"package":"lru","version":"0.16.4","advisory":"RUSTSEC-2026-0253","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":"525150c79769e3a8552e1d639a767bc181c181d5c769963ba9e0faa9d03741e3"},"properties":{"dependency":{"package":"opentelemetry_sdk","version":"0.27.1","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":"5922a5beeab5ac077ffb485a783ad545036e79b56239f83da38f3fb84336b113"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","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":"46f49615124997a47ae03424c2b2e05e8f53b2ec644cd091de0dc203d46f11ac"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","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":"95686d8e64236c3c2c566e482859faf67a5bbd9dbeebb6f4df8aab56c3496281"},"properties":{"dependency":{"package":"proc-macro-error","version":"1.0.4","advisory":"RUSTSEC-2024-0370","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":"64363d74ce1f052fae524dc374bd082dc62972fb05982f1a96c21eb7c322e135"},"properties":{"dependency":{"package":"pulldown-cmark","version":"0.13.3","advisory":"RUSTSEC-2026-0414","aliases":["RUSTSEC-2026-0433"],"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":"5585c48a8c4ed670247ebaa40a533d385248c4e49079fee700e7b93cbab137a9"},"properties":{"dependency":{"package":"quick-xml","version":"0.31.0","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"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":"ffba3a9076a73cf66b6daacb5914c478fbdc74d1383d8d2e4003b6bf3aa7b43d"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.15","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0341","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"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":"28f0bc6d34596072b24d37b19b745b7394ed4ce99a53e032439b262379e02dc1"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.12","advisory":"RUSTSEC-2026-0538","aliases":["[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":"d44a25813d8a9e18eb42fa5350a972c298292d454155c6472f091bfb670363df"},"properties":{"dependency":{"package":"rand","version":"0.9.2","advisory":"RUSTSEC-2026-0097","aliases":["[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":"c4418f84a9021f8795e0afb95860a9ded4b00ef98d47f5279b54588b4c689b20"},"properties":{"dependency":{"package":"ring","version":"0.16.20","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[GHSA redacted]","GO-2025-3678","RUSTSEC-2025-0009"],"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":"44876c6f6f6f450835a64d3aa981a20481df8eb8c33e4ab707c76c1a108deb7e"},"properties":{"dependency":{"package":"ring","version":"0.16.20","advisory":"RUSTSEC-2025-0010","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":"f33134b914692cd6c5f119efdf542f3d6c34c918da971c9cc600e5d39c46efde"},"properties":{"dependency":{"package":"rkyv","version":"0.7.46","advisory":"RUSTSEC-2026-0235","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":"ac07f6d7edfd49261e66a0ecf670dc83aeb27f637d0eaec58b89ac41744f7835"},"properties":{"dependency":{"package":"rsa","version":"0.9.8","advisory":"RUSTSEC-2023-0071","aliases":["[CVE redacted]","[CVE 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":"e9cf74773a6e34d2f2cd5f4cc024a1a57cb07e5917cf84c703df779cadb57013"},"properties":{"dependency":{"package":"rustix","version":"1.0.5","advisory":"RUSTSEC-2026-0486","aliases":["[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":"22995033016ae3861d571b2c92ada6244555e3aeec08bc870b909cda12b35c06"},"properties":{"dependency":{"package":"rustls","version":"0.20.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2024-0336","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"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":"b5524f25221308ec94b7206b58afaa59996104c20abaa242285d451f5344e44b"},"properties":{"dependency":{"package":"rustls-pemfile","version":"1.0.4","advisory":"RUSTSEC-2025-0134","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":"8eeeaa17e15b82ce048fef326aaee8695e87b3cb2fb8689fc87b0f78fcf3e24c"},"properties":{"dependency":{"package":"rustls-pemfile","version":"2.1.3","advisory":"RUSTSEC-2025-0134","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":"29657cae34dd8cde614417a5e63194c90262d7543de5763d566a22c44f87c6e9"},"properties":{"dependency":{"package":"scc","version":"2.1.16","advisory":"RUSTSEC-2026-0205","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":"a7ac1525ee21f8396482ed6caafb5092cc4f1f938990a606ace871da2f8aa6f6"},"properties":{"dependency":{"package":"serde_with","version":"3.12.0","advisory":"[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":"85ffa314d77812277deab31fb2264e02366c4034561614d82315c198cb6bb99e"},"properties":{"dependency":{"package":"time","version":"0.3.41","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2026-0009"],"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":"c64e30c28e3c0e2ac4c865fc1656b78d3404e0bf0484e55f9176b7c5f283f360"},"properties":{"dependency":{"package":"tokio","version":"1.50.0","advisory":"RUSTSEC-2026-0386","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":"da9ce41d3dc2da176b4e1aa86f2ae1a68df334c8ac5ad721abff2335197b0ec1"},"properties":{"dependency":{"package":"tracing-subscriber","version":"0.3.19","advisory":"RUSTSEC-2025-0055","aliases":["[CVE 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":"d3f6b0dc7d0843f1539cb8274e739376fd4b1be6c39d73c3f6b7e78cb5af4d8b"},"properties":{"dependency":{"package":"unic-char-property","version":"0.9.0","advisory":"RUSTSEC-2025-0081","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":"610868c659b2bc4a0ea5bd7cebeddb1d8961b8ebb7c9f31dcc75e07badfe1d8f"},"properties":{"dependency":{"package":"unic-char-range","version":"0.9.0","advisory":"RUSTSEC-2025-0075","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":"9a9761ad8cbbcee9fd4b4bb09fc1e6e6977230d7588402bc8497b52c5027e99e"},"properties":{"dependency":{"package":"unic-common","version":"0.9.0","advisory":"RUSTSEC-2025-0080","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":"85efc23fe8e36500ecb29a32958f3f5e5d4d165ff3031f725d18da9a42102edb"},"properties":{"dependency":{"package":"unic-segment","version":"0.9.0","advisory":"RUSTSEC-2025-0074","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":"729432e89b79cd0fdc03bff26f598d526960a0beba6c16fa16cb04c9b2f51932"},"properties":{"dependency":{"package":"unic-ucd-segment","version":"0.9.0","advisory":"RUSTSEC-2025-0104","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":"b269e07aa3d9bfb90d59d794c0e6a0b7849b288910031fdd0fe253514c3af463"},"properties":{"dependency":{"package":"unic-ucd-version","version":"0.9.0","advisory":"RUSTSEC-2025-0098","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":"2b5cc6a78fe02a95b2f6755616011982ae866dcba8c2aeaae7b037f36ce19be5"},"properties":{"dependency":{"package":"unsafe-libyaml","version":"0.2.11","advisory":"RUSTSEC-2024-0449","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":"f4999ef69e42f46a403f3866a4a634365963f93fdd6e82c0c4a8e528a960ab52"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","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":"06e8dc8c07565b965cad3fead890e0d682e96e4f994ab4a0654e3f10afe7962d"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0395","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":"414bb4a49ee404ddc9dbe92931374dee643d4d3104e067391ed93041a77ff631"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0396","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":"d67834474e5564706ab5d6117a7537fa7ddd9f89e1070ff0f40846a68262b203"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0397","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":"64bc44f41a35cd29a5d01a7b192ce2cc5f1d458c15d9df1d5239ebb5b7c6fd43"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0399","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":"a79bcf37fda3b3cfb40243fa81b1818f80a0fe095c267b68e3c7eee6f042ddc9"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0400","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":"21df614167acad094349de8aa7cfc685e485f636d67b1ded35b43230df65a136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0401","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":"fd61c6a1a6d23109e3da0a091cdbb2ecd3102dd1235e0548e2d8ffd7db2a7005"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0402","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":"a910032c7367726c7f26107809b36a5b0ab01a6e3af6f2b0cf67b659ecca9e49"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0404","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":"d11388e41908d6112e7f61d01d0c0d9062830b07945356073c8069de5b88d627"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0405","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":"dbb5f2efe8d9cca6344840981b65d21b774960589fc9976e6690dc84fce97102"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0406","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":"d7870b77ea4843334d11fffa265d6d0542e94eec7f4c8e852762d55c28578136"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"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":"84f9b61ffb7d87f7a0ea344424bcbd7389e2ed41eb01432b04fba9f732cd312c"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.15\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","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":"880c5a9e3754ff2f8b6ebe629520afecbaa8208a75ab43985dc95bf538bfa60c"},"properties":{"dependency":{"package":"xxhash-rust","version":"0.8.15","advisory":"[GHSA redacted]","reachability":{"kind":"unknown"}}}},{"ruleId":"D31","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":"c6f3073c2910dc7db05d97c04b4f184bfec83085c8a05f6f6131339407171d3b"}},{"ruleId":"D31","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":"60cdbb9616308132bacab2e84cfafe15e2c8a7b44ee14432a4d038c4c3e4f97e"}},{"ruleId":"D31","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":"0fd97141259647b7940182006fb7704341b6c1b54be3e71a1e709074bae04846"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"9e3ad6a360389462faa8849a58642a8f8cb8149f12a7b34029e3877d17ec4164"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"0b1eae34d96c7f1d2ea47378e712780819ff43c3b6394ed874d48ac2162f1307"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"acf4b30b8ec35a00234ae8612f2a5606dc182cf912a5cf3cf52b900fbd1db4bc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"9e4c1e8dc3a0c85f7efed700c03d850e7b18c41e1da2e844e3489c465b0ba490"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"2ad1cec4fda26fc377544aefe83525d42d0502515be04f5f16817edd4337c7d8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"34a5eb542dbec906a1c3be009931e7b466f4298b09bf3a66ace9bf745348f08d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"f7d1a40bf7b78c4c8dce1c28f006d0c6eacbe97edd174892dee84704cf3c7620"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7d348210c38a0e249a3e1b43be9f64bcb4a83cc831b3d52946816fa50453b1ff"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"b0c62c7db73abde8f3dbf233556c7bd7f85691dc24a0ec6fe6fc43decd9a79db"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"314f5c488120c26f415a58147ccacf0e73d9c80783104e6337ae3d7c279946ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"87bff5029db79ff37ca91c6fe918424d9dc94c4f67384137ca6b3f77e29453c1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"17922cc7c73637a8891132777fd0b7257567b9f77e208f69805d414b241a9053"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"a5342ddd05dc1b775f7f08b874464ac3be47a157791015cd46d442496040a0d8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"859a9348321f08bdd19012461ef19193d4c0d3700c11e369956bcf527c1f7f13"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"e86f2c227064920e354ffa23d6df14c1f1e91d9e1e8808da9927a3c80530a54b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"db99fa47760e27d6eb31f0a187d40bf9e8dc7f93e4e503b1212584030459af7f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"51fd2d56b070d8bd7f0a47167f9c33944a783251fc89fe16a3a2b11dc11ba019"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"82a051a253f9fb6877267c62e429402cf9d67ff23893e85acc2328dfe99d408c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"eaa1eab5dc4cc77a30d48576fb67a0e6c51c0688c374166d9fb61c060e123947"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"8cac2e066d05df1f1a9deabecf1a2908b717888b71cd1e15070bcb822efc9146"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"b49a84c77f72889eda76232ec6713bd327e3a92b26a3e9d66fd710c87b1e89e0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"d7626941e4ba68e41189521e9a42758c0ce735c8aec125392f744a7e78d894d6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7ad5b1c04482713f7bc24fc4e2543a97e79cd8366e0006e8c29796947bd3875d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"e9d1e9b211a3e527254a41164e2ae23198740c941283f4f1c1964afef700adfa"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"840fe1e1e56825c28250113c7f750545bdae82a7423c7111006183282fc1da4e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"77441a0b946390d24f6b553859af5e25ad0ab00665fca61df27829cd9de66c8c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"1d4e763067fe83d86ae86727a4829cea07b7c1c4bb67a71e81fe5ef0e097a6d7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"ef5907752b9aff70314ffd2eb48dcad9ba53a56f2fa428b5c020d46508cc4fe0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"ab92a1628cd1667b980737ded7ccc3626ac57a21801920a558f6441bf7c0c5af"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"23272731b95b9c838301c2ed015457474b2491687b78cfec323b11ebeb30b868"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"78300fd4c6480552c10dd06e10d4bf5624233d482272c6721ba900ef3f34fa12"}},{"ruleId":"D31","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":"225276ccb418d8d684a66e89ba1d50d41c28ad5886729dbda2228d3e24cca576"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"e11e0071bcd30763c2e8fee8f7d6d0d8413501d7639535f50e8b8765b96ec0b7"}},{"ruleId":"D31","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":"17c6b5e72124b860afd4586d9fb61a19b2807abcbd12b04cdb8de7d43731dd65"}},{"ruleId":"D31","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":"622cd1a51bb597c0f6d2f2230790574c180c47cef9bf17db65f391d9d52dc4b6"}},{"ruleId":"D31","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":"6f4c8fdd2304f258c0060329eafd6ba4fd61299b023d189011245e04fc68a402"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"a592ee0b490309081b9039eb59dc4385eab4080e364bcb7dd0383434c16b473d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"4c20694b0d050bb2a2a3fc34c3cf91f9c061ace7f751aa8566978349c88fca83"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"e02b46afb49f3f0eecffdc3239ba5e8c758131147b133fdb22f8cf7a7f55c0ca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"2bc7bd550b400a9051ced21621ba4a013927111ad6e3b2e83c4711e6213a4173"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"8928706d0a8404b503157d3ddb8325b0e6c06d0bbe4f44cda1fab882754f2f4e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"e7195ea6cabf115e9525996956d46f225004cdc5dae99c69b7fed626229e8353"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"d6c4bf401ee3e15ad6bd88edda6c394446fa166021e17e8756efe1259c742bc0"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"1fbc3d9f29deae2a63a414b185355c5ef55e3562208e5d829e3f4854828f474b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"bcbd6b8fa528def15bf050d7ee1ec670240c7cd7a626d215fff1c370bb412ffe"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-668","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7488086a64a24777b0bac8729fc3b1182aab9b4501460f6a812d876642730da2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"54bc4ce7d09d59c703acb40cb158b2863bc70db7dc83737dd907d276f4e7fd0d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7b195aeb4d624510567f51955729815aa2247eddbbdc4ac0d69431874c41d43a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"23a69e1d6cfe15e40dfb30ae7bf86e54b6b35b15cc8f5d388075e35e8dd2a93e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"9e75d6284e72e3cd7315119da17eaace08e91e0638131351dbbcf325bf434f16"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"bb0a5883232f908afe5b3b50e33c1f8d8d24c3ceabf568512df0db2a2ba5cae4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"2d786b704697edf3f3168010becc6e9c90ffeb76b88292279218588eb6765f43"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"0400dafceba5979206d6413bbade26e893013acba67958434bb272adeaa1d4ef"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"9a3eb5d7ee8005e00ca123cb3eb16939c5a4902a474a453bbb733775d472ea8d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"188d2e7bc80a98b20faed7f910431a18e333eb73158f6d5c0234904a314c7820"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"890e70d89d52fc025c89070ae8362832258cd658ec083bf1b1d13d1142a2d957"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"0545dd001eec0c53b1d6c2a0057371fe219644225f621e6a3e583eac24d30694"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"40d8e4f2e2a06ed5d72245b7360f07a0d513e6ab230456c45261b33d54a8975d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"b5c8bb41d0d333006beb0ec505f1c2553dd89839298ecfed41002a64284d5cfb"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"60b8158a679fda6db6c3c74edfce16152ad329c227680309c3f3743590525550"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"c6a3f39ca4820fc661262fd7fd95e1cd5ecdf633fe8b2fde115d7ad4fc90fd9a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"496a85e0f49aabafd7d1a32ccfd10e1cdfc069b0e6a925d04856a6024e110253"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7055b7579535ce4d4f7e5c388c159b3f1b3ba52c8890b89bf6775aee79aa2b4b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"ec46f79241804075f19e724c92e23e60f4a9e538098bbe43cb5b05d31e24c9c7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"8263fc4ead5a6041923f4f70ba60a4f2acebffb0fca5df5216017d6c08491cab"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"45f50695c909422eb51f34bcd0ed7468b0e43ac791e773539bbcae8058907238"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7ab98b6069f8c07cc9d2497ee62504161790e54c478c0e9b1d930aafa8beb210"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7998ff54523c58cb03d37c6251fb893bae618a3c28d112e286537b8f2c8e596e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"864acb4e26b8d95c4d98990c5d83668d479ae48d6414adef8d86222acf186026"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"be2096822e291412aa9e6b99edf07767104a7b77bd69ee283845e5f8aeb9c139"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"bc2868f17116585f748f3520ab6842f52de34ae578ca8d32f321150f8d9acec4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"597c4cbbf779eb81373c06af7f231d87c6e77d46ab98e2b67b203712505fcd16"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"93b345676ce0e9e240c67569c94948ba5aa551dcaa553074c24cc06eeff016d9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"0ae123c6cf46776b94ca81d75e8524f1b913208397b043a82841cdd20d33c202"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"09efccbbe2568a861f4f5a09c1bdc6ab85a5de7262c0349b6b9ade07b2362a35"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"5cf8832ebf6ee8189ba370c9393868033379ea5961762febecfd31833d4add43"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"e236f208ad8525d2ba9d24e0a0ec98821ade767084e63880715bb7d6eccefd9d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7f58309be86890742e76e465710bb8876dd6e999310ea0cfeab6d8cf7420fe01"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"f7f54232aa9476d59fd5b4c4800966827c2d8afafc29012cd7293c1568f78696"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"663ca76674b6a16339adbd346a4e09b95ffa5ab70c4f0cfff66df7146cd58937"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"6bc381b784cba77e30cfa1335fc2ed22da2e4f863702a875360b8e684d23f89f"}},{"ruleId":"D31","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":"77c6f6f7f0806d4fffbee812825a64de23f64b5c06989b73e1a9fb172eede9e6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"3f18b1aa95de26e21e7a4ec0d17f61e975b87407109947ce5c000de2025c7b95"}},{"ruleId":"D31","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":"8093fe29e13e3cd2fb0ad4068a9f14aa81b1400ff50160e6fad715e456a0cca8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"f334459fa18693630d3449c8875546623d5e58bc7ed659360b15a0b30b02742e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"e879400811747887359d2de47be4195ae5cd00e59397dd23c412d5a753c177a4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"50399a36fa7f96811238310b9ba1823cd8e09f76a8cc9cc943588d9a487dec8c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"502b193252802d5a810aefc77cb942fee0e91d08a5afb4b2c9f4dc9a4a87da38"}},{"ruleId":"D31","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":"0e4bb275d683ef65255a04fd253946075044184f19e70631ffe1965266e65fac"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","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":"df6ac7511dcaed103d579edad56b20f19e800e408b1218f483583cf86e6b2344"}},{"ruleId":"D31","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":"836f787ca1fb89c78a8dcf77ed9edb56aadb4daa52b410f457ff5046c5c56df6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"0597d63e034c43ff2cce279a39acd38a3b909107942b3f3e4cc197211ac2adc7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"7a274ec8fc046069645887b9ddbc9149472498a578f06139415248b9a4745e37"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"a34871ca6c3361d22023f034e2c14dc00de704e999a50f2b88e0cc29a0d12675"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"059b95a428daf78b78bea94f7ccf53f62983a47b403db70f6787996b5b2ddd0c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"acc934a947005aa8ca9bdbc9b98176eb8502db3a450ada64dd6b145245021486"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D31","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":"ccb24d98f275cbf87d18e2ab58c38f17ead360f001f33bb9b26af4ce28cf58c0"}},{"ruleId":"D31","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":"625a119720f807192a374a142edc6c195d80c05e9c8074a3b99dcc467d8f68dd"}},{"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":"crates/smithy/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faef0cf09d448d87f416cde052a6cd35781e56bb393ca7f7970610835cac6762"}},{"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":"crates/hyperswitch_connectors/src/connectors/archipel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"865875fad9ce57d870b4755bf15ac517ec0146740bbced3bd5dfdc6e5226be37"}},{"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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a675e185f88955417b50d7501a637d39d15b93df480f7b980ee006e38fa93f07"}},{"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":"crates/hyperswitch_connectors/src/connectors/billwerk.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c016cbf10a1dab5a409eb8a9b3f2be6670c1ff16b55f5a9dce6221fbb5e6da0f"}},{"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":"crates/hyperswitch_connectors/src/connectors/payjustnow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd98ee67968f8aed8b819bdad192f0b67ff1b96f6412d811f0dd42201523b98"}},{"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":"crates/hyperswitch_connectors/src/connectors/tokenio.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f041dc4e4c80c780d21032a9d0ff75adc0312d3a873f73032619405d6f736bf0"}},{"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":"crates/hyperswitch_connectors/src/connectors/inespay.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b209bc7b1494092c8b2ea0752ba1c90e72f356f290a0c75d52184e3d63a6a5"}},{"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":"crates/hyperswitch_connectors/src/connectors/powertranz.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ea20b66a11857ee9629c38adb8d0d7254dea4e39189dc10ebb4a51e461a9aa"}},{"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":"crates/hyperswitch_constraint_graph/src/graph.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"497ac51d1018d5bd05a85371c310e9d5c5dc8bcd45ed82d062f0848bbe7de7e1"}},{"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":"crates/hyperswitch_connectors/src/connectors/paystack.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e83d96064ae4a94fe8e2d7a74fb6d8736292609ec3317028cb42d2d4778822"}},{"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":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cec00f80ed369e04a4196b29787e7b48524348b444564a8797dab81c751603"}},{"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":"crates/hyperswitch_connectors/src/connectors/sift.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa164bdaeeefaa4aaed34de2926e64f3b75d7080441cb435070d9eb177f1638"}},{"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":"crates/hyperswitch_connectors/src/connectors/mpgs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2ade524b4cc19c72d7537efd1601b93c7ee860c01291fc4fca0c6b540caeb7"}},{"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":"crates/hyperswitch_connectors/src/connectors/thunes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1791262b5f05af54d1c39a357fcb7012de763a731f84649623132901eb43da13"}},{"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":"crates/analytics/src/payments/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5bba2faa3f3af6bf5423bb1511962eda806e45146490aa92a96e391e994db8"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 158 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: crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs, crates/router/src/types/domain/address.rs, crates/hyperswitch_connectors/src/connectors/payone.rs, crates/pm_auth/src/connector/plaid/transformers.rs, crates/router_env/src/logger/formatter.rs, crates/pm_auth/src/connector/plaid.rs, crates/router/src/db/user/theme.rs, crates/router/src/routes/dummy_connector/types.rs (and 150 more) (173 orphaned of 1493 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; 1493 of the 2044 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":"crates/hyperswitch_connectors/src/connectors/paystack/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7f4029da240e89a50a093cc02eeafac4a127c65acafcc01760f36ed012abfb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/payone.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd6c6e14d55ebf43a391446b8b6eaf4dc84d9923356c5de6b921b291d01cfb5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pm_auth/src/connector/plaid/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"215628c0359a486ea162bd02cd9b4c283443a9c102f2d71936b235eae39bc4a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_env/src/logger/formatter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4f2f66aa2e13b3b286b3428e38b33adee7969c0d61de5760bddbeceb339dec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pm_auth/src/connector/plaid.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bc5c77c209434e58b338589505529035ce3f570bf54f1f89a59eb449cbf0a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/user/theme.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb5a18bad1a6b74c30fda60bf7b955311a56b6c82b33df5be1a5f226043b09b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/dummy_connector/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9bbd3c82fcc6ef3cd03e91241ce569f3f1a66314ba632421e6469dc729aab3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/accumulator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0588d048d20e62111b22c5c2905117890d70027c970034c435bdb704849e9bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/domain/address.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c99706fc873ecd457007b47f6fcf3e79da863003c4b681937c87ccb26f7128"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/to_encryptable.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01b7d6ff23a6906dafed16720a40f6f5fb401db11f5511409452edd2761830e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/grpc_client/dynamic_routing/success_rate_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad327560b6cb94f1d91dc37fc0441f0866957121b1712c278abb118c2a7fe23d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/tsys_transit.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a33a58950bcd36a2e2155d76a6e1fbde2d2af7a526ab28741bad4f60385eda"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy-core/src/generator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c94f2817a5a067f4d8640c75a58968a6cb27651c9609606d8575a5e1fc0b4aa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openapi/src/routes/merchant_account.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5b87e5b62bc55ad7f4508e3b5b1a1dd115e6ac736a29fd9f1714c0d7f79c10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/api_error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78236429e0d9549d9e39e79d8b689059c31e54eaa768c5493dc5ef9f1318168a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/generate_schema.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"819d63b96c44b2a4b94470edab51502b6a7a7f98ac16237c09f091684e84d685"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/accumulator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74e333026f1bab4912c704d78f42899b03fd45b081da2eeb98c642eba8a0c6d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_constraint_graph/src/builder.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f57272a6f6d5fe984745cf373a7ccaaccb1f92b60eb37f7c054a5b17197d8ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/customers/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c877b3c50d25aa774050fb3240630443d28811c8a6ed73a08818ed0cbe2d8b16"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/locker_mock_up.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd449b421d0759c1b2d053e9f540d011ffe7ccb3dfcd0350d629c3feb85afa1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/api_error/helpers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d966fdb454971e4f7a0834bc56e8ae7e99c9055d02178b9f8591be628985ba"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17b5ed5dee98b09b811411c7dd7721831e3037eeef62f7e7339b83eff1977d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/hashicorp_vault/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12933c91b78ff06d93cd043f683f38714631401e7e7bbf5e6a0946687609f1f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d6a916584a84b35ae15a6a80cababcdbfc558a779e7b85d7fedbccdb76491b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/wellsfargopayout/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9ee011b9c926cff5154288b98902cb4924ba6ca4c319e8735c145f7e828dd4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/connector_response.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fdf2a5b37fca92dbfa61f2aa35921a40d7a5cd4d7d638c454d3f5d0862c05a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/user/two_factor_auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e9f35f70f730615b9c2f26bcadff3fe7ecb70e2db6896a6e96323c3527dc4b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/dummy_connector/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e488274bad6369708dbcaaf74cd9daf5dc79dda7fcf94578875cef4afe3176ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/api/connector_onboarding/paypal.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66bb684dbee276968dd8170bd03995a9c7f16e640b9efffcf62ada3a3f82d40"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/thunes/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab72c08fba1c9c3512575d97c10f1151884da869bd3b216cb13867077b3336e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4334cefdfb694961e06d47e78f7b7cfdfbbb7e7fc968d8c9d970e8998f97fff9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/sift/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"699bba6b07f303449f449be76940d4c19fe7caa08406464c44d6d3e6f34e6081"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/mpgs/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c7660f2559821189831037ba74a2a345b428d1a57dd896df5025103306a359"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pm_auth/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"258745e1e055664021233d25b7bf0e0e11b122083b97d5e8e35fc8fd8a1d59ab"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/diesel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3546fcdd9efc7057d7c675ddc6cdc9ecfa52b43ef2da2e4b356c2e3b661ded6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a21d2fadb3414827b85f3a0daab562b567e53c6c17df2b1d9afc4d2a177dbb9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_env/src/logger/config.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84dfb3bbffd6afe8272647f19a35e3fc8d906a34f707eccc92bd88d327b45cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openapi/src/routes/api_keys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d5869e7a44dbf7eea5a4459e3375de32f415bb75cac6acc03d1d3b6bec48ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/user_key_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3b462ca638b7cb85a243ebfdef62bbbe73b10b1e57b2597d73453767645eb0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication/decision.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba34b3f293c6058c90e511f6af669b639d4ff32fc1e372408a10c4104c9a75e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/distribution/payment_error_message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2965db2a3383362db7500f7bad29284545a8e522912d3ed2c7b53ae90c78bf1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/grpc_client/dynamic_routing/contract_routing_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01efde932f519b0e21d392dd82668515e4e27ff33bf10cadbf468b2d4713e684"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a99478aa39cda08c337971b48eff0c04366435f14f4f0651865363d7e55281b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_constraint_graph/src/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abe73816e77ce3d8dc19ca1c993435bc88fc9108ea2d8ebb9f9c4db7a900b50"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/analytics/refunds.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"743a2bef4fe964c99dc4c8a3ecbe4bedc824ccf1569c897f38318fe2a97ec1d4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/producer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d5f632fb991cc549669e981e8ea8a6c9eb84fac239a2a010c394c13e172759"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/api_key_expiry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdffa91680321a13f53a394ba0b914ce968e4d9c6ea09c2af1d99ddef36277ce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/grpc_client/dynamic_routing/elimination_based_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5a00314eb1782d59658ea5958d9531f0f87f794caf2c2b0f797d99e3ccca64"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/frm/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaa08c89d240f636cdfe5c0d5767c9a71db379c5469a8658dbf2036c8771803"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/distribution/sessionized_distribution/refund_error_message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c90334e72969fdc57b9f62b67c2362ea94b3b07f9c9a5e85204271e0574502"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdab89e2a1a336b5e2ec53543d069327ca84040ca5c10ac749d990ae5c2004c8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_error_message.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0e034518ddeae8eadab7847d84c52fb1fda4f8f4f2a23e17e2ae927a96585f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/challenge_attempt_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a8188e608c7f4b935a075235ef304e542e7c560b0943c3664e9269740cc9cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/sessionized_metrics/payment_processed_amount.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81a0d49a88b0a430c5986e1841bb6cf372c9b923e99027f4698d2d7a04a949c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/distribution/sessionized_distribution/refund_reason.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12811f2c09982fd2c4dc13dff630fa7a86ca09fa480f2a100a4c5041c9dfcad7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/frictionless_success_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6d1a1ba4935d7b5758c1abcd4be5d969ce44e37ed1a6b59a1f51294f3b7ad7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/challenge_success_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"310d976a0e145b5f855391c467a11e6ab2d3bb4ae4c97242d8c4bfa8472d0525"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_env/src/logger/storage.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef50aca18dee9a98c1f3d3273fa9160886f72729b117d6f86e6bee4a0db53dd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/health.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"676c95ea44ee12089a0a2906bcf6643af875b8a65f7424eb80bd83a62489ac98"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/authentication_event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1149e3ab61a21f605d2bfce1d5bf31d3ce4edefbb9cf4ae1916e00e40b9943"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79296fffb07a623d555dfd80fee853c12e582f025ecc22d5fa33d215edfdc14c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_funnel.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fc6b16e6bba57c217f2ae4c54692d75be756c27afbfb44b31838d7df8edbf9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2879330e2bfdadd19291e8467bf4e88fb0833b246a25d7097ce8e69594e18949"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/frictionless_flow_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"036b04d485fe473844e3e67f3c666930b52aa759d6a6b368931168182d19bb94"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/challenge_flow_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4429506969711987cf9a33398312954ebda43620ecca8483160b1f8fc62c7aa4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_success_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5471b26cef8f860c74dbfe8b861bb854858e5e7486931a75b96f450b6f118c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_exemption_requested_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feae728718eea1d67960228a1959eabfe297cc838aa35e7c57fd93f6764257d3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_exemption_approved_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00ba0780ce1efab7d0c37eaa6c1fdc95056d4a805dff90f83af4b889190b987"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/analytics/sdk_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fe84a5a4b30bc2313a14cb6644891160e81a32424a99937f3df3242bfe83ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/metrics/authentication_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8f3c5d41c7e3fac4d87c4c30cdd30d08e4673cb3ad088e9790d9d49a9f6024"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/events/routing_api_logs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0176c8a35477609b384c6b43226aa43fc53979c9e1e7911cb2c3e453b12a1cbb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/sessionized_metrics/avg_ticket_size.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ce8473496d4bb9e98a6ee8f60aabc429c15f4c0f118d545b18252cda5d5593"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/payment_processed_amount.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"711a4702527850ae02e2bf21db88147cff1953b3b51685ed97253e631b338cbc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/avg_ticket_size.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ffe09b8e105e386698c72dce32c4b805e764f0f7e6ceedbd9ec5f2d3218880"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/sessionized_metrics/payments_distribution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b7bd1762938075039016aeb887094a8ec35ae2feb886782250f7105e5f08d6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/sessionized_metrics/connector_success_rate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00125520c7ea834a4db2ed128d54743a46b9c5bd5946e3da7c08a277cc669596"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/successful_smart_retries.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"314b392ae364bef5de7e0f0ef5ab24bc7c135f4ffb106b9c7fa19768acc5cb2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96ba0ab3d5d0ceacf5c914fb9969ce48fa0c6deb27e8c8873f8981f5341ed12"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/pm_auth/src/types/api.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b0d61117854fa6ebcd67b8c16a3042b7778f3cd42a94c2fc8355750c26cf397"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/successful_smart_retries.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e366685914039565dbf5864c6ca25ddaba89fffed07d06fea6d3f04c51d120"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/connector_success_rate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58da24f62d0cc506dfa6157cfbf77c4b3687aee3991b2d364073e36ca1f2e48"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/sessionized_metrics/payment_success_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5235e73e7b7a912cb5bce8fb545c25a151a8f0c885ef1a8d9fee57a22060c77d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/payment_success_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b928db97fa06017383eeb0161573585741aadf3a4a82f8cdf24653423be39dc4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/sessionized_metrics/retries_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6295b9989347b0e373383b2fe8965a6777a0db967e2395bc793241d3ae61fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/retries_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2d26024f0685a69c58fc4e9374fb0d9f5368cba8d9e1d9fe7b637ec40c9ac0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/sessionized_metrics/success_rate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f596c77423a278a7a8b017f57e0e942663d102ea74b1c14e16f7b30975cd2d35"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/total_smart_retries.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d361d699268e578a278e875dd83ebd0b7f126cf449ebaa4049ced8580000b507"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/success_rate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d446e18076b2a39f14d107906d7185847c26d5de87051a8ecf9ea4435b02b4ca"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/total_smart_retries.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"848c1e518f8a1e2aeec1606d9efd5fe04b59a9d8702208519a2c037508736465"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/sessionized_metrics/payment_intent_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a3a6bac54c51778936c2db54fb1086b7525a94e51f610b897f413ef3edf732"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/fraud_check.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a64bc51b1f59a442ad4b99d5f6ea6acdfb16e86e2c43d7287e539467d25f36"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/metrics/payment_intent_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d88534813303c1a70c9ecdaad1b1d6d19f3a07a450141a5c7f387206c14f1e5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/sessionized_metrics/payment_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"330ae2094e624b863ff0a49c07fccb83700677c8967736e3b8dabcf323c552eb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/metrics/latency.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fe9e0e7c3f95557efb7ac859060a3a4d3435afc33350f880d456a5e91e5726"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/metrics/payment_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b345cc359623f096af10198a35ebaf4bdf4d3de943b015927318472e7ed4346"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/grpc_client/health_check_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d19f264311c33da37b2dc2177093840b661826ba00f29c6db31a822ee1a3ab3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/dummy_connector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af8433078065044f54f8e7109e4dc37c6d77ec45f4320976a053b62b9fb2b6b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authorization/roles.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f881bebc771e8a25752e4966a2bc1266fd01948afaca57d80d4a713c7ff0ff00"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/metrics/refund_processed_amount.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51640e3f39360a0bc85a70387cdd53712fadb305f30d67b8b8d03e119b71cdf5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/consumer/types/batch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf5f57bfac645a1a43fa3f9d527a880d1e1127806d947c88c231d2a7b627ee8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9da485bb6a0bc1df3b3f06b8204a51344f6d492a3369d6f48d5fb3f0480ab4f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/metrics/refund_success_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8c6e7814a29045b574718c178aa4e0521d497ca9f61322f42c10c1a6a8a73e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/crm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cb300250a172cd401898b547de30b1dda6edf5785c54b8e47143e9b6d4b131"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/dispute.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bf7338cf98eff37d509a76cbaaa87fad3b61ab29b2fbacfbd172bf30a866dc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/metrics/refund_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfdc7e6a208d9fb3d8e66e23308c3f83b831a0a89e232991e95b95db53c538c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/metrics/refund_success_rate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a395e1403dedfa4f25bf667b204134ac13ecc7c228c2ba630b407416c45a5818"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/sankey.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4234329df76cc4e40aa0f75af12170bfa1b36b6c867765bbb60b916bca0f257"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/app.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3282a77bcfbcbab29040ebbd8df73f36958e5e1afbbc10dd226fbfd8695ff59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd24a0879365f17dc8aeeddd66812f66494e8142df54b0027b076faed65cbd88"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/metrics/dispute_status_metric.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e6969c7f2b0749cffd3ef3b45dcb20254ca735b1ed89fefafc77953612dbd0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics/payment_methods_call_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20aba3bd3169794d89db753d7cfdde662a79f2615b4e0716f24ba91c4c426838"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/metrics/total_dispute_lost_amount.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab32e3b2abb9259bd5ea583604bf3617b12a7ca6c268a60d70ef2d1f13830fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/metrics/total_amount_disputed.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c5cec72eec1771bffdee0140b34bc2cac343c9f9b5c25336632caec5c98ad2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics/average_payment_time.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eca664d91f11bc1a082433ab423a197010580a7fc589b5cb740cb0b026d5681"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/frm/metrics/frm_triggered_attempts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b6e0243ca8967e160f1a07d5db4c24626576f3c6c04acf2b7a718f3cbd99d9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics/load_time.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"318e9ed000a3fd7a6b2c3c63c9979decd65109474906b705553a7827b8683754"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/frm/metrics/frm_blocked_rate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6331cf4ab848ffc05c030d79217e4257020757da0b7c238e21f8f120ea331223"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/generate_permissions.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f12fd01bedda679480796d63ce0c5f660d7c92f180722ddb3cb61b3f6b7573"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication/detached.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e8ab3e5f9db97f0858197aeb5c504190c3723205ebeb73da9f25af631e77c2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/analytics/disputes.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9404b569a0daaec08a47cfc7a6ab448aa63a1238219adc9114585229bb14c116"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/subscriptions/src/types/storage/invoice_sync.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8021be4bf96265c3ddbc00d8b59d8c34553345a168ebb544fea43b0ce3416d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics/payment_method_selected_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99404a43d6a2ccc5019c2e91e3225a695e966038958c67d27d91a5c37ae34290"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics/payment_data_filled_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf9fabe95002534cc60732e3a43fa7573e018707f814200457888e760235783"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/grpc_client/dynamic_routing.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36433f86cfb1fcf33fa96d6635e44912a1c89f29f9448b13cee5b1ccfa26e1cd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics/sdk_initiated_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eeb789f4825db1f57dd7391fa1c5c1c4ce9d6cc64f89773688a486ac286f9ad"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics/payment_attempts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e0a63f9ea7ccceee8ef0e3ae8cd3cfa123c7dc48855b7a7a3ad861a58bf5e9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/metrics/sdk_rendered_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"921ead8087632ec66736da2b51d7a147b5fe5b58098e1a30b233999764bd030e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/metrics/api_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0016cf637f95293bd86cea2f51168a50c81de46ed031c0caf4efc19f9c93d9b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hsdev/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e1c806b0b7e80d4b5946703bd7f5dab9e0ac8a13bd3f01e7e59a798dc4372f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/dummy_connector/errors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5c3710b1149a3602115c5dce65203193e4fb62a46f60e809d98ab64389ac0f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/analytics/frm.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2751f6a737ae89627121c12028000f98650a5ca4e5fe682721f4fc42ae12da3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/metrics/status_code_count.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4a9263d896a8cbf2d54f490ab1a74a924efd87a3a3815d858edb45e1aa09fc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/distribution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5c5b03264d2f1ef61848a49fec9d01d26beab7506570c78da58c4a7823b6b3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/address.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e90d501d771e33708f17e7ad70349692b832b0317279a584ae6b520bc4c29d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/analytics/api_event.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45079a15862b8d62253b4eecce92484e9670c229a15d644ebbb9a9da99c8f829"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/merchant_key_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9aa8e0587f02be7db6c36778bcc5e61f55f79e809aae8b1fd1b2d34ef3b2fe2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/grpc_client/revenue_recovery/recovery_decider_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18cb8c19a0af649ebf0072f82d83787b697166d537dd3a189f6423bfa11777d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/accumulator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a929936487e9a7b4a404f31f2974a1e2e2edfcd0c692955437023af7992ef1f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/distribution.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55533bd4d4ab8f87d88ebacbe2527dcc9710da483f5d8a93f0862a23693bbcfe"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/try_get_enum.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f598ac4e2a311daa98894814eaffee47c9df097a2ecab3883570fd7bb9e0b4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d23fdc2e675fe3966a8f67daf01ac0685e8d2aae37032662ac77022362193e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/accumulators.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2dbe33f3963e6883c12d2ee33c3166f591f39636c2668cb360f4b84bd22296"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/events/audit_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87380b8f44fe98a14dd73f907f4bc56905a4ea267646825f800907c3f997d7b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/frm/metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e121ac046f6aff15af04fa9d945928aef63520d4e108f6cc2a7e14d820ff6e4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/openapi/src/routes/mandates.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65596691c3d868ac3799b73fc4933a28b5ec5a8e710f909f7f2c3764ef24d59"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/fraud_check.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0313f145e9a2431fa168852545ccc22087351287de37cc57d3c0dcc8b04876"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/sankey.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7825070a709d5e046b5e0edae07555f7c1ea89aadc7fb970d37cc2ce1c9c67a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/filters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a528b599e87edae0ca48c0e4247d463fe2097853c05ce02f53107e5ff5146db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/accumulator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24510b54008481bbe57d2a5c9342067f115063ca57b89650fb81bc1104778e87"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/refunds/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd99dd6b0f9084fc69e516d3a1b26cfe8c8a09cb3c225f7aa25a89de6995ec53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication/cookies.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c46b696412831d258709c1149fca8b2ac89aad74d3f1e31083e6d66e17c5980"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/pm_auth/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffcce605ae44c1b275995c76d01ba85fdb245cf0f27c479d490a470cc557454"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/fraud_check.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc4e087d14df5fd33137ff03aeabff77790a80ee1b533fbb4ff259e70c5f6ac"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/types/authentication.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22550e3a8ccc25513a84118d62e4d494b175e8cbf72f0d72bafea8e75cda7c7c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/active_payments/core.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2702e54826d13f203429d4d51353a9dd6fec9fd948ed79748c658c5e2ed6c45c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_derive/src/macros/misc.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccbc344d8c6e8df9f1aaebc1e2246fb4c8b02dc05f8b4f24275eae03b11f6d0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/filters.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebccade68b70e7cf257b997968008283b17235e129b6b4be5db6fafb93c79b2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/routing_events/events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab50321765763f65afeeba1c054e44749ddc5c7830faee1adf213ffd6b9bf41"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: connector_mapping.rs \u2194 connector_transformers.rs: \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/connector_transformers.rs\u0060 change together 97% of the time (31 of the 32 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 31 shared commits counted here, the most recent 3 are \u0060dbc9418c\u0060 feat(connector): add Betterpayment as UCS-only connector for Wero wal\u2026; \u006082035894\u0060 feat(connector): [Ecommpay] enable UCS for 10 flows (3DS, wallets, sy\u2026; \u00609209eb9c\u0060 feat(connector): add Global Payments RealEx routing via unified conne\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41a012b0fbefa603e02e82c4382edf2b9880613a29eff97313bde36d66408a0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: connector_mapping.rs \u2194 feature_matrix.rs: \u0060crates/router/src/types/api/connector_mapping.rs\u0060 and \u0060crates/router/src/types/api/feature_matrix.rs\u0060 change together 97% of the time (29 of the 30 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 29 shared commits counted here, the most recent 3 are \u0060dbc9418c\u0060 feat(connector): add Betterpayment as UCS-only connector for Wero wal\u2026; \u006082035894\u0060 feat(connector): [Ecommpay] enable UCS for 10 flows (3DS, wallets, sy\u2026; \u00609209eb9c\u0060 feat(connector): add Global Payments RealEx routing via unified conne\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/api/connector_mapping.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"764bcf922343e58f850269f261fe8ae684c9bfd2e39efaac618fd359f3857089"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: payment_intent.rs, payment_intent.rs, payment_intent_event.rs: 3 files \u2014 \u0060crates/hyperswitch_domain_models/src/payments/payment_intent.rs\u0060, \u0060crates/router/src/services/kafka/payment_intent.rs\u0060, \u0060crates/router/src/services/kafka/payment_intent_event.rs\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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c916470da79ae5de4e22095f4e03833383264ce6785a2e5c76067aa004d5e02"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: connector_validation.rs \u2192 connector_mapping.rs, feature_matrix.rs, connector_transformers.rs: \u0060crates/router/src/core/connector_validation.rs\u0060 changes together with 3 other files \u2014 \u0060crates/router/src/types/api/connector_mapping.rs\u0060, \u0060crates/router/src/types/api/feature_matrix.rs\u0060, \u0060crates/router/src/types/connector_transformers.rs\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":"crates/router/src/core/connector_validation.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50097b459489a69960fddd7feed6a950b974b2a370c0a5fa021689d68deeea78"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: connector.rs \u2192 response_modifier.rs, connectors.rs, default_implementations_v2.rs, configs.rs, connector_endpoints.rs, connector_transformers.rs: \u0060crates/connector_configs/src/connector.rs\u0060 changes together with 6 other files \u2014 \u0060crates/connector_configs/src/response_modifier.rs\u0060, \u0060crates/hyperswitch_connectors/src/connectors.rs\u0060, \u0060crates/hyperswitch_connectors/src/default_implementations_v2.rs\u0060, \u0060crates/hyperswitch_domain_models/src/configs.rs\u0060, \u0060crates/hyperswitch_domain_models/src/connector_endpoints.rs\u0060, \u0060crates/router/src/types/connector_transformers.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 6 separate couplings, not 6 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 6."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/connector_configs/src/connector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05dd14ce402e947db993db77909d7f95c173f3f6e141291fed854367fa8b2fc"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: gateway.rs \u2194 transformers.rs: \u0060crates/router/src/core/payments/gateway.rs\u0060 and \u0060crates/router/src/core/unified_connector_service/transformers.rs\u0060 change together 90% of the time (9 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00607c67d871\u0060 feat(payments): add ucs bridge for post-capture void (#14801); \u00605dd6fc76\u0060 feat(ucs): Added IncrementalAuthorization Flow support for HS\u003C\u003EUCS tu\u2026; \u006000c62d4a\u0060 feat(core): Add Session flow support in Hyperswitch\u003C\u003EUCS tunnel (#10552) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/gateway.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8721683813768ffef6dbd89a9e07c51f38a9d8c84e7c177d3a88f71b3e674748"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: connector_auth.rs \u2192 connectors.rs, default_implementations_v2.rs, configs.rs, connector_endpoints.rs, configs.rs, connector.rs: \u0060crates/test_utils/src/connector_auth.rs\u0060 changes together with 6 other files \u2014 \u0060crates/hyperswitch_connectors/src/connectors.rs\u0060, \u0060crates/hyperswitch_connectors/src/default_implementations_v2.rs\u0060, \u0060crates/hyperswitch_domain_models/src/configs.rs\u0060, \u0060crates/hyperswitch_domain_models/src/connector_endpoints.rs\u0060, \u0060crates/hyperswitch_interfaces/src/configs.rs\u0060, \u0060crates/router/src/connector.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 6 separate couplings, not 6 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 6."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/test_utils/src/connector_auth.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4b22995232359f1ca235cd3dda4926aa1048e0bed95ca1800447d3223e8c1f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: connector.rs \u2192 configs.rs, connector_endpoints.rs, configs.rs, flows.rs: \u0060crates/router/src/connector.rs\u0060 changes together with 4 other files \u2014 \u0060crates/hyperswitch_domain_models/src/configs.rs\u0060, \u0060crates/hyperswitch_domain_models/src/connector_endpoints.rs\u0060, \u0060crates/hyperswitch_interfaces/src/configs.rs\u0060, \u0060crates/router/src/core/payments/flows.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/connector.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12983f644a2a1ad180d0d9566644e38dce0bfce38a236601b7126c2ce7daa87f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: connectors.rs \u2192 connector_enums.rs, configs.rs, connector_endpoints.rs, configs.rs: \u0060crates/hyperswitch_connectors/src/connectors.rs\u0060 changes together with 4 other files \u2014 \u0060crates/common_enums/src/connector_enums.rs\u0060, \u0060crates/hyperswitch_domain_models/src/configs.rs\u0060, \u0060crates/hyperswitch_domain_models/src/connector_endpoints.rs\u0060, \u0060crates/hyperswitch_interfaces/src/configs.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aeff8b753de4b980e950e6323a1f48be4b44dbc966a179ec5d564036ce7877a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: default_implementations_v2.rs \u2192 connector_enums.rs, configs.rs, connector_endpoints.rs, configs.rs: \u0060crates/hyperswitch_connectors/src/default_implementations_v2.rs\u0060 changes together with 4 other files \u2014 \u0060crates/common_enums/src/connector_enums.rs\u0060, \u0060crates/hyperswitch_domain_models/src/configs.rs\u0060, \u0060crates/hyperswitch_domain_models/src/connector_endpoints.rs\u0060, \u0060crates/hyperswitch_interfaces/src/configs.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/default_implementations_v2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49cce542728716bc7b26d33f40d5dee85b761f2df7b955d3089bb65a41ba5b6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: feature_matrix.rs \u2194 connector_transformers.rs: \u0060crates/router/src/types/api/feature_matrix.rs\u0060 and \u0060crates/router/src/types/connector_transformers.rs\u0060 change together 83% of the time (25 of the 30 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 25 shared commits counted here, the most recent 3 are \u0060dbc9418c\u0060 feat(connector): add Betterpayment as UCS-only connector for Wero wal\u2026; \u006082035894\u0060 feat(connector): [Ecommpay] enable UCS for 10 flows (3DS, wallets, sy\u2026; \u00609209eb9c\u0060 feat(connector): add Global Payments RealEx routing via unified conne\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/api/feature_matrix.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38415b860dfc39be4bcb11069ba0d82042a601e1cdcc86c850975a1cabbc559f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: connector_enums.rs \u2194 configs.rs: \u0060crates/common_enums/src/connector_enums.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/configs.rs\u0060 change together 81% of the time (13 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither 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 \u0060dfed2be2\u0060 feat(connector): [Celero] add Connector Template Code (#8489); \u00607f5ec743\u0060 feat(connector): [payload] template code (#8526); \u006095077c64\u0060 feat(connector): [CHECKBOOK] Add Template Code (#8494) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_enums/src/connector_enums.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a7b7bd13b5fa28af54977d2b62c0f015b983bfe61ab4444392d35f7dfb24ff"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: user.rs \u2194 user.rs: \u0060crates/api_models/src/user.rs\u0060 and \u0060crates/router/src/core/errors/user.rs\u0060 change together 78% of the time (25 of the 32 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 25 shared commits counted here, the most recent 3 are \u0060256e7fee\u0060 feat(platform): convert organization to platform organization (#10910); \u00609039a5e8\u0060 feat(auth): implemented embedded tokens (#10424); \u006082f15e95\u0060 feat(connector_cloning): Create API for cloning connectors between me\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/user.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3835139c38b410e772b4160a11637b93e91d31a976c73f96e9c787b75e2c829d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: types.rs \u2192 payment.rs, refund.rs, user.rs, user_role.rs, lib.rs, user_role.rs, role.rs, routes.rs: \u0060crates/router_env/src/logger/types.rs\u0060 changes together with 8 other files \u2014 \u0060crates/api_models/src/events/payment.rs\u0060, \u0060crates/api_models/src/events/refund.rs\u0060, \u0060crates/api_models/src/events/user.rs\u0060, \u0060crates/api_models/src/events/user_role.rs\u0060, \u0060crates/api_models/src/lib.rs\u0060, \u0060crates/api_models/src/user_role.rs\u0060, \u0060crates/api_models/src/user_role/role.rs\u0060, \u0060crates/router/src/routes.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 8 separate couplings, not 8 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 8."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_env/src/logger/types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d3ecca77d13013ab82d6e956ad9ec691c731fe694f65987d30984e7cdd7105"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: lock_utils.rs \u2192 payment.rs, refund.rs, user.rs, user_role.rs, lib.rs, user_role.rs, role.rs, user.rs, subscription.rs, user.rs, user_role.rs: \u0060crates/router/src/routes/lock_utils.rs\u0060 changes together with 11 other files \u2014 \u0060crates/api_models/src/events/payment.rs\u0060, \u0060crates/api_models/src/events/refund.rs\u0060, \u0060crates/api_models/src/events/user.rs\u0060, \u0060crates/api_models/src/events/user_role.rs\u0060, \u0060crates/api_models/src/lib.rs\u0060, \u0060crates/api_models/src/user_role.rs\u0060, \u0060crates/api_models/src/user_role/role.rs\u0060, \u0060crates/router/src/core/errors/user.rs\u0060, \u0060crates/router/src/routes/subscription.rs\u0060, \u0060crates/router/src/routes/user.rs\u0060, \u0060crates/router/src/routes/user_role.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 11 separate couplings, not 11 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 11."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/lock_utils.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b439e975f6d52d3baaccfd3ee0850e1bd6ae65f8c9ca7d2815b2d51eceb145"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: authorize_flow.rs \u2192 complete_authorize_flow.rs, external_proxy_flow.rs, psync_flow.rs, setup_mandate_flow.rs: \u0060crates/router/src/core/payments/flows/authorize_flow.rs\u0060 changes together with 4 other files \u2014 \u0060crates/router/src/core/payments/flows/complete_authorize_flow.rs\u0060, \u0060crates/router/src/core/payments/flows/external_proxy_flow.rs\u0060, \u0060crates/router/src/core/payments/flows/psync_flow.rs\u0060, \u0060crates/router/src/core/payments/flows/setup_mandate_flow.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3cba8d1a6d7d4157b25669964a3ada3460525b78a2328ea92d499e672828b3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: payment_create.rs \u2192 sample_data.rs, payment_complete_authorize.rs, payment_start.rs, payment_update.rs, sample_data.rs: \u0060crates/router/src/core/payments/operations/payment_create.rs\u0060 changes together with 5 other files \u2014 \u0060crates/diesel_models/src/user/sample_data.rs\u0060, \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060, \u0060crates/router/src/core/payments/operations/payment_start.rs\u0060, \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060, \u0060crates/router/src/utils/user/sample_data.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 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 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2f86c44f804b3743318312eb77fcc254f0d8715432c804f11807d4c15f31e0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: configs.rs \u2194 transformers.rs: \u0060crates/hyperswitch_interfaces/src/configs.rs\u0060 and \u0060crates/router/src/types/transformers.rs\u0060 change together 74% of the time (31 of the 42 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 31 shared commits counted here, the most recent 3 are \u006099885b69\u0060 refactor(connector): Move connector mappings and endpoints to dedicat\u2026; \u00603e7db573\u0060 feat(connector): [Hipay] Add Card Payments Flow  (#7475); \u0060add51526\u0060 feat(hipay): Add Template PR (#7360) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/configs.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"999af0e6775bd49fa4fe3a9ae54daec37e52fddd6422a02f93a2ee051960ceb0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: clickhouse.rs \u2194 sqlx.rs: \u0060crates/analytics/src/clickhouse.rs\u0060 and \u0060crates/analytics/src/sqlx.rs\u0060 change together 73% of the time (11 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 11 shared commits counted here, the most recent 3 are \u0060c2b8d14d\u0060 feat(analytics): surface connector-event dimensions \u002B ucs_api_events \u2026; \u00604593f6ab\u0060 feat(analytics): infer payout_audit table for payout analytics (#10842); \u0060ebe44b9d\u0060 feat(routing): Add audit trail for routing (#8188) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/clickhouse.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee358a0d7bb38d5d7de6f5e0ad29f07eefd479a18f6b8103b74d208f9f00a98e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: app.rs \u2192 payment.rs, refund.rs, lib.rs, role.rs, refund.rs: \u0060crates/router/src/routes/app.rs\u0060 changes together with 5 other files \u2014 \u0060crates/api_models/src/events/payment.rs\u0060, \u0060crates/api_models/src/events/refund.rs\u0060, \u0060crates/api_models/src/lib.rs\u0060, \u0060crates/api_models/src/user_role/role.rs\u0060, \u0060crates/router/src/types/storage/refund.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 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 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/app.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c67a808229b33c46f728a0067b8d8b464dd61696b2c85edd974dc4f0a56cd3c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: transformers.rs \u2194 transformers.rs: \u0060crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/threedsecureio/transformers.rs\u0060 change together 73% of the time (8 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; 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 \u006089774f3a\u0060 feat(core): Added additional authentication fields for 3ds external a\u2026; \u006033cd60e6\u0060 feat(core): add support for consuming eci for AuthNResponse in Authen\u2026; \u0060dbaf5679\u0060 refactor(authentication): moved cavv storing from table to temp locke\u2026 (at that commit the file was still \u0060crates/router/src/connector/threedsecureio/transformers.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4d663dc40bb5b9384de74526c33a89bba029bc4e551f1c821d5606ee447235"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: default_implementations.rs \u2192 transformers.rs, flow_common_types.rs, connector_validation.rs, connector_mapping.rs, feature_matrix.rs: \u0060crates/hyperswitch_connectors/src/default_implementations.rs\u0060 changes together with 5 other files \u2014 \u0060crates/hyperswitch_connectors/src/connectors/recurly/transformers.rs\u0060, \u0060crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs\u0060, \u0060crates/router/src/core/connector_validation.rs\u0060, \u0060crates/router/src/types/api/connector_mapping.rs\u0060, \u0060crates/router/src/types/api/feature_matrix.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 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 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/default_implementations.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53924b4a5b69aa3f5af95ad75e2b9b2b532d1e287f20054461b647d0c7502caf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: payment_attempt_record.rs \u2192 lib.rs, revenue_recovery.rs, recovery_incoming.rs: \u0060crates/router/src/core/payments/operations/payment_attempt_record.rs\u0060 changes together with 3 other files \u2014 \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060, \u0060crates/router/src/core/revenue_recovery.rs\u0060, \u0060crates/router/src/core/webhooks/recovery_incoming.rs\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":"crates/router/src/core/payments/operations/payment_attempt_record.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacf50d7695a948170642b7955f96b3ca52a89839abc0e76d4d23ed118b9af1b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: transformers.rs \u2194 gateway.rs: \u0060crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs\u0060 and \u0060crates/router/src/core/payments/gateway.rs\u0060 change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither 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 \u00607c67d871\u0060 feat(payments): add ucs bridge for post-capture void (#14801); \u00603a655966\u0060 feat(core): Map tonic gRPC status codes from UCS to appropriate  HTTP\u2026; \u00605dd6fc76\u0060 feat(ucs): Added IncrementalAuthorization Flow support for HS\u003C\u003EUCS tu\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"171d8016bd6ee1e2cb32e852eeaf846ed389b5bdcdc1589f0cf022dfee97a889"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: info.rs, permission_groups.rs, permissions.rs, predefined_roles.rs: 4 files \u2014 \u0060crates/router/src/services/authorization/info.rs\u0060, \u0060crates/router/src/services/authorization/permission_groups.rs\u0060, \u0060crates/router/src/services/authorization/permissions.rs\u0060, \u0060crates/router/src/services/authorization/roles/predefined_roles.rs\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 6 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":"crates/router/src/services/authorization/info.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d571fe4663fcd42baa85a0949d96b7ff675389479a98ccfdeef9921f12b0628f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: conversion_impls.rs \u2192 chargebee.rs, transformers.rs, recurly.rs, subscriptions.rs: \u0060crates/hyperswitch_interfaces/src/conversion_impls.rs\u0060 changes together with 4 other files \u2014 \u0060crates/hyperswitch_connectors/src/connectors/chargebee.rs\u0060, \u0060crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs\u0060, \u0060crates/hyperswitch_connectors/src/connectors/recurly.rs\u0060, \u0060crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/conversion_impls.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"356e9bc67ee300446d8ac043ff1cd929b1059faf1a6585caa9f764005135f54e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: payments.rs \u2194 transformers.rs: \u0060crates/hyperswitch_domain_models/src/payments.rs\u0060 and \u0060crates/router/src/core/revenue_recovery/transformers.rs\u0060 change together 67% of the time (10 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060c08fb8bf\u0060 feat(revenue_recovery): record transactions without connector account\u2026; \u0060b3b0ca71\u0060 feat(revenue_recovery): set recurring mit category on recovery paymen\u2026; \u0060814aeedd\u0060 refactor(revenue_recovery): decide the recovery api action from the s\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b259daf80114697fdaddcd3e261a705c75f22a93744b38d419f8488532aae2c1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: payment_start.rs \u2194 payment_update.rs: \u0060crates/router/src/core/payments/operations/payment_start.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 change together 64% of the time (16 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u00603bbdfb5a\u0060 refactor(router): changed payment method token TTL to api contract ba\u2026; \u0060c980f016\u0060 feat(customer): Customer kv impl (#4267); \u00600a97a1eb\u0060 refactor(blocklist): separate utility function \u0026 kill switch for vali\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_start.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d6b1b06f0fdfbf6d4e089c12209be8d1eb9d23bbe9199be1ebe1a83737b849"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: consts.rs \u2194 dimension_state.rs: \u0060crates/router/src/consts.rs\u0060 and \u0060crates/router/src/core/configs/dimension_state.rs\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 \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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither 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 \u0060c14e0e1b\u0060 feat(superposition): Fetch card testing guard configuration from Supe\u2026; \u0060e797b36a\u0060 feat(webhooks): reject non-mTLS webhooks for connectors that require \u2026; \u0060c996afb5\u0060 feat(router): Implement rate limiting for unverified webhooks (#14587) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/consts.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0523bf740424fa60d5578e9c2f7c3fb8b65d44f9d924d7f968f862656dcc31b1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: consumer.rs \u2194 producer.rs: \u0060crates/scheduler/src/consumer.rs\u0060 and \u0060crates/scheduler/src/producer.rs\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 \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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u006007062212\u0060 fix(log): adding span metadata to \u0060tokio\u0060 spawned futures (#4118); \u006094ac5c03\u0060 fix(router/scheduler): replace the occurrences of gen_range with a sa\u2026; \u006013185999\u0060 feat(Core): gracefully shutdown router/scheduler if Redis is unavaila\u2026 (at that commit the files were still \u0060crates/router/src/scheduler/consumer.rs\u0060 and \u0060crates/router/src/scheduler/producer.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/consumer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6033c9ba5f07bad7d6928f69d160fbbbd2b4721265c818c9d159cef3e90f6f0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: locker_mock_up.rs \u2194 merchant_connector_account.rs: \u0060crates/router/src/db/locker_mock_up.rs\u0060 and \u0060crates/router/src/db/merchant_connector_account.rs\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 \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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u00609668dccb\u0060 fix(encryption-service): re-introduce legacy key store decryption beh\u2026; \u0060a392fb16\u0060 refactor: get connection pool based on olap/oltp features (#743); \u0060f1e3bf48\u0060 refactor: Throw 500 error on database connection error instead of pan\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/locker_mock_up.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8e8ace21d20fde0c03540cdb3d1674c322671feb3b33edb45e028a4e09f675"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: flow_common_types.rs \u2194 subscriptions.rs: \u0060crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/router_response_types/subscriptions.rs\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 \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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither 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 \u00602be1452d\u0060 feat(subscriptions): Update get plans to get items  (#10434); \u006015bc0a3b\u0060 feat(subscription): Add endpoint to get Subscription estimate (#9637); \u0060f02d1803\u0060 feat(subscriptions): Add Subscription confirm handler (#9353) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01a6c670f849d88c84e6d7949fe3f682a57a92366b12f8e96e32ba60a0580bf"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: events.rs \u2194 locker_mock_up.rs: \u0060crates/router/src/db/events.rs\u0060 and \u0060crates/router/src/db/locker_mock_up.rs\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 \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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u00609668dccb\u0060 fix(encryption-service): re-introduce legacy key store decryption beh\u2026; \u0060a392fb16\u0060 refactor: get connection pool based on olap/oltp features (#743); \u0060f1e3bf48\u0060 refactor: Throw 500 error on database connection error instead of pan\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c921026560d488c20b398787e0349a3afd0b10a3c0af4fbf08ea68464d0804cb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: secure_payment_link_initiator.js \u2192 admin.rs, payments.rs, business_profile.rs, payment_intent.rs, lib.rs, payment_link.rs, transformers.rs: \u0060crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js\u0060 changes together with 7 other files \u2014 \u0060crates/api_models/src/admin.rs\u0060, \u0060crates/api_models/src/payments.rs\u0060, \u0060crates/diesel_models/src/business_profile.rs\u0060, \u0060crates/diesel_models/src/payment_intent.rs\u0060, \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060, \u0060crates/router/src/core/payment_link.rs\u0060, \u0060crates/router/src/types/transformers.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 7 separate couplings, not 7 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 7."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b042aad3b421fd574226a21f27d5ddd06a277aaed6c76b8c667695afef7e0f89"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: kafka_store.rs \u2194 payment_method.rs: \u0060crates/router/src/db/kafka_store.rs\u0060 and \u0060crates/storage_impl/src/payment_method.rs\u0060 change together 62% of the time (10 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060b6f71b02\u0060 feat(payment_methods): inactivate payment methods sharing an auxiliar\u2026; \u0060df55de90\u0060 feat(modular): harden compatibility workflows for revert use cases  (\u2026; \u0060c33e788c\u0060 feat(locker): add legacy locker support for payment methods (#11941) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ea6fd2e77de6e04b59bc46e23b5b4ab398e7357498f04a7e997df5956290ae"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: transformers.rs \u2194 transformers.rs: \u0060crates/kgraph_utils/src/transformers.rs\u0060 and \u0060crates/router/src/types/transformers.rs\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; 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 \u0060fafc25c0\u0060 feat(connector): add support for santander ted bank transfer (#14378); \u0060e3e58bdf\u0060 feat(payouts): add support for pix_emv and pix_key for payouts (#11831); \u00604abbf307\u0060 feat(connector): [xendit] add QRIS payment methods (#10759) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/kgraph_utils/src/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d7a2ce797a2b11fdcbe273facb9954943c6ab65cde759fc5ff9721b0f0ec5e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: lowering.rs \u2192 adyen.rs, transformers.rs, transformers.rs, transformers.rs: \u0060crates/euclid/src/frontend/dir/lowering.rs\u0060 changes together with 4 other files \u2014 \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060, \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs\u0060, \u0060crates/kgraph_utils/src/transformers.rs\u0060, \u0060crates/router/src/types/transformers.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/euclid/src/frontend/dir/lowering.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"759171173854d8476c2ba53ebccb4b2890ac24427c53b4fa08c4645ab59324ca"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: payment_link_initiator.js \u2192 payment_intent.rs, lib.rs, payment_link.rs, transformers.rs: \u0060crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js\u0060 changes together with 4 other files \u2014 \u0060crates/diesel_models/src/payment_intent.rs\u0060, \u0060crates/hyperswitch_domain_models/src/lib.rs\u0060, \u0060crates/router/src/core/payment_link.rs\u0060, \u0060crates/router/src/types/transformers.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de33e1054f58e091f1e35943e071f221a1437ca2595c78e59e4c88ff52d4cc53"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: payment_complete_authorize.rs \u2194 payment_update.rs: \u0060crates/router/src/core/payments/operations/payment_complete_authorize.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_update.rs\u0060 change together 61% of the time (20 of the 33 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 20 shared commits counted here, the most recent 3 are \u00601929f56e\u0060 fix(router): add payment_method check in \u0060get_mandate_type\u0060 (#5828); \u0060c555a88c\u0060 refactor(customer_v2): fixed customer_v2 create panic issue (#5699); \u006053cb9537\u0060 fix(payments_create): save the \u0060customer_id\u0060 in payments create (#5262) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dce7438ac5d911f75394feb2265eab45257288a5dd2e8c31d94b0a3f08b3187"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 storage.rs: \u0060crates/diesel_models/src/lib.rs\u0060 and \u0060crates/router/src/types/storage.rs\u0060 change together 60% of the time (12 of the 20 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither 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 \u006061949c55\u0060 feat: add invoice table (#9348); \u0060144f3852\u0060 feat(core): add subscription table (#9133); \u0060043cf8e0\u0060 feat(core): diesel models, domain models and db interface changes for\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"755e50a36230d0a02203cb4352d01e71c01289edc7341eecd2cee4ebda8e27c8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: chargebee.rs \u2194 recurly.rs: \u0060crates/hyperswitch_connectors/src/connectors/chargebee.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/recurly.rs\u0060 change together 60% of the time (9 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060d8a07c8d\u0060 feat(revenue_recovery): add DisputeRecordBack flow and implement it f\u2026; \u00602be1452d\u0060 feat(subscriptions): Update get plans to get items  (#10434); \u00600a35c617\u0060 feat(subscriptions): Invoice record back workflow (#9529) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/chargebee.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d149bed74cc8c2677d9849f6ed4faf1a6c553ba37c594fd2276cf72e9e9fce3c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: health_check.rs \u2194 errors.rs: \u0060crates/api_models/src/health_check.rs\u0060 and \u0060crates/storage_impl/src/errors.rs\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00608bbb7684\u0060 feat(v2): introduce configs and health endpoints for v2 (#8835); \u00605ab769d1\u0060 feat(health): Health check for Decision engine (#8243); \u0060e922f96c\u0060 feat: Added grpc based health check (#6441) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/health_check.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57305f8a054f7e6603a9f42bb5902687a710e1aa1bd04e373a26f74d5eb19fa8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: external_vault_proxy_payment_intent.rs \u2194 payment_confirm_intent.rs: \u0060crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_confirm_intent.rs\u0060 change together 58% of the time (7 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u00609dc7e744\u0060 perf(payment-methods): pay then vault operations using redis (#13832); \u006047724b1d\u0060 refactor(payment_methods): remove \u0060psp_tokenization\u0060 from API request\u2026; \u006030650bf1\u0060 feat(payment): add storage type to PaymentMethodSession create call (\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/external_vault_proxy_payment_intent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3987c4dcce9dd95daee84443a1df9937b0fccb75a07c22b53ed1722ac9d58ae4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: mandates.rs \u2192 admin.rs, customers.rs, payment_methods.rs, refunds.rs: \u0060crates/router/src/routes/mandates.rs\u0060 changes together with 4 other files \u2014 \u0060crates/router/src/routes/admin.rs\u0060, \u0060crates/router/src/routes/customers.rs\u0060, \u0060crates/router/src/routes/payment_methods.rs\u0060, \u0060crates/router/src/routes/refunds.rs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/mandates.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ad202497bfe840cc4aceafa829b57ffbea6b31a1648c5c185d5975d204cf78"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: payment_session.rs \u2194 payment_start.rs: \u0060crates/router/src/core/payments/operations/payment_session.rs\u0060 and \u0060crates/router/src/core/payments/operations/payment_start.rs\u0060 change together 56% of the time (14 of the 25 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u00603bbdfb5a\u0060 refactor(router): changed payment method token TTL to api contract ba\u2026; \u0060c980f016\u0060 feat(customer): Customer kv impl (#4267); \u00600a97a1eb\u0060 refactor(blocklist): separate utility function \u0026 kill switch for vali\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_session.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06e7076f7779230ce1628339644a6a475c9a84fb2681e89ddd7bee1bc732752"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: aci.rs, checkout.rs, stripe.rs: 3 files \u2014 \u0060crates/hyperswitch_connectors/src/connectors/aci.rs\u0060, \u0060crates/hyperswitch_connectors/src/connectors/checkout.rs\u0060, \u0060crates/hyperswitch_connectors/src/connectors/stripe.rs\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":"crates/hyperswitch_connectors/src/connectors/aci.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"833ceeb79c9b804125914d1c57e71b9b5532d0e9b799c4d1e6de6ec08492f493"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: kafka_store.rs \u2194 mock_db.rs: \u0060crates/router/src/db/kafka_store.rs\u0060 and \u0060crates/storage_impl/src/mock_db.rs\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 \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) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060e8e0b5df\u0060 refactor(customer): refactor customer db with storage utils and move \u2026; \u006029be1d4f\u0060 feat(themes): Setup themes table (#6533); \u00602005d3df\u0060 feat(users): setup user authentication methods schema and apis (#4999) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/kafka_store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"426ee3b52801338cc9ef4ce0a9d6f135bfd1e0ae7c8360e617f8304fae61ff50"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: sample_data.rs \u2192 payment_confirm.rs, retry.rs, transformers.rs: \u0060crates/diesel_models/src/user/sample_data.rs\u0060 changes together with 3 other files \u2014 \u0060crates/router/src/core/payments/operations/payment_confirm.rs\u0060, \u0060crates/router/src/core/payments/retry.rs\u0060, \u0060crates/router/src/core/payments/transformers.rs\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":"crates/diesel_models/src/user/sample_data.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd965847ae36d309a413f9c0728eaa6a7ed384f23295575f2a90f103d0f758b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 routes.rs: \u0060crates/api_models/src/lib.rs\u0060 and \u0060crates/router/src/routes.rs\u0060 change together 54% of the time (21 of the 39 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 21 shared commits counted here, the most recent 3 are \u0060be9dbdd8\u0060 feat(payments): add Twilio Generic Pay inbound adapter (#14713); \u0060cb6312c2\u0060 feat(superposition): add backend apis to support dashboard\u0027s superpos\u2026; \u0060a61cbddf\u0060 feat(platform): implement provider and processor context to locker fu\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5eed23b37c9455955a8fccb9a8864a209a6f18dcab0ae811ce782d073912b47"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: admin.rs \u2194 payment_link.js: \u0060crates/api_models/src/admin.rs\u0060 and \u0060crates/router/src/core/payment_link/payment_link_initiate/payment_link.js\u0060 change together 54% of the time (14 of the 26 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) and are written in DIFFERENT LANGUAGES, so no import can join them and they cannot be co-located into one unit \u2014 they compile and ship as separate artifacts. What binds them is a CONTRACT across that boundary \u2014 an event or message name, a route, a serialised shape \u2014 that each side currently spells out on its own, which is exactly why a change to one drags the other. Declare that contract once where both sides read it (a shared schema, a generated constants file, an interface-definition file) so a change on one side fails the other\u0027s build instead of drifting silently; where the surface is too small to be worth that, name the counterpart in a comment on both sides so the next reader finds it. There is nothing here to merge. You can check this without leaving the row: of the 14 shared commits counted here, the most recent 3 are \u006067585f70\u0060 feat(payment_link): add profile-level config to display merchant name\u2026; \u0060be3fc6c7\u0060 fix: payment link styling for dynamic classes (#8273); \u0060fa465930\u0060 feat(payment-link): alternate text for manual captures (#7574) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/admin.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7907dc9600585a3dcf4447ff7e96a0714aa022ae095fc3466ea6d9466b3c224"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: api_keys.rs \u2194 merchant_connector_account.rs: \u0060crates/router/src/db/api_keys.rs\u0060 and \u0060crates/router/src/db/merchant_connector_account.rs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u0060a160f4ef\u0060 perf(cache): coordinate in-memory cache population per key (#14513); \u00609668dccb\u0060 fix(encryption-service): re-introduce legacy key store decryption beh\u2026; \u0060971ef1fb\u0060 chore: remove redundant caching code (#4804) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/api_keys.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1155402995afbde5bcb337fc2b94173c13548b18e9235d1002b776de9ffb495a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: retry.rs \u2194 payout_attempt.rs: \u0060crates/router/src/core/payouts/retry.rs\u0060 and \u0060crates/storage_impl/src/payouts/payout_attempt.rs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither 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 \u00600ab6c3c9\u0060 feat(payouts): add external vault proxy execution contract (#14580); \u006051194e96\u0060 feat(payouts): Add support for generating custom \u0060connector_request_r\u2026; \u0060b743f83e\u0060 feat(payout): add source_bank_data to payouts (#12080) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts/retry.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ddc8b6e549c2ee73f0eadc9c422bc9f9eedb974cb1e4e539b3ae8f092b5fc4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: transformers.rs \u2194 transformers.rs: \u0060crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs\u0060 and \u0060crates/kgraph_utils/src/transformers.rs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither 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 \u0060fafc25c0\u0060 feat(connector): add support for santander ted bank transfer (#14378); \u0060e3e58bdf\u0060 feat(payouts): add support for pix_emv and pix_key for payouts (#11831); \u00604abbf307\u0060 feat(connector): [xendit] add QRIS payment methods (#10759) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5628f3d6579a092a0eaab6b76f1936b0026c3d6fb14ca11bda190510a983c933"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: role.rs \u2194 roles.rs: \u0060crates/router/src/db/role.rs\u0060 and \u0060crates/router/src/services/authorization/roles.rs\u0060 change together 54% of the time (7 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither 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 \u0060b908ce36\u0060 feat(user_roles): Add \u0060recon roles\u0060 and \u0060product_type\u0060 filtering (#11\u2026; \u0060899c207d\u0060 feat(users): custom role at profile read (#6875); \u0060d04e840c\u0060 feat(users): handle edge features for users in tenancy (#6990) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/db/role.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb94a77f8abf9591a70e5bfabd4330300d0f1c32b300f1478088962925d54a33"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: transformers.rs \u2194 flow_common_types.rs: \u0060crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs\u0060 and \u0060crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs\u0060 change together 53% of the time (9 of the 17 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060d8a07c8d\u0060 feat(revenue_recovery): add DisputeRecordBack flow and implement it f\u2026; \u00602be1452d\u0060 feat(subscriptions): Update get plans to get items  (#10434); \u006015bc0a3b\u0060 feat(subscription): Add endpoint to get Subscription estimate (#9637) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/chargebee/transformers.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e74cf11eb75e8bf160d2d3c3edccc68b6b46b0e463c141a99fdfb8e295a4385"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: adyen.rs \u2192 cashtocode.rs, rapyd.rs, worldline.rs: \u0060crates/hyperswitch_connectors/src/connectors/adyen.rs\u0060 changes together with 3 other files \u2014 \u0060crates/hyperswitch_connectors/src/connectors/cashtocode.rs\u0060, \u0060crates/hyperswitch_connectors/src/connectors/rapyd.rs\u0060, \u0060crates/hyperswitch_connectors/src/connectors/worldline.rs\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":"crates/hyperswitch_connectors/src/connectors/adyen.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5afde3b13ed20581a766d3021eb956b7af5fdacdf094ee4c93014636b34d9d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: lib.rs \u2194 lib.rs: \u0060crates/api_models/src/lib.rs\u0060 and \u0060crates/router/src/lib.rs\u0060 change together 51% of the time (20 of the 39 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 20 shared commits counted here, the most recent 3 are \u0060be9dbdd8\u0060 feat(payments): add Twilio Generic Pay inbound adapter (#14713); \u006003bf1ebb\u0060 feat(router): add browse offers API for offer engine (#13999); \u0060cb6312c2\u0060 feat(superposition): add backend apis to support dashboard\u0027s superpos\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/api_models/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfe930864821e1280e022352c829c16cffe12eeddaf74a2ff4ff5e275e638c4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: braintree.rs \u2194 worldline.rs: \u0060crates/hyperswitch_connectors/src/connectors/braintree.rs\u0060 and \u0060crates/hyperswitch_connectors/src/connectors/worldline.rs\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 \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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u0060b6a5a54d\u0060 fix(router): Prevent redundant api_event entries in case of webhooks \u2026; \u00604b45d212\u0060 refactor(core): add error handling wrapper to wehbook (#6636) (at that commit the file was still \u0060crates/router/src/connector/braintree.rs\u0060); \u0060eeccd106\u0060 feat(connector): [Braintree] implement dispute webhook  (#2031) (at that commit the files were still \u0060crates/router/src/connector/braintree.rs\u0060 and \u0060crates/router/src/connector/worldline.rs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2decc1df5f0312d00a84de3b849ddc1213e0b1054d74b8f3da164e447f7b05e0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: payment_intents.rs \u2194 refunds.rs: \u0060crates/router/src/compatibility/stripe/payment_intents.rs\u0060 and \u0060crates/router/src/compatibility/stripe/refunds.rs\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 \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) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise 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 \u0060fb32b61e\u0060 feat(core): accept business profile in core functions for payments, r\u2026; \u0060032d58cd\u0060 feat(analytics): add force retrieve call for force retrieve calls (#3\u2026; \u0060cd1a17bc\u0060 refactor(compatibility): added compatibility layer request logs (#3774) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/payment_intents.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c62e83f59987bbd41e6829d717a5a2e4c658d5943bc5de70ad856078e852a0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: settings.rs \u2194 connection.rs: \u0060crates/router/src/configs/settings.rs\u0060 and \u0060crates/router/src/connection.rs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00600ba4ccfc\u0060 feat(core): introduce accounts schema for accounts related tables (#7\u2026; \u006032b731d9\u0060 refactor(storage): Add a separate crate to represent store implementa\u2026; \u006073ed7ae7\u0060 refactor(config): Add new type for kms encrypted values (#1823) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/configs/settings.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d48b920457860a737404a091cbc4a54f44493e75b417549e870a1472ce82623"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"94359fd59a58ff4a600cc89ab01dbb5c9f83fc2a2c8cf10491d74db61c2be60d"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1ea6c16016339bfe6035e91dd0b0b9978d31f7317c460715d082e603817a2000"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff08d047f8ddbe93f32e473ae3c755b1aca22c8c8d005012ce3cc60f045dce74"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3940c9a9cb652ac435da01c249455610d703632a1e88e75a6d69f0426d0ee00d"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"caf71f8b7e0c923e84a19903c94380ca92dbaa506efee72594baa62e26d03535"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cb1247d6625cd6f5b561b8c679299223e9ff59491d2df176c7b9ef4e935b7f79"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f654ba34628cbb65f30af57c502187853b07ef1498d5d283859c6fc15b6778fe"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd92bcd5f35f05ef976236bc056dba919dfcb83aedbc938daf46b16b66b1cdd5"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7eb0df184c4ef43a072a51d3ea06fa4dd010d2023f9da385f76ed375b63a5eba"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"464f1411ff1cdf367e4235fc5a4c06a490626b1ccc27457cb4e7d0631490ebc3"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4bd6224227ac56bc0fbc759f9d7dfd9f9c2aa9ec68127a027c4458a9797d7080"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"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. This document\u0027s body is only the mount point \u003Cdiv\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/generic_link/expired_link/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d4033b7d5fcbfeadbe652344ddaabfe5fb1a105abf76ebbc0a10eb931671b1"}},{"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":"crates/router/src/core/generic_link/payment_method_collect/initiate/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"435fbe1aefbf7e4d3b6316ab5b0ae704958ec6fb58e2e52a8ccc5ae2c4dd3aae"}},{"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. This document\u0027s body is only the mount point \u003Cdiv\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/generic_link/payment_method_collect/status/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbec1e839298a796be292974da658d3e36ab419473c580cd43fb4ba69657596"}},{"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":"crates/router/src/core/generic_link/payout_link/initiate/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e622bb7d32551a0d5a0e3f1d5c0319ea3ef332c3f1f9eb9ca857266487253895"}},{"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":"crates/router/src/core/generic_link/payout_link/status/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4414286e33bb7b76fd591cc1f1cba22ef1b74208b124d6d46ba337747c3c3ef2"}},{"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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5a9a60677181b6e8daf85b9240464c68636a33e5fbb13ec351d33cfa43c6b9"}},{"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":"crates/router/src/core/payment_link/payment_link_status/status.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9ae7d0ace77b00bd38d38c746ef18c7a4361adc9d3670837e9203488646efa"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#payment-details-shimmer\u0060 moves (\u0060animation: shimmer 1.5s infinite linear\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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.html"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"459a7eda1ad79e14b19757ff585b46b68c25d546e0a0564d12b7bcbaae3537d0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.connector-table h3::before\u0060 moves (\u0060transition: transform 0.3s ease\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":"cypress-tests/dashboard/styles-minimal.css"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"564a1ef1a112542d86e8f8d1f80c9530fb07513cb816c2caaa0198afb5617ed5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.failed-tests h2::before\u0060 moves (\u0060transition: transform 0.3s ease\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":"cypress-tests/dashboard/styles-minimal.css"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bbb400917591021018b206cd7a41ba9c701942028fd7e4f57157b750fa4c69"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.loading\u0060 moves (\u0060animation: spin 1s linear infinite\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":"cypress-tests/dashboard/styles-minimal.css"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59b66379b4dee38f1e1ebd144e37c5cc90c0ae64d8bffe74f4ad94bc74ab84e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#submit-spinner\u0060 moves (\u0060animation: loading 1s linear infinite\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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.css"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaee9c6e9d8547999a326947a7bd6678f906303b60929ceff0155615a186d952"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#hyper-checkout-cart\u0060 moves (\u0060animation: slide-from-right 0.3s linear\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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.css"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e6de57f81e735d19487fa7e46d4c8693f7d7462cbb21f8c0c8ac5de8487817"}},{"ruleId":"C3","level":"note","message":{"text":"Partial audit-trail evidence: An audit mechanism is present, but the trail is not yet complete \u2014 missing: a write-side hook every change flows through (a SeaORM ActiveModelBehavior hook or a database trigger recording each change, or an event-sourced store), per-entity coverage (an event-sourced aggregate, or a hook on each entity that needs a who-changed-what trail)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"274a04e524f3228d241c99316455563739cb06cfd10a01e446d00b8a14956083"}},{"ruleId":"C4","level":"note","message":{"text":"Partial data-retention evidence: A retention mechanism is present, but the data-lifecycle is not yet complete \u2014 missing: a scheduled purge / cleanup job (a scheduled task that deletes rows past their retention \u2014 diesel::delete(\u2026.filter(created_at.lt(cutoff))), purge_expired\u2026 / delete_old\u2026), a documented retention period / data-expiry."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e6c843eccaff7ffcfe5241125b74768c2364055ab6678b12b10d47f44086afa4"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: ApiKey: \u0060ApiKey\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/api_keys.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c0b206bc212a8479a862ec9aee2ba2458e180b48f162dab12acdc8a1ae42c5"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Authorization: \u0060Authorization\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/authorization.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"698895f822eb746c7df21876bfad15cce39a7dc6b0699242819b362b05cc17aa"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: BatchBlocklistJob: \u0060BatchBlocklistJob\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/batch_blocklist_job.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2106e49f11f5b952d010f023f91d0d840ca08dfd2831ded968f849b3b62dd614"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Blocklist: \u0060Blocklist\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/blocklist.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1dddd2369956736f4201186439a967e3fa5e4030806da57d551849e6a0f26a5"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: BlocklistLookup: \u0060BlocklistLookup\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/blocklist_lookup.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e564599ea9137a8d5e86638de7ad0783b72f2512688ad376a0602aa9263c4f"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Capture: \u0060Capture\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/capture.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dd591f238cba4a8ef9bcba6f1de5266e704b28e59c398bc60a51db76ff0841"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: CardIssuer: \u0060CardIssuer\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/card_issuer.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a0590969ffdcb85be24c4179a0e704006814c5ddf0f15a199b7bc981b48163"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: CardInfo: \u0060CardInfo\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/cards_info.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2170b370d505d833f6943380cd17ffebc5776fb790162ebe060b3928498c5105"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Config: \u0060Config\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/configs.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e3075f3827f3ce9be2a310ba8fcd85e8a56e802a0ee01a2876b4a2ae2b5b7b"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Dispute: \u0060Dispute\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/dispute.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7543c1235445868cae7230730d65bfb212da68a60d019ea986424d38ea15950f"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: DynamicRoutingStats: \u0060DynamicRoutingStats\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/dynamic_routing_stats.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcba55e30973bd74fa9f007b0f438f8489c8211c8d18ebc94b98dc758f9d0b19"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: FileMetadata: \u0060FileMetadata\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/file.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"573dab2dd88f016999319668dc9e9f96406baf401073049e80006375cc0fb4f0"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: FraudCheck: \u0060FraudCheck\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/fraud_check.rs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5036316256e31e87a5f797b7d7b275d4359b50310ba266066a9b9d71c23c51b"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: PayoutLink: \u0060PayoutLink\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/generic_link.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6a6f6ea73c12b59c840ae09700323fff414c80b55025e0317befe0346fb7f0"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: LockerMockUp: \u0060LockerMockUp\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/locker_mock_up.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c9ed8bcfd1277e7e72cbcd8b4d908a5f1f8bf56fcc1e032c2a7cb9b655cb23"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Mandate: \u0060Mandate\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/mandate.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5b00578e3a3233eda50d775a8034d110e0666f0f24b3876381769a16860ee0"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Organization: \u0060Organization\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/organization.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"da92cc0e3d52c1d739c7e549acd2496cd01ca2c6251e43f05ba0c4b99aa57b68"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: ProcessTracker: \u0060ProcessTracker\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/process_tracker.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f36cea9886deb7d1839cfb3b4f9cf9f72b176cb2272feee0fdf8db416d3f68"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Refund: \u0060Refund\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/refund.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d9183044ee65102ec9379758480e13417f5e5f885d2c670bb9b7aaac0a46ba"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: RevenueRecoveryRetryStats: \u0060RevenueRecoveryRetryStats\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/revenue_recovery_retry_stats.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80a77b1d37880d3458ae0202f44ddb387ad0f1dd989febfdb6f8c82293419ae"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Role: \u0060Role\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/role.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"18886dd46f9c0653a8fb048c6c30bc5d045e06679a814330073d9b2f9df97d45"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: RoutingAlgorithm: \u0060RoutingAlgorithm\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/routing_algorithm.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"88287a97abf79a8768c78340c03cd6f96f30a03548afd9a906211a1c4e3aa84c"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: UnifiedTranslations: \u0060UnifiedTranslations\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/unified_translations.rs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21349f2a4e1c8fbd5a17328234fd5553872e90f6d4eeff58de91d115900d8ff"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: Theme: \u0060Theme\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/user/theme.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4f1aff7194cc97d4fd62e97ffff35b9fc3d150997055cdd7f557c2e5620b96"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: User: \u0060User\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/user.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfc53b38a5045ac0fc4e87d5184a0452cf496499103953ae5b6c167c6c79267"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: UserAuthenticationMethod: \u0060UserAuthenticationMethod\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/user_authentication_method.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e9131d74e0b45ef49ec1028f4f18391776eb27b6b6c9d71e76f202d8947945"}},{"ruleId":"DM6","level":"error","message":{"text":"Domain fused to persistence infrastructure: UserRole: \u0060UserRole\u0060 is a domain AGGREGATE fused to persistence ON ITS OWN DECLARATION (the diesel \u0060#[derive(Queryable, Insertable, Identifiable)]\u0060 \u002B \u0060#[diesel(table_name)]\u0060 mapping) with a singular-entity write-persistence method (create/update/delete taking a DB connection) on the domain type and no separate pure-domain layer \u2014 the domain entity IS the ORM row (active-record). A schema/persistence change ripples straight into the domain. Keep the ORM/table mapping on a boundary data-model \u002B a mapper, and the domain entity framework-free (map row\u2194domain through a repository)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/user_role.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ce55efacb26d9d3489008f15b48237e93963751e08071847c61bda833a809f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: cypress-tests/README.md links to \u0060cypress/e2e/PaymentUtils/Stripe.js\u0060, but \u0060cypress-tests/cypress/e2e/PaymentUtils/Stripe.js\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":"cypress-tests/README.md"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e904f66273a9d8c06e501ebe340530b322d7843ce18c7199b8761d9065fe47b0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: cypress-tests/README.md links to \u0060cypress-tests/cypress/e2e/PayoutUtils/Adyen.js\u0060, but \u0060cypress-tests/cypress-tests/cypress/e2e/PayoutUtils/Adyen.js\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":"cypress-tests/README.md"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e021b2ed43eac1b268e3ed229dbeea5fdb713dd01ba340abe799428f862bcc2"}},{"ruleId":"P10","level":"note","message":{"text":"Implementation type on the public API: 1 public type in \u0060router.db\u0060 is marked as implementation by its own namespace, folder or name: \u0060StorageImpl\u0060 (crates/router/src/db.rs:95, name ends in \u0060Impl\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":"crates/router/src/db.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f884a7d191ddf5c133d443e0cab8017f78fb242f84a2c4cfaa0735bbafe2f3"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 24/28 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060crates/config_importer\u0060, \u0060crates/hsdev\u0060, \u0060crates/openapi\u0060, \u0060cypress-tests/mitm-proxy\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060cypress-tests-v2/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/package.json"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"90afeae247c182434ba12eb5edccba210525b496998318c8ae0d7ea72d1666ab"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::new(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/clickhouse.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fbe8403e690960e7cc0a688939aa4f2b3a7dec6994f60975eef4dbdeea4085"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/keymanager.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39c0770ea4ab507294f42dce4f3a74436f3f2f45e4f59136527df8c5514e9bb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hyper_util::client::legacy::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/grpc_client.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"68637302dacc6fcaaed381fabc9d16e4db52319c54995e7c7d4d18822f6e1694"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060hyper_util::client::legacy::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/grpc_client/deja_transport.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c5e0de2e097476837d583551cedca5139d500f4986cd7fac3f62d108ebdf97"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b316633763270947430628d44cd5ccd825cbb513dcc8e356adad2309b307144"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060reqwest::Client::builder(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca58aa1e2e2125e41944efecc5a6212b7037656d169aed54fd8ee449c5d7926"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 5 typed \u00B7 159 plain JS \u2014 the untyped files are crates/router/src/core/generic_link/payment_method_collect/initiate/script.js, crates/router/src/core/generic_link/payment_method_collect/status/script.js, crates/router/src/core/generic_link/payout_link/initiate/script.js, crates/router/src/core/generic_link/payout_link/status/script.js, crates/router/src/core/payment_link/locale.js, crates/router/src/core/payment_link/payment_link_initiate/payment_link.js (\u002B153 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (174 matched lines \u00D7 2 locations): crates/router/src/core/payment_link/payment_link_initiate/payment_link.js:102 \u00B7 crates/router/src/core/payment_link/payment_link_status/status.js:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 1118 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ae47c9e7c7a5c87b2d1cd7e3bfcb6813d6e942020cb633ca70450ad790d79f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (76 matched lines \u00D7 2 locations): crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js:14 \u00B7 crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 432 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb5037a6c12b6f6282cb0f93b268d79e496f7c59aee1086e574752c130c4513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2 locations): crates/router/src/core/generic_link/payout_link/initiate/script.js:39 \u00B7 crates/router/src/core/payment_link/payment_link_initiate/payment_link.js:618 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/generic_link/payout_link/initiate/script.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc71e87a83d80c4fd819fcd40bc6cb0624189f48e659f281a8749fb398ee9b3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): loadtest/k6/payment-confirm.js:10 \u00B7 loadtest/k6/payment-create-and-confirm.js:10 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"loadtest/k6/payment-confirm.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f593a186eec296a0109f526398e8f645947f9f01f49cb3f421050625673031"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): crates/router/src/services/redirection/assets/redirect_error_logs_push.js:78 \u00B7 crates/router/src/services/redirection/assets/redirect_error_logs_push.js:94 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/redirection/assets/redirect_error_logs_push.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c591d5ad3c03188817243cc324d38bcf3b24b602cf6b3493b8a6ae92703a9ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): crates/router/src/core/generic_link/payout_link/status/script.js:27 \u00B7 crates/router/src/core/payment_link/payment_link_initiate/payment_link.js:554 \u00B7 crates/router/src/core/payment_link/payment_link_status/status.js:360 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/generic_link/payout_link/status/script.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37f4a0ea5e45779975c9e24c8bc4c887f9b18804c24259d652ef40edcbd9df9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 61, cognitive 48): (anonymous) has cyclomatic complexity 61 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/redirectionHandler.js"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"449ebfe29ce77d925c3ac42eea55d265a36a85f1fc84877eaf6799388ea0374f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 52, cognitive 141): (anonymous) has cyclomatic complexity 52 and cognitive complexity 141; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab83b694da4f466c41dc6a473351b004a56e6d1cdea4a1bb65aee01d0497521e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 52, cognitive 108): (anonymous) has cyclomatic complexity 52 and cognitive complexity 108; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":5711}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea598e1cd5c55c6d560fb9c1cbb31e03b04fe0c0847ba5b98efa85ed17947f34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 88): (anonymous) has cyclomatic complexity 39 and cognitive complexity 88; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":5138}}}],"partialFingerprints":{"codehealthFindingId/v1":"102fc4f0f7265484018db2e86c544747a4fa110df132daab6f89fde8d152622a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 104): (anonymous) has cyclomatic complexity 35 and cognitive complexity 104; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":4491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a32120b0cc0446fd2348b429f0d6ebd5d7bd57b335c1ad59a5ff738b12445e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function determineAffirmStep (cyclomatic 33, cognitive 22): determineAffirmStep has cyclomatic complexity 33 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/redirectionHandler.js"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b79fa242acae595ef2cbf722b16c9690c6e0d0e0e969284c00d104ea80422d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bankRedirectRedirection (cyclomatic 30, cognitive 31): bankRedirectRedirection has cyclomatic complexity 30 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/redirectionHandler.js"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d3962c1dc32f27e872451b07dd32bc184292dafec90c837052085eb9da14ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 10): (anonymous) has cyclomatic complexity 26 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/redirectionHandler.js"},"region":{"startLine":4954}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46e9b2b71cebbf415d5eab2f2283a763dedabb823fab4f9c00791c25ec9626b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 10): (anonymous) has cyclomatic complexity 26 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/redirectionHandler.js"},"region":{"startLine":5310}}}],"partialFingerprints":{"codehealthFindingId/v1":"092925e2e6d98781f3e87a2e2ab62e00474d576dad3099f0c9314af59bc05815"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 56): (anonymous) has cyclomatic complexity 25 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":3988}}}],"partialFingerprints":{"codehealthFindingId/v1":"b874c31442ffde4b6dbdd1d34a6ca6079e669ed5fb9dffd5d7b1dae5bc1cbb20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateConfigValue (cyclomatic 25, cognitive 34): validateConfigValue has cyclomatic complexity 25 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/utils/featureFlags.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0899d121b3a224d72ed97dd80ff8611b3cc2f39bce11a2bb8fbf6a34e4a3ac0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderStatusDetails (cyclomatic 24, cognitive 26): renderStatusDetails has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_status/status.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e479775940ad979a95ecfc570faaadc533e3f6f3f3a0ccf8b9f08f0326e318ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeEventListeners (cyclomatic 23, cognitive 30): initializeEventListeners has cyclomatic complexity 23 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbc2d363a9ebad7af20ecf573279bb53a0fc5976710c90796199481c190e983"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderStatusDetails (cyclomatic 23, cognitive 10): renderStatusDetails has cyclomatic complexity 23 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/generic_link/payout_link/status/script.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"66567027746ab2e801887f6e45ad6302bd2e0e74a4e7c168d0b0e83c32bdaebd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bankRedirectRedirection (cyclomatic 23, cognitive 9): bankRedirectRedirection has cyclomatic complexity 23 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress/support/redirectionHandler.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"17615a101805b5ec29d9ca1e72f73ca58e5da1c6c68eef70aafe8b1f0527bd98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 59): (anonymous) has cyclomatic complexity 22 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":6276}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cc152e8f3c46b9013812b9ec07f1582f5fb2a04b6bf70f7beea4db470cb0c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 27): (anonymous) has cyclomatic complexity 22 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":12327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2c11607cfe632adcfdbe6c845f0fb609867c6b5ee7a6f7e569044ea492a115"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 52): (anonymous) has cyclomatic complexity 21 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":4766}}}],"partialFingerprints":{"codehealthFindingId/v1":"327cc78960e6cf243f1d7512affbf2c3258ae73941ce4abc2942003fc592ecf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeSDK (cyclomatic 21, cognitive 20): initializeSDK has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6a02d10807ab4b2110a3b5fa27ffbe32d1c5d9aec1b7f76b42327ea5835236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 35): (anonymous) has cyclomatic complexity 19 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":4236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2090117898a04c2806989b2daa4b5a704c4b4efda79028682165035b4727497b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 28): (anonymous) has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":11102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5039ec9ce0338e09ad25defbac3a163bd530bb354a5c07e82c158d90b82d0f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 38): (anonymous) has cyclomatic complexity 16 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":6035}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e7042e302f5babb09531a7f721f5918d7b0d5481684459ded4fd6e86882fad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 18): (anonymous) has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":7577}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c35a4db7d34c8c3043a725ba2b9c77b45f16e089b6258b8c7f432bd79c07b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function strWidth (cyclomatic 16, cognitive 17): strWidth has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"loadtest/k6/helper/k6-summary.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"158c38c62cf6a3d7d9ef9c09ff43081195a3006ca73fe8c43dfce2a271ee58a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getValueByKey (cyclomatic 15, cognitive 24): getValueByKey has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress/e2e/configs/Payment/Utils.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"44653bca1dcf64044aab09bb040540988d3f9a1596e0666c4f36e2f72b480b72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getValueByKey (cyclomatic 15, cognitive 24): getValueByKey has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress/e2e/configs/Routing/Utils.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a65c2c2035ea44b0c7d51f2948928d8ec035bb0307dddea8736fc5ecdf2324"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 20): (anonymous) has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":9868}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9780a1e3e0736d0580cf88c5e4ca25355866499f6d8307deb64ac636d85bd6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeSDK (cyclomatic 15, cognitive 14): initializeSDK has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e13d77d3f3f362b3cf923f081b5e2a086af33625d9faedcad15c47bb27d0d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":3467}}}],"partialFingerprints":{"codehealthFindingId/v1":"27426114406440af4da751ee100148e2315b0a16c92462163c064c64f1bebe19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 33): (anonymous) has cyclomatic complexity 13 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":6477}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e555b1c9be74dc8f4d1634217150f637d8058e355d5495525e82460f1c7a266"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5906daa775364831dd5edfd0e8c97c8537f4c4654418bbe03e4a41d4981b859"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/e2e/configs/mock-server/Connectors/Silverflow.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"740aedcb2b9b668b50bbebbfa55eed3cfc694d0664faa5cf77b2d432e78553bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 29): (anonymous) has cyclomatic complexity 12 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":7025}}}],"partialFingerprints":{"codehealthFindingId/v1":"1590c6e435971c338ec3af62da87902303d2fe84396c67efbe0c910729a93dde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":4414}}}],"partialFingerprints":{"codehealthFindingId/v1":"202c4de59c8872c5fe45b241a9c62c5f68b1c9de8a8ab82ece4f0fe74e8ef3f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendMerchantDetails (cyclomatic 11, cognitive 22): appendMerchantDetails has cyclomatic complexity 11 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"644d1f0bf20626ecd723739fbc87911a1196adc0ab6ed598138273839379207c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":10868}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4c81c06d67fe3d0562e05d39610941314cd46f9138fc65122c0fee29950505"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9bb1804a8d143f01264c4ee42e3c759f88acce19419b234d998f0720747833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function threeDsRedirection (cyclomatic 11, cognitive 10): threeDsRedirection has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/redirectionHandler.js"},"region":{"startLine":3326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d830a7c8e29c76b3792e894f6bd1bb74231e3c353f86e116e7a3c146d9a8077e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUcsConfigs (cyclomatic 11, cognitive 9): createUcsConfigs has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/commands.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9af5c69525f2877c87e0ef52146626400beba87939515b65196770ab88abaf2"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js: 1124 lines of code: crates/router/src/core/payment_link/payment_link_initiate/payment_link.js has 1124 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/payment_link_initiate/payment_link.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b337dec1a0d1ba307a3d69195afb241e7854e2494dbc88ac2723c1f96982cf"}},{"ruleId":"R3","level":"warning","message":{"text":"cypress-tests/dashboard/dashboard.js: 873 lines of code: cypress-tests/dashboard/dashboard.js has 873 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/dashboard/dashboard.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfc213ebe22e6b66890ec44f88ba6e7616ea6fc8de1d00f5461de438b24f4a7"}},{"ruleId":"R3","level":"warning","message":{"text":"crates/router/src/core/payment_link/locale.js: 637 lines of code: crates/router/src/core/payment_link/locale.js has 637 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link/locale.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4792a15c8c7adfaa2ebb3a3750e9642814de3bd8058c97f0934f63a47a7fe8a8"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027fs-extra\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests-v2/cypress.config.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6ddc2f2c36f99a226ba7f9efebb6992e97696cfddcfc948396957f8a98cda5"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027cors\u0027 in production deps: Only test files import it (first: cypress-tests/cypress/e2e/configs/mock-server/Connectors/Affirm.ts:4) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/package.json"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc3d599e8f984007c74c6c68766b052202b2e736aef6184d302c6122fbff33b"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027express\u0027 in production deps: Only test files import it (first: cypress-tests/cypress/e2e/configs/mock-server/Connectors/Affirm.ts:2) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/package.json"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4d2b5ba073679646a9a7417216d65b10648a9228ef1d72d873387ad985ab6c"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/crypto.rs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc89de27b17fbc9d7c9f412eed4feb32c399185414cdefc97358fc3784f7d62"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/braintree.rs"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bb7399d6dc8616823958cd36648b8bcb00297f49e26a8802c6cfd57aa773fe"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/trustly/transformers.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a4079f158f0767cce988c42029e23acf762f2adc0dfe38ad0227940a964491"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060sha2::Sha256::digest(\u2026)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/zsl/transformers.rs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d83a81932c8918aa37f581f8ea9264e79ebdd09e076ecc702503c262dceff2"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak cipher: DES / 3DES / RC4 / RC2 / Blowfish is deprecated or broken. Use an AEAD \u2014 \u0060aes_gcm::Aes256Gcm\u0060 or \u0060chacha20poly1305::ChaCha20Poly1305\u0060 (RustCrypto), or ring\u0027s \u0060aead::AES_256_GCM\u0060 \u2014 with a fresh nonce per message; it authenticates as it encrypts."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/crypto.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"5602444ea21344ad60043e0c72e0870c8d21c6edb13aadc014156787a98c80ee"}},{"ruleId":"S1","level":"note","message":{"text":"Security headers incomplete: Set: Content-Security-Policy, Strict-Transport-Security. Missing: X-Content-Type-Options, X-Frame-Options \u2014 the four headers that carry the points of this card\u0027s security-headers term (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options), 0.5 each.(\u22121.0 on this card.) The server: \u0060HttpServer::new(\u0060 (crates/router/src/lib.rs:436)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e9931804dbad8b1657857c9b88c05b8faeff182b6e2bb88641bd59bac687876e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060colorIconCardCvcError !== null \u0026\u0026 typeof colorIconCardCvcError === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js, crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js. 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe86b759469586c3cfb945aa3fbdd15c533c9ae0ca5812012f5914b559417a61"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060labelType !== null \u0026\u0026 typeof labelType === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js, crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js. 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"50384bfae74beb8a778f4abae42b7e331018445698f1aaf0f29801edb37034ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060navigator.language || navigator.userLanguage\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/generic_link/payout_link/initiate/script.js, crates/router/src/core/payment_link/payment_link_initiate/payment_link.js. 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":"crates/router/src/core/generic_link/payout_link/initiate/script.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dc9e83bdd07e92d7dcbec2a63dc297dca033bda6eaafe8c4e2ec099ed366e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paymentDetails.sdk_layout === \u0022spaced_accordion\u0022 || paymentDetails.sdk_layout === \u0022accordion\u0022\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js, crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js. 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"853df5597377cb3638143f86dd3d0f2d698d2bd9e79408d9c651f7641648f162"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paymentDetails.theme || \u0022rgb(0, 109, 249)\u0022\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js, crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js. 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68474ddf035622412d453dd6ebbe455bb1beb7656290f9a923f4e3be08432d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paymentMethodsHeaderText !== null \u0026\u0026 typeof paymentMethodsHeaderText === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js, crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js. 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1c9364f9c03bd583860c618e2d8e0f317c0a5fd4410ac3dcb1115bcd8d35c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060paymentMethodsSeparatorText !== null \u0026\u0026 typeof paymentMethodsSeparatorText === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js, crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js. 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b7a04780a2bd560d985c3250d781b86fbdd5134e51f8da5827f91ced8bc32f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060showCardTerms !== null \u0026\u0026 typeof showCardTerms === \u0022string\u0022\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js, crates/router/src/core/payment_link/payment_link_initiate/secure_payment_link_initiator.js. 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":"crates/router/src/core/payment_link/payment_link_initiate/payment_link_initiator.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"11333347968768bed6922ed67aa6a20265a067a432cf43b545976b061713f9e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(self.customer_acceptance.is_some() || self.setup_mandate_details.is_some()) \u0026\u0026 self.setup_future_usage == Some(FutureUsage::OffSession)\u0060 appears character-identically in 2 files \u2014 crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs, crates/hyperswitch_connectors/src/utils.rs. 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":"crates/hyperswitch_connectors/src/connectors/nuvei/transformers.rs"},"region":{"startLine":4143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c8dd3a6ab0e1579a2edee09d3348725c1c8ee8ce46886e740c8208308f4baa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060add_access_token_result.connector_supports_access_token \u0026\u0026 router_data.access_token.is_none()\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/refunds.rs, crates/router/src/core/refunds_v2.rs. 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e195064acef83b39f3d5c626d93a3711a22d142193218310282bf5138987eb2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth_type == common_enums::AuthenticationType::ThreeDs \u0026\u0026 request_data.is_card()\u0060 appears character-identically in 2 files \u2014 crates/hyperswitch_connectors/src/connectors/barclaycard.rs, crates/hyperswitch_connectors/src/connectors/saferpay.rs. 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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82abbe2f3891947bbfdf315bc4792e82ffd72992a6fb95b91fd3d702d7b786c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth_type.is_three_ds() \u0026\u0026 request.is_card() \u0026\u0026 (request.connector_mandate_id().is_none() \u0026\u0026 request.get_optional_network_transaction_id().i\u2026\u0060 appears character-identically in 2 files \u2014 crates/hyperswitch_connectors/src/connectors/nexixpay.rs, crates/hyperswitch_connectors/src/connectors/paysafe.rs. 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":"crates/hyperswitch_connectors/src/connectors/nexixpay.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"872c3713ea23ec92b136098bca5eba57cab9a5edc545cf21e06f6943e7f0a3ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth_type.is_three_ds() \u0026\u0026 request_data.is_card()\u0060 appears character-identically in 5 files \u2014 crates/hyperswitch_connectors/src/connectors/ilixium.rs, crates/hyperswitch_connectors/src/connectors/nmi.rs, crates/hyperswitch_connectors/src/connectors/nuvei.rs, crates/hyperswitch_connectors/src/connectors/redsys.rs. 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":"crates/hyperswitch_connectors/src/connectors/ilixium.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee6ac87d8602ae62d6226a3bcb9177dd9f5d9d3f5bfcc869dc43da56afc61b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060auth_type.is_three_ds() \u0026\u0026 request_data.is_card() \u0026\u0026 request_data.authentication_data.is_none()\u0060 appears character-identically in 4 files \u2014 crates/hyperswitch_connectors/src/connectors/elavon_pg.rs, crates/hyperswitch_connectors/src/connectors/globalpayments_realex.rs, crates/hyperswitch_connectors/src/connectors/moneris.rs, crates/hyperswitch_connectors/src/connectors/paydotcom.rs. 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":"crates/hyperswitch_connectors/src/connectors/elavon_pg.rs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18b02d39a5263f816660a9521cb03136ec32e5642155d94886a8db5ab3b976b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060authentication_store .authentication .is_separate_authn_required() || authentication_store .authentication .authentication_status .is_failed\u2026\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/payments/operations/payment_confirm.rs, crates/router/src/core/payments/operations/payment_confirm_external_vault_proxy.rs. 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b68b0656e904b955ed6f28a76d3412605f4b8c3a5335da4337ae53555ce567"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060card_details.card_issuer.is_some() \u0026\u0026 card_details.card_network.is_some() \u0026\u0026 card_details.card_type.is_some() \u0026\u0026 card_details.card_issuing_c\u2026\u0060 appears character-identically in 2 files \u2014 crates/payment_methods/src/core/migration/payment_methods.rs, crates/payment_methods/src/helpers.rs. 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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0ed2e4c731a8e55e73e061242b4d047240ae65dbede10f07636aa7cf3662e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060card_update.card_holder_name.is_some() || card_update.nick_name.is_some()\u0060 appears character-identically in 2 files \u2014 crates/api_models/src/payment_methods.rs, crates/hyperswitch_domain_models/src/payment_methods.rs. 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":"crates/api_models/src/payment_methods.rs"},"region":{"startLine":4908}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7f82f3fefd88aaf29992ede027570cb78b69efb008a212af3fef334fc23bb4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060customer.default_payment_method_id.is_none() \u0026\u0026 req.payment_method.is_some()\u0060 appears character-identically in 2 files \u2014 crates/payment_methods/src/core/migration/payment_methods.rs, crates/router/src/core/payment_methods/cards.rs. 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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fe6f14659416ed4a587daef69894c847f17380a4e9d0d0a6bf180d8a41ca1e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.encoded_data.is_some() || data .connector_transaction_id .get_connector_transaction_id() .is_ok()\u0060 appears character-identically in 4 files \u2014 crates/hyperswitch_connectors/src/connectors/getnet.rs, crates/hyperswitch_connectors/src/connectors/jpmorgan.rs, crates/hyperswitch_connectors/src/connectors/novalnet.rs, crates/hyperswitch_connectors/src/connectors/payjustnow.rs. 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":"crates/hyperswitch_connectors/src/connectors/getnet.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e8a320350df86962332ffd0087f28d492d342ee4b207fdb0dfa56efe46121f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.is_three_ds() \u0026\u0026 data.request.is_card()\u0060 appears character-identically in 3 files \u2014 crates/hyperswitch_connectors/src/connectors/barclaycard.rs, crates/hyperswitch_connectors/src/connectors/bluesnap.rs, crates/hyperswitch_connectors/src/connectors/deutschebank.rs. 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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"26354684c72326fbf4a9c91c7191992f7ee6cfa273274f75b942681595778afd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_config_enabled_to_send_payment_id_as_connector_request_id \u0026\u0026 payment_intent.is_payment_id_from_merchant.unwrap_or(false)\u0060 appears character-identically in 5 files \u2014 crates/hyperswitch_connectors/src/connectors/nuvei.rs, crates/hyperswitch_connectors/src/connectors/redsys.rs, crates/hyperswitch_connectors/src/connectors/santander.rs, crates/hyperswitch_connectors/src/connectors/tesouro.rs. 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":"crates/hyperswitch_connectors/src/connectors/nuvei.rs"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d37b31fcae5e454f2109aa185c67c4cceb1e036d0220107ce456869a491d35"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_tax_connector_enabled \u0026\u0026 !skip_external_tax_calculation \u0026\u0026 !payment_data .payment_intent .is_settlement_conclusion_applied()\u0060 appears character-identically in 3 files \u2014 crates/router/src/core/payments/operations/payment_create.rs, crates/router/src/core/payments/operations/payment_update.rs, crates/router/src/core/payments/operations/tax_calculation.rs. 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":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdb05d0f03240b77a8314b8c1000195a5cf0330b02ea972fe2142b623a763ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.router_data.is_three_ds() \u0026\u0026 item.router_data.request.authentication_data.is_none()\u0060 appears character-identically in 3 files \u2014 crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs, crates/hyperswitch_connectors/src/connectors/peachpayments/transformers.rs, crates/hyperswitch_connectors/src/connectors/zift/transformers.rs. 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":"crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"9118a3ea2b9e7fb0b14b759ffa286f592506b5dfb646650786edaf8aae2b8419"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060matches!( payment_attempt.setup_future_usage_applied, Some(enums::FutureUsage::OffSession) ) \u0026\u0026 payment_attempt.customer_acceptance.is_some(\u2026\u0060 appears character-identically in 2 files \u2014 crates/hyperswitch_connectors/src/connectors/airwallex.rs, crates/hyperswitch_connectors/src/connectors/elavon_pg.rs. 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":"crates/hyperswitch_connectors/src/connectors/airwallex.rs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b989d6b2549936d6d20e9e62dc3c064b206a0b4ef59c2ae3269539d4a8b83eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payment_attempt.mandate_details.is_some() || request.mandate_data.is_some()\u0060 appears character-identically in 3 files \u2014 crates/router/src/core/payments/operations/payment_complete_authorize.rs, crates/router/src/core/payments/operations/payment_confirm.rs, crates/router/src/core/payments/operations/payment_update.rs. 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":"crates/router/src/core/payments/operations/payment_complete_authorize.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff81b848bd25fb1f4a246711ddf6a74c711b24c53134bb46102a965cf2f1d8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payment_intent.status == enums::IntentStatus::Succeeded || payment_intent.status == enums::IntentStatus::PartiallyCaptured\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/refunds.rs, crates/router/src/core/refunds_v2.rs. 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":"crates/router/src/core/refunds.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4a070f3f7cb84ab960629316d2fe12a5608b9c804fbc393d733b5a7115961e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.card.is_some() || req.bank_transfer.is_some() || req.wallet.is_some()\u0060 appears character-identically in 2 files \u2014 crates/payment_methods/src/core/migration/payment_methods.rs, crates/router/src/core/payment_methods/cards.rs. 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":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c33a2e2616be628fbda22b88106b0288f1ad56d1cf045b62c26bc55987fbef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.is_three_ds() \u0026\u0026 req.request.is_card()\u0060 appears character-identically in 3 files \u2014 crates/hyperswitch_connectors/src/connectors/barclaycard.rs, crates/hyperswitch_connectors/src/connectors/bluesnap.rs, crates/hyperswitch_connectors/src/connectors/deutschebank.rs. 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":"crates/hyperswitch_connectors/src/connectors/barclaycard.rs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4e179c997a95eb7552b1a2c03d99d1e9e9bb8de43b9bcbff55b7f5e0fa47c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.off_session == Some(true) \u0026\u0026 req.recurring_details.is_none()\u0060 appears character-identically in 2 files \u2014 crates/router/src/core/payments/operations/payment_confirm.rs, crates/router/src/core/payments/operations/payment_create.rs. 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":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"33819ac7f194c20e9a4c97fe6131626c52fc51e7b7a557e2491dc239f8124604"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060start_amount.is_some() || end_amount.is_some()\u0060 appears character-identically in 2 files \u2014 crates/hyperswitch_domain_models/src/payments/payment_intent.rs, crates/hyperswitch_domain_models/src/refunds.rs. 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":"crates/hyperswitch_domain_models/src/payments/payment_intent.rs"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c41fc1b550d4cd49d027a40cde5e66ecf079ce99dd45736fbf78b722046c9a4"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/1 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: postLog: \u0060postLog\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/redirection/assets/redirect_error_logs_push.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26f52de7bc11a2a2f2991de8ebd2e92bc13118658b1fcbc5b48fcf9139dc9bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/subscriptions/src/webhooks.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6b3f858af02eb1defe1aa9723d3328fce545a9f0e0935f77256a183ec7a679"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 178 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/subscriptions/src/workflows/invoice_sync.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fb6b1a72e9dee6395711c6fdcb0ceb6d4392237a6613e31b96e34c2ad0bb2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 312 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/subscriptions/src/workflows/invoice_sync.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c734fab64c61e14c9b52cdca17c27e004f60917622caa8868465f924187df71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/subscriptions/src/workflows/invoice_sync.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"9806392b71cfab33e0c39ac0113226d19160d598213a9ec7c5786487aaa6de8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 100 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/redis/pub_sub.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"289d0a12e25a55c7cdbb4d8c73439f7db4d8a0204273497a51ceff109a440979"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 103 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/redis/pub_sub.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af3cb661f1c7205ba784dee030ceb95a5e2ab279599346d0427af744a1dc5e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 125 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/redis/pub_sub.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e2008ceef838ae0b14bf7ff1169f5a8b728f3f1b84d7c110c6886893f8d9a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 618 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/storage_impl/src/payouts/payout_attempt.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4dfbd83f2b3e08f4bcc0e6b732b9244309060a2dec4ff306243b40f6ca52df5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 18 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy-generator/src/main.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"014e2a899e0bee5b0b53e99a198b4bf8c7edf14d93e05e453ee7879e069206db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 29 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy-generator/src/main.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ca6dbe6ecf7e813d53113095ed4e70ddac367a26373c2e658afa13333ee27e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 31 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy-generator/src/main.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba9ad9289aca855c90b0a7adf944157a1226e1265b26a5d6893f98a5dfd0d20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 41 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy-generator/src/main.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ba25b87fb23e34a8dcdf568fb4b3ce33bb6f370714bd71eca1962482fd122e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 46 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy-generator/src/main.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"82061050747b47d818f1f33ebad9e0658dd6498ae5f365e5c310f5812e90c7ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/smithy-generator/src/main.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2928a4d5fc7e7eb179a802ee5d529d0dee05a3e4e6b50af62770d932db336594"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 102 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/consumer.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"36054505b1c627618bfa2d5544f41cedc6ffb09d05572aa39f4b5756025dbf34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 106 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/consumer.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb7a5a65ad6978f95c3be4281fb544eb1292a892f468c0f153ce69f210e3cb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 114 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/consumer.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d4bfe197be580bee3168316d4fde8fbd3c7347d19f08f4e08ce3b14f6b26e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 194 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/consumer.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b5987d5226b80be0a02fe367bcddec6916490f2efc3fedbf56dcbeee2de35e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 47 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/producer.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88f3cc8c23228e9d5d82f10ee2514d274bc0bb7ad143c254ce5df6ce0377278"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 100 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/producer.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c51e79218efe0f87183df291d85d140dfd3d27b29cad44ce11d175740e57a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 31 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/utils.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"56661d43cd10b5d82596839ff08f385a327bbad3cc70f0a3c52eeb535f391d43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 77 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/utils.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc7625352041c0d20b7790a1bac720a3568576c2a3c72bca363cd0bfb86f777"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 87 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/utils.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03dac021b398e720626a93a53323291e81e8e2f9cd63c23a6c82797e014b55a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/utils.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"657a7fab54ab3906b092446f3ffff5d8be4ac19f825181a6d9064db595e6388e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 331 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/scheduler/src/utils.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7742598feac84214f32950af01dcde668ab275d3c5be70d810dfc7080fda9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 952 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_env/src/request_id.rs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"7727c986c88da4db2b37a6ccd9c50ab50b03fc50070e3cdb774bd0515932b471"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 983 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_env/src/request_id.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"758307cc3b49619923b719ec07dfebd9e34f072068d45add2aed1938756e625e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 32 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router_env/src/logger/storage.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"760c09853fb4662d484475e9d3479981e7c0dedad2654bb04266dc7c8df88943"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 126 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/events.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28c08a223c68b60f1772bb5e57be69c8f48d668b6785b553bba99520077e176"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 511 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/lib.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d2c1c59ea7d787fbde29e156ae55ae98d97bb69e7478c6e11fb7ff26b01f79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 530 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/lib.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0e5fa7da0cc10f6e6902ebb1430b542c1ab71b84e0c1607f3b73bc8e57cd04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 222 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/middleware.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"803e94783ff36e70e83d273fd2a9aee8117a8a83b698efc1521d8419af31dd60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 227 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/middleware.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"41749d42d1815d123f002047ffe7fc3c0775d4d9ed93ff42ba9b06b377e95e8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 234 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/middleware.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3a7372251c0880f821f4c3ae48641ddbf04b034a37f603abf6004291dfb374"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 240 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/middleware.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"845e5b3b32533cfdfbd4ef5fe332a71e1a79069fda210f548b93c5e1ef90240b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 244 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/middleware.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0109f0c0bb9d301660a27f5fd19c4c3bd669dfe710cecf5834285b41e6567540"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 682 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils.rs"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b70bb9c6891ff50bcba59b2f689bdedc2f67db6a95758ef2195dcda53422dd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 238 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/batch_blocklist_upload.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cab9e24b385822d4c85882ed23fa62d8e515d68f722dd4d996e1e2b1c1cb81e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 387 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/blocklist_export.rs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05bad2ced770782bbcfb76b2a324fefa93625e2f6c5eb3e1cd83c4ccbb262da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 108 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/dispute_list.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0a16825a65a14a2fae5b263fff6d0eb1d647e2d01c9ffd2aaa2ab1e53015fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 56 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/invoice_sync.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"41219e6ea84c60d9200310a179d5c2ab981ea3b1441e9c264e7878508f96e60d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 282 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb72d184f3e96b2aadf39922d862ee3418aa05346bdd6f1b3737c423341f53f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 822 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/outgoing_webhook_retry.rs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82c500486af3a8cd410b90daf5a0b80ff189747d57889d965562964ddd2aaa7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 125 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/process_dispute.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7512ce1d78369bf335d0a796fc52433720d2587b7d8ed138da2b85a404418a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 434 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0decb41e520233d9b437e8811f5c28961e09558dc6d274192b0388c15c2222b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 443 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c04edafd7cafe03d52dc4209bca84b26f030b94161c7d575c298927dd55350"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1191 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":1191}}}],"partialFingerprints":{"codehealthFindingId/v1":"652b2d14d7fc927f2bee6aeae2a2ff6bc64ec21972c85ea6733af2c94281168f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1205 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5c7756d3b7ba487d248238219a250e86c33ec9e254e4e1dd6ddaa243b64826"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1463 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d0f76cb062e79facb851084a4284aa0436b002ff26c58dbe2fb74bf2650cd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1506 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"da420d3742e282ef2933ddc42ef8492915c36a329486feac06d4ba79bdbe3056"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1566 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac13540d813711c503c2f97665d0fa4c0fb9b3f1592266fe53824628567bd75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1733 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/workflows/revenue_recovery.rs"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ed181a18d6117b08e86e48dda86a7626f968b1db78f5b37bc149ecbb47f00f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/currency.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c6a7dc6d7e58022e4daad60ca8dd88ed4c97fc8023da06b2ccf50f1f3e7008"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 329 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/currency.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"271a9989a3d935cc4c4276e03494e0070afb89834cce6a9f37ace3e69797d9de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 340 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/currency.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"8299c088f2395c50501e5913682384c855d7bcf32ac59227f1f3f0fc31bff2ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 398 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/currency.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bd73e3d621b478ebf591e32e0356c2c23b2b71d97872d08d46801ace96bda2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 414 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/currency.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2e18368f1da5ba6bad84bc04aedfd41b672408d36f16409308391d1ab10abc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 383 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/user.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5a2a711ee3ec8717d974af8806901a9362f92d936ec90381aff033af60bbe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/user.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c0c96d8bc9554833d9540a8d1021b301e6d334e5cbf47b59293df86cfdb28a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 144 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/user_role.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"82db1f2e4e30cdfc58ec7b120274134c02afb490665c3b4fb1c6916840de66df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 156 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/user_role.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a81c8ff4353fe558475f5baac6d2401089272ed16e61cf0f4dd13936930207f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 213 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/user_role.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1ff9ee4dc5f072c0816f126fbc7da03c40259173f46c97d377a8ec96b2711b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 230 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/user_role.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b915e489082d71ddeead466afaad5ad41a635a41b166e80418c05635726b167"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 105 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/utils/user/sample_data.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a3dad2917d5ec1d7b8434a4e7b36b4d1830e30ad0536404772e5ebb777371b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 118 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/storage/revenue_recovery.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d2b7b53a519edd804c922b247c1ae77815a0da3ded47300216597137e51fb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1322 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/storage/revenue_recovery_redis_operation.rs"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0aea087b79178e02bbcb28384fd15618bd4a7ce0fb28bb750bf9dc9fbdd77a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/domain/user/decision_manager.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db3ecbc3b255c6661915840e145d6411b9eb7381a7e52a769636f0dbbb212fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 162 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/domain/user/decision_manager.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecac606938e3667492932b9a6b3c2582b1a21e4d5469f14722b5bd6129f6537a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 182 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/types/domain/user/decision_manager.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e01b728274ca0e4f4a4695c9125a1b2ef96e0c6e378279494cdba11123815d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1905 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/api.rs"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"e215a7a4f84e7e2ef4e532c68655ef62295cddc553655df22a1a4b98626957ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1917 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/api.rs"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"670cef6473cd7a18591c3585288f1ac242e9034e04a1fa5129c31c2aba5fda18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1929 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/api.rs"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5fdda36a394094df05811ca4ac8d3f3c340ea58d13cecc0b180ebacbe7e6a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 964 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"8465bfb23b5261c85a382f8be6583e4b7e8d1a293a66faf20d1b9718c14403a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1202 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authentication.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"361bb7898b11e06997fb115cee5aba116e8d5689a553c4c1d11c5079a7a39fe1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 29 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authorization.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b59056afa6cf156b94be2964d27ace17ed3c97a9f772c803b5a847f3243a1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 52 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/authorization.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d892dfa1e3f110ee8e1ec1daa158fa2f3471e9ecd7055f27399bf758b345217"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 388 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f2b5bf883d6b0902d5173d5fba44bf91da3fcd956414aaefd4fffa5a0d6dd6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 736 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"efecf94f2b888d9fc05f9b210d44ef26ea8d543079cdee1a836bbe37fcccb9d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 62 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/dispute.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7323343f0068356db40b2f58a8b97ff08fc82ea8d655932af52478fc7ded2bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 62 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/services/kafka/dispute_event.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4774aa933797ad27c43da3f34d400d7243c3ae77803054fd3a3311e1b75ec21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/feature_matrix.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fd41eba7c67286ece95670b50f6487508f73bfc2ad7e659359034a36875d10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1560 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"998d36496ef85a54eeb79647e70a4fe448ca6046a418103d8e844735dea93836"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1577 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods.rs"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e08d3ba6113cb1cc712d74384f0cb27941a39ec2767c29450104b78c861a376"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payments.rs"},"region":{"startLine":3143}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c8f7727b4230b8ffa09322a1289813b57b09fc199af8030fb6a9c88f36a508"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 32 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/telephone_order.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f96c519db16bd9b5e910745885da683cf07254fbb503fe8f42a23b835ebeaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 80 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/telephone_order.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa369e8ca4afcdd1b5631acc646adaf8f86fabf7a30b41d6f64b52bb143657d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 955 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods/migrate.rs"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc7baa9962c495ab0230d790d999b125bdbcde702a0189c24208fef1ae5fe0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 967 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/routes/payment_methods/migrate.rs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be221a56e53144cea4c31f0c38eaeb29e9eb19eb425f49e3a3b526dca7c13b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 892 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/admin.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71d01452ed1aa488c65ae454498261e4695d8a3f06920a387ea5182c476648c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1130 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/admin.rs"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"575ceeb9b4776bd90c3862311751f5b33cced6431e30ea3e1a723365e92f22de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1500 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/admin.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b761de09d78bf1c14ed1d555ac07461f269559e81fad3e87315b31a51c43af10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/api_locking.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10a7c5b7791b1a5360b4b0f6aabcbb57a1b63b1a269356dc396addae49b4d4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 145 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/api_locking.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4a0b8ae98348fecca948bf47b028d78b859952d82d9df8b8641f9f56fed614"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 151 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/api_locking.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af651f83d5b3602881051df028fc838b03f4eb8f4c2461d6729ba470a47c8ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/api_locking.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f23967650216c8bee374f13e260e4ce1907c3d521e516dddd2934759c1c8163"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 232 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/api_locking.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e5b8c4047def4bcd3c6cb58dc2525e2427ce6dd60ec8216dfd8e524190b2bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/api_locking.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b30bb993a6b0c0e41058034c1ca48da5c3912eea3778c52f6680eb01604b87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/apple_pay_certificates_migration.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"78601b107a526bf9dcd29b7c73a346b7586e99c217d3f0449e411693cf7b7464"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 97 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/apple_pay_certificates_migration.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d1b85af0e4cddaddea47988500b308bebc841b24b66d322b2e07d4b82b4d2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 103 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/apple_pay_certificates_migration.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c76377a92a8194937eb11da8e60a3c164f09d10d603ddc824d8efefffb337d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 276 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/configs.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"98033cc78b0bed97c38040560d83efa193560192575bc9e469d24473c34cb851"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 281 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/configs.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a72b4cbc24f5127b61955d3d4235ae1fec035c37795e328a9851e8275d0e665"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 322 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/configs.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"739ce57dd7c845273f29058ec32c0861e25b8390cd9d959d1f390a9cd9faf919"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 389 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/configs.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c79ea11679cfb3c9c7a2531f334b5bd69bd5e6c282ebc118fa7f380be98e8ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 64 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/currency.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54fb39ee1068c75e91141cea6b3a4054576379498892aa3c44378ccb50c7c04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 93 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/currency.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"10823a7bca651ac31aecbb18974145e281bf449901a33ab34d10a64f07baa14a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 301 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca62cc29cb3846d786fe39d35df32c03cad9720d5293f2ee01e396103be38cda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 314 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8ce311be68436fa42b9330f0620cac85d408bcdec5c3635790eda76c5b1e31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 333 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"86245d3c5cead3f9f93645dd375a817960237ceda1d859c5b54069a57b8eeeeb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dae262ecdebdf2edb734e1b4da43e934b5e3b8f4cd27e106d1331e2164096a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 579 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"893bd318067ca6ca3aefd5323c11e1685dd775500c2ffbea801d0c9c773e6b5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 598 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c425b369762ab6048674277a574fd1aed77a2c60e6183306b16dc6b5b617f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 681 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/debit_routing.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75956daab4bd45057429b68088740d2d9b0472e0bcf1988afbd41359e1a6312"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1300 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/disputes.rs"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"804ac6db22d73a16b85ba2d686215ba1b2939af850ed42692eca32d0a2195d49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 356 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d90bc96131a3acc99a87f76d7867f4f0d3a552d3f1962bf870e18bb25c58c91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 552 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"51be5ed1d828bdd1cf135dd2d81e9da9861f81c6354d588b8a42be3ecf02269a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 657 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"9649b0e5d07c15109026c744ae73891e7944e341b9d8c0239817a8935535f2ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 686 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafcc13016bb88864de53fb68349ad12c51ca7c6f3fb448c7a24ccc3b1806a8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 866 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e4f608f86581a79eff46d2ce0f59a16f83224beb50eed0ac47979d8a8ba8da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 885 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d88444f71077df7a2b80e67a34cf9b41a2f91769c7e169bb72f766bf9bc0e67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 968 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b9ea65d6a9a9a53e6355a07b00e739e8f18831fc19a94834d03d6c7749ac06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1032 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83badd0630a0e0a27417907813c6d508e3235e009d298532098dda43258a07c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1100 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f7a13edb3d5f550ea00e0425d9bf592e3cc07a57206cd8685ec4c2dd1e5845"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1141 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check.rs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef08cdfe7d524181199284902dc1bac09c25680fb1d711e80d4251155c08cd0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 388 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/mandate.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda3b7d4baf910c4d850df3efa2112aa937fbc7edb8e97401d3a619e6a8713a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 94 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/merchant_connector_webhook_management.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce21c23161b71e772ad42ddc7de9f751fc689bea4a0056dd13e351015f347f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 250 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a8c0c3ed340dbe90b477ff1489f6319c7b03f77eab99f30f2eae6074f00b04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96cca06b75479b762ed016b36bdafc9eeb1d8b035834d8e80ba7bd319581541"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 389 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a53b1b71c6017f919cd5268f8c9ad1302dca4fb6b39a721c14022e92e62c09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 459 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"d674fdf1dd32fac082ff57495b2f36aadd222baba616964869b6526e6cdda1a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 495 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25acc340b7b6bb7948f052732109d8c7dc48946684395a7ce26a2445f59572e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 512 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link.rs"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53fada7914aadd8e6e5310c3fa24c36092604e6e74be140f31b8fd74dfceeb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 718 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_link.rs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3f2472fa458bbe0f9fd1b1888d9376f9535cf2da30c04631cba24960c85005"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 370 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_method_balance.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bbad26d282166f78fbcb2c550d266251ff19b5ef9137b7534878b2e940e0e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2018 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":2018}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3193e455990518ee5966d326077b9735ca481fe96ba0d047e375296037695e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b72607726b4a45c728eea6210b1ae71e1661a814e5f548efca40b4eaf23128b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa92d6f8933ac40d1ef7d048bcddf4cb1611d043734a4bec8a3c6e51e53ad0d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3187 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":3187}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eafcf2d06e577c1f755653f7bec9d0a7c51ba3f6af4257e421d32d2f003361"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5658 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5658}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32dfa2021bf3c9df9580abe486f70852540b91b3ed677cc394065de331c87d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5817 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5817}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac44d8626b069585c50be4aa0ed4beaeb9e081b8f188f5d645c87bbbbd07c78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5854 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":5854}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc74026bc2586820b52231ce7513a71e8311e96993e63e75c2d2b18e2dae46f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 8565 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods.rs"},"region":{"startLine":8565}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bb5b79c444149076e87ca13dae983264e00a6e7c622e8d9e8d5e3ca0f2f681"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 515 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"079c91c4d9c2f39fe060efbc9575ef3857b823246698d9f19c3536aa4dc4e6f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1066 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"170f27b749eda357b3612df58521897ec71a1d10bcb3e1ac8381bed264836d20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1090 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba8346c13d6ec12b2f1020fb6742cf19ce89f41ddd90da72c645590c9f73035"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1167 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45dd9c5b2b1ee49a27fab2046f2a375f849dcbe1e560815704535eccc3e5dd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5484 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":5484}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd1f61064b73230342714b5415f16aa3b6b035bdaa3c85f1d09f190b3348113"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5635 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":5635}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9edf09d06d9694e3247ed6fa84953626ac877140bba80240ca1ced673f73526"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 8969 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":8969}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f773c97daede3665da6796e04c6ff8df2ab9b6e35f9d4b6454121139869219"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 8977 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":8977}}}],"partialFingerprints":{"codehealthFindingId/v1":"be48ce25c2150a508709ac76e5f01e3cf46679922876ccad871b81df894050a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 9096 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":9096}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ec0d83d16205631244e5952d3442a7d3d37c1d68dc4a86dfe8c98c378dd3f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 9104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":9104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebdbb92b60e8737cd5193a260d0e1c18b8278b1235ae0c607ff84504503d5b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 9327 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":9327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2446c17b1b2f884d46e5b56486b3d4ec782fc5c8d7f38526167f6e04433c9981"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 10344 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":10344}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcd57cd0f111c8c8d41e937d61ac6e10bd8ae8cfdabf49eed747ba50d82fa25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 10786 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":10786}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f81ab8c88170ba029ae0ef939b28c4aa09a9f739bf7e6c2201c7427105505d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 10803 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":10803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a7d71150f9a1212095c8cec173679668206f5bf62e644816fbdc4557225d44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 13359 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":13359}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cea7b9955aa16f55d25bbab57be6153d68044abe319c687134175ed49113c41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 13454 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":13454}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed2cce673b35c38993db758648e0fa6d762b5d13cfba85205d595c24379c07d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 16665 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":16665}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1857b929149beff7bda3c552f56385916303d4f6b58e8f1e8e2485cb0430b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 16670 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments.rs"},"region":{"startLine":16670}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b6c25972d2c966835f55a49c30a5b75964c44dcab0ee77c0ad901b09ebb8e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 99 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"21893af535e99ea2848b90feed53b9dfd1d5eeb99b40af21acc67c7b5c799cfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2926 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts.rs"},"region":{"startLine":2926}}}],"partialFingerprints":{"codehealthFindingId/v1":"52820740d74bfdaa1a7c73c8ec52700235732138f27c781d796be07702b58466"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4795 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts.rs"},"region":{"startLine":4795}}}],"partialFingerprints":{"codehealthFindingId/v1":"6172b7e9e69cdbb04ed3cf1e95d7fa5a30a02491ace1332dc85e210e8da72b4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 609 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d8d8272eb6c52ceb4c672e03dac80cc8d865b16f0cdee426d332e61a516f90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 613 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a12f2a2bed91cfb38d01de73d4df8b304198a1db6b87124b82f159ab2d70c7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 863 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/pm_auth.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"720760f1f36aa5ec2cb154ae30e696cf534d2ec75d0b664111bf5461850027d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 102 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/proxy.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"be27955eb1750948203ddc481e648880ac55a425879a4fb04558dc2e2670123c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1034 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/refunds.rs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"105a823d746bd09c6d0c01c405fb2419fb762ed63cc852422435527e90d2953a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1610 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/refunds.rs"},"region":{"startLine":1610}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa143313bfe9c3791ecec55fea068cc6b04ff782c692d10b20ee402bf378b7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/relay.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed0063819f81c2f886412a2aa6d7b71180d116b07b5ae984e74386c26aadcd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 187 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6116eb9d7f08953a03269dd07ea8d6922856a81f06b6c3055a933c07d8a519e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 194 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc35a85c7327ac92c98ecbc3cf99b44281c12423b63a63563fc58a5cdcb1820"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 270 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ba43e0329a0cebc49e3f133aeaf7d99b6794ccb3a76fe2b69ab39af1bc55f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 383 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"596065780133d67d038f074c9e179fa05a80040a555372bcd0c45ca450b2868c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1579 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"287598b6868c2751f263186f3cbc3c9468f14ef7833b3c806bb3569830bda714"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1879 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":1879}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3956e8ebd2fa003149ec7636ae22c0d5acdf511f85d9e2e0e5e11943d1074a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2033 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery.rs"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f494d08bb32768bef438f05b5a9bfd6234769f1216461360dfa650f8ea071ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 36 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5256a18a4a51aee699935b5d0b7ee5408ad5f5a4b992103c9fac99f6d17540cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 43 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"45624ae6a95fea95560d873fbd40ddbb5fab4c4b8907c12e2160c2f775c84afd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 57 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a3e94327a2ace6af0ba3cc4c29eafe06b75ec7824c10d44e611cad6c3443df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 75 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5948d78143cdd7df61dac5e07c896fd05f55708fbb641634514afee266542bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"241479827a2d0267576356acfd78ae091d99b3da15e9d729ca709dd7a1c50634"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 137 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff140929b487d63f6e14224755acf98b08ea295c4bc43f7d3bf1b56fb0a8da09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 190 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9b4a861597f445dd81ecd0a766aa53e50ebbc23baddc10c5970f2cf4b0abe1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 200 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f4b942a18343a741216b457e1352667129236b597325f2e028800cf4c48ae6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 254 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d00f900bdb8bde2440e97f54033a39e184ade240b825e736df3b5875f1bb8c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 272 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4155947457fd78d47f996c12d4e61854008fe1a3cfc58c5cf1ba03488779b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 290 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b7f14bf4246ff7fb0512a9a78991f52886dfe6067658a717fe122274fe3aab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 304 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"529d190952321f08eed7f65a5334aa821a2f5de49de7085cc63ef85826907bc5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5f38d76611676c0347e0a1fcca875c7274cbf270a3568beae5da97c48ad6fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 321 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1fa9e53e5321d66d02fd2bfd05676640bb67463d28766df09dcd714fd10b531"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5260f6a5b978fca7a88dd9b4e73d90ae82528985811dd97d74daaaf34e6fc4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 365 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a4f6e695bd91154cd6d82ce0cc028c3d0850503fb5b8d7f70ee1ba4962b8f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 370 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8c878577c508c836128fcf9ffb1fa148ad5469ad071e231af28d52952debeb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 378 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"b121a12e2108e6f9259dbb38d105f6da8349af617da1d306d62f982b7d9fcc14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 452 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery_data_backfill.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d651e56276c7828130403214f56f1ab468365206ba817b9b199bb86b21bff7f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3623 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing.rs"},"region":{"startLine":3623}}}],"partialFingerprints":{"codehealthFindingId/v1":"104dd27a97765bf137683ff4b61733d72c8e140443e06ec6132164be849f16dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 198 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"677d0316726f69ae903d345293d0edbd2fb50e765f5eca01f958ff393dc5a2ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 254 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad33a7b2abc1b0e3d08df67d5c9a18c9b6ebe6056d6350e31fda1f72f0897b6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 347 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4add5e89aa816568d2e89b743c61185095af38d0c98cae688532df17c36bf99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 398 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9493fb3c430dbfa2c783ad4d7479eaa7fd39f89107c1b68d31d0cd6f5e21868"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 432 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d0a0d9db860ae04a005b9ba5bcd2ea9bfe826a0d479114109a04f6fecd7066"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 486 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afd066fdde6b8e1924f2ba38e802d64a9cf027dc91ef66c570eb7954f574e43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 511 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad1fadf405c53a82ee973841a45088c77610a8a3e85ba6be0cfb666be134e92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 543 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfa19418774caa7a79663a9d18d38b31a18730d0ffef07626e6e902e8b64eb7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 554 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/telephone_order.rs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbb68dfe51b0b06381d750db5981afea4121d4ac9688311f861db962187cdd0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 77 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/three_ds_decision_rule.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b88b6d18f7ac73410b1d89836a6d9c3a27cc15b714175df4c234976b7ccb5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1201 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_authentication_service.rs"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb410f63cb76e3c660618276385f3b0897647ca027ffe3c62e749ad690c37f71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 910 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff915f13c01ec393d10519422b6b57ad91a6bb8761ab0076becd0ffd8e2930fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 947 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"206c4ccd83a6874f1afa72ae4dc8d014bf87ef7b9e42649eb1c3aa42d3e205b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1142 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"768b16e172943ef78069c77fa14b69b7d0887951b4d25a1a22da577d095a49d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1220 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1b7d8b5ae506eb52b897f93a39c75b9bfd69a56aa25d0d54e17127f96b74be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1822 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45a2e4adc4acad3334466830a56e104325cb9406ad5f68edd46e1f1a76a964c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1915 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service.rs"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cc61cc89ecee7f2069a6bdcda4664a20458fece0d02e3d65e9b89238c3fdeb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 530 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa17ed2fa296a5bf4f7262645ee874d0700da1097c0e48cf9147c394398e2ab5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 728 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user_role.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"76722f5509757bb8ae4c79ed4255c1573f499ff770fdf0b6f24e698e8ccb5a07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 771 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user_role.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d27d9f08760f78e283bd7a6f3506a2d1fc2f7fec10d426961e6eecd2784282"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 782 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/utils.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c124d4c0b939fdc1f046bb79780b970d9808dc19bfc9b4ee92a5c5a1f4da94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2590 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":2590}}}],"partialFingerprints":{"codehealthFindingId/v1":"5297f50c83734eb664ebf2cd8c57ef232670a381bb8a045fe65907442101544e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3879 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":3879}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fedd984b5e3697e4cc3b6484c1790550112bd5d3c2e94b6a684aca2f54791d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4039 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":4039}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7d5a405ef5bce0e93871befb09ef56ba0ee16b1594bca045856ee14f570c01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4055 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/incoming.rs"},"region":{"startLine":4055}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bce0bae7a68c10c695696aa5d8e92e5fc55182acf60c351999439d0a8beb7e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 260 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/network_tokenization_incoming.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6ee88f1cf37bb3917ebf4cad9259629afc9e4c72c82e6c3bf6100b9b0b55b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 129 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc393808cec1bdf69b41ecc77ab1b1ec68209fb40d31d9565eea18d20acf9245"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace43bd053cab54fc31e06ec96d5f21ea8a1cb2de8246a6d306783bbfba05600"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 403 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"464e2c40e968876aff2793adc218064db66ccc2e89bff32b479fc39a679232bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 824 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing.rs"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceff67609b49cb69e2a4344d084234a267b772c2389a78a1fbc3c79e2ff8b3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 141 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/outgoing_v2.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c809092ad03c076c75f17082d9a4ca4137d550c903a408e157d1105a85e165"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 204 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"02254b7f9b973690382fb0257057dfed3c8e0432014b882625df32657d0db25b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 237 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc24d0016fad14fa5c02e7ce77a98688fde1482b23f72e9506d1d0d2e3e2f929"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 274 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fcd80f5a7ac17e3a35e1fdc767c9bfb2b41c0441bc67d64ae594bbec83fd47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 954 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"9246b01be5b42b0f84f4fdac6480343db6719308826f94e463511e12f68dfdb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1878 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/recovery_incoming.rs"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"741a980af377e54eaadd559a2c30fa7eaa80344e718834867786785cc72f999c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 124 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/types.rs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a44ac69c72a741f64eb62e3f49b44f48170ea021974a1988cc839dcab77dbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 139 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/types.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8128cf0ee686714f29435ab6f4fb20262e1df44516b4a1b81ecde8cb6298c926"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 184 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/types.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9551857bb3da1bca214df4cad26b31b927c66925dfcb4263f6fad7f82895d8f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/types.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e0c5f47945cc2bca3f289ea0c9ea04d8a01a5c2708820cc0b1a19c21ec50fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 227 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/types.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff62b57377726ab2e80f3c77bbb60512352c7f18661391b5840c0ad4e57e841"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 500 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/utils.rs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"b242547a7c0a08ea0b1e704fdca183e681574cc09f887702fef75fcd5c08c09d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 504 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/utils.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0927e4d96e7f32bbdca91b6a9c8042a0c989c71d8399409b66221e7c476ac0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 545 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/webhooks/utils.rs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f083358e728d5c6188aa2c6c9c806d9ea6e5c5dfc1c1d0126b67c74efb28ebd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 585 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/user/dashboard_metadata.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"11573dde0e91a37dd3afa45aa504f9d17a3799f4601e8088ab029961707ae704"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9597 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/unified_connector_service/transformers.rs"},"region":{"startLine":9597}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a155b55481c18d00652c373b444942c28fd6318f45f2e339aafb9b32d57570"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 129 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/three_ds_decision_rule/utils.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4ad513a9e4b1f40671adbf642f1be509534308035e8aea963e726e3dbb46aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/three_ds_decision_rule/utils.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7adf5df9a9c04695cc34ac8983d7800e0ab0f9582950ff969267692aa35415f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 866 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"279735790738680e4946e10aa6debbcd5805b7b467e69af4e0b80f606eae86e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1195 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73de6b2cf02d5ea9418b9728b2a0b644d0e5018e2035bdffe3c73ff094ad289"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1378 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"956f2fe483de6cbf06f893d9290922e8f98b1261b7dea0af559a2b73bf2750ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1571 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d834b099002dc83cf74742d646bbba5ca75404cea5a81d84c82da9bba2a5f48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2504 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2504}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bac29df8195850cffb340a127b123aa357ef6b7dc476ccf919097b3de30bebb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2594 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80ad649addc2bdffdc5e61a40e0cb9c626d7ed4114b544a6c6a8838c7005f4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2669 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2669}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bb65466b7ca5e24c60a269f88e8ae494ad60e7e6aaef34e7122592fa91f5a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2702 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2702}}}],"partialFingerprints":{"codehealthFindingId/v1":"973f78031fc44a259b96a8dd0570e501e8c7d62c0906c9d0698bc3bd453d1b2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2752 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2752}}}],"partialFingerprints":{"codehealthFindingId/v1":"528d5ee878071200d3ccb0d67107d18c02079933f82d0b1032d1e8bf3aa4cd5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2760 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/routing/helpers.rs"},"region":{"startLine":2760}}}],"partialFingerprints":{"codehealthFindingId/v1":"4925f35c7d88c8316240c653d8cde221b4a809d2c084a8a500c22ccf57381835"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 121 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/api.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4964a61f343490a7e0539971ce65681526d54ef741349bee14c66c39339571e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 430 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/api.rs"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d24ecab76a81b46a8290b7ede1845c2b4ea1b20defa145a827371c830814703"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 92 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee15fca5983ab5364a08867d44b678d47399fa5cff2aabbe2e736d50ee0bd560"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 180 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c0c86860dd5b5c7f0270f38d4b34a9a0d074dc2ae46a9df1ea1a12cf2cf5fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 254 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed177735aa54cc9954cbd20b079147a70f59ac39802fee8ce4de1cbda283eb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dd58b323a4358d22e8405e2f4bb936ec081cb6ead5802b6405a94275948126"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 399 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f491fcc7b96d649d4cfe5a36472e63f03bb4402e5df560b6782b122e40927a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 566 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"6399897cc8400c71d16134d2379e359214520775b1696ceccb15db52ffa7e357"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 591 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3581d1e6a524f4570a22dc8012a06b5759e9d6a527e264c2f6659f26759a2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 617 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fb97abc3d683e2a38f4f5d7d9adda97b261e62bb81a7e0ef26c5cc2d559dc2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 724 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbaa8df43b8e55ce44684f684bd2f1bc760d076355c04a7bfe3ea067795aa8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 887 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab15204fa81b08fc10b1df637b83f3089504bbe109855ffbac80efebb90564db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1522 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"36582dde894c8ddc4d5b6217f072c749dbeb983b0aaeb2909f283d90523abe31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1553 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"68db0a1a2f10d6881440237a5dcd3934a00c7fe53157ca6a36e9846ff23ca79c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1772 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/revenue_recovery/types.rs"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d53ffdacedb34d264731f0ddff579615375fef427ca53e143c9593a012db31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 317 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/proxy/utils.rs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"273c645d8b3683dadfe867e520122c81d851ad948c4a93d01b5e5e64167321df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 396 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/proxy/utils.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"beffab8e32652195d02cb09a24bf157b57d7eff16decc72820e54b59a2160d5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1325 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd8a424c4e953867be03d798b76c6fc96cceb91481590887d84e6ef45a0b539"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1885 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payouts/helpers.rs"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"959fa20c4445566a0f0daddba7aa9b6cfb53ab9d464775a1082c7050036b09a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/access_token.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfc34eb17fb195111e9950de39ea8a278163f300fff68729970b314116a693a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 70 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/access_token.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16acc321332257d263b4542dfa3595d88f43d1c1671b6f0a4b813a002be1aab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 167 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/access_token.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"42edb3470a804b7fce1680eae39ae20bf7e68d079f8837118d096940973a9c61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/access_token.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6499af81c6f865d83cf7bc6014040f9f4ed3d7f51e3ce8cac6a03cbced3bcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 518 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d739bde9d3f736fd2d887bcda04510d9e4151192f0787807a404c217a84720"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 540 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab51fd0d24402cb0c041caa34f80dbe1e96f8b4f1407433beb8bf4259abf610"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2528 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"b854c1a3cf424736bb8d484518e5121493a51d0b448daa508e71dbf3d78a3b87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2639 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":2639}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d44f4cd329ca4566934778bca6892c0ba7a62e7f39bc6c0f2bc0e09be54c0f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2647 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":2647}}}],"partialFingerprints":{"codehealthFindingId/v1":"35780a209250e0968a94e732675f3cb9bff423cd589c374271ad9c922e8e8a55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3253 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3253}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdf5b680d4d1dbb7d25586e85f970446df766e4a8cdd804aa9b71c2ab96ddd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3507 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3e883d4cf22fb6a0d7f7b1aecb43cc0fccb3109410bb0fbda7e83ffea0659b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3626 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3626}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3f0833872eac9315954ab6cdfa3b49bf48645e06c16a52b27133bbc1c0d726"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3671 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":3671}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e363146a0b6ac61061815cd18276af0f38dad5be85c356788f9f80386541af7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 5838 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":5838}}}],"partialFingerprints":{"codehealthFindingId/v1":"649a7b0494835d5b169af3fe522af2b0a514dfb7c0638d8fec398637a0838c8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 6878 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":6878}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c4d93d29062b24f46ba218427cd7973f74af6ac3492de7adba96def6774560"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 6952 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":6952}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a1b45cb7624102bcadb1366f22f691270c71acf891081acd73702ca8214bcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 7503 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":7503}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a595d792ad50cfebef2d8750446ab886e88051e9c5f5b7ea5d988664a1197b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 7514 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":7514}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ea6446d7b19baf8ab66be8efef0e802eba38417932af50f60285118e883873"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 7946 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":7946}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd973dda69e86c3e39c3765f6964db005610bb83b0941e6ab192927060f66f76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 8321 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8321}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb413b1c633dc7f16c7466081ea47457608f7746819540c2f448ab9029ad1860"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 8361 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8361}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ad4e7d4b878d829f685001c94166d219a39cb5253fb965f68282e681d0ed2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 8492 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8492}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecb9b0253c9d93e8a75c1fad28f6e8b0a25eccdb110a7b74e7e312f0c6073a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 8512 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":8512}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06bb045781783f615d90b3dccafa3212fc2e44fc7a906e4787d822c70e72e01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9111 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4426bd3e4c21420f8a7c9fc9d016cfb86cfac06fdb97382f028fbe7042225e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9112 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9112}}}],"partialFingerprints":{"codehealthFindingId/v1":"62567bbe31567ddc87d57077a488c5951d723d3327082b80f49b927090b4ee70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 9116 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54b5b1dce9662fe9c5e7e1c4e94f427194d036612e1ba9174f9fdd40a8df6e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 9173 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9173}}}],"partialFingerprints":{"codehealthFindingId/v1":"43979ff3493888298b452d3c5a2b157de21d26267a1815d8699db1983ea2d258"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 9201 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84a29881e4552eae71e47c5207a63521e9586470028a74258ab8f03d83c876a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 9497 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9497}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0e81cd9574ba31473ec237faf33cfb9d864c9aeaf59d93b4f8cdd7e87b2da2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 9871 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/helpers.rs"},"region":{"startLine":9871}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab1f47d48c072d91a45745dac3fdb942425ccae73caf9f3f7d686554dd511b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 60 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/list.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7485bacccd8516b63c9391fa7a706418f8414d9652973c46efc54e4e3eebeb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 227 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/payment_methods.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c14cae5d58be6b4422bc477e791afbddef122802f134d25eee2785c934571c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/payment_methods.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d853aeed2c18df0f724470aaf2cca65ecc79b43849c65334dc554198849788e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 398 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/payment_methods.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaaccfca68b3198735b48b3823f5407532e12705687d6d75b2fb6bf0699c1a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 742 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f912fe1f9166819b6b28592bf7c4a7fa8a2b6e37aa6f1f22f16e5a88f8e271"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1547 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9c7eb2cec035dbc08c80499449486962ccc4861aff0c94a640fb22e79f4226"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3608 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3608}}}],"partialFingerprints":{"codehealthFindingId/v1":"511fd43bb5132f2848e39e38ecbf3771072082b2ad3926cccf57f7f0322a165d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3676 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3676}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2b01f9b302066615da77d1e7f0ed627bf439e29e02ee795a54a96c04645b01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3712 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3712}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24b149618b50020d6b469ee6017fea915c92c13541a8e00da318817d0486a4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3843 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"7068eb3d09c213358ce942efe9d4df679482a8a7232d583eb898950a3035ed88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3859 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3859}}}],"partialFingerprints":{"codehealthFindingId/v1":"088033f85583da94fdfe9ca542f88eb8799263f6abe099701e538f79af81aa25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 3891 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3891}}}],"partialFingerprints":{"codehealthFindingId/v1":"c072c5f2bb35a29806937db584f6452c32c6b19cd5bae3b336cf459e6efc652d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3981 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":3981}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42769f4bb056d169d71241edfc187697a4cf529364a82f37420dac69fa37676"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 4075 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":4075}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cbefb2b4b11cb1d2d76ddbfd6ad9b9c38e84ef0b218355a9aee7e8fba8000a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4159 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":4159}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b45f7712d8a65bcf925ddf3f491e7eda0636d7fa21cce7e5b2912127395b0fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 4275 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing.rs"},"region":{"startLine":4275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e017c6735e10550d05c7753752d236154acd35766cefa3fbfb050d2f93735498"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 83 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfef268294383359b8c4e868b4f1157365c2b69313be3d2b4f38ddd70de89e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1309 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22184400a19e272186a77a3444b970ddf9ec691e78effbef5de35d3f278cece"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1795 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/tokenization.rs"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8a6f83461c58adaff49fd04266e10a7cc74eefbfd5c2555ff8d1de6a2952e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2298 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85b7aec982b9b1c3f864bfdf7d4c530af57c59d8337c1249f463aec89b53bb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 2563 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":2563}}}],"partialFingerprints":{"codehealthFindingId/v1":"16455875fc92b66cd612248993c32d185c36c376827b9b230c108f77874441f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5218 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5218}}}],"partialFingerprints":{"codehealthFindingId/v1":"1829ffb15caa250f9fa8d9d640ff84c47aa7466d7b1eb8b0a532e25964f612ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5227 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5227}}}],"partialFingerprints":{"codehealthFindingId/v1":"578e2443f87fbaef370205cc2d96ba3820f64306a53ca8243f65aca696ab9b09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 5236 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":5236}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f51a50da2bdaaa02112696cef40ad88d32cc307db9fbd8bbbc45569d56f61be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 8690 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":8690}}}],"partialFingerprints":{"codehealthFindingId/v1":"53472ddd0aaaa8a431196db751d32b21a6384fc203ee724a88d564dae13a1a6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 8704 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":8704}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a967616dbf305a74a4af26a1c482a84b7ecb670adade8adfbe7379ae12f165a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 8709 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":8709}}}],"partialFingerprints":{"codehealthFindingId/v1":"11838a2b17458f86b346b7e6faf5da50625cfd04cf6c8af2d524065009b8db8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 8900 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/transformers.rs"},"region":{"startLine":8900}}}],"partialFingerprints":{"codehealthFindingId/v1":"27015563b817d8930f0f7d4a6646a872ffdbae95ebafe90713dab65273f3a2c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 336 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/types.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafce145253c08aefedf52fdda03e697092252551004b053550d6f81b57005b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 360 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/types.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"822ab222d3095ab5428db3549091e24622cff3b1d376813e694b346f2edc8c39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 571 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/vault_session.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca97c8a6bc72c27c15f5207239e1ba24a7bfd9d9a298248bdd7b92c4f6d500f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 195 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"865275af8d6267b0e93fee6b1d84f091437fb0e34ba797e752513ce8707fed6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 281 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c139fb537d173b60261e28e2cacb280beb504949ff8ed1f9dc1bbacdd28853"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 286 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/routing/utils.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1815016f968b2fd86ff2fac90fbfb993328efc4373d35d7678ab9fcb46958218"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 793 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20fcdf7ca12e886959c9f846ca349b41d7b0784ba7ac565fec188455b1366f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1858 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d35a4dfa39324177798b47dc8fd28fd8a3d10b3fe1e90ffcbb31f28c46acbb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1878 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"088c7013f861e71089e5afb1bdbc07c7b6f0835ee1b9734098158d98cbaa4952"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1905 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1905}}}],"partialFingerprints":{"codehealthFindingId/v1":"682a6e5ef59a48fd4f4b5646cfafecc2a61c3c4c2d2a97f7df232ae03e5d40fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1928 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae528cf9126e75ff6b645541c52534c4e194d631a1623727efdaeb2f6203a8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1981 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25d55d9ae6e8d4efbfdc2f2d1acf95499b12b18396bf7e473bee045e69ed63c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2002 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b05390babeea7adefc3c8e60895f6f7136bf46899e83362ce4b1440ca44d1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2016 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2016}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4ba0c0d2999a4eb0a2eaeb291296a45117a307dd154212a4b1940677dd4eba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2483 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_confirm.rs"},"region":{"startLine":2483}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ff69a4f39e0eb86418e81f24db3b919c2adf7f95a76317d80e9e24fa89a0cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 596 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab9ae8961967f81ce611379b6b6a6377ba5d7e57434f9abe3fc88abce9d483f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1550 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c77ea9af53185ef457eabb2ddc5efbae3d5517fc1e3cb4dd49a87ff018ef970"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1570 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_create.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd98e7aaccdce674c6754a663e69811baa5cb37ec5a2a5e31b67d2a9b73c411e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 209 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba1a4187a3cd2fbf67950d389f227c8e0379b2d57b110a1a1a2b642d6be8349"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 818 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f13722e732795fa30140538ea029035f6866bc4d983112e53cfe84b874b911e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 937 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32203e682a771161f54a4c660c800ad8a0791225dd5186e876037f688e53150"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 979 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"eabaf03f0ed49f6438b6e896a1afc8b4ec3c06fe999d8647ccf0bd0a40d89155"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1027 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f75f53300482c8acad48da5f877c51bcb14bcbc00026ea4e5d56ab81388c40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1068 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fba87cd6931f4ab5d4e15dc6986852884621398c46d9b2900a6ccac791794e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1700 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"970ee0e67af850a11f02cc021ac55c21b8812991b58681bb04c9d05b1e741740"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2310 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3b921dfa41feb7f786d26f01b80769ec77855cb8281f6503782e22ad003bed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4041 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":4041}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81c818e5f013d3cdabdbe3753a2a71d7f2b512f04510c5a1cc9da95993a177e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4473 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/operations/payment_response.rs"},"region":{"startLine":4473}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4bb81b987c0d2bf91c5e7f9e820bf83274a345b76671f4ac476dae7198b7c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 172 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/gateway/psync_gateway.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdb12bf3dd1ed94abdb24580a93723e0003b84a0a92561a6cbe92668cafd45a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 322 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"a411beeaf97134b4c45fd37b2aa135668e1fbfb0a8e17236da253802da4301e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 370 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6118457af102d28fe89d94909c0dfb5cd654182e3d5d05fbead7827e227d448"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 375 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"190ea2ff141289b9c50ee71a875695fb78b164b6d15c6d5e7d78636ac78eba95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 506 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f852d058ddf11cd6c3e10eb604845e8353aa675c37028e5c36422585602004"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 674 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acbb74abdfd6e719ae3bd705f5a05c00ea6377d9e1ac292eb5af6e787de4189"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 823 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"2584c155119e5a97dcfcf32f6f840652da8c867a9c132f740cc3e70834dabbc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 886 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc190391beca9c050020a89bdb4d45fb278710ff1ce25f12ddc8c203a95e2fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1044 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/authorize_flow.rs"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baa5935d18e21c2b0e77115ac97a72a9fee2895a6d49e61f87b1975c0d64476"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 184 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee797f7814f1c5e8844cf14332a8753da9e52f8a0d1415933a291b75658a754"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 232 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50e85f2c8181a2c8f9fbb7179beee0fc2fbfe15285f6ae65893015997dd22c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 237 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"011801fc4ebec4e30cd51dbf3362fd1b6d0ed1fd57e934b44c5309ce2c225b19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 372 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5f1dc96749529189bb066a8860d751c296208051c39187704e55618e508621"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 459 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"66923273ac1fd57bd42f584100e857b72c5b8355b61947c2ff3dfbb2d2317568"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 552 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"299be296b2bd0618af179e3e1481ecd6fd42c1173da59bd70d5983780251591a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 615 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/complete_authorize_flow.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ed04536921b041ccd3eb3d23b347b742f54b3a51e40ababdffcec27e984f2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 561 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1f9c043c6f669a8907da5d498334572d902881ea267d9cfa60fc792637f2dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1077 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/session_flow.rs"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"f454c65d27666c5d2dba930c982ce3d86727fe1367f9def3dffc54791e728358"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 188 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/setup_mandate_flow.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"a178b1397e66c72c097ce6c67f4262a991a9a5916470c43f93b16ccfa90106d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 236 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/setup_mandate_flow.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23c362c0fdedf71a08d14f2184a1f21913dbf16f1c49bfdcb53ccea39fd65a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 241 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/setup_mandate_flow.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a101821a9950387e7c52b2ea2b4f0c1c44104ac29da0a2ec8604713547169d3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 380 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/setup_mandate_flow.rs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6815d62df14b0cd392a5624fb244db8809ca4faed45e44b64406c3722dc37f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 444 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/setup_mandate_flow.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"236f6c59b9ab66833068e485a9f51faa1670572d26f1b90f20c4bc1c12787d60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 483 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/setup_mandate_flow.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"404aea09d40a58be2dc9fd2b894750e0d2a4c9b67809553b68d1cdb0e24615ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 550 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payments/flows/setup_mandate_flow.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b644fcd2986762ab95970a39d7a6913035c83a84895a64d2fdc6ffff1114fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 42 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/batch_retrieve.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7685fc2469c9dc32c0ff42d7d0a2e0f6a0000f9a3369b5eb14f78b32e43a1fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 54 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/batch_retrieve.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"505f3d065af76d7bd10b24fd75935a6642327261785fa89587e7ad2914e91809"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/batch_retrieve.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4494c8abfac9446653eebf37dfb1df147baa8fc0ab5ba3922d39f0077eb9555b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 113 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/batch_retrieve.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6497251c08ed043f637069131acc378b24766194e5d1159d15be4e78127b957b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 433 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c07e407b716a151c1a85567dc530841fbd0e07ddf7f3b5efeb4b683c9f74f02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 518 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"feebf89f2ebfa3b3fb625d0672338216db667fab87841282d9e25bf2835c513d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 652 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"46857a09676a6f5cb38654862b3d8b857e54e5346e567409e6f3ae11252c4ca7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 721 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"77987c1848493cb0eccacabe33a8085218519e0b89ff2e1382bc367a191a3fd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1774 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bce3212c1252032aba9a70b53823e1a950b493c477fae220a4833379d8aa63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1781 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"938625bf041bd550d73f7a610cbd618f32c19a2e1dc569ae3263f063215afc41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4006 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4006}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9306acab0dc3f37dc8bff2a7378e811966a5ff334db2d7aef3796732f13ec47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4042 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4042}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a1cd8f091f0ee546ae5f0da6e83ad978025c795327f0061227d07cc9a47e66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4381 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4381}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ef9d53b321ab338857ff077fcf2c9ec0ed3623fb2a30d24bff6a392c9a3428"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4384 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4384}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20c6a51e6eca9984bd1a671c2a24b8769e9fd51bc5388cfb26f9b9462c4f5c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4426 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4426}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a28f331769359593766ca2a0a2c4c992e9e0927531753f39a271984cb77561"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 4768 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4768}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd2b8f34a39f8afa325a15448b0c22d9d4035d5f1313f42d7efaff0f6db72c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 4798 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":4798}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ef0ce37c270a11fe91a0f90b76086324f9693ddd89824db35e01c275bc2354"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 5073 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":5073}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5df480900e748005e6c06e1144efcf83b8131f842c08ad1c1c5b127ef57d33f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 6272 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51eefe12ab7923aeb18cf6b3d2eb89576e1fe62eede17de41eeaaa0efb3cb29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 6283 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/cards.rs"},"region":{"startLine":6283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a181819da0c7c59d46111a1a5400812cdc45c062c87a10491ba2c9e3be2b7ec1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 266 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/migration.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"637a95a70bae24580315443ea03f1ef4fe8f92f018296d54fb91fbd1911c2114"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 358 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/migration.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"31046b395976a6de0860b6e1ccba0c6e2c98203c2d68e4b6e7ef56de99bd592f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"897988ca86c6403764036eb566cdf955ac511a3e39144ab6c61412488b327d61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 185 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e7c8dfc1710f5f6ae6edefe1cc9a8559c117dc7107053b2292d703a24ba662"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66a4c2eb7e1c5767ff3e53cc798731fc439f67a72816f1dea609f2bc91677db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 260 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c74a45afdf1e617ab9b2ba205838b0eaa432d92a508ca96f0190187cacc68a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 267 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"440ad9fa7ce8dd5588dbe6a57fd6e83528d4c86681938fb7d269bc6a87e82569"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 281 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"495b78106b575bace5e8afb97a6da5606ee66674b9935b7089eee530003a78c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 288 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bac5c6ff4d3f9ebd571fe31cca21b281310bc457d92fa0bad5a9075d16c2705"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 357 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f2f8ee0e87f00a8c8bed5a2fea86784b54cd0109ce2874825e12548ded14fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 369 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"55027b2f3d3c9ee90c3cb501756dff58d59ea78e0d95a761ed40064fba607aac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 376 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a1a253da5e334f8148754092c25a36ba07ee759b22ece79923bce0421cdaf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 552 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"0548d33b3c749ff075235cf2b9e5048468c47c6439cb1ada75c06c84bc2f729f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 568 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72a6d0c4f2097b90b734e3875c9a8018f04e77869a61321279621e2b15979cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 613 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5230ff7bd19978109e37965e4dc1a394b432ee6d058ba732fff13c7ffdbc4af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 629 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"592f93daefe1b611357b4d81e1a9853d964768b3d0f0b67e3f1f09fdb97a4e04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 892 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"71969dc1397592d38b328ce9d502bbb5c77d4fafcf6323f8f7abbc5fbe42538e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 904 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5842d568e35b23514f4a76afe186c3594a76ec402b8b54e13eaf519dd36b81b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 960 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3956ed6571c879b3de324ed1661d5fa3a2c42e94a70be2e807ac1d80cfbe08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 972 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1ef8976772f56835171ec0b699045a3d4ac36cbd5bbf47ce21d33804695923"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1120 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b74ec90ed054a9dca9a5b5a7109971015e13f5b631fda19e3dbfca428496bd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1132 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f70080b0ab3f0bd2f4785f1c316b648503ae86d9990fb44ce8154775cd9065"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a872a681c5e84ab8b8805352888144cb6152f5c9f1f50b4ae314c48ed287f9bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1222 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":1222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e75314069fabadbc8170e0d938d97bebea67278fbffc68bff0a866408ddbcde"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1241 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/network_tokenization.rs"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bbc1b8c2e3a843f39c0f95d941a94b7ff0a5ba290eb2d4aaa37810eb37f6e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 57 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffac27b155d69c0222e03b10063e402cfc2a66bf76e4dd42bb3d4a10bcf224ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 66 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c54dcc85abf2e72aad9087875e8b1d52f6f738ca8b87f002cde77d63d3d02fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 70 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a284971208987004291a5dfd282f131eaad384beada069eb97579dc866428806"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 87 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d5aac80ac5e96058dacc543d533af13df9f1e6a052b5bed7bcfca077ea3de7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 91 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d741af2b3ece38f1b2b66728455ff95419f913647f882eefb9299afda7ecb1fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 297 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c620119e1f8b90e4fa177efd9a24e4fd10b2eb594011bdabd5ecfc0e80e9e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 332 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"f095bb5bb0ffaa147ce204f5d326f636ae47ca3f2a5cbf269772570075dd65ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 379 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"092493b7e30839d98e11320e872386adcefeea99dec82bf75b82eb82812e316d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 438 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize.rs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a04b16afb1c001519917b7dbe4af6d0f764661e8aad4b41cb7ad2b5b921317"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 958 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1c93f7680314e7c10de768c623375af57ffc8a04ce76a105b52f6bbe9c6530"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1068 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/utils.rs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3970d935ac874ca186550ff2c26c8cd5ee54a98061fad5b934709bb5333137b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2025 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c76471788d6cc067585f35e989c3f392cc215ced7815cc24f8adadb51c4e7bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"05eca703b8b4a3a4fbd90a2c63f9a8f8a69dcad5ae6a41adfe68f61f91d6fedc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2129 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d6bc9c7fbdadd3580a583c343fc06b70b6cc6e800e54cec6150e1debba17ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2187 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e65097c41d4a7ffdb4867f6552dc29f20aff963ad17dcbb15b76aa185f2e3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2194 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"264c0fa458e26d5b3d015092b72c08678fb0a9c485118167496536b49ba6b106"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2233 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"322965bc98602949c9626982a928eb0c54930779faf3ab5545af3fc38b51dde9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2240 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b848daa238fc421e8575ef5d6f9a34b175a8fc44a64fbf679a6f1fc71fcf4f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3022 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"7687e98fce40652d0e182005f66444e14cbf22246f7d915734f71ba1e2e626a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3501 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":3501}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ca5087d8425c00204f4169b99eccfb0a6a4bb8d3b178111549a526824ec941"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3526 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":3526}}}],"partialFingerprints":{"codehealthFindingId/v1":"0469f0e08fa06e02bd5af7a9c2b1f85dd36f5446ff787406e6e71dc18c44cb14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3609 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/vault.rs"},"region":{"startLine":3609}}}],"partialFingerprints":{"codehealthFindingId/v1":"a496a8f86ba800fd3e73c07186621a0aba4585351cf4299e668b92e7f3db87ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 369 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a04aed8371c22ed2373f9d3daeebcad8e37d528cfffd8fef564b05861f09f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 440 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4a9ce96b5e3dd1f2c07c87c35bcc407f3b28b5ded6954d41913367603b8971"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 480 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab04483df838c813a0447ef180868b66ba1539c255ad18a0666f3a753c9f403d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 552 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/card_executor.rs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"452a2e6c95249f8b1bf281f70eb8d5e30798ef9754d34cf81eba3f145778f39b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 314 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"315bd543b384c3cfe4765b8840272c82941856f7a7ea637d9218cf1a140513cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 389 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fc750e4c7cabf1788ca1301e7534f3a5eed59886c2f84c9b4a4fd6cf3345c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 448 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/payment_methods/tokenize/payment_method_executor.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbec5824fd7d20251c18b7ea42276af03347dd0daf1392333055a76a976c66f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 158 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa88e6104fc239ea4f9529cceb129b1e2eab779a8d0c110b7aa871fa4f6e810e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 283 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1dc047a6d076322f107320bffb27dae7ee34227791f2e48a9a2ea6d639dd5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 342 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/operation/fraud_check_post.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d153e02a9784e2294b8b07d31fa7fc0fdfbc46eb86d68f3542e82181a5f0593"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 147 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/fraud_check/operation/fraud_check_pre.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3190e94182a418d827588eb8154f59d88e83e40aafef5c29dfee002185cf71c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/card_testing_guard/utils.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1c379b6892d4c37d6b8cd1ea6998ac95fac95065630539fe38b6aeb9e97bb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 163 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/card_testing_guard/utils.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de38fea7c3bd1c15dd4ec7480e6ab2731684b4c7a69d41fda741749b9aa1ed8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/card_testing_guard/utils.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0539bafd4f3072f3056356c5ec6da636fb9f20eaa77db455b718c796c3452f44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 244 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/card_testing_guard/utils.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"848ff763474cac4fea9f0cfbdffa8900e394fdb5c46cdca48c0235234643e4cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 261 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/card_testing_guard/utils.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c760c1bb0f4843fb038538ba83edc81870b6bdf2bcc5e0cb2f6a52134fa34f0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 278 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/card_testing_guard/utils.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e0cfb16c262438e9a32e5712a5f6ec37ebdd06918599d6b9a58e2a04406595"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1288 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/configs/settings.rs"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96b71caec196ec93577e1bc152df785ca3dd0bb16a0630758ee9aff1a680b7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1298 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/configs/settings.rs"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6a9dcb73d8f6eca0e44af6a5fcbf586af843f9322c8c6aef6511fb5c98bac1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 328 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/webhooks.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d32708f2516a4160e8b205310dc421556604363d516ef6915d8f49a55f6ce70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 640 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/setup_intents/types.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bca7551ca381af60a954fa2156b8486b0d411ed8b9b2654c120af86917575a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 164 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/compatibility/stripe/customers/types.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"36824b9638b75121d68fa283930f6ef861992b73ed6f4966e608b576f1cffc41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/bin/router.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92aaa315cb6c76344a4ce11d56936540aaea8ccab5751e65f0d8d9e6d03be31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 232 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/bin/scheduler.rs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"779735a459ed0da2f3fc32688861e90d5d60117b9962b85c88f0b96727a48579"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/redis_interface/src/module/fred.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a371f7577d1813ed02cd6962a7f0f99907a7692b6df73b29fbe7fcd58e7963b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 585 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/redis_interface/src/module/redis_rs.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f3e2f3837c5663b3e1a24833abdc8c9361b23bdc74335bf0725249952f374c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 601 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/redis_interface/src/module/redis_rs.rs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"201f53a398403e2c3cac6385bb797d84ac350e79015cddc26513ae9b045c17b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 636 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/redis_interface/src/module/redis_rs.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d7f37fdffed3c26958340d86b9f0426b38578d4fc2cf71d503e8d657db1cf1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/payment_methods/src/core/migration/payment_methods.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d995d8386b050ebb33828f67bd983928feb55fd98fdb31c0e9c28d23db132fa6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a141dba923ce0c7ffd7f03006c5226e51af86f31e1d8f578a18d557ed4e8f69e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"932d2d83e35899f6cff51aa31fed65220ec722c8e72dee492f1069e7a3925b37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 143 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a91c0bad00aca992d2e8ec0959f18732f1bbe0d6cad015322f122338e1efe5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 151 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8669d88f61bb2aec4383829b66e36664c44311f117dfafa201083a8098d47d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 189 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8d9a5b95b2cd05557355d6609cb1c6016bf9ace75fa2933b75a8174c951c2f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 196 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"747cf162c645743494c12899357e3e9e2969b12f7d62ccc5c8308aedba58a12c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 213 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a395f23f4a86e30733b4287a01619ce3e91b6988d8ad4e9120baa4d38dae1b94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5e715080b825a3a287f04a0cc7c215c0d2db4589f66b9787a65b46d9a60a15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 231 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfdf58a9fd262b166ce894a6583e078d392385711c98977a8d2e977b0acf47b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 617 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e590751835db94fdd50d49802d08f77a483020b924aa21eef9eab04d6c9e046"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 746 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb91a90daf5f8db2106fe4ec115b8a9d41d284d448328fa742fe5bfb03ff646"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 786 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7b88fe83b97b38448e9b59b55cadc06e7f18d1d081e14d8c4ea2eb0f9d42a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 976 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/injector/src/injector.rs"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2c243ca1a04d84a77f964058647b7a6e0221467146e499cb0825ce72f56b0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 105 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/helpers.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabe19f2c543db720acaeb1ac60ba65a85f9dc05f997fe88b813c1d3528df42b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 225 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_interfaces/src/helpers.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"605116420b27bfd0cf2307aa5f1c594e3998aeef442319529113452742576ce7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/business_profile.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"196d918d0de64d924f7c430ea578e051096cb0151fed5be46c24a36cfa213e75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 360 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/merchant_account.rs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"50cf2a2e212d914daf6b60a1ceffde89b4761c3ed83b0a26029038dade8978f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 235 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payment_methods.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3dfc8f5b41892a35d21a3645ca1637b82bda4768fb85c8042b5325bec7abf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 245 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payment_methods.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"298f1d786fa2f10d0b01d56a4dd36fe54f32ad4ee3145d6b4b6a5f9f602738fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 254 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payment_methods.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c82ce3b0ab2b38260548312d4ce4e4368331fe54507efad134cb20698f51253"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 252 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"27473438d3305e6a21b0336b5171e0832e63ba3addbde6b631055886b6c84102"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 379 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"602aa3cf753bd38048fe0b3f60d06063847b7af97c53c4c9ea5a3a3363e91bee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"5101c7e35dd57ba840df1756170376fd0437b33042e00def30ba2643ac3da221"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 172 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fa347f66bce836380cbe5976c6170787d79a4343176f12f3cfe9c81f510af5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 245 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6629a215959d8717d49538e0f76137339de7f7e1d88cca4fb6d7e096f86e7874"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 281 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d438b8e27a579a876d5c0c04741d8d87cdbefd4aca175edb7a268bf6a73837d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 374 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9161b2b814242bd88e4526b9c33f0d5314e821baf8f40395e3e1e0787535868e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 411 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1ecd1347cca77b2489b9a7ae99d013fae331ce2ef0d4586ddb6de0f6c1a420"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 483 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"57458dd34604651d9302fa409c85d0337f4d899d5a62114d30d21a57832d4b53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 519 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2e7a6657f404f1a2e471d9622ed5091b8e57a3e2a974802c9c5945e96fcbbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 847 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d511ebbc634abbf2e8ca96cbdf0159d5d9543b5470d13afa17ff8b23fcf398a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 884 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f259d0261c9f9f4534b0295ef8c4f29388fb250110097cb5a016d2bbbb2fdd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 951 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"270fa59eaf11efe01cc8be8ca03274b13ef2054e3acb63b7a2432c3adbc5a2af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 987 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/type_encryption.rs"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aae64be0c6c155c7cc0adc76a26769381a9e7110e025bc7782a7c8b0593b95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 654 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/vault.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dd0ead46a2031db5987fcfc015a7b77a9b07b4065a321c308a686a2d86211b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 688 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/vault.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"612e23f565ebba60798b031dbec22e57a5bd1538bb970bfa2b86757fd5c5ba6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1925 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"f454de08e5e02c4bccda33d502d070a86dc932e11fad9659c9f1ec754094f53f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1940 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_domain_models/src/payments/payment_attempt.rs"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e99a6089b1f06c8b27470841414de22860d44220abb29fd11072f7b9a0a7ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 149 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7c678076891a340118a6794a622f05a078bc59c7f3517cdfb813e892c10417"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 395 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45dbc657658884e6a8ce556b49718ad41fb7be41258d75197e2ec47bbde4648"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 7270 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7270}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae6873977df6e5dcdaa963c1779d6586ddcbd5ddcb6b546a70e384ab1ff0513"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 7275 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/utils.rs"},"region":{"startLine":7275}}}],"partialFingerprints":{"codehealthFindingId/v1":"67155a87f34783f02168980c3c1eb40d5c4b1f9f2cc9e8755a309889118ab5a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 699 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/boku.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"1313c46e16b85f65beeeacfeea2f8755c903c6ee350c649ac7fd43b5a2a6b94f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/elavon.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"08772c829defab8fb701c8657078bfe55c7f7e8aed6001b853ac51301ad92c1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 85 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ff7cb7c6bc16c968e401642f647fd9d293ff750e5781492c53eb56ddf95adb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 88 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9148f8ce70e73f397b61a2c6aef841a4a5a8bf198a40a6dcab26166cc969412"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 105 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0324e39f176658b8a43bb70328a13fe626b587f0733ddb3dc67a5087df0210"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 121 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5a2dea8342bf6cf511dac5c9cac078c62b3bb10de9f3ee9214ad0a0ac4d6d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 129 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"466c7ebaefd6ee2f6e93eb83deb9b2fbf7b747bc75fc61d4faac64043dc8168b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb63a4f865840fa8860e8ceff8a2bc80c0811daa5f7d4323b6d833764b73b44c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac8f92e2c412e6bab73c2f9d80e6ce9f945e2eb37aace7e21a87230b9e56341"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 168 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"83556dfeb0ae7ff79d8c6710ca579d811be5972819822ec35c6237440a891560"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 298 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b346262a7b17c59dcce45e0b3336ace06cdd8831c003f48f399a70c3bf01018"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1060 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"71faeedac92c849fcbe4f38965b687dcb41adbb4df8d462e31b7718ac5ef1e05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 61 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/hipay.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d429f0d51d73ad55d491c78f1ab104ee44e975a47c8fa9edbe327eec30955b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 171 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fe423868bd3ebff35bbca0fa2592b34e7082062a84b84000cc451fd33464fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 496 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpay.rs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"82139173272e429cd38143abe4a0e7093c8a751bfb8db31b34d1c51f9fd9135d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 222 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/zift.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"010bd9e742b537c4139de6625467349f06809ed037ac97d273f758e2d26a776a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2382 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2382}}}],"partialFingerprints":{"codehealthFindingId/v1":"220de654cef96ade4861fa110470c64b2cb24b56b60440089a707f9547ea913d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2408 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2408}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a38a0c9899bb1f6e1f40a09c333479471103670c8ccaef2e5038a36f04927dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2432 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/worldpayxml/transformers.rs"},"region":{"startLine":2432}}}],"partialFingerprints":{"codehealthFindingId/v1":"0263bd7af0e200e3922045fc8854469c5816b41fa36e9de835965832bc671722"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 783 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"a195479a22f32b84690cc38b955f18c4b3697875df4b72de25c32dc0d19f275b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 803 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f02c7e9153401273e8437cc1069d0fa6bd5fb0e2aa4f47be2f3577bb3b3237"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2053 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc36a5db91120717ec93ddcaba22d409fbd48f3f214f8a186d608c021fecea6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2074 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/trustpay/transformers.rs"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2cc4c1692d95ea735ae4352e78b763a8cfdd4c394e82503e53093a6775547b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3162 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":3162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9743646e7ddd2fb0c62919dcb4388272a87f0958bc5c125527a100a7e72c588b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3270 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":3270}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e81923beb19f480e9dadec4471ad08e186df891a0acadcda4e0472993967b02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4634 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/stripe/transformers.rs"},"region":{"startLine":4634}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f8157400a93c6c8783dd7c426563a843b526b6f502aef4e43debcf284f1448"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1096 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47e3d125523546804d31fdd293dfcb18e8cf49bddc0ae16d0ec6e69807f3377"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1846 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/redsys/transformers.rs"},"region":{"startLine":1846}}}],"partialFingerprints":{"codehealthFindingId/v1":"2432c3bc200a53e3d6d82168ddc3683133568e32bf38b76effe65a52e7214a8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1904 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1904}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e12bbb29af561d0e8a93caad8d7c3d68c04c7aee76f0a8e4287272f80107ab3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1928 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f45218ed64c244f519019d11f17e2988774891ba299882d11ad8caf4c0f601"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2192 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"5137cb8ac3cf66f12c13f9aef6dc03f54477d8c23c2844bd3549a3c207f5f582"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3641 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":3641}}}],"partialFingerprints":{"codehealthFindingId/v1":"473fd908cdfff21a466f231b0aa95b3e906ea58063d3f05fcad61b5eddd65561"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3755 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":3755}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cf18d8fb94229fa88f47344cf45199ab4da4c33c803ef02cfa31317f16a2dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3823 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/paypal/transformers.rs"},"region":{"startLine":3823}}}],"partialFingerprints":{"codehealthFindingId/v1":"15514d24a1e91310cecfd292f7e4266acf2d5a295f29bce548c3795264077035"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 553 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/payload/transformers.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17368f2fa75945d04df41a29e96fad229c17bf7ac8534bd34c90c9ce43c6587"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 843 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/payload/transformers.rs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d3fc4fc790af4520ed42175bb8cdfe51611c04f1a45f40ab804d46b996b527"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 671 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03579453175e725870a64d00354768e9b3dc99a6d39deb9e1dfd5101b4a9066"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1048 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/novalnet/transformers.rs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a12beb29cc0ca53429dc73bc27f78ffea7363fd6c6d6fa4b257382c140d54e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 585 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/noon/transformers.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03ef17df2e8333a71229229bc1fcbbf442f8086e9c6dff2ecd72ef2a193c62e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 871 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/noon/transformers.rs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30d9b850523bcb21446fa71077fe0023e8c9b5ebeb2e390b9fcc8d114eb7031"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 272 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a61fbad88ca1c27586cfdea2a38a46f7191757d7c2c8da6b52865dcbfc7751"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 478 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"226df7590550b7962f936b36a76e26e4774f4df28b60cd145ff92fb191600172"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1194 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0ac08ae52951e78bde1873b13bc50803801fc45061a802ccc98f89ea5efb05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1325 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"280caa8b7c039575be133a9cd595bb7761c7a096a1aef2899f9e02e2b8dd3181"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1409 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"606d6ebc81565b6573972dbee4e2ba93ffa57df960869bf67e25de1e4d2e2da5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1459 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8f495c561fdc77d43420db08efaa90edf6ab8de041c691c5d664c684329a82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1629 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nmi/transformers.rs"},"region":{"startLine":1629}}}],"partialFingerprints":{"codehealthFindingId/v1":"21152d10f4e4a65eab196a76bab0c429c040ea110a9afdccf5c6a64650456b61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1256 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"63273710ca5e345598e10e711fa14cbce5c1e7e23b3e614f257a7a641b1a3d9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1609 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/nexixpay/transformers.rs"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9ee325c40f2c3771e892bfda9d7c21263d4d2201286e74a7886fae6949f075"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 185 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a7105fbf239af753fe88c64f6cb51158e8e374767a39cd945595782ac277f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":1110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b10b0eb57ae13d6734d4d7c2e07f1d272465640edb08257eee21f5bc9b95e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1489 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27c609d7e1c64f35632a5730d602b4e58221c771cf14aa1ec6db7876b75ac89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1570 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"608aecf950d72e7d4243eee5f042f1feb1cc1864dd745a667f979ba0733c4942"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1619 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":1619}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ad9e2d7dc043eaa8fd2dd9bb922add2ad270711401d8bb3e4610bad5d8daf1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1993 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b394e5b85ad04db72a6d07b36fdd2e261b18f884cb366b389fa4b0ae13ecde8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2211 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/fiuu/transformers.rs"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8762af0fc0f414327e3b486e99f3b4c1ffe8e00829c44e054caebb0ac4fb1db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 241 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"802c413c65629278c7fbcb1dc7b025853af685196f9200aac3f67b9503f1369d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1666 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1a3e917bd5fb7ca99c2a05071b073f90562a67175b2bdf3aea7888e21530e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1675 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1675}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab7d2566f10e917fb14a42b4676e8e0e426d079f14bea17b74e3e8f86a842a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1717 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44559ef56ac0cd8fa9409a3fe5af323a849714debe2d43a3841a266fd4c56bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1792 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d459f5c8f94925ca1a525e7a04f873e6c5c15d325a2cc303b91f0e8d3bac696"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1917 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"f466bf560c6f892759ea02b22b8bb6705712a4f3a2f5d53820d6fbfecb1f159b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2043 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"460d33605c59ab7b39bdb71cb66513fd38a241cda30023480943cab3ad9ed114"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3365 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":3365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9130242fc7e5018428ea8ffce357236494d3ac741d8d107faff84db235d2e86c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 4295 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":4295}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ca5aec6e7e60e6bb7ab7d6305aa7ce36ee2ca3564439e1e48306c62ce225fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 5056 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/cybersource/transformers.rs"},"region":{"startLine":5056}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4c4235f702e1dc385a43d62176858d159fcdaf74c27b5623d2af2d5840a9b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1424 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"3116a1cab8d1faa7a81bd57ac89bd5afe66439585be42a8db2bc1a5ee0abaa8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1458 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d01d65487a82102dca7d201fc374c4838e80eb4eca37b5e8c681f82e23ec12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1496 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/checkout/transformers.rs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"32756c78f30fab354f949aa45fdbe9f9c153d6b897fe1f27cab20c71c2d6a889"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 979 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/celero/transformers.rs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e415c5b04995aaa129051a6aab8f1e788037f54865afb2d8c3f6865061754f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1022 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/celero/transformers.rs"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"b727ca8e6f5ea0488684d87ed2e91bce36cf4e91db67660efd57027c6379eda3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1432 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"733fe161e65cfc449b1c12952c7b3f9bccb8f69ab9cfec6638d3443dec89f278"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1441 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e875d3d3fef20ce0263e9b5486182f365c83575695a330fd87d83f20f905269"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1640 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/barclaycard/transformers.rs"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d25123a834fa592ece8a5f84907afee2df8ce32b47c06ba0fa15062b2ae1fad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1510 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e8e41ff4f2a991e191890eac94345a0c11bd96ee13c9f96627d039138281c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1651 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef44b466a27c29ebe5d03b781f08ed99b786e0fb296ec5033de20de36191fbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2019 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d81130c5d3d0420776a958491db630819886e1a6bf2ac284cec3a09e4f41e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2214 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"517db7136c90e9466972836e28e61fba99b253853cefcfe687d25ef9143a6637"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2234 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb568527592b1937d70f3d781fd8f17dacff0763efeac742d91ac9dc535f87a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 515 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"6671c4a7323d22618967af7f41a481d133279233dda3f4cc71c47e5118326161"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 763 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/superposition.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c691b60092c17b5a9c8419342f6d48f0c6953134ad776981018aa78dd5b29d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 777 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/superposition.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"beed84cbf4ce53aceddc767160d3b9c0724a944577f752b97c2af2e6d9ec67b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1200 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/superposition.rs"},"region":{"startLine":1200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6e48a04c1436280ebd6269215dd8cd9bfeca25e3ccb1d5261a77d96ec28077"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/superposition.rs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"330e5d842c548425f96c3a1e6c0b296293c8602bf1fcd0428321f4bbb2140547"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1224 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/superposition.rs"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4d336f19df82a948c6918ef519203d33dff43350111f8b8dde4252ebf40e28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1237 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/superposition.rs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e1d91a54a2077d8109f36c330609f20734b9b29168632a25dce76aa5bab99a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 103 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3239971917f336d49ac40d1cf4de02aa2904c8a8736820588382f61d01022ef3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 182 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"78eea05310050d08593b05d6f2452ef06ebf608ecc74964dc5266242aba847a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 195 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4ccf1035e3dbdcf743376745bb022c22b3ed107ce769c6593e7479cc9f2458"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b19d30507dd5b133159c192f8eb8ad3a13ae8496842f195b0d619568dfebcad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 238 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afae5a7b511a1a578df13de47820f8503dc18be339772c16ab833a45db5586f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 246 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"87460987d578cad855dd1bfa683fdc4fa5a6a15c1a24092ad684564a58947644"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 257 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"99eb3a78fd1a6647308de6d582e75250b6c00ba909211ed63b83cb75b41644a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 270 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/external_services/src/http_client/client.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e847c74db525bea2f9e271d433df7ba72aa295748d2bc479aa1bc029c25655"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 97 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/src/lib.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b24a4f79d7e99847f47be2291cd2f1da7f0edee7e6c3e45c0758e93143bbe2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 107 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/src/lib.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39c603c24a79fdd38d077de732cfb648dd75998d78d5672966dfdcf1d440ee3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 144 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/src/lib.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd44b49de40a60abd3854f3faa7ab9bf1b4ede73e18d1d326b0e8b31fe9654f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/events/src/lib.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13db005332647a7cf9a32e5af4cc1207788dba5e4028b4b5b755fae539dbf2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 163 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/drainer/src/handler.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9bba030add947180ba6c873699b2969929d24d25ce317bc914241e56bcd9ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 167 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/drainer/src/handler.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a846f76de939b8d8a4627ba8bd878c6380c7f8d3c0cbbd4531ad9b6639740884"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 44 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/drainer/src/health_check.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc39e95c19a3a7e387457a5bbce3cbbc54b4daee02eb3c7a8b50fba3922c8fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/drainer/src/lib.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25be18ef5960cacc06e7b24574de178580bad403bda0ff48024519068971f74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 67 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/drainer/src/main.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9052e8be864eafc349dbd640bb88456ebb833c087a8ba722b08285089d5533e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1760 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"df06ceb438c53d3fda856c6a98537ceefc4ee0ae92958763eebbe10a94c3bc85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1768 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f4f16c4e21d556b3a234b32d80ec5ab182723f4aa5db511722914f14fe9b1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1822 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a92fc1a6abe3231340700d91b87f8d923117f795788276045d0a1580433bba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1830 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"2279b1ad5425578356f90654dfaba9f93adccd27773ea30c356ce5b394075683"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1935 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1935}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb99a04ef6024d69bfd4e28f5c7b2a0803a842f5936cb9cb81b1c4caba543523"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1978 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/payment_method.rs"},"region":{"startLine":1978}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d8f430817307be2a9d6a3da2039c8f3fb56cbcf91194fb39f26702e506b406"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 43 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/connector_response.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d69267d1d049ecf4cecc44bc3f67ef31fa71d4450153eff95cc9c87bf7a196a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/connector_response.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3300f41cc015129ca34ec4aa2db974def25ec4d0e433a3db5a19238afb643a84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 166 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/connector_response.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"871d8ecf798cde4eb99573f8218048cd6ec8dedd24f0e57c9312080f6160ed47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 174 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/connector_response.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"de650cc325d00bb42b5c8c38f6fc4e06fa18aff62c5078da2a2ce3235cc15d9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 184 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/connector_response.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa24d9349a624d50646ace9c1df7cf4fdff55db077b76d881112552b27c82a8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 191 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/connector_response.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1eea3b4dc5324fec0995232caeb6379c77cb1c761694334545a560e911840dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 199 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/connector_response.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"154091ff8c62edd0fba56f17e5cc87c8f28e3c143e2323d45d847ac70359f5fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 686 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/generics.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d2a2f99836a34f588b892ae14703cf5721974d3448ee04203d21e5a3c68162"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 473 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/payment_attempt.rs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffc687b5cff939d0d06c91b9db182f6d53d234f72c012a88db4159673ca3132"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 484 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/payment_attempt.rs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fd707fdd6fbc62798df4179de77c1fa715ed9caff917e10cde02cafee08669"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 535 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/payment_attempt.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4681438d69e4e5edd6c978398d7a0decc625b806539786f35e3c91dc5226ba7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 546 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/payment_attempt.rs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98445c4020bb47a0de78bc01655c8b9a9c9db3b9ff5dc41dee1e5d63992fa0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 88 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/user/sample_data.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d07d0bd838a3abcec8a77780963d1d01a2bbe38ef633203127705a15d163250"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 112 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/user/sample_data.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8999e166f81863515c8c9d513019dc8b0d8c7432b0c98b4577f8c4c18655f818"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 134 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/user/sample_data.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5749cef34ca8c73b45e019616c280683f69cc789ef0ace11a9fa7edbe1295ce2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 157 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/user/sample_data.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d494fefdff81c898258b4fb62d52ef667b047bcb59657b40697a321d29380bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 180 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/diesel_models/src/query/user/sample_data.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8144cff127dd1880896eb3dab9d1f5955bc617392fe1279a6a78ea6a29c5bb0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 453 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/crypto.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"499f4d33fff3e0bc08e08a621f416ec24656ec45017ea8b4a12e188569244f57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 412 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/ext_traits.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"845d774a8879adc7ae25c7b1313e13184961405cce346e1fd614df7711017792"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 427 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/ext_traits.rs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1ad21d876767ffb8b172447cb1ee95d8b2016020f5e1bc32c6fdbf99382c43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 401 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/keymanager.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"205ab49233316b14f243f61b977bcbc2d2df066d22e2ad6cf4fefbe80fd7be57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 421 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/keymanager.rs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e26a491f5c05aee45b84002863bc10234495f6700c2f5fdfbb371f44dc50d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 586 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/macros.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4c1739007aad6c8410069db3f6ca7d0dd294b924e0993a421650a6bde54181"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 596 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/macros.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedf7674cc4941e3d90438e2e5d8454080458253cbeb6dce245e80349587e273"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 616 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/macros.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54aec6e52cdbe8df904ffbf45e77e57de9187d7eb5f27a9229e16b6b3a12415"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 630 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/macros.rs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5230c0f5bb2d66d4df6e4c1d18f5059b163cf27a830e2184e3e42c7c936ac79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/pii.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28301e924be20662ec5bc7e1347660aea732255ca4baa0ab12d939f2548245d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 219 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/pii.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"49706df56a68ca7c9de7cce269d8039ff55e20f461d7fc47e374e2fef82efce4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 363 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/pii.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11332ce61850bfd9506f90498d68ea863cb6d8d2eb968739aed0c95c69be0e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 14 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/signals.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"692b44fa61fdb96cdbb569c09fe6245958ffa69a73e70867055b5a8c54873ed7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 354 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/types/keymanager.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"836077be6aacc1ef09e4ec7791e26fd4669a633e9f17e335b2b8c0c099da9429"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 370 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/common_utils/src/types/keymanager.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ed85bc44781f9e12753856be146f1e5c66b7babda5496295672a86ec5597bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 403 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/cards/src/validate.rs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbca7b12ea8ab275c26fabf478914671f4a809a861ef512efb5b11d5d22ae7e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 92 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/clickhouse.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"715bf8401f02b4382a6acc48fb29d5db1751ba60a89cebb5334120c6c820ac74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 83 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/core.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5268578e31e25ee6fddf244aaf55f5d9769bea49570afad42b588c3162042192"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 112 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/sdk_events/core.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3c7bc0e1dc43dc8c91707187befef5ea59d386cdd7a6cf0e0bc8f86969517d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 131 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"093ce5dbcd795613e1eef9da8d74e8645bbf9ae3381397cb87f0670bbe23414f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 135 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1926b303ad34bd06f2060f1d95f99303dea7da00dbe49d4621cd8ec500b497"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 162 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9305e9e3b9867fc8942cc1803ee92b4e78ae5cadc47e7869cc32b85d3a1a111"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 177 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d95c53d9fe69b20d9f063a8bf4323a1ed3a86a3450bd5891b67e31708f21832"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 181 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c25fdebc5fc0858ec5e6774540a90f59b3305c17173ed94303e3eff08c18d48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 193 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a701c293a4f582b1f1c8de8e77a783da9ce3897ebe586c3e6be992463211833"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 224 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6300145f279ea5bbdd003ae7ff07c694ff31759338832c7d33d78855170f441"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 229 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/refunds/core.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b527855ca78b31080a1cbdb2a3f212e91c13de329c9280d0798b56c7ce160ba4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 136 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cef005edd7c1f102e18f1f67dadab57177dbac1466fd63e6e4a2ac86f8b19f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 140 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9974dd2370d283401ca4b35d0cb6ae2f942003d724625540db1594e9774cf719"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 190 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"1119462450ac23c98a190624bc4a8b4e5147ba4737b958ad0712e302423ff19e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 206 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e2736da9d5e7070fabd1505f7456ba86ce96ee1b37d86fcda88d7193d196cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"764e1b44dda2feb864c019718e4f2d5d1093f36afcf7716aa3495a1d465ac3f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 219 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"994eaf99419caa8812305e6eeafa7b857ea4524befa4963231048b02260e96ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 244 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd485e74b4ab719b612395a3258518ed20712df349ff871fa35d3a33f299b30d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 249 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9372f70f20011dd2d2d18963137b4c8739b6439179c557b37ed19a169aa8bda1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 271 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31e190d8e05573a6b45628173e1eff63a938f5599e4467111acd28c09a2418d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 276 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6679f24b4d9c6a1ad3a9bef0916e4534197e66d2cebafd9534eefd2d2a0f08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 306 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf87b520797e72744bab16235824e57d5fd25db490746d9ae8b2ec6905e8c6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 315 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payments/core.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b0cb6a6ec19c643b7865dcb5a3b705686365084a4cbb6174d7647ea26c3e4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 27 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/aggregate.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf24bf546c89b6ab38033c9a8674a6207dc95a038b4de8effcb78c47fa97ae12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 128 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"377af18d73217c0e686e15ed4ef2e6cac1fa68c5d26b69a3c13cd1a9e200b49a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 132 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0ae2d41bda842eb2eff7b554abeda19abb76d7d624e3f5d6509ea64aba8f4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 167 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"130c59eef11218a52b70106227583402f5415d87ff5b2afe15964c97528cda74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 208 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"256c9ef16290109db2bcfdad8918e07fef0dd859b54a36a110c4870ecee8f815"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 213 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd38a74bbd3d7ccb8a96b846efe71c5b09e9f09100c8d1aeac04cd74317df36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 234 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"138df5322f99e51bbd43a9a964024b13e9de85ddc3331210201a25456d9a7038"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 239 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"470c60036f07938382e4c812e8fd937fb2cde55d3f8b3556bf059aa8cfc326a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 259 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6ec9f109685754b8b6b77222075097a743a9f8740b0fc5a3dcfd6dc99cd1b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 264 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"e387e82eb462d3c4ec2582703a1e294aef2a41837998e995944bbb0cb50e0af6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 286 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1994e3911da8e9e10a28c2f8eaed50a574cc82f44df64eb276ee4e694b4d080"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 291 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/core.rs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b67a133340ff2ff74838709b43edcb96974ab5bf156d8887a2005a0b4b323d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 73 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/payment_intents/sankey.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebd34aab44eac8008213cf9a40e16e5674b2c5d226666c0e571f123cc4efcdc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 20 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/metrics/request.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6cb24ec37de456505063712b40e34960d6f8cc61c737821296a7997cd5f232"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 75 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/frm/core.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6774a6792762e9867a0b5f137a8a868ded5da79906ab2eed2f38a9ceeba0a276"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 79 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/frm/core.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e4019e5a239e795e898828268ba8c477a79ecef50b9d3a61369ca65e068c43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 91 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/frm/core.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60ae6825a24ba079e21d3bf182964b900e945da33abb1664c7e8b68c1e9b9c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 82 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/core.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a443e5439fd7b8507a7d08357acae91ab2abee496da20e12ff5c09d468d14570"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 86 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/core.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea61781cfbd29a0aa13804eb56b315294cf77c8c46379792fd3ee8f3d5c3a72f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 104 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/disputes/core.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"53daed7d835c407221082a82658a9208e2fa63abfc2d98ae52a767535c4b0821"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 28 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/auth_events/sankey.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba821b9686fcf3a491d23160a1804804c14e97495a7545d4a1c79d40b72ebdf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 146 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/api_event/core.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7028839d148868d901bbe5798e2e7a1a42de96a78cefbe46a9fe992118588d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 56 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/active_payments/core.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"555d5391399c2aaffc7affd9f93322bf270db71acd52b1035a44e629511ffedb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 66 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/analytics/src/active_payments/core.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f30c7c972d0130f62f7f1494adb4bf4db2b642148edb0e00e2d35e5fd9c3af4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_json_body\u0060 returns \u0060{}\u0060 when \u0060json.JSONDecodeError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/mitm-proxy/redirect_proxy.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bbf08c34950ba5c53f9165917bf2c1bc7b5659862c6dd647d555c309133b20"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060construct_connector_webhook_registration_details\u0060 turns every \u0060Err\u0060 into \u0060true\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"crates/router/src/core/merchant_connector_webhook_management/transformers.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"096e22128a792efcb3f547361273b4e665a96510979be1c0a97e6a213c6279bd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060waitForRedirect\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cypress-tests/cypress/support/redirectionHandler.js"},"region":{"startLine":4890}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ba9c63761826ae6d12173fdb5941332e4901c8e276465077e4796b23084831"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1321","guid":"0367a99b-2a5d-7b52-a83b-6f4196022556","name":"CWE-1321","shortDescription":{"text":"CWE-1321"},"helpUri":"https://cwe.mitre.org/data/definitions/1321.html"},{"id":"CWE-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-540","guid":"1a9db5db-e5bb-ae5d-935a-d1b4e9ee080b","name":"Inclusion of Sensitive Information in Source Code","shortDescription":{"text":"Inclusion of Sensitive Information in Source Code"},"helpUri":"https://cwe.mitre.org/data/definitions/540.html"},{"id":"CWE-611","guid":"1afbae66-ea29-2d59-aaa2-134e3ae2e85a","name":"Improper Restriction of XML External Entity Reference","shortDescription":{"text":"Improper Restriction of XML External Entity Reference"},"helpUri":"https://cwe.mitre.org/data/definitions/611.html"},{"id":"CWE-668","guid":"e2cb99db-6d24-b056-b0d0-885a733ec403","name":"Exposure of Resource to Wrong Sphere","shortDescription":{"text":"Exposure of Resource to Wrong Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/668.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_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":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"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/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"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"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":444,"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."]}]}